How To Install Dell OpenManage Server Administrator Ubuntu Linux

Hello,

This is based off Lubuntu / Ubuntu which would be installed on a DELL PowerEdge server. The instructions for doing this is very hard to obtain online, so I recently did one myself via CLI to figure out how it works for those in the Business world!

Here is the actual commands and setup required if you are using the following guide from DELL:
1. Go to http://linux.dell.com/repo/community/ubuntu/
2. I used Ubuntu 14.04.1 LTS [Trusty] – You can use similar from their repository!

3. Run the following from Terminal: lspci | grep -i raid
[This will tell you the type of controller your HDD is using :
01:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2008 [Falcon] (rev 03) was my output]

 4. This step is tricky, as the steps tell you to use SUDO but you shouldn’t: Use the steps listed here instead and I’ll show you the errors it kicked back when I did the DELL method vs. just doing it without SUDO:

:~$ sudo gpg –keyserver pool.sks-keyservers.net –recv-key 1285491434D8786F
gpg: WARNING: unsafe ownership on configuration file `/home/config-admin/.gnupg/gpg.conf’
gpg: external program calls are disabled due to unsafe options file permissions
gpg: keyserver communications error: general error
gpg: keyserver receive failed: general error

 

:~$ gpg –keyserver pool.sks-keyservers.net –recv-key 1285491434D8786F
gpg: requesting key 34D8786F from hkp server pool.sks-keyservers.net
gpg: can’t access `/home/config-admin/.gnupg/trustdb.gpg’: Permission denied
gpg: fatal: can’t init trustdb: trust database error
secmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/65536

 

:~# sudo gpg –keyserver pool.sks-keyservers.net –recv-key 1285491434D8786F
gpg: WARNING: unsafe ownership on configuration file `/home/config-admin/.gnupg/gpg.conf’
gpg: external program calls are disabled due to unsafe options file permissions
gpg: keyserver communications error: general error
gpg: keyserver receive failed: general error

 

:~# gpg –keyserver pool.sks-keyservers.net –recv-key 1285491434D8786F
gpg: WARNING: unsafe ownership on configuration file `/home/config-admin/.gnupg/gpg.conf’
gpg: external program calls are disabled due to unsafe options file permissions
gpg: keyserver communications error: general error
gpg: keyserver receive failed: general error

 

