Configuring a Dell iDRAC from Windows via CLI

on

You can configure the iDRAC from Windows directly to the iDRAC interface via CLI by running the following command, while on the OMSA folder of the server.

C:\Program Files\Dell\SysMgt\RAC<versionnumber)\

Set up networking:

racadm setniccfg –s <drac ip> <drac subnet mask> <gateway>

Example

racadm setniccfg -s 192.168.x.x 255.255.255.0 192.168.x.x

List users

racadm getconfig -g cfgUserAdmin -o cfgUserAdminUserName -i 2

Creating a user from scratch, in this example username “virtualcenter” with password “123456”

racadm config -g cfgUserAdmin -o cfgUserAdminUserName -i 3 virtualcenter
racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 3 123456
racadm config -g cfgUserAdmin -i 3 -o cfgUserAdminPrivilege 0x00000001
racadm config -g cfgUserAdmin -i 3 -o cfgUserAdminIpmiLanPrivilege 2
racadm config -g cfgUserAdmin -i 3 -o cfgUserAdminIpmiSerialPrivilege 2
racadm config -g cfgUserAdmin -i 3 -o cfgUserAdminSolEnable 1
racadm config -g cfgUserAdmin -i 3 -o cfgUserAdminEnable 1

 

Was this helpful?

Leave a Reply

Your email address will not be published. Required fields are marked *