Professional Documents
Culture Documents
BY AURELIAN DUMITRU
access to the host console through a serial connection to the RAC, To maintain security, all users are not granted all privileges.
a Telnet connection, or both. For example, provided that the All administrators should be able to access the serial and video
RAC is properly configured, the Dell PowerEdge 2650 server offers consoles of the host. However, only the root user can power up
connectivity using either a VT-100 or ANSI serial client or a LAN- the system or configure the RAC—for instance, to change a baud
based telnet client. rate. In addition, the root user’s password and location within the
As shown in Figure 1, the RAC hardware features two serial inter- RAC user database can be changed.
faces (RAC serial 1 and RAC serial 2) and one video interface
(RAC video interface). The RAC serial 1 interface is used for host- Configuring the RAC serial/telnet console
to-RAC serial communication; the RAC serial 2 interface is used for To set up the RAC serial/telnet console, the following RAC configu-
RAC-to-client communication. Thus, administrators must properly ration parameters need to be modified in the following sequence:
set up two baud rates (baud_rate_1 and baud_rate_2) to gain remote
access to the serial console on the host. Baud_rate_1 in the RAC 1. Upgrade the RAC firmware to version 3.0.
configuration must be in sync with the Linux ttyS1 baud rate.
Baud_rate_2 must be in sync with the baud rate of the VT-100 or 2. Upgrade the host system BIOS to the latest version available,
ANSI client. Any mismatch between these values will make the or check to make sure that the current system BIOS supports
RAC serial/telnet console unusable. Note that baud_rate_1 and the RAC serial/telnet console.
baud_rate_2 are not necessarily set to the same value.
For optimal performance, Dell recommends setting baud_rate_1 3. Configure and enable the RAC serial/telnet console by saving
to 57,600 bps and baud_rate_2 to 115,200 bps, as well as enabling the following sample RAC configuration in a text file (for
hardware flow control for the host. RAC relies on hardware flow instance, rac.cfg) and then applying the configuration using
control to avoid dropped characters during serial communication; the Racadm interface:
flow control enables the host to respond to Request To Send/Clear
To Send (RTS/CTS) signals. #
Regardless of whether a serial or Telnet connection is established # Object Group "cfgSerial"
with the RAC, the console will present the user with a login prompt. #
The login is authenticated against the RAC user database, which [cfgSerial]
resides on the RAC. Because the authentication is RAC-based, not cfgSerialBaudRate=115200
host-based, administrators can log in to the RAC console even on cfgSerialConsoleEnable=1
a dead server, provided that the server has power. Once authenti- cfgSerialConsoleQuitKey=,./
cated, the administrator connects to the serial console using the cfgSerialTelnetEnable=1
connect com2 command, or to the video console of the host using
the connect video command. #
# Object Group "cfgRacTuning"
#
Host serial RAC serial 1 RAC video Host video
interface (baud_rate_1) interface interface [cfgRacTuning]
cfgRacTuneHostCom2BaudRate=57600
RAC firmware RAC network The preceding sample configuration file will:
interface
card (NIC) • Enable the RAC serial console
• Enable the RAC telnet console
COM2 RS-232
circuitry and
RAC serial 2
(baud_rate_2)
• Set the RAC-to-client baud rate to 115,200 bps
DB-9 connector RAC • Set the host-to-RAC baud rate to 57,600 bps
are organized. Refer to the Dell Remote Access Controller For the PowerEdge 1750 server, the administrator must
Racadm User’s Guide for additional information on RAC choose RAC instead of Serial Port 2.
configuration parameters.
8. Save the changes and reboot the system. The system reboot
4. Use the following racadm command to apply these changes: is important because it allows the RAC and the BIOS to syn-
chronize their communication parameters. Depending on the
racadm remote connect options config –f specific configuration of a system, the RAC may not redirect
config filename BIOS screens if the BIOS and the RAC do not sync up.
Because the BIOS and the RAC synchronize when the system
where remote connect options is -r rac_ip_addr boots, at least one system boot needs to occur after the
-u root –p password and config filename is the name of administrator enables and configures the RAC serial/telnet
the configuration file (for instance, rac.cfg). The remote console. No additional reboots are required thereafter.
connect options variable is needed only for executing
Racadm remotely, for example when configuring a remote 9. After both the RAC and the BIOS are in sync, at least three
RAC from a management station over a LAN. From the Linux files must be changed to enable ttyS1 serial console
RAC’s host console, administrators need not use this vari- redirection: /etc/grub.conf or /etc/lilo.conf (depending on
able because Racadm can communicate directly with the the bootloader used), /etc/inittab, and /etc/securetty. How-
RAC that exists in that system. ever, none of these changes is required if only access to the
host video console is needed. Required modifications to the
5. Reset the RAC using the following command to make the three files are shaded in Figures 2, 3, and 4.
changes effective: Note: In Figure 2, the Linux host baud rate is set to
57,600 bps in the /etc/grub.conf or /etc/lilo.conf file,
racadm remote connect options racreset which is in sync with the host-to-RAC baud rate set in
the sample RAC configuration text file (rac.cfg) in the
6. Reboot the RAC host, enter the BIOS configuration page,
and select “Integrated Devices.” On the PowerEdge 2650,
# Run gettys in standard runlevels
verify that Serial Port 2 is set to COM2. On the co:2345:respawn:/sbin/agetty –h -L 57600 ttyS1 vt100
PowerEdge 1750, verify that Serial Port 1 is set to “Off.” 1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
7. Select “Console Redirection” from the main BIOS configu- 3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
ration page. The three settings should be configured as
5:2345:respawn:/sbin/mingetty tty5
follows for the PowerEdge 2650 server:
6:2345:respawn:/sbin/mingetty tty6
• Console Redirection: Serial Port 2
• Remote Terminal Type: VT-100
• Redirection After Boot: Enabled Figure 3. Modifications to /etc/inittab to enable ttyS1 serial console redirection