Dell DRAC and OpenBSD 4.5 -stable AMD64

View: New views
5 Messages — Rating Filter:   Alert me  

Dell DRAC and OpenBSD 4.5 -stable AMD64

by Vijay Sankar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

 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.

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?

Thanks very much,

Vijay
vsankar@...


Re: Dell DRAC and OpenBSD 4.5 -stable AMD64

by David Gwynne :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Re: Dell DRAC and OpenBSD 4.5 -stable AMD64

by Vijay Sankar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks very much for your detailed answer. Really appreciate that. I now
see output through ssh. Unfortunately, it looks like the following:

s!!eBwRs!ow1u))BwRs!GDbu1'wd
                            tGsO)
g$

I tried reducing the baud rate to 9600 but then the output looked like
the following

```````````````````````````````

So then I tried each of the settings under the "Failsafe Baud Rate"
setting (57600, 19200) and those did not work either.

Is there something I should do in /etc/ttys ?

Thanks again,

Vijay

David Gwynne wrote:

> 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
>


--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: (204) 885-9535, E-Mail: vsankar@...


Re: Dell DRAC and OpenBSD 4.5 -stable AMD64

by David Gwynne :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i have this in /etc/ttys:

tty01   "/usr/libexec/getty std.57600"  vt220   on  secure

dlg

On 10/07/2009, at 7:07 PM, Vijay Sankar wrote:

> Thanks very much for your detailed answer. Really appreciate that. I
> now see output through ssh. Unfortunately, it looks like the
> following:
>
> s!!eBwRs!ow1u))BwRs!GDbu1'wd
>                           tGsO)
> g$
>
> I tried reducing the baud rate to 9600 but then the output looked
> like the following
>
> ```````````````````````````````
>
> So then I tried each of the settings under the "Failsafe Baud Rate"
> setting (57600, 19200) and those did not work either.
>
> Is there something I should do in /etc/ttys ?
>
> Thanks again,
>
> Vijay
>
> David Gwynne wrote:
>> 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
>>
>
>
> --
> Vijay Sankar, M.Eng., P.Eng.
> ForeTell Technologies Limited
> 59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
> Phone: (204) 885-9535, E-Mail: vsankar@...


Re: Dell DRAC and OpenBSD 4.5 -stable AMD64

by Vijay Sankar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks very much. I have good news to report!!! I had read FAQ7 and had
set this as

tty01   "/usr/libexec/getty std.9600"  vt220   on  secure

To make sure I don't waste your time (as well as the rest of the list) I
went through the settings and made sure that all settings matched. And I
now have the following:

OpenBSD/amd64 (server2.sankars.local) (tty01)

login:

This is just great!! Thanks again

Have a good day,

Vijay

David Gwynne wrote:

> i have this in /etc/ttys:
>
> tty01   "/usr/libexec/getty std.57600"  vt220   on  secure
>
> dlg
>
> On 10/07/2009, at 7:07 PM, Vijay Sankar wrote:
>
>> Thanks very much for your detailed answer. Really appreciate that. I
>> now see output through ssh. Unfortunately, it looks like the
>> following:
>>
>> s!!eBwRs!ow1u))BwRs!GDbu1'wd
>>                           tGsO)
>> g$
>>
>> I tried reducing the baud rate to 9600 but then the output looked
>> like the following
>>
>> ```````````````````````````````
>>
>> So then I tried each of the settings under the "Failsafe Baud Rate"
>> setting (57600, 19200) and those did not work either.
>>
>> Is there something I should do in /etc/ttys ?
>>
>> Thanks again,
>>
>> Vijay
>>
>> David Gwynne wrote:
>>> 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
>>>
>>
>>
>> --
>> Vijay Sankar, M.Eng., P.Eng.
>> ForeTell Technologies Limited
>> 59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
>> Phone: (204) 885-9535, E-Mail: vsankar@...
>


--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: (204) 885-9535, E-Mail: vsankar@...