:~# gpg –version
gpg: WARNING: unsafe ownership on configuration file `/home/config-admin/.gnupg/gpg.conf’
gpg (GnuPG) 1.4.16
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

 

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

 

:~# ls -la | grep .gnupg
drwx——  2 user user   4096 Nov 12 20:58 .gnupg
:~# ls -l ~/.gnupg
total 72
-rw——- 1 user user 9398 Sep 26 16:15 gpg.conf
-rw——- 1 user user 3076 Nov 12 20:58 pubring.gpg
-rw——- 1 user user 0 Sep 26 16:15 pubring.gpg~
-rw——- 1 user user 600 Oct 13 03:39 random_seed
-rw——- 1 user user 0 Sep 26 16:15 secring.gpg
-rw——- 1 root         root         1200 Sep 27 09:54 trustdb.gpg

 

You don’t need “sudo” just run the key exchange without it for success!
:~$ gpg –keyserver pool.sks-keyservers.net –recv-key 1285491434D8786F
gpg: requesting key 34D8786F from hkp server pool.sks-keyservers.net
gpg: key 34D8786F: “Dell Inc., PGRE 2012 (PG Release Engineering Build Group 2012) ” not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

 

:~$ gpg –keyserver pool.sks-keyservers.net –recv-key 1285491434D8786F
gpg: requesting key 34D8786F from hkp server pool.sks-keyservers.net
gpg: key 34D8786F: “Dell Inc., PGRE 2012 (PG Release Engineering Build Group 2012) ” not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
:~$ gpg -a –export 1285491434D8786F | sudo apt-key add –
OK

 

5. :~$ sudo apt-get update

 

Fetched 5,537 kB in 9s (569 kB/s)
W: Failed to fetch http://linux.dell.com/repo/community/ubuntu/dists/{release-name}/openmanage/binary-amd64/Packages  404  Not Found

 

W: Failed to fetch http://linux.dell.com/repo/community/ubuntu/dists/{release-name}/openmanage/binary-i386/Packages  404  Not Found

 

Make sure you don’t use {release-name}, instead put something like the Ubuntu codename of your OS that’s supported in /etc/apt/sources.list.d

 

sudo nano /etc/apt/sources.list.d

 

 

[SAVE TO FILE]
sudo apt-get update 

 

6. sudo apt-get install srvadmin-all
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
argtable2 cim-schema libcimcclient0 libcmpicppimpl0 libopenipmi0 libsfcutil0
libslp1 libsmbios2 libsysfs2 libwsman-client2
libwsman-curl-client-transport1 libwsman-server1 libwsman1 openipmi
openwsman python-libsmbios sfcb smbios-utils srvadmin-base srvadmin-deng
srvadmin-deng-snmp srvadmin-hapi srvadmin-idrac-ivmcli srvadmin-idrac-snmp
srvadmin-idrac-vmcli srvadmin-idracadm7 srvadmin-idracadm8 srvadmin-isvc
srvadmin-isvc-snmp srvadmin-itunnelprovider srvadmin-jre srvadmin-nvme
srvadmin-omacore srvadmin-omacs srvadmin-omcommon srvadmin-omilcore
srvadmin-ominst srvadmin-oslog srvadmin-rac-components srvadmin-racdrsc
srvadmin-smcommon srvadmin-smweb srvadmin-storage srvadmin-storage-cli
srvadmin-storage-snmp srvadmin-storelib srvadmin-storelib-sysfs
srvadmin-tomcat srvadmin-webserver srvadmin-xmlsup syscfg
Suggested packages:
slpd openslp-doc libsmbios-doc sblim-cmpi-base
The following NEW packages will be installed:
argtable2 cim-schema libcimcclient0 libcmpicppimpl0 libopenipmi0 libsfcutil0
libslp1 libsmbios2 libsysfs2 libwsman-client2
libwsman-curl-client-transport1 libwsman-server1 libwsman1 openipmi
openwsman python-libsmbios sfcb smbios-utils srvadmin-all srvadmin-base
srvadmin-deng srvadmin-deng-snmp srvadmin-hapi srvadmin-idrac-ivmcli
srvadmin-idrac-snmp srvadmin-idrac-vmcli srvadmin-idracadm7
srvadmin-idracadm8 srvadmin-isvc srvadmin-isvc-snmp srvadmin-itunnelprovider
srvadmin-jre srvadmin-nvme srvadmin-omacore srvadmin-omacs srvadmin-omcommon
srvadmin-omilcore srvadmin-ominst srvadmin-oslog srvadmin-rac-components
srvadmin-racdrsc srvadmin-smcommon srvadmin-smweb srvadmin-storage
srvadmin-storage-cli srvadmin-storage-snmp srvadmin-storelib
srvadmin-storelib-sysfs srvadmin-tomcat srvadmin-webserver srvadmin-xmlsup
syscfg
0 upgraded, 52 newly installed, 0 to remove and 353 not upgraded.
Need to get 0 B/133 MB of archives.
After this operation, 580 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
IMPORTANT NOTICE IN THE MIDDLE OF INSTALLATION:
**********************************************************
     After the install process completes, you may need
     to log out and then log in again to reset the PATH
     variable to access the Dell OpenManage CLI utilities
     **********************************************************

 

7. sudo reboot [This will ensure you have a clean CLI and GUI setup!]

 

SPECIAL NOTES:
If you run into these kind of errors, here are the fixes!
ERROR 1:
chmod: changing permissions of ‘register-storage-cli.sh’: Operation not permitted
:/opt/dell/srvadmin/lib64/srvadmin-storage$ sudo chmod a+x register-storage-cli.sh
:/opt/dell/srvadmin/lib64/srvadmin-storage$ echo $? [0=worked/1=didn’t]
0
ERROR 2:
Setting up srvadmin-storage-cli (8.3.0) …
/opt/dell/srvadmin/lib64/srvadmin-storage/register-storage-cli.sh: line 15: /opt/dell/srvadmin//lib64/srvadmin-omacore/cli_ini_modifier.sh: Permission denied
/opt/dell/srvadmin/lib64/srvadmin-storage/register-storage-cli.sh: line 19: /opt/dell/srvadmin//lib64/srvadmin-omacore/cli_ini_modifier.sh: Permission denied
sudo chmod a+x cli_ini_modifier.sh [Use the path shown here or wherever it is installed to fix!]
ERROR 3:
dpkg: warning: while removing srvadmin-omilcore, directory ‘/opt/dell/srvadmin/var/log/openmanage’ not empty so not removed
dpkg: warning: while removing srvadmin-omilcore, directory ‘/opt/dell/srvadmin/var/run/openmanage’ not empty so not removed
cd /opt/dell/
sudo rm -rf srvadmin
echo $?
0

Extra Additional Tips to Ensure Successful Completion Of Ubuntu/Lubuntu Server Setup:

omconfig preferences useraccess

Depending on the policies of your enterprise, you may want to restrict the access that some user levels have to Server Administrator. The omconfig preferences useraccess command allows you to grant or withhold the right of Users and Power Users to access Server Administrator. Table 7-14 shows the valid parameters for the command.

Table 7-14. Enabling User Access for Administrators, Power Users, and Users 

Command Result Description
omconfig preferences useraccess enable=user Grants Server Administrator access to Users, Power Users, and Administrators. Least restrictive form of user access.
omconfig preferences useraccess enable=poweruser Grants Server Administrator access to Power Users and Administrators. Excludes user level access only.
omconfig preferences useraccess enable=admin Grants Server Administrator access to Administrators only. Most restrictive form of user access.

VERY IMPORTANT YOU UNDERSTAND THIS SECTION OF THE DELL OMSA OMCONFIG COMMAND:
If you run into any issues, use the following link to resolve any issues using OMCONFIG command from CLI:
http://en.community.dell.com/support-forums/servers/f/177/t/19997153

 

Use the following PATH PLUS your command:
sudo /opt/dell/srvadmin/sbin//omconfig
More information here:
Dell OMSA OMCONFIG CLI Tutorial

ERROR WHILE USING OMCONFIG?
omconfig -?
Error! An internal error occured(6)

fix: /opt/dell/srvadmin/sbin//omreport
Directory for DELL OMSA:
:/opt/dell/srvadmin/sbin$ ls
CheckSystemType dsm_om_connsvcd omconfig racadm-wrapper-idrac7
dataeng.hotplug dsm_om_shrsvcd omexec smcfg
dcecfg dsm_sa_datamgrd omhelp srvadmin-services.sh
dchcfg dsm_sa_eventmgrd omreport srvadmin-uninstall.sh
dcicfg dsm_sa_snmpd omupdate
dlltst omcliproxy racadm

 

The basic CLI commands will be:
OMHELP
OMCONFIG
OMREPORT

 

Start with OMHELP and use the -? option to see how the rest work.
Once I complete my CLI studies, I will link a PDF on how to use each and what they should appear like on Ubuntu Command Line Interface!
ALSO: Once I figure out how to fully utilize the WEB GUI which does show a login screen but won’t allow proper login under DELL OMSA 8.3.0. I will post an update to this post!

Author: Lubuntu 15.10 Support

https://www.lubuntu1510blog.wordpress.com Dedicated Lubuntu 15.10 Support Beyond The Official Lubuntu Sub-Team

3 thoughts on “How To Install Dell OpenManage Server Administrator Ubuntu Linux”

  1. heck yea!

    >>ALSO: Once I figure out how to fully utilize the WEB GUI which does show a login screen but won’t allow proper login under DELL OMSA 8.3.0. I will post an update to this post!

    Like

  2. for the WEB GUI OMSA to get working for me, (dsm_om_connsvcd was crashing on login at sucessful authentication, found an error -34 somewhere in an tomcat apache log for some catalina jar file)

    between rearranging /etc/pam.d/omauth and apt-get install libopenwsman-dev python-openwsman openwsman i got it to work.

    also ( http://lists.us.dell.com/pipermail/linux-poweredge/2012-October/047263.html
    and http://lists.us.dell.com/pipermail/linux-poweredge/2003-April/007132.html ) lookat

    over and out.

    Like

Leave a comment