HP Xw460c HP Integrated Lights-Out 2 User Guide for Firmware 1.75 and 1.77 - Page 104

Virtual Serial Port enhancements

Page 104 highlights

After the server completes POST, the server system ROM transfers control to the operating system boot loader. If you are using Linux, you can configure the operating system boot loader to interact with the server serial port instead of the keyboard, mouse, and VGA console. This configuration enables you to view and interact with the operating system boot sequence through the Remote Serial console. See the section, "Linux configuration example (on page 104)" for an example of a Linux operating system boot loader. After the operating system boot loader completes, the operating system continues to load. If you are using a Linux operating system, you can configure the operating system to provide a login session to the system through the serial port, enabling the Remote Serial Console to prompt you for the system user login ID and password. Using this configuration enables you to interact with the operating system as an operating system user or as a system administrator. Although additional configuration steps are required to use Remote Serial Console (as compared to using the remote console or IRC), the Remote Serial Console allows telnet or SSH users to interact with the server remotely and without requiring an iLO 2 Advanced license and is the only way a true text-based remote console is presented by iLO 2. Linux configuration example The boot loader is the application that loads from the bootable device when the server system ROM finishes POST. For Linux operating systems, the boot loader that is usually used is GRUB. To configure GRUB to use the Remote Serial Console, modify the GRUB configuration file to look like the following (Red Hat Linux 7.2 sample shown): serial -unit=0 -speed=115200 terminal -timeout=10 serial console default=0 timeout=10 #splashimage=(hd0,2) /grub/splash.zpm.gz title Red Hat Linux (2.4.18-4smp) root (hd0,2) kernel /vmlinuz-2.4.18-4smp ro root=/dev/sda9 console=tty0 console=ttyS0,115200 initrd /initrd-2.4.18-rsmp.img After Linux is fully booted, a login console can be redirected to the serial port. The /dev/ttyS0 and /dev/ttyS1 devices, if configured, allow you to obtain serial tty sessions through the Remote Serial Console. To begin a shell session on a configured serial port, add the following line to the /etc/inittab file to start the login process automatically during system boot (this example invokes the login console on /dev/ttyS0): Sx:2345:respawn:/sbin/agetty 115200 ttyS0 vt100 For more information about configuring Linux for use with the Remote Serial Console, see the technical publication Integrated Lights-Out Virtual Serial Port configuration and operation HOWTO on the HP website (http://www.hp.com/servers/lights-out). Virtual Serial Port enhancements iLO 2 firmware 1.35 implements a dynamic flag that instantly informs the server system ROM of an iLO 2 Remote Serial Console connection. After the system ROM POST code recognizes the Remote Serial Console connection, the system begins redirecting the console input and output to the server serial port and the Remote Serial Console. You can establish a Remote Serial Console session at any time before or during the system POST sequence, and you can view and modify the POST. After disconnecting the Remote Serial Console session, the iLO 2 firmware resets the dynamic flag to inform the server system Using iLO 2 104

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235

Using iLO 2 104
After the server completes POST, the server system ROM transfers control to the operating system boot
loader. If you are using Linux, you can configure the operating system boot loader to interact with the
server serial port instead of the keyboard, mouse, and VGA console. This configuration enables you to
view and interact with the operating system boot sequence through the Remote Serial console. See the
section, "Linux configuration example (on page
104
)" for an example of a Linux operating system boot
loader.
After the operating system boot loader completes, the operating system continues to load. If you are using
a Linux operating system, you can configure the operating system to provide a login session to the system
through the serial port, enabling the Remote Serial Console to prompt you for the system user login ID and
password. Using this configuration enables you to interact with the operating system as an operating
system user or as a system administrator.
Although additional configuration steps are required to use Remote Serial Console (as compared to using
the remote console or IRC), the Remote Serial Console allows telnet or SSH users to interact with the
server remotely and without requiring an iLO 2 Advanced license and is the only way a true text-based
remote console is presented by iLO 2.
Linux configuration example
The boot loader is the application that loads from the bootable device when the server system ROM
finishes POST. For Linux operating systems, the boot loader that is usually used is GRUB. To configure
GRUB to use the Remote Serial Console, modify the GRUB configuration file to look like the following (Red
Hat Linux 7.2 sample shown):
serial -unit=0 -speed=115200
terminal -timeout=10 serial console
default=0
timeout=10
#splashimage=(hd0,2) /grub/splash.zpm.gz
title Red Hat Linux (2.4.18-4smp)
root (hd0,2)
kernel /vmlinuz-2.4.18-4smp ro root=/dev/sda9 console=tty0
console=ttyS0,115200
initrd /initrd-2.4.18-rsmp.img
After Linux is fully booted, a login console can be redirected to the serial port. The /dev/ttyS0 and
/dev/ttyS1 devices, if configured, allow you to obtain serial tty sessions through the Remote Serial
Console. To begin a shell session on a configured serial port, add the following line to the /etc/inittab
file to start the login process automatically during system boot (this example invokes the login console on
/dev/ttyS0):
Sx:2345:respawn:/sbin/agetty 115200 ttyS0 vt100
For more information about configuring Linux for use with the Remote Serial Console, see the technical
publication
Integrated Lights-Out Virtual Serial Port configuration and operation HOWTO
on the HP
website (
).
Virtual Serial Port enhancements
iLO 2 firmware 1.35 implements a dynamic flag that instantly informs the server system ROM of an iLO 2
Remote Serial Console connection. After the system ROM POST code recognizes the Remote Serial
Console connection, the system begins redirecting the console input and output to the server serial port
and the Remote Serial Console. You can establish a Remote Serial Console session at any time before or
during the system POST sequence, and you can view and modify the POST. After disconnecting the
Remote Serial Console session, the iLO 2 firmware resets the dynamic flag to inform the server system