Wednesday, November 21, 2007

Working with Dell RAC

Well again I’m having issues with something. This time is the awesome easy to use greatly improved, best in class super administration toll RAC (Remote access console)from Dell. Because of the way that I’m located in the world, and my vpn connection to the datacenter I can’t get the rac browser plugin to work but there is supposed to be a ssh connection available also.

Got ssh working (enabled by default) just ssh root@server_ip and used the same password as the web client.

Now we need to enable the serial console features:

    $ racadm config -g cfgSerial -o cfgSerialConsoleEnable 1
    $ racadm config -g cfgSerial -o cfgSerialTelnetEnable 1
    $ racadm getconfig -g cfgSerial

    cfgSerialBaudRate=57600
    cfgSerialConsoleEnable=1
    cfgSerialConsoleQuitKey=^\
    cfgSerialConsoleIdleTimeout=300
    cfgSerialConsoleNoAuth=0
    cfgSerialConsoleCommand=
    cfgSerialHistorySize=8192
    cfgSerialCom2RedirEnable=1
    cfgSerialTelnetEnable=1
    cfgSerialSshEnable=1

Modify the Grand Unified Bootloader (GRUB) configuration.
In the Linux configuration file /etc/grub.conf, add the following
two lines in the general settings section of the file:
serial -–unit=0 -–speed=57600
terminal -–timeout=10 serial
Next, append the kernel and console=ttyS0,57600 options
to the kernel line. For example:
kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/
console=ttyS0,57600
If a splashimage directive such as splashimage=(hd0,2)/
grub/splash.xpm.gz appears, comment it out.

Enable login to the console after boot. In the Linux configurationfile /etc/inittab, add a line to configure a getty on the
COM1 serial port as follows:
co:2345:respawn:/sbin/agetty -h -L 57600 ttyS0
vt100

Grant permission to initiate the session. In the Linux
configuration file /etc/securetty, add ttyS0 to the list of
supported ports.

No comments: