Dell R720 OpenManage

Issues related to hardware problems
petervdb
Posts: 2
Joined: 2014/09/19 09:57:56

Dell R720 OpenManage

Post by petervdb » 2014/09/19 10:08:24

Hi,

I tried to install the Dell Openmanage tools on CentOS 7.
The reference for installating:
http://linux.dell.com/repo/hardware/omsa.html

Has anyone been succesfull in performing this task on Dell R720 using CentOS 7?

wget -q -O - http://linux.dell.com/repo/hardware/lat ... tstrap.cgi | bash
Downloading GPG key: http://linux.dell.com/repo/hardware/lat ... G-KEY-dell
Key already exists in RPM, skipping
Downloading GPG key: http://linux.dell.com/repo/hardware/lat ... -libsmbios
Key already exists in RPM, skipping
Write repository configuration
Downloading repository RPM

yum install srvadmin-all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.belnet.be
* extras: ftp.belnet.be
* updates: ftp.belnet.be
No package srvadmin-all available.
Error: Nothing to do

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Dell R720

Post by avij » 2014/09/20 05:39:54

It is my current understanding that you would need to use OMSA 8.x if you wanted to use OMSA on RHEL7/CentOS7.

However, OMSA 8.x seems to require Dell's 13th generation servers.

I would be happy if someone proved me wrong. I'd need OMSA for my own R320 as well. You could try opening a support request at Dell to see if you can convince Dell to support OMSA on RHEL7/CentOS7 and 12th gen servers. Note that CentOS has always been unsupported by Dell. They only support RHEL, but in practical terms the RHEL version of OMSA has worked fine with previous CentOS releases.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Dell R720

Post by avij » 2014/10/14 11:38:09

Digging a bit deeper, I found this page, which says:
Dell wrote:DELL Systems Management OpenManage (OM) 8.0.1 is the supported OM version for 13G Servers at Q3 RTS. OM 8.0.2 (slice for next release of 13G servers) and OM 7.4.1 (for 12G platforms) support is expected in the next release.
So chances are that the upcoming version 7.4.1 would run on your R720.

GorillaD
Posts: 2
Joined: 2014/12/06 03:28:14

Re: Dell R720

Post by GorillaD » 2014/12/06 03:33:22

I too am running into similar issues installing OMSA on a brand new R320 with CentOS 7. was kinda surprised to find that OMSA was so close to installing (almost supported by Dell), but not quite.

# yum install srvadmin-all
Loaded plugins: fastestmirror
base | 3.6 kB 00:00:00
dell-omsa-indep | 1.9 kB 00:00:00
dell-omsa-specific | 1.9 kB 00:00:00
No package srvadmin-all available.
Error: Nothing to do

