Instructions are a modified re-post from the dell site here. First we will need to add the Dell OpenManage Ubuntu Repository to our machine with the following command. As of the time of writing, these instructions will install OpenManage 8.3.
sudo echo 'deb http://linux.dell.com/repo/community/ubuntu trusty openmanage' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list
Next to verify OMSA packages, add the repository key to apt and make apt aware of the new software repository by issuing the following command.
gpg --keyserver pool.sks-keyservers.net --recv-key 1285491434D8786F ; gpg -a --export 1285491434D8786F | sudo apt-key add - # add openjdk-7-jdk repository to meet dependencies sudo add-apt-repository ppa:openjdk-r/ppa # update apt sudo apt-get update
Next, install one of the following selection of meta-packages to install the OMSA functionality you require. For example, to install all of OMSA: sudo apt-get install srvadmin-all
. Refer to table below:
OpenManage Meta Packages (apt-get install [package]) | |
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 |
dtk-scripts | Install DTK |
To use web interface, users with appropriate permissions need to be added. Add users with appropriate permissions to /opt/dell/srvadmin/etc/omarolemap
file. See detailed information in the User’s Guide. Note, that To start the web server and start the dsm_om_connsvc service at boot, issue the following command:
sudo service dsm_om_connsvc start && sudo update-rc.d dsm_om_connsvc defaults
Once the service is started and installed for automatic startup, go to https://[ip_address]:1311/
in your browser to access OMSA.
Still i am facing below issue
reddys@usphxspe-spd01:/etc/apt/sources.list.d$ sudo apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies:
srvadmin-isvc : Depends: srvadmin-hapi (>= 8.4.0) but 8.3.0-1 is installed
E: Unmet dependencies. Try using -f.
reddys@usphxspe-spd01:/etc/apt/sources.list.d$ sudo apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following extra packages will be installed:
srvadmin-hapi
The following packages will be upgraded:
srvadmin-hapi
1 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.
1 not fully installed or removed.
Need to get 0 B/298 kB of archives.
After this operation, 7,168 B disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database … 83848 files and directories currently installed.)
Preparing to unpack …/srvadmin-hapi_8.4.0-1_amd64.deb …
dpkg: error processing archive /var/cache/apt/archives/srvadmin-hapi_8.4.0-1_amd64.deb (–unpack):
subprocess new pre-installation script returned error exit status 1
Stopping Systems Management Device Drivers:
Stopping dell_rbu: *
Starting Systems Management Device Drivers:
Starting dell_rbu: *
Starting ipmi driver:
* Already started
Processing triggers for libc-bin (2.19-0ubuntu6.15) …
Errors were encountered while processing:
/var/cache/apt/archives/srvadmin-hapi_8.4.0-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
reddys@usphxspe-spd01:/etc/apt/sources.list.d$
I’m stuck consistently on getting srvadmin-hapi to install. I’ve removed everything and reinstalled everything multiple times:
root@griffin:~# apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages will be upgraded:
srvadmin-hapi
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 298 kB of archives.
After this operation, 7,168 B disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://linux.dell.com/repo/community/ubuntu trusty/openmanage amd64 srvadmin-hapi amd64 8.4.0-1 [298 kB]
Fetched 298 kB in 0s (4,039 kB/s)
(Reading database … 216953 files and directories currently installed.)
Preparing to unpack …/srvadmin-hapi_8.4.0-1_amd64.deb …
dpkg: error processing archive /var/cache/apt/archives/srvadmin-hapi_8.4.0-1_amd64.deb (–unpack):
subprocess new pre-installation script returned error exit status 127
Processing triggers for libc-bin (2.23-0ubuntu5) …
Errors were encountered while processing:
/var/cache/apt/archives/srvadmin-hapi_8.4.0-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Make sure you purge when you remove, it worked for me. I then had to do:
ln -s /opt/dell/srvadmin/bin/omhelp /usr/local/sbin/omhelp
ln -s /opt/dell/srvadmin/bin/omconfig /usr/local/sbin/omconfig
ln -s /opt/dell/srvadmin/bin/omreport /usr/local/sbin/omreport
to get it to start
Great tip! Thanks Kevin
I’ve been hit with the problem that ubuntu gpg and apt no longer supports SHA1.
I can’t find a work-round, perhaps you have a solution?
thanks
Paul, unfortunately the problem is with the repository and will need to be fixed by dell.
I figured this would be the case 🙁
Paul, you can try adding
apt-get --allow-unauthenticated
switch. Please report back results. See http://askubuntu.com/questions/74345/how-do-i-bypass-ignore-the-gpg-signature-checks-of-apt for entire thread# cat /etc/apt/sources.list.d/linux.dell.com.sources.list
#deb http://linux.dell.com/repo/community/ubuntu trusty openmanage
deb http://linux.dell.com/repo/community/ubuntu xenial openmanage
# apt-get update
…
Ign:7 http://linux.dell.com/repo/community/ubuntu xenial InRelease
Ign:8 http://linux.dell.com/repo/community/ubuntu xenial Release
Ign:9 http://linux.dell.com/repo/community/ubuntu xenial/openmanage amd64 Packages
…
Reading package lists… Done
W: https://puppet.ssdis.loc:8140/packages/2016.1.2/ubuntu-16.04-amd64/dists/xenial/InRelease: Signature by key 47B320EB4C7C375AA9DAE1A01054B7A24BD6EC30 uses weak digest algorithm (SHA1)
W: The repository ‘http://linux.dell.com/repo/community/ubuntu xenial Release’ does not have a Release file.
N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://linux.dell.com/repo/community/ubuntu/dists/xenial/openmanage/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
there doesn’t appear to be a way to go any further than this, “apt-get update” doesn’t accept arguments
# apt-get update –allow-insecure-repositories –allow-unauthenticated srvadmin-all
E: The update command takes no arguments
Paul, looks like the puppet and dell repo’s both have errors. I would start by removing or commenting out the puppet repo. Next ensure that the
linux.dell.com.sources.list
file only has the following entrydeb http://linux.dell.com/repo/community/ubuntu trusty openmanage
I’m getting:
Cannot add PPA: ‘ppa:~openjdk-r/ubuntu/ppa’.
ERROR: ‘~openjdk-r’ user or team does not exist.
This was because of a firewall rule blocking https requests outbound. Resolved now!
Excellent, glad you got it going Kevin.
This doesn’t work for me as it says:
Package openjdk-7-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘openjdk-7-jre’ has no installation candidate
Make sure you are adding the openjdk-7-jdk repository to meet dependencies as referenced in the article