« Return to Thread: Dell DRAC and OpenBSD 4.5 -stable AMD64

Re: Dell DRAC and OpenBSD 4.5 -stable AMD64

by David Gwynne :: Rate this Message:

Reply to Author | View in Thread

On 10/07/2009, at 11:37 AM, Vijay Sankar wrote:

> Hi,
>
> I have a Dell PE2950 server with DRAC 5 running OpenBSD 4.5 AMD64. I  
> would like to remotely access the console using an SSH session to  
> the DRAC IP address. I am hoping someone can help me with this.
>
> This is what I have so far.
>
> On the Server's Setup, under Serial Communications I have the  
> following:
>
> Serial Communication: On with Console Redirection via COM2
> External Serial Connector: Remote Access Device
> Failsafe Baud Rate: 115200
> Remote Terminal Type: VT100/Vt220
> Redirection after Boot: Enabled

you need to set redirection after boot to disabled.

> From my OpenBSD Desktop, I am able to do a root@... and  
> get the following:
>
> Dell Remote Access Controller 5 (DRAC 5)
> Firmware Version 1.40 (Build 08.08.22)
>
> $
>
> I can do a "connect com2" but can't get the console text appear  
> within the ssh session.

make sure you've configured the drac to support console redirection  
too (this is separate to the bios config). use the following commands  
to set it up:

racadm config -g cfgSerial -o cfgSerialBaudRate 115200
racadm config -g cfgSerial -o cfgSerialConsoleEnable 1
racadm config -g cfgSerial -o cfgSerialSshEnable 1
racadm config -g cfgSerial -o cfgSerialHistorySize 2000

once that is done and you have the boot.conf below, you can use  
connect com2.

> I tried "set tty com1" in /etc/boot.conf and that did not work. Is  
> it possible to get the console send its output to com2 and have that  
> accessed through DRAC's IP? Or is there some other way to access the  
> OpenBSD console through DRAC?

you need the following in boot.conf:

stty com1 115200
set tty com1

> Thanks very much,

npz

 « Return to Thread: Dell DRAC and OpenBSD 4.5 -stable AMD64