Installing racadm on CentOS 6

I needed to install Dell’s racadm utility on CentOS recently. The bundles that you can get from Dell only seem to support RHEL, and whilst CentOS is supposed to be compatible, the Dell installer unfortunately performs an O/S level check and exits if it can’t detect RHEL.

So that left me with the option of installing the necessary files manually. Unfortunately the server I was using didn’t have internet access (it’s on a management network), so tools like wget and yum were useless. After a bit of digging around, I identified a tarball to use here:

http://www.dell.com/support/home/us/en/04/Drivers/DriversDetails?driverId=T7VD0

I extracted the files and changed into the sub-directory: ./dell/linux/rac/RHEL6/x86_64

These are the files:

-rwxrwxrwx 1 504 504 1487016 Jan 25 2017 libsmbios-2.3.1-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 108852 Jan 25 2017 smbios-utils-bin-2.3.1-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 54048 Jan 25 2017 srvadmin-argtable2-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 668984 Jan 25 2017 srvadmin-deng-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 43520 Jan 25 2017 srvadmin-deng-snmp-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 1145768 Jan 25 2017 srvadmin-hapi-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 3052 Jan 25 2017 srvadmin-idrac7-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 678876 Jan 25 2017 srvadmin-idracadm7-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 847392 Jan 25 2017 srvadmin-idracadm-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 183344 Jan 25 2017 srvadmin-idrac-ivmcli-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 59976 Jan 25 2017 srvadmin-idrac-snmp-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 1273128 Jan 25 2017 srvadmin-idrac-vmcli-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 4347156 Jan 25 2017 srvadmin-isvc-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 364064 Jan 25 2017 srvadmin-isvc-snmp-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 2370876 Jan 25 2017 srvadmin-omacs-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 1561944 Jan 25 2017 srvadmin-omcommon-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 36716 Jan 25 2017 srvadmin-omilcore-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 292576 Jan 25 2017 srvadmin-racadm4-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 600744 Jan 25 2017 srvadmin-racadm5-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 32852 Jan 25 2017 srvadmin-rac-components-8.5.0-2372.10488.el6.x86_64.rpm
-rwxrwxrwx 1 504 504 30292 Jan 25 2017 srvadmin-racdrsc-8.5.0-2372.10488.el6.x86_64.rpm

Next, I found another post that said which rpm’s were needed to install racadm, so I followed that as follows:

# rpm -i libsmbios-2.3.1-2372.10488.el6.x86_64.rpm
# rpm -i smbios-utils-bin-2.3.1-2372.10488.el6.x86_64.rpm
# rpm -i srvadmin-argtable2-8.5.0-2372.10488.el6.x86_64.rpm
# rpm -i srvadmin-omilcore-8.5.0-2372.10488.el6.x86_64.rpm
error: Failed dependencies:
 pciutils is needed by srvadmin-omilcore-8.5.0-2372.10488.el6.x86_64

At this point I had to source the pciutils rpm in order to resolve a dependency – I found it here:

https://centos.pkgs.org/6/centos-x86_64/pciutils-3.1.10-4.el6.x86_64.rpm.html

# rpm -i ../../../../pciutils-3.1.10-4.el6.x86_64.rpm

Then I was able to continue installing the Dell packages:

# rpm -i srvadmin-omilcore-8.5.0-2372.10488.el6.x86_64.rpm
**********************************************************
 After the install process completes, you may need
 to log out and then log in again to reset the PATH
 variable to access the Server Administrator CLI utilities

**********************************************************
# rpm -i srvadmin-hapi-8.5.0-2372.10488.el6.x86_64.rpm
# rpm -i srvadmin-deng-8.5.0-2372.10488.el6.x86_64.rpm
# rpm -i srvadmin-idracadm-8.5.0-2372.10488.el6.x86_64.rpm
# rpm -i srvadmin-idracadm7-8.5.0-2372.10488.el6.x86_64.rpm

Finally I logged out and back in as su, and sure enough racadm was now available and I was able to connect to multiple iDRAC’s in our environment.

Here is the output of the help command to serve as a reference:

# racadm -r 10.247.1.21 -u root -p calvin help
Security Alert: Certificate is invalid - self signed certificate
Continuing execution. Use -S option for racadm to stop execution on certificate-related errors.

help [subcommand] -- display usage summary for a subcommand
 arp -- display the networking ARP table
 clearasrscreen -- clear the last ASR (crash) screen
 closessn -- close a session
 clrraclog -- clear the RAC log
 clrsel -- clear the System Event Log (SEL)
 config -- modify RAC configuration properties
 coredump -- display the last RAC coredump
 coredumpdelete -- delete the last RAC coredump
 fwupdate -- update the RAC firmware
 getconfig -- display RAC configuration properties
 getled -- Get the state of the LED on a module.
 getniccfg -- display current network settings
 getraclog -- display the RAC log
 getractime -- display the current RAC time
 getsel -- display records from the System Event Log (SEL)
 getssninfo -- display session information
 getsvctag -- display service tag information
 getsysinfo -- display general RAC and system information
 gettracelog -- display the RAC diagnostic trace log
 getversion -- Display the current version details
 getuscversion -- display the current USC version details
 ifconfig -- display network interface information
 kmcselfsignedcertgen -- generate self signed certificate for KMC Server
 krbkeytabupload -- upload kerberose keytab file to the RAC
 netstat -- display routing table and network statistics
 ping -- send ICMP echo packets on the network
 ping6 -- send ICMP echo packets on the network
 racdump -- display RAC diagnostic information
 racreset -- perform a RAC reset operation
 racresetcfg -- restore the RAC configuration to factory defaults
 remoteimage -- make a remote ISO image available to the server
 serveraction -- perform system power management operations
 setniccfg -- modify network configuration properties
 setled -- Set the state of the LED on a module.
 sshpkauth -- manage SSH PK authentication keys on the RAC
 sslcertupload -- upload an SSL certificate to the RAC
 sslcertdownload -- download an SSL certificate from the RAC
 sslcertview -- view SSL certificate information
 sslcsrgen -- generate a certificate CSR from the RAC
 sslkeyupload -- upload an SSL key to the RAC
 sslresetcfg -- resets the web certificate to default and restarts the web server.
 testemail -- test RAC e-mail notifications
 testkmsconnectivity -- test KMSConnectivity
 testtrap -- test RAC SNMP trap notifications
 usercertupload -- upload an user certificate to the DRAC
 usercertview -- view user certificate information
 vflashpartition -- manage partitions on the vFlash SD card
 vflashsd -- perform vFlash SD Card initialization
 vmdisconnect -- disconnect Virtual Media connections
 vmkey -- perform vFlash operations

There’s probably other, easier ways to do this, but it worked for me.

I hope this helps someone. 🙂

Advertisements
This entry was posted in Computers and Internet. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s