You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
Platform-specific documentation/Dell PowerEdge RN10
- Lights Out Manager: Dell iDRAC/6
- Dell's iDRAC/6 & iDRAC/7 are quite similar, however iDRAC/6 differs a great deal from the old iDRAC/5.
- Model(s): Dell Poweredge RN10 series servers we use:
- Dell PowerEdge R310
- Up to 4 disks, most populated with 2.
- Dell PowerEdge R410
- Up to 4 disks, most populated with 2 (mw servers with 1).
- Dell PowerEdge R610
- Up to 8 disks, most populated with 4; mix of sata & ssd for caching.
- Dell PowerEdge R510
- Hardware Raid PERC H700 controller w/ 12 disks.
- /R510 Performance Testing carried out by Ben H in Q4 2011.
Lights Out Management
The iDRAC/6 differs a great deal from previous versions. The initial command line prompt is:
- Please note that this is identical to iDRAC/7's command prompt, and cannot be used to determine between them.
racadm getsel racadm lclog view
Reboot and boot from network then console
racadm config -g cfgServerInfo -o cfgServerBootOnce 1 racadm config -g cfgServerInfo -o cfgServerFirstBootDevice PXE racadm serveraction powercycle console com2
Connecting to mgmt interface
- Via SSH
- ssh firstname.lastname@example.org
- Example: ssh email@example.com
- Via Browser
- Sometimes userful in troubleshooting, but you must have set up some kind of http(s) proxy into the mgmt network, demonstrated here
- Please note you will have to override an unknown (self signed) certificate, you won't want to save it permanently, as a few of these saved tends to result in errors connecting to other Dell DRAC interfaces via HTTPS.
Connecting to Serial Console
- Attach to the serial console: console com2
- Detach from serial console: ctrl+\
- Console Redirection Key Mappings:
Use the <ESC><0> key sequence for <F10> Use the <ESC><!> key sequence for <F11> Use the <ESC><@> key sequence for <F12> Use the <ESC><Ctrl><M> key sequence for <Ctrl><M> Use the <ESC><Ctrl><H> key sequence for <Ctrl><H> Use the <ESC><Ctrl><I> key sequence for <Ctrl><I> Use the <ESC><Ctrl><J> key sequence for <Ctrl><J> Use the <ESC><X><X> key sequence for <Alt><x>, where x is any letter key, and X is the upper case of that key Use the <ESC><R><ESC><r><ESC><R> key sequence for <Ctrl><Alt><Del>
Log in with SSH on the mgmt interface:
racadm serveraction action
- Where action is one of the following:
- powerdown - power server off
- powerup - power server on
- powercycle - perform server power cycle
- hardreset - force hard server power reset
- powerstatus - display current power status of server
- Alternatively, use the SM CLP shell, after logging in, use the following commands:
reset /system1 stop /system1 start /system1
Getting System Info (MAC Address)
The MAC address should be the first NIC listed:
/admin1-> racadm getsysinfo ... Embedded NIC MAC Addresses: NIC1 Ethernet = 78:2b:cb:08:a1:68 iSCSI = 00:00:00:00:00:00 NIC2 Ethernet = 78:2b:cb:08:a1:69 iSCSI = 00:00:00:00:00:00 NIC3 Ethernet = N/A iSCSI = N/A NIC4 Ethernet = N/A iSCSI = N/A
Changing iDRAC User Password
- SSH into iDRAC interface.
- Change command:
racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 <newpassword>
iDRAC SSH Key Based Authentication
- This is not yet standard on all hosts. RobH is working on it, and merely listing the commands here for posterity.
- On Dell systems, the root user is userid # 2. (#1 is given to the disabled anon access user.)
- We only assign a single ssh key per user, though up to 4 can be assigned.
- SSH into iDRAC interface.
- List all keys assigned to a user
- Specific key:
racadm sshpkauth -i <2 to 16> -v -k <1 to 4>
- All keys:
racadm sshpkauth -i <2 to 16> -v -k all
- List root user keys:
racadm sshpkauth -i 2 -v -k all
- Add key:
racadm sshpkauth -i <2 to 16> -k <1 to 4> -t <key-text>
- Add key to slot one for root user:
racadm sshpkauth -i 2 -k 1 -t "contents of the public key file line"
- Delete key:
- Specific Key:
racadm sshpkauth -i <2 to 16> -d -k <1 to 4>
- All Keys:
racadm sshpkauth -i <2 to 16> -d -k all
- Delete all root user keys:
racadm sshpkauth -i 2 -d -k all
Changing the iDRAC Network IP Settings
racadm setniccfg -s <ipaddres> <subnetmask> <gateway>
Enable / Disable IPMI over DRAC
racadm config -g cfgIpmiLan -o cfgIpmiLanEnable <0 or 1>
- 0 is off, 1 is on.
Setting a one-time boot option
Sometimes you want the server to reboot into a network boot, or into bios directly. You can set one-time boot options with the following on the mgmt SSH command line:
racadm config -g cfgServerInfo -o cfgServerBootOnce 1 racadm config -g cfgServerInfo -o cfgServerFirstBootDevice <BOOT OPTION>
- Valid boot option targets: No-Override, PXE, HDD, DIAG, CD-DVD, BIOS, vFDD, VCD-DVD, iSCSI, VFLASH partition label, FDD, SDe, RFS (Remote File Share)
- We most commonly just make use of PXE & BIOS
Changing the User Defied String for the front LCD
- Please note only models with LCD have this set: R620, R720
- Checking the string:
racadm get System.LCD.LCDUserString
- Setting new string:
racadm set System.LCD.LCDUserString newstring
- We need to test this on a new system out of box. Rather than set the display User specified string and string in DRAC setup, skip that, and attempt to set with this single command afterwards. Ideally populating this via the iDrac command line will force it to also be set to display on LCD (rather than default service tag.) Please let RobH know the result of this test (or just put it in here!) --RobH (talk)
Unified Server Configurator does not support console redirection
Sometimes dells get stuck in this state, automatically launching an unsupported config tool on each boot. To get unstuck, hit ctrl-e when prompted, select 'System Services' and set 'Cancel System Services' to YES. http://crtech.tips/lifecycle-controller-hanging-during-post/
For R440 hosts, this needs to be done via the iDrac settings on the BIOS (Press F2 when prompted). The option is called in a slightly different way: iDrac Settings -> Lifecycle controller -> Cancel Lifecycle Controller Actions that needs to be set to Yes
Initial System Setup
We need to change a number of options in the bios and mgmt configuration to our own specifications. Some of these items MUST be done locally by the on-site technician racking the systems. As such, all of the following steps should be done by the on-site before completing a new server in the racked state.
- Rack server according to directions on how to do so. (Rob will add a link to this procedure later, once it is written.)
- Attach physical console to system (keyboard & monitor).
- Boot system, and enter BIOS by pressing F2 during POST.
- System POSTS and enters BIOS with screen listing: System Bios, iDRAC Settings, & Device Settings.
- Please note the first boot, this will be in a GUI that can be driven with keyboard only. AFTER the serial redirection is setup, this menu will no longer display on the physical console with the GUI, but a non-graphical command-line type menu system.
- Enter System Bios.
- We will be changing the entries for a number of items. If an item is not listed, it doesn't need to change from defaults.
- Processor Settings
- Logical Processor set to disabled - This is hyperthreading, and we don't need it.
- Virtualization Technology set to disabled - leaving this on when not using system for virtual machines leaves a potential security vector.
- Serial Communication
- Serial Communication set to on with console redirection via com2
- Serial Port Address set to Serial Device1=COM1,Serial Device2=COM2
- Redirection after boot set to disabled - newer ubuntu versions prefer this during boot, though you may swap it back when troubleshooting PXE boot issues.
- System Profile Settings
- System Profile set to Performance Per Watt (OS) - the default dell setting causes power_saving/watchdog kernel threads to spawn and inordinately consume CPU cycles, this setting fixes it.
- Miscellaneous Settings
- Asset Tag set to the Asset Tag assigned when system was received into stock.
- Hit ESC to exit out, when prompted saving your changes. Do not exit the BIOS screen entirely, just go back to main settings screen (System Bios, iDRAC Settings, & Device Settings)
- Select iDRAC Settings
- Confirm the following setttings:
- Enable NIC is set to Enabled - should already be set to this, just a double-check
- Nic Selection is set to Dedicated (iDRAC7 Enterprise only) - should be set to this already, if it won't change, it means the DRAC Enterprise License did not apply correctly during purchase. Please contact RobH if this occurs so we can get it fixed.
- Set the Static IP, Static Gateway, & Static Subnet Mask.
- We don't assign DNS servers to mgmt interfaces.
- Enable IPMI Over LAN set to enabled - this will allow us to use IPMI commands & scripting in the future.
- Front Panel Security (Only for systems with front LCD)
- Set LCD message set to User-Defined String
- User-defined string set to system name if available, otherwise input asset tag again.
- User Configuration
- Set password to the mgmt password
- ESC and save when prompted until back out of BIOS entirely, all settings are now in place.
- All systems must be tested for DRAC and console redirection before the racking and on-site work is complete.
- Connect to DRAC via SSH
- Test powercycling, powering down, and powering up.
- Test console redirection, ensure you can watch system POST via SSH mgmt session.
- Once testing has passed, system is ready for operations allocation.
IDRAC firmware upgrade
This document is to explain how to upgrade the IDRAC firmware using the Web interface Note: For the PowerEdge R410 you need to download two files. The IDRAC update and the IDRAC lifecycle controller firmware update. No reboot is needed after running the upgrade.
- Download the IDRAC update. (link below)
- The download is a compressed file, “iDRAC6_2.80_A00_FW_IMG.exe”. You need to extract the file first. Once that is done, locate the “firmimg.d6” file. This is the file that will be uploaded to the system
- login to the system that needs an upgrade. Open a web browser and type the system management IP
example : https://10.193.1.103/login.html. Enter the system username and password.
- On the left under “System”, click on “IDRAC Settings”
- On the right locate the “Update tab” and click on it.
- On the update page click on “Choose files” and navigate to the “firmimg.d6” file, then click on “upload”, at the next window, click on “next”. It takes 3:22 to upload the IDRAC file and 4 minutes to complete the update.
Once the update is complete, you will see the message below "iDRAC6 Firmware Image has been updated successfully. The iDRAC6 has been reset. You will not be able to access the iDRAC6 with this browser session. Please close and reconnect to the iDRAC6 using new a browser session." Close the windows or tab and open a new session, login into the same system to update the lifecycle controller next.
IDRAC lifecycle controller upgrade
Please see below for the link to download lifecycle controller file.
Download the lifecycle controller (link below) http://downloads.dell.com/FOLDER02954560M/1/LC_Repair_Package_184.108.40.206_A00.usc
Once download, please follow the same steps above for the IDRAC upgrade. it takes 22s to upload the lifecycle controller file and 2:15 for the update to finish. Once the update is complete you will see the message "System Services Recovery Image has been updated successfully."