Linux · 2018-07-31

Install racadm on Ubuntu / Debian for Dell iDRAC

http://linux.dell.com/repo/community/deb/latest/

dell-poweredge-drac7-1.50.50-command-line.pdf

Dell OpenManage 7.1 Ubuntu Repository

This is the community-supported Dell OpenManage 7.1 repository for 64-bit Ubuntu 10.04 or later versions, as well as Debian Squeeze and (pre-release) Wheezy. 32-bit packages are provided as well, which also have the srvadmin-megalib package, but are not tested; use the 32-bit packages at your own risk. Debian Wheezy users will need to get libssl0.9.8 from Debian Squeeze or unstable. For PowerEdge 12G servers, it is highly recommended that you are running Ubuntu 12.04 or later due to better driver coverage. Below, you will find instructions on how to install and setup OpenManage command-line and web interfaces.

IMPORTANT NOTE FOR UPGRADING:

If you are upgrading, in step 4, you must use apt-get install <meta-package name> or apt-get dist-upgrade. Do not use apt-get upgrade, as doing so will not upgrade all the necessary packages.

Installation/Upgrade:

1.  (Optional for Upgrade) Create a new file ending in ‘sources.list’ in the ‘/etc/apt/sources.list.d’ directory. Cut and paste the command below. (If typing by hand, note carefully the spacing.)

echo ‘deb http://linux.dell.com/repo/community/deb/latest /’ | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list

2.  To verify OMSA packages, add the repository key to apt. Note that you must re-do this step if upgrading from OMSA 6.5 because a new key is being used.

gpg –keyserver pool.sks-keyservers.net –recv-key 1285491434D8786F

gpg -a –export 1285491434D8786F | sudo apt-key add –

If you are behind a firewall that only allows outbound traffic over port 80, you may need to use this instead:

gpg –keyserver hkp://pool.sks-keyservers.net:80 –recv-key 1285491434D8786F (possibly needing to add “–keyserver-options http-proxy=http://<user>:<password>@<proxy>:<port>”)

gpg -a –export 1285491434D8786F | sudo apt-key add –

3.  Make apt aware of the new software repository by issuing the following command:

sudo apt-get update

4.  Install one of the following selection of meta-packages to install the OMSA functionality you require:

srvadmin-all:Install all OMSA components

srvadmin-base:Install only base OMSA, no web server

srvadmin-rac4:Install components to manage the Dell Remote Access Card 4

srvadmin-rac5:Install components to manage the Dell Remote Access Card 5

srvadmin-idrac:Install components to manage iDRAC

srvadmin-idrac7:Install components to manage iDRAC7

srvadmin-webserver:Install Web Interface

srvadmin-storageservices:Install RAID Management

For example, to install all of OMSA: sudo apt-get install srvadmin-all

If you are upgrading, you must use apt-get install or apt-get dist-upgrade. Do not use apt-get upgrade, as doing so will not upgrade all the necessary packages.

 

CLI:

dataeng service starts automatically at reboot. If you want to manually start the service, issue the command below.

  1. sudo service dataeng start
  2. Now, you can use omreportomconfig, and omhelp commands.
  3. For example, you can issue omreport system summary to get details about your system.
  4. You can use omconfig to configure component properties.
  5. omhelp provides help information for commands.
  6. See OpenManage CLI User’s Guide for comprehensive documentation.

 

Web Interface:

To use web interface, users with appropriate permissions need to be added.

1.  Add users with appropriate permissions to /opt/dell/srvadmin/etc/omarolemap file. See detailed information in the User’s Guide.

         Example:john_doe     *     Administrator

2.  Start the web server.

         sudo service dsm_om_connsvc start

3.  Go to https://<ip_address>:1311/ in your browser to access OMSA.

4.  If you want to start dsm_om_connvsc service at boot, issue sudo update-rc.d dsm_om_connsvc defaults command.

 

Removal

Uninstall all packages: sudo apt-get –auto-remove remove srvadmin-all

Uninstall all packages including config files: sudo apt-get –auto-remove purge srvadmin-all

 

Documentation:

OpenManage 7.1 Documentation

OMSA 7.1 Manuals

Server Administrator Readme