Isola Bella, Lago Maggiore, Italy
Update 2015-12-17 Right, so instructions below are mostly deprecated, see comments section.
Dell posted fairly clear instructions here http://linux.dell.com/repo/hardware/ for both Dell Linux Repository and for Dell System Update (DSU)
Generally for Centos/RHEL it boils down to the following steps:
wget -q -O - http://linux.dell.com/repo/hardware/dsu/bootstrap.cgi | bash yum install dell-system-update dsu --inventory yum -y install srvadmin-all service dataeng start service dsm_om_connsvc start chkconfig dsm_om_connsvc on chkconfig dataeng on
I’ll keep below post just for reference.
Red Hat
wget -q -O - http://linux.dell.com/repo/community/bootstrap.cgi | bash wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash yum update yum install srvadmin-all yum install dell_ft_install
Source http://linux.dell.com/repo/hardware/latest/
Ubuntu/Debian
# http://linux.dell.com/repo/community/deb/latest/ echo 'deb http://linux.dell.com/repo/community/deb/latest /' | tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list apt-key adv --recv-keys --keyserver pgp.mit.edu 1285491434D8786F apt-get update apt-get install srvadmin-all srvadmin-all snmp snmpd snmp-mibs-downloader libsnmp-base ipmitool -y
Make sure snmpd has line with
smuxpeer .1.3.6.1.4.1.674.10892.1
For Dell Power Edge R415 make sure modules are loaded /etc/modules
ipmi_devintf
ipmi_si
CLI
dataeng service starts automatically at reboot. If you want to manually start the service, issue the command below.
sudo service dataeng start
Now, you can use 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 OpenManage? CLI User’s Guide for comprehensive documentation.
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.
Example:john_doe * Administrator
Start the web server.
service dsm_om_connsvc start
Go to https://:1311/ in your browser to access OMSA.
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
Managing BIOS and firmware updates
Inventory firmware version levels
inventory_firmware
Compare versions installed to those available
update_firmware
Install any applicable updates
update_firmware --yes
Start interactive GUI
inventory_firmware_gui
omconfig about omreport about # Report system overview omreport chassis # Report system summary info (OS, CPUs, memory, PCIe slots, DRAC cards, NICs) omreport system summary # Report bios settings omreport chassis biossetup # Fan info omreport chassis fans # Temperature info omreport chassis temps # CPU info omreport chassis processors # Memory and memory slot info omreport chassis memory # Power supply info omreport chassis pwrsupplies # Detailed PCIe slot info omreport chassis slots # DRAC card info omreport chassis remoteaccess # See available attributes and settings omconfig chassis biossetup -? # Turn the AC Power Recovery setting to On omconfig chassis biossetup attribute=acpwrrecovery setting=on # Change the serial communications setting (on with serial redirection via) omconfig chassis biossetup attribute=serialcom setting=com1 omconfig chassis biossetup attribute=serialcom setting=com2 # Change the external serial connector omconfig chassis biossetup attribute=extserial setting=com1 omconfig chassis biossetup attribute=extserial setting=rad # Change the Console Redirect After Boot (crab) setting omconfig chassis biossetup attribute=crab setting=enabled omconfig chassis biossetup attribute=crab setting=disabled # Change NIC settings (turn on PXE on NIC1) omconfig chassis biossetup attribute=nic1 setting=enabledwithpxe
Managing iDRAC
racadm getconfig -h racadm getconfig -g cfgLanNetworking racadm getconfig -g cfgIpmiLan racadm getconfig -g cfgRacTuning racadm config -g cfgLanNetworking -o cfgDNSRacName web-prod01-drac racadm racreset racadm config -g cfgLanNetworking -o cfgNicUseDHCP 1 # cfgNicSelection # 0 = Shared # 1 = Shared with Failover LOM2 # 2 = Dedicated # 3 = Shared with Failover All LOMs (iDRAC6 Enterprise only) racadm config -g cfgLanNetworking -o cfgNicSelection 0 ipmitool user list 1 ipmitool lan print 1 ipmitool channel info 1 ipmitool chassis status
Source:
http://www.openfusion.net/linux/dell_omsa
http://cavepopo.hd.free.fr/wordpress/linux/dell-server-utility-omreport/
[…] we need to assign com2 to DRAC now, either via BIOS or via omconfig (you did install OpenManage, did […]
I have seen that the dell repos have some files available for Jessie, which is the distribution which I am running, and I seem to be hitting them fine, but when I run apt-cache search nothing shows up for srvadmin…
I am running an R510 and R310 server; is it possible that they are unsupported with debian 8, or am I missing something?
here’s the result of apt-get update:
Ign http://linux.dell.com jessie InRelease
Get:2 http://linux.dell.com jessie Release.gpg [836 B]
Hit http://linux.dell.com jessie Release
Hit http://linux.dell.com jessie/openmanage amd64 Packages
Ign http://linux.dell.com jessie/openmanage Translation-en_GB
Ign http://linux.dell.com jessie/openmanage Translation-en
Hi buddy,
Sadly, Jessie doesn’t seem to be supported as you rightly pointed out.
From what I can see they created directory for Jessie but it’s empty – compare
http://linux.dell.com/repo/community/debian/dists/trusty/openmanage/binary-amd64/Packages
and
http://linux.dell.com/repo/community/debian/dists/jessie/openmanage/binary-amd64/Packages
Not sure what’s the point in creating empty repo for Jessie, seems pretty pointless if you ask me 🙂 Worth dropping them a line but I wouldn’t hold my breath… Dell hardware is rock solid IMHO (because servers are now made in Poland! wink, wink) and I love Debian with it’s philosophy and abundance of software packages. However lack of support from big hardware vendors is certainly depressing. That’s the exact reason I usually stick to RedHat clones for physical servers and use Debian mainly as VMs.
BTW: I need to re-write this post to reflect changes in repo format! One day…
Cheers
Hello,
Thank you for this tutorial.
I cant export the OMSA information through the SNMP daemon.
I can poll the whole snmp tree but I dont see the additional info.
Does it require addtional configuration?
Right, so as per above article, Dell OMSA line is required /etc/snmp/snmpd.conf in order to enable SNMP daemon “talk” to OMSA. It should be added automagically during installation:
# Dell Server - Allow Systems Management Data Engine SNMP to connect to snmpd using SMUX
smuxpeer .1.3.6.1.4.1.674.10892.1
Check if line is present in /etc/snmp/snmpd.conf, add if it’s missing and don’t forget to restart snmpd daemon afterwards. Oh, and do make sure “dataeng” service is running too:
# service dataeng status
dsm_sa_datamgrd (pid 12532 12210) is running
dsm_sa_eventmgrd (pid 12397) is running
dsm_sa_snmpd (pid 12425) is running
Finally, you may also need IPMI kernel modules, also mentioned in my blog post 🙂
Hope this helps