If you happen to find another way to get it running make sure to post back, otherwise I guess we just wait :(

--Andrew

mmulqu
Posts: 11
Joined: 2013/02/05 16:09:31

Re: Dell R720

Post by mmulqu » 2014/12/09 18:47:52

I was able to get omsa installed on my R710 running CentOS 7.0 by doing the following:

1. Install a few required packages with

Code: Select all

yum install libcmpiCppImpl0 openwsman-server openwsman-client sblim-sfcb pciutils
2. Temporarily make your system look like it's running RHEL 7 and not CentOS 7.

Code: Select all

mv /etc/redhat-release /etc/redhat-release.bak; echo "Red Hat Enterprise Linux Server release 7.0 (Maipo)" >> /etc/redhat-release
3. Get the RHEL 7 version of OMSA

Code: Select all

wget -c http://downloads.dell.com/FOLDER02645266M/1/OM-SrvAdmin-Dell-Web-LX-7.4.1-1341.RHEL7.x86_64_A00.tar.gz
4. Untar the file you just downloaded

Code: Select all

tar zxvf OM-SrvAdmin-Dell-Web-LX-7.4.1-1341.RHEL7.x86_64_A00.tar.gz
5. Execute the following and follow the instructions to install

Code: Select all

./setup.sh
6. Restore redhat-release from backup

Code: Select all

rm /etc/redhat-release; mv /etc/redhat-release.bak /etc/redhat-release
Hope this helps!

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Dell R720

Post by avij » 2014/12/15 15:08:17

Thanks for the instructions. For reference, the driver details page for that package says:
Dell wrote: Fixes & Enhancements
Added support for the following operating systems:
  • Red Hat Enterprise Linux 7 on all 12th generation servers (Rx20, Mx20, Tx20) and R710, R610, R910, R415, R515, R715, R815, M915, M910, T110ii, FM120
  • Support for following PowerEdge servers - FM120,R920 V1.1
  • Added support for following storage controllers - H330 and H830
  • Added support for following Storage Enclosures - MD1400 and MD1420
OM-SrvAdmin-Dell-Web-LX-7.4.1-1341.RHEL7.x86_64_A00.tar.gz

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Dell R720

Post by avij » 2014/12/15 22:24:07

I can confirm that your instructions worked on my R320. Here's the install log. I chose to install these components, others may need to select other components depending on their needs. YMMV.

Code: Select all

./setup

##############################################

  Server Administrator Custom Install Utility

##############################################

  Selected Options
   - Server Instrumentation
   - Storage Management
   - Remote Access Core Component
   - Server Administrator CLI Interface
   - Server Administrator Operating System Log Interface

  Dependencies
   - Remote Access SA Plugin Component

  Components for Server Administrator Managed Node Software:

    [x] 1. Server Instrumentation
    [x] 2. Storage Management
    [x] 3. Remote Access Core Component
    [x] 4. Remote Access SA Plugin Component
    [ ] 5. Remote Enablement Interface
    [ ] 6. Server Administrator Web Server Interface
    [x] 7. Server Administrator CLI Interface
    [ ] 8. Server Administrator SNMP Interface
    [x] 9. Server Administrator Operating System Log Interface
    [ ] 10. All

  Enter the number to select a component from the above list.
  Enter c to copy selected components to destination folder.
  Enter i to install the selected components.
  Enter r to reset selection and start over.
  Enter q to quit.

  Enter : i

Installing the selected packages.

Preparing...                          ################################# [100%]
Updating / installing...
   1:libsmbios-2.2.27-4.4.1.el7       ################################# [ 50%]
   2:smbios-utils-bin-2.2.27-4.4.1.el7################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:srvadmin-omilcore-7.4.1-4.13.1.el################################# [  3%]
     **********************************************************
     After the install process completes, you may need
     to log out and then log in again to reset the PATH
     variable to access the Server Administrator CLI utilities

     **********************************************************
   2:srvadmin-deng-7.4.1-4.2.1.el7    ################################# [  7%]
   3:srvadmin-omacs-7.4.1-4.15.1.el7  ################################# [ 10%]
   4:srvadmin-rac-components-7.4.1-4.3################################# [ 13%]
   5:srvadmin-xmlsup-7.4.1-4.14.1.el7 ################################# [ 17%]
   6:srvadmin-argtable2-7.4.1-4.2.1.el################################# [ 20%]
   7:srvadmin-hapi-7.4.1-4.6.1.el7    ################################# [ 23%]
   8:srvadmin-isvc-7.4.1-4.8.1.el7    ################################# [ 27%]
   9:srvadmin-ominst-7.4.1-4.15.1.el7 ################################# [ 30%]
  10:srvadmin-idracadm7-7.4.1-4.12.1.e################################# [ 33%]
  11:srvadmin-racdrsc-7.4.1-4.3.16.el7################################# [ 37%]
  12:srvadmin-omcommon-7.4.1-4.15.1.el################################# [ 40%]
  13:srvadmin-omacore-7.4.1-4.15.1.el7################################# [ 43%]
  14:srvadmin-storelib-sysfs-7.4.1-4.1################################# [ 47%]
  15:srvadmin-storelib-7.4.1-4.45.1.el################################# [ 50%]
  16:srvadmin-smcommon-7.4.1-4.17.2.el################################# [ 53%]
  17:srvadmin-rnasoap-7.4.1-4.48.1.el7################################# [ 57%]
  18:srvadmin-realssd-7.4.1-4.48.1.el7################################# [ 60%]
  19:srvadmin-racadm4-7.4.1-4.2.21.el7################################# [ 63%]
  20:srvadmin-nvme-7.4.1-4.48.1.el7   ################################# [ 67%]
  21:srvadmin-storage-7.4.1-4.17.2.el7################################# [ 70%]
  22:srvadmin-idrac-vmcli-7.4.1-4.6.1.################################# [ 73%]
  23:srvadmin-idrac7-7.4.1-4.12.1.el7 ################################# [ 77%]
  24:srvadmin-storage-cli-7.4.1-4.17.2################################# [ 80%]
  25:srvadmin-cm-7.4.1-4.1.58.el7     ################################# [ 83%]
  26:srvadmin-idrac-ivmcli-7.4.1-4.4.5################################# [ 87%]
  27:srvadmin-idracadm-7.4.1-4.3.16.el################################# [ 90%]
  28:srvadmin-idrac-snmp-7.4.1-4.3.16.################################# [ 93%]
  29:srvadmin-oslog-7.4.1-4.13.1.el7  ################################# [ 97%]
  30:srvadmin-sysfsutils-7.4.1-4.1.1.e################################# [100%]

   Do you want the Server Administrator services started?

   Press ('y' for yes | 'Enter' to exit): y
Starting instsvcdrv (via systemctl):                       [  OK  ]
Starting dataeng (via systemctl):                          [  OK  ]
Starting dsm_om_shrsvc (via systemctl):                    [  OK  ]

-- logout and login again now --

$ omreport chassis info
Chassis Information

Index                                    : 0
Chassis Name                             : Main System Chassis
Host Name                                : [redacted]
iDRAC7 Version                           : 1.57.57 (Build 4)
Lifecycle Controller 2 Version           : 1.4.2.12
Chassis Model                            : PowerEdge R320
Chassis Lock                             : Present
Chassis Service Tag                      : [redacted]
Express Service Code                     : [redacted]
Chassis Asset Tag                        : Unknown
Flash chassis identify LED state         : Off
Flash chassis identify LED timeout value : 300

$ omreport storage vdisk
List of Virtual Disks in the System

Controller PERC H710 Mini (Embedded)
ID                                : 0
Status                            : Ok
Name                              : Virtual Disk 0
State                             : Ready
Hot Spare Policy violated         : Not Assigned
Encrypted                         : Not Applicable
Layout                            : RAID-10
Size                              : 1,675.13 GB (1798651772928 bytes)
T10 Protection Information Status : No
Associated Fluid Cache State      : Not Applicable
Device Name                       : /dev/sda
Bus Protocol                      : SAS
Media                             : HDD
Read Policy                       : Adaptive Read Ahead
Write Policy                      : Write Back
Cache Policy                      : Not Applicable
Stripe Element Size               : 64 KB
Disk Cache Policy                 : Disabled
However, there is one nuisance. When I reverted /etc/redhat-release to its original CentOS content and tried to run systemctl restart dataeng.service and systemctl restart dsm_om_shrsvc.service, they failed. /var/log/messages had this information:

Code: Select all

... dataeng: Systems Management Data Engine: Failed to start because system is not supported 
... dsm_om_shrsvc: dsm_om_shrsvc: DSM SA Shared Services cannot start on an unsupported system. See the Dell Systems Software Support Matrix for a list of supported systems.
... dsm_om_shrsvc: DSM SA Shared Services cannot start on an unsupported system. See the Dell Systems Software Support Matrix for a list of supported systems.
Using the Red Hat /etc/redhat-release allowed the services to be restarted without problems.

So be warned that the OpenManage services might not start at boot if your /etc/redhat-release does not contain the magic word Maipo.

I'm currently using this as my /etc/redhat-release as a temporary workaround:

Code: Select all

CentOS Linux release 7.0.1406 (Core). Maipo is a stratovolcano in the Andes.
(edit: I'm now using the unmodified CentOS /etc/redhat-release file, see the next message)

Another oddity is that running systemctl restart dsm_om_shrsvc.service seems to do the equivalent of echo 1 > /proc/sys/vm/drop_caches, clearing the page cache. The documentation says its "use outside of a testing or debugging environment is not recommended". Perhaps Dell has a valid reason for doing this, I don't know.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Dell R720 OpenManage

Post by avij » 2014/12/16 18:45:11

Here's a patch that would make the services start on both RHEL and CentOS with unmodified /etc/*-release files:

Code: Select all

# diff -u /opt/dell/srvadmin/sbin/CheckSystemType.orig /opt/dell/srvadmin/sbin/CheckSystemType
--- /opt/dell/srvadmin/sbin/CheckSystemType.orig	2014-09-30 04:51:45.000000000 +0300
+++ /opt/dell/srvadmin/sbin/CheckSystemType	2014-12-18 13:49:45.028847167 +0200
@@ -204,8 +204,15 @@

         IsInSupportedSystemIDs && return $SUPPORTED_DELL_SERVER

-        if [ -f /etc/redhat-release ] && [ `grep -c "Maipo" /etc/redhat-release` -gt 0 ]; then
-                IsSystemSupportedForRHEL7 && return $SUPPORTED_DELL_SERVER
+        if [ -f /etc/os-release ]; then
+                . /etc/os-release
+                case $VERSION_ID in
+                        7*)
+                        case "$ID $ID_LIKE" in
+                                *rhel*)
+                                IsSystemSupportedForRHEL7 && return $SUPPORTED_DELL_SERVER
+                        esac
+                esac
         fi

         IsClientSystem && return $CLIENT_SYSTEM
If someone from Dell sees this message, feel free to apply the patch to the next version of OMSA.

GorillaD
Posts: 2
Joined: 2014/12/06 03:28:14

Re: Dell R720 OpenManage

Post by GorillaD » 2014/12/18 04:28:58

You guys rock!! I did manage to get OMSA installed, I haven't figure out how to patch it so it started with the correct OS string, but at least it's installed and manageable.

Thank you, thank you, thank you!

--Andrew

petervdb
Posts: 2
Joined: 2014/09/19 09:57:56

Re: Dell R720 OpenManage

Post by petervdb » 2014/12/23 07:38:15

Thank you for posting this solution.

Locked