Projet

Général

Profil

Anomalie #1255

Mis à jour par François Poulain il y a plus de 7 ans

h1. Hardware



* "IDRAC7 manuals ":http://en.community.dell.com/techcenter/systems-management/w/wiki/3204.dell-remote-access-controller-drac-idrac.aspx#referencespecs

* Integrated Dell Remote Access Controller 7 Version 1.23.23 ( same version as 1.20.20 ) "guide":http://www.dell.com/support/Manuals/us/en/19/Product/integrated-dell-remote-access-cntrllr-7-v1.20.20 and "reference":http://support.dell.com/support/edocs/software/smdrac3/idrac7/1.20.20/en/cli/pdf/cli.pdf

** "IDRAC7 reference guide":ftp://ftp.dell.com/Manuals/all-products/esuprt_electronics/esuprt_software/esuprt_remote_ent_sys_mgmt/integrated-dell-remote-access-cntrllr-7-v1.20.20_Reference%20Guide_en-us.pdf

** "IDRAC7 user guide":ftp://ftp.dell.com/Manuals/all-products/esuprt_electronics/esuprt_software/esuprt_remote_ent_sys_mgmt/integrated-dell-remote-access-cntrllr-7-v1.20.20_User%27s%20Guide_en-us.pdf



h1. Preparation



* Get information about the serial ports on the machine

<pre>

# apt-get install setserial

# setserial -g /dev/ttyS[01234]

/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4

/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3

/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4

/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3

</pre>



* Setup grub to use the serial line

<pre>

cat > /etc/default/grub <<EOF

GRUB_DEFAULT=0

GRUB_TIMEOUT=5

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

GRUB_CMDLINE_LINUX_DEFAULT="quiet"

GRUB_CMDLINE_LINUX="console=ttyS0,115200n8 console=tty1"

GRUB_TERMINAL=serial

GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"

EOF

update-grub

</pre>



* iDrac control from the hardware on which it is installed

<pre>

apt-get install ipmitool openipmi

modprobe ipmi_si

modprobe ipmi_devintf

echo ipmi_si >> /etc/modules

echo ipmi_devintf >> /etc/modules

ipmitool lan print

</pre>



* Activate SOL via iDRAC web interface

!idrac2.png!

* Activate IPMI via iDRAC web interface

!idrac1.png!

* On the bare metal, uncomment / add the ttyS0 and ttyS1 and ttyS2 lines in /etc/inittab

<pre>

T0:23:respawn:/sbin/getty -L ttyS0 115200 vt102

</pre>

and reload

<pre>

telinit q

</pre>



Ask the kernel to use ttyS0 as a console:

<pre>

diff --git a/default/grub b/default/grub

index b3a3467..e5c16f6 100644

--- a/default/grub

+++ b/default/grub

@@ -7,7 +7,7 @@ GRUB_DEFAULT=0

GRUB_TIMEOUT=5

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

GRUB_CMDLINE_LINUX_DEFAULT="quiet"

-GRUB_CMDLINE_LINUX=""

+GRUB_CMDLINE_LINUX="console=ttyS0,115200n8r console=tty1"



# Uncomment to enable BadRAM filtering, modify to suit your needs

# This works with Linux (no patch required) and with any kernel that obtains

</pre>



Add the following options to grub

<pre>

serial --unit=0 --speed=115200

terminal --timeout=10 serial

</pre>



h1. Serial On Lan



<pre>

# ipmitool -H 10.10.2.129 -I lanplus -U root -P XXX sol activate

[SOL Session operational. Use ~? for help]



Debian GNU/Linux 7.0 bm0103.the.re ttyS0



bm0103 login:

</pre>



h1. Web interface



# 10.10.2.129 # IP de IDRAC



iceweasel https://10.10.2.129/

user root and password XXX



( how to set the initial password ? )



h1. ssh



<pre>

ssh root@10.10.2.129 # password XXX

</pre>



Note: la commande help ne montre pas toutes les commandes disponibles ( par exemple cela ne montre pas racadm, voir ci dessous )



h2. RACADM



En suivant les instructions au début de "IDRAC7 reference guide":ftp://ftp.dell.com/Manuals/all-products/esuprt_electronics/esuprt_software/esuprt_remote_ent_sys_mgmt/integrated-dell-remote-access-cntrllr-7-v1.20.20_Reference%20Guide_en-us.pdf



"_SSH or Telnet — Also referred as Firmware RACADM. Firmware RACADM is accessible by logging in to iDRAC7

using SSH or Telnet. You do not have to specify the iDRAC7 IP, user name, or password to run Firmware

RACADM commands. Similar to Local RACADM, after you enter the RACADM prompt, directly run the

commands without the RACADM prefix._"



<code>

root@bm0102:~# ssh 10.10.2.129 # IP de IDRAC

password: # mot de passe de l'utilisateur admin, celui qui permet de se logger sur l'interface web

</code>

Retour