dell服务器omsa安装
OS Release | OMSA | iSM | DTK |
---|---|---|---|
Ubuntu 16.04 (xenial) | v8.4 | n/a | v5.4 |
root@ncnode01:~# cat /etc/issue
Ubuntu 16.04 LTS \n \l
安装
Create the file '/etc/apt/sources.list.d/linux.dell.com.sources.list'. Cut and paste the command below (if typing by hand, note carefully the spacing).
root@localhost:~# sudo echo 'deb http://linux.dell.com/repo/community/ubuntu xenial openmanage' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list
If you would like to restrict your system to a specific OpenManage release, such as the 8.3 release, you can specify it like this:
root@localhost:~# sudo echo 'deb http://linux.dell.com/repo/community/ubuntu xenial openmanage/830' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list
To verify OMSA packages, add the repository key to apt.
root@localhost:~# sudo gpg --keyserver pool.sks-keyservers.net --recv-key 1285491434D8786F
root@localhost:~# 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. In the first line below, you possibly need to add "--keyserver-options http-proxy=http://<user>:<password>@<proxy>:<port>".
root@localhost:~# sudo gpg --keyserver hkp://pool.sks-keyservers.net:80 --recv-key 1285491434D8786F
root@localhost:~# gpg -a --export 1285491434D8786F | sudo apt-key add -
Make apt aware of the new software repository by issuing the following command:
root@localhost:~# sudo apt-get update
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-idrac * — Install components to manage iDRAC
srvadmin-idrac7 * — Install components to manage iDRAC7
srvadmin-idracadm8 — Install components to manage iDRAC8
srvadmin-webserver * — Install Web Interface
srvadmin-storageservices * — Install RAID Management
dtk-scripts — Install DTK
dcism — Install iDRAC Service Module
* not available with OMSA v8.3
For example, to install all of OMSA:
root@localhost:~# sudo apt-get install srvadmin-all
升级
To upgrade to OMSA v8.3, it is highly recommended that you first remove the old installation first.
删除
Uninstall all packages:
root@localhost:~# sudo apt-get --auto-remove remove srvadmin-all
Uninstall all packages including config files:
root@localhost:~# sudo apt-get --auto-remove purge srvadmin-all
CLI
The dataeng service, which is required to run any CLI commands in OMSA, starts automatically at reboot. If you want to manually start the service, issue the command below.
root@localhost:~# sudo service dataeng start
Now, you can use the omreport, omconfig, and omhelp commands.
For example, you can issue omreport system summary to get details about your system.
You can use omconfig to configure component properties.
omhelp provides help information for commands.
See the OpenManage CLI User's Guide for comprehensive documentation. It can be found at the documentation link below for your version of OMSA.
Web Interface
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 available from the documentation link below for your version of OMSA. For example:
john_doe * Administrator
Start the web server.
root@localhost:~# sudo service dsm_om_connsvc start
Go to https://<ip_address>:1311/ in your browser to access OMSA.
If you want to start the dsm_om_connsvc service at boot, issue the following command:
root@localhost:~# sudo update-rc.d dsm_om_connsvc defaults