RACADM – Change BIOS settings, Create commit job, Reboot and apply

Pull current settings:
C:\Users\Administrator>racadm -r -u root -p calvin get BIOS.BiosBootSettings.HddSeq

Update boot order:
C:\Users\Administrator>racadm -r -u root -p calvin set BIOS.BiosBootSettings.HddSeq Disk.SDInternal.1-1,RAID.Integrated.1-1
RAC1017: Successfully modified the object value and the change is in
pending state.
To apply modified value, create a configuration job and reboot
the system. To create the commit and reboot jobs, use “jobqueue”
command. For more information about the “jobqueue” command, see RACADM

Verify setting is in PENDING state:
C:\Users\Administrator>racadm -r -u root -p calvin get BIOS.BiosBootSettings.HDDSeq
(Pending Value=Disk.SDInternal.1-1,RAID.Integrated.1-1)

Create job!
C:\Users\Administrator>racadm -r -u root -p calvin jobqueue create BIOS.Setup.1-1
RAC1024: Successfully scheduled a job.
Verify the job status using “racadm jobqueue view -i JID_xxxxx” command.
Commit JID = JID_995403790233

Reset machine to get Lifecycle Controller to execute change:
C:\Users\Administrator>racadm -r -u root -p calvin serveraction hardreset

SOL / Serial Over Lan connection from Linux to Dell iDRAC or BMC

Enable SOL with Racadm (or via the web interface – whichever):
racadm -r -u root -p calvin config -g cfgIpmiLan -o cfgIpmiLanEnable 1

NOTE: for the ipmitool commands, create a new user with SOL permission first if root/root or root/calvin doesn’t work. This seems to be the case with the C series servers.

Connect using ipmitool:
jonas@erebus:~$ ipmitool -I lanplus -U jonas -P jonas -H sol activate

Terminate session:
▒~. [terminated ipmitool] (yes, termninate with “~.”)

Identify and close iDRAC sessions via SSH

An iDRAC can run out of available sessions and hence refuse any new connections over the web interface. This happens if the admin logs on multiple times and doesn’t log out (just closing the window). Luckily this is easy to remedy:

SSH to iDRAC of server:
ssh root@

Get session list:
racadm getssninfo
SSNID Type User IP Address Login Date/Time
6 GUI root 12/06/2013 09:34:49
7 GUI root 12/06/2013 09:35:25
11 GUI root 12/06/2013 10:43:57
12 SSH root 12/16/2013 12:46:31

Kill the session we want to get rid of:
racadm closessn -i 6
Session 6 closed successfully.

Power control and capping on Dell servers using RACADM

Usage: SSH -> racadm ->
Get current value: getconfig -g <group> -o <object>
Set a value: config -g <group> -o <object> <new_value>
Do “help” to get list of groups.
Do “help <groupname>” to get objects for a particular group.

Get current draw:
racadm getconfig -g cfgServerPower -o cfgServerActualPowerConsumption
108 W | 369 Btu/hr

Enable power capping:
racadm config -g cfgServerPower -o cfgServerPowerCapEnable 1
Object value modified successfully

Set cap:
racadm config -g cfgServerPower -o cfgServerPowerCapWatts 400
Object value modified successfully

racadm getconfig -g cfgServerPower -o cfgServerPowerCapWatts
400 W

Get total kVh:
racadm getconfig -g cfgServerPower -o cfgServerCumulativePowerConsumption
292.370 KWh | 997859 Btu