Dell Drac 5 User Manual
Have a look at the manual Dell Drac 5 User Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 327 Dell manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
Advanced Configuration of the DRAC 551 When you edit the /etc/grub.conf file, use the following guidelines: 1 Disable GRUBs graphical interface and use the text-based interface; otherwise, the GRUB screen will not be displayed in RAC console redirection. To disable the graphical interface, comment out the line starting with splashimage. 2To enable multiple GRUB options to start console sessions through the RAC serial connection, add the following line to all options: console=ttyS1,57600 Table 4-2 shows console=ttyS1,57600 added to only the first option. Enabling Login to the Console After Boot Edit the file /etc/inittab as follows: Add a new line to configure agetty on the COM2 serial port: co:2345:respawn:/sbin/agetty -h -L 57600 ttyS1 ansi Table 4-3 shows a sample file with the new line.
52Advanced Configuration of the DRAC 5 Table 4-3. Sample File: /etc/innitab # # inittab This file describes how the INIT process should set up # the system in a certain run-level. # # Author: Miquel van Smoorenburg # Modified for RHS Linux by Marc Ewing and Donnie Barnes # # Default runlevel. The runlevels used by RHS are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not have # networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # id:3:initdefault: # System initialization. si::sysinit:/etc/rc.d/rc.sysinit l0:0:wait:/etc/rc.d/rc 0 l1:1:wait:/etc/rc.d/rc 1 l2:2:wait:/etc/rc.d/rc 2 l3:3:wait:/etc/rc.d/rc 3 l4:4:wait:/etc/rc.d/rc 4 l5:5:wait:/etc/rc.d/rc 5 l6:6:wait:/etc/rc.d/rc 6
Advanced Configuration of the DRAC 553 Edit the file /etc/securetty as follows: Add a new line with the name of the serial tty for COM2: ttyS1 # Things to run in every runlevel. ud::once:/sbin/update # Trap CTRL-ALT-DELETE ca::ctrlaltdel:/sbin/shutdown -t3 -r now # When our UPS tells us power has failed, assume we have a few # minutes of power left. Schedule a shutdown for 2 minutes from now. # This does, of course, assume you have power installed and your # UPS is connected and working correctly. pf::powerfail:/sbin/shutdown -f -h +2 Power Failure; System Shutting Down # If power was restored before the shutdown kicked in, cancel it. pr:12345:powerokwait:/sbin/shutdown -c Power Restored; Shutdown Cancelled # Run gettys in standard runlevels co:2345:respawn:/sbin/agetty -h -L 57600 ttyS1 ansi 1:2345:respawn:/sbin/mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6 # Run xdm in runlevel 5 # xdm is now a separate service x:5:respawn:/etc/X11/prefdm -nodaemon Table 4-3. Sample File: /etc/innitab (continued)
54Advanced Configuration of the DRAC 5 Table 4-4 shows a sample file with the new line. Enabling the DRAC 5 Serial/Telnet/SSH Console The serial/telnet/ssh console can be enabled locally or remotely. Enabling the Serial/Telnet/SSH Console Locally NOTE: You (the current user) must have Configure DRAC 5 permission in order to perform the steps in this section. To enable the serial/telnet/ssh console from the managed system, type the following local RACADM commands from a command prompt: racadm config -g cfgSerial -o cfgSerialConsoleEnable 1 racadm config -g cfgSerial -o cfgSerialTelnetEnable 1 racadm config -g cfgSerial -o cfgSerialSshEnable 1 Table 4-4. Sample File: /etc/securetty vc/1 vc/2 vc/3 vc/4 vc/5 vc/6 vc/7 vc/8 vc/9 vc/10 vc/11 tty1 tty2 tty3 tty4 tty5 tty6 tty7 tty8 tty9 tty10 tty11 ttyS1
Advanced Configuration of the DRAC 555 Enabling the Serial/Telnet/SSH Console Remotely To enable the serial/telnet/ssh console remotely, type the following remote RACADM commands from a command prompt: racadm -u -p -r config -g cfgSerial -o cfgSerialConsoleEnable 1 racadm -u -p -r config -g cfgSerial -o cfgSerialTelnetEnable 1 racadm -u -p -r config -g cfgSerial -o cfgSerialSshEnable 1 NOTE: When you use Internet Explorer version 6 SP2 or version 7 to log into a managed system on a private network, but without access to the Internet, you may experience a delay of up to 30 seconds while using remote RACADM commands. Using the RACADM Command to Configure the Settings for the Serial and Telnet Console This subsection provides steps to configure the default configuration settings for serial/telnet/ssh console redirection. To configure the settings, type the RACADM config command with the appropriate group, property, and property value(s) for the setting that you want to configure. You can type RACADM commands locally or remotely. When using RACADM commands remotely, you must include the user name, password, and managed system DRAC 5 IP address. Using RACADM Locally To type RACADM commands locally, type the following command from a command prompt on the managed system: racadm config -g < group> -o To view a list of properties, type the following command from a command prompt on the managed system: racadm getconfig -g
56Advanced Configuration of the DRAC 5 Using RACADM Remotely To use RACADM commands remotely, type the following command from a command prompt on a management station: racadm -u < username> -p -r config -g -o Ensure that your web server is configured with a DRAC 5 card before you use RACADM remotely. Otherwise, RACADM times out and the following message appears: Unable to connect to RAC at specified IP address. To enable your web server using Secure Shell (SSH), telnet or local RACADM, type the following command from a command prompt on a management station: racadm config -g cfgRacTuning -o cfgRacTuneWebServerEnable 1 Displaying Configuration Settings Table 4-5 provides the actions and related commands to display your configuration settings. To run the commands, open a command prompt on the managed system, type the command, and press . Table 4-5. Displaying Configuration Settings Action Command List the available groups.racadm getconfig -h Display the current settings for a particular group.racadm getconfig -g For example, to display a list of all cfgSerial group settings, type the following command: racadm getconfig -g cfgSerial Display the current settings for a particular group remotely.racadm -u -p -r getconfig -g cfgSerial For example, to display a list of all of the settings for the cfgSerial group remotely, type: racadm -u root -p calvin -r 192.168.0.1 getconfig -g cfgSerial
Advanced Configuration of the DRAC 557 Configuring the Telnet Port Number Type the following command to change the telnet port number on the DRAC 5. racadm config -g cfgRacTuning -o cfgRacTuneTelnetPort Using a Serial or Telnet Console You can run the serial commands in Table 4-19 remotely using RACADM or from the serial/telnet/ssh console command prompt. Logging in to the DRAC 5 After you have configured your management station terminal emulator software and managed node BIOS, perform the following steps to log into the DRAC 5: 1 Connect to the DRAC 5 using your management station terminal emulation software. 2Type your DRAC 5 user name and press . You are logged into the DRAC 5. Starting a Text Console After you have logged into the DRAC 5 through your management station terminal software with telnet or SSH, you can redirect the managed system text console by using connect com2, which is a telnet/SSH command. Only one connect com2 client is supported at a time. To connect to the managed system text console, open a DRAC 5 command prompt (displayed through a telnet or SSH session) and type: connect com2 From a serial session, you can connect to the managed system’s serial console by pressing , which connects the managed system’s serial port directly to the servers’ COM2 port and bypasses the DRAC 5. To reconnect the DRAC 5 to the serial port, press . The managed node COM2 port and the DRAC 5 serial port baud rates must be identical. The connect -h com2 command displays the contents of the serial history buffer before waiting for input from the keyboard or new characters from the serial port.
58Advanced Configuration of the DRAC 5 NOTE: When using the -h option, the client and server terminal emulation type (ANSI or VT100) must be identical; otherwise, the output may be garbled. Additionally, set the client terminal row to 25. The default (and maximum) size of the history buffer is 8192 characters. You can set this number to a smaller value using the command: racadm config -g cfgSerial -o cfgSerialHistorySize Configuring Serial and Terminal Modes Configuring IPMI and RAC Serial 1Expand the System tree and click Remote Access. 2Click the Configuration tab and then click Serial. 3Configure the IPMI serial settings. See Table 4-6 for description of the IPMI serial settings. 4Configure the RAC serial settings. See Table 4-7 for description of the RAC serial settings. 5Click Apply Changes. 6Click the appropriate Serial Configuration page button to continue. See Table 4-8 for description of the serial configuration page settings. Table 4-6. IPMI Serial Settings Setting Description Connection Mode Setting Direct Connect Basic Mode - IPMI Serial Basic Mode Direct Connect Terminal Mode - IPMI Serial Terminal Mode Baud RateSets the data speed rate. Select 9600 bps, 19.2 kbps, 57.6 kbps, or 115.2 kbps. Flow Control None — Hardware Flow Control Off RTS/CTS — Hardware Flow Control On
Advanced Configuration of the DRAC 559 Channel Privilege Level Limit Administrator Table 4-7. RAC Serial Settings Setting Description EnabledEnables or disables the RAC serial console. Checked= Enabled; Unchecked=Disabled Maximum SessionsThe maximum number of simultaneous sessions allowed for this system. TimeoutThe maximum number of seconds of line idle time before the line is disconnected. The range is 60 to 1920 seconds. Default is 300 seconds. Use 0 seconds to disable the Timeout feature. Redirect EnabledEnables or disables Console Redirection. Checked= Enabled; Unchecked=Disabled Baud RateThe data speed on the external serial port. Values are 9600 bps, 28.8 kbps, 57.6 kbps, and 115.2 kbps. Default is 57.6 kbps. Escape KeySpecifies the key. The default are the ^ characters. History Buffer SizeThe size of the serial history buffer, which holds the last characters written to the console. The maximum and default = 8192 characters. Login CommandThe DRAC command line to be executed upon valid login. Table 4-6. IPMI Serial Settings (continued) Setting Description
60Advanced Configuration of the DRAC 5 Configuring Terminal Mode 1Expand the System tree and click Remote Access. 2Click the Configuration tab and then click Serial. 3In the Serial Configuration page, click Terminal Mode Settings. 4Configure the terminal mode settings. See Table 4-9 for description of the terminal mode settings. 5Click Apply Changes. 6Click the appropriate Terminal Mode Settings page button to continue. See Table 4-10 for description of the terminal mode settings page buttons. Table 4-8. Serial Configuration Page Settings Button Description PrintPrint the Serial Configuration page. RefreshRefresh the Serial Configuration page. Apply ChangesApply the IPMI and RAC serial changes. Terminal Mode SettingsOpens the Terminal Mode Settings page. Table 4-9. Terminal Mode Settings Setting Description Line EditingEnables or disables line editing. Delete ControlSelect one of the following: BMC outputs a character when or is received — BMC outputs a character when or is received — Echo ControlEnables or disables echo. Handshaking ControlEnables or disables handshaking. New Line SequenceSelect None, , , , , or . Input New Line SequenceSelect or .