“No controllers found” fix: set up Dell OMSA 6.4 32-bit on RHEL / CentOS 5.5 64-bit 18


This blog post builds on the same workaround explained in my older post about how to install the 32-bit version of Dell OMSA 6.3 on a 64-bit version of RHEL / CentOS 5.5 on a PowerEdge server so you can manage a PERC 4 RAID adapter.

Dell’s newer OMSA 6.4 has the same issue that OMSA 6.3 had: the 64-bit version gives you an error of “No controllers found,” but the 32-bit version will work. However, the workaround explained in my older post needs a slight tweak in order to work with the newer OMSA 6.4.

Step 1: Remove OMSA 6.3

If you don’t have the older OMSA 6.3 installed, you can skip this step.

Remove the older OMSA 6.3 and its older dependencies with:

yum remove dell-omsa* libcmpiCppImpl0 libsmbios libsmbios* libwsman* openwsman-* python-smbios smbios-utils-* srvadmin-*

This leaves a few files on the server that you’ll need to delete before you can install the updated OMSA 6.4. First, remove the OMSA 6.3 .ini files with:

rm -Rf /opt/dell/srvadmin

Then, you’ll need to manually remove the following two files from the Openwsman package, otherwise they’ll prevent the installation of the updated version of Openwsman in the next step. Do:

rm -rf /etc/openwsman

and

rm /etc/init.d/openwsman

Step 2: Set up Dell’s OMSA 6.4 Repository

To set up the repository info for OMSA 6.4, do:

wget -q -O - http://linux.dell.com/repo/hardware/OMSA_6.4/bootstrap.cgi | bash

That will download some necessary files, import some PGP keys, and create a new repo file on your server. IMPORTANT: Don’t take the next step as printed in the Dell Wiki! If you use yum to install OMSA now, you’ll install the 64-bit version. You need to do a couple extra steps first.

Step 3: Remove the 64-bit Dell System ID Yum Plugin

This is the extra step that you didn’t need with OMSA 6.3. Because the bootstrap.cgi file in the above step examines your system architecture with a uname -i command before requesting the appropriate plugin, if you’re on a 64-bit system, it installed the 64-bit version of the plugin. Remove it with:

yum erase yum-dellsysid-2.2.26-6.2.el5

Once it’s removed, install the 32-bit version of the plugin directly from Dell with:

rpm -Uvh http://linux.dell.com/repo/hardware/OMSA_6.4/platform_independent/rh50/firmware-tools/yum-dellsysid-2.2.26-6.2.el5.i386.rpm

Step 4: Edit your Dell OMSA Repo File

Using your favorite text editor, edit /etc/yum.repos.d/dell-omsa-repository.repo. The default file should look like this:

[dell-omsa-indep]
name=Dell OMSA repository - Hardware independent
type=rpm-md
mirrorlist=http://linux.dell.com/repo/hardware/latest/mirrors.cgi?osname=el$releasever&basearch=$basearch&native=1&dellsysidpluginver=$dellsysidpluginver
gpgcheck=1
gpgkey=http://linux.dell.com/repo/hardware/latest/RPM-GPG-KEY-dell
    http://linux.dell.com/repo/hardware/latest/RPM-GPG-KEY-libsmbios
enabled=1
failover=priority
bootstrapurl=http://linux.dell.com/repo/hardware/latest/bootstrap.cgi

[dell-omsa-specific]
name=Dell OMSA repository - Hardware specific
type=rpm-md
mirrorlist=http://linux.dell.com/repo/hardware/latest/mirrors.cgi?osname=el$releasever&basearch=$basearch&native=1&sys_ven_id=$sys_ven_id&sys_dev_id=$sys_dev_id&dellsysidpluginver=$dellsysidpluginver
gpgcheck=1
gpgkey=http://linux.dell.com/repo/hardware/latest/RPM-GPG-KEY-dell
    http://linux.dell.com/repo/hardware/latest/RPM-GPG-KEY-libsmbios
enabled=1
failover=priority
bootstrapurl=http://linux.dell.com/repo/hardware/latest/bootstrap.cgi

Edit the mirrorlist entry in both sections of the file, replacing the $basearch variable with the hard-coded value of i386. That will trick the Dell repo into thinking you’re actually running a 32-bit OS, so it will provide you the 32-bit version of OMSA. Your new mirrorlist directive in [dell-omsa-indep] should now read:

mirrorlist=http://linux.dell.com/repo/hardware/latest/mirrors.cgi?osname=el$releasever&basearch=i386&native=1&dellsysidpluginver=$dellsysidpluginver

and the mirrorlist directive in [dell-omsa-specific] should now read:

mirrorlist=http://linux.dell.com/repo/hardware/latest/mirrors.cgi?osname=el$releasever&basearch=i386&native=1&sys_ven_id=$sys_ven_id&sys_dev_id=$sys_dev_id&dellsysidpluginver=$dellsysidpluginver

Now you’re ready for yum.

Step 5: Use Yum to Install OMSA

Type the following:

yum install srvadmin-all

All the appropriate dependencies should be sorted out, and all the 32-bit OMSA packages will be installed on your system. During the install process, you’ll see this message:

**********************************************************
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
**********************************************************

Log out then log back in as suggested, then do:

srvadmin-services.sh start

You should see something like:

Starting mptctl:
Waiting for mptctl driver registration to complete:
                                                           [  OK  ]

Starting Remote Access Controller (RAC4)...                [  OK  ]
Starting Systems Management Device Drivers:
Starting dell_rbu:                                         [  OK  ]
Starting ipmi driver: Already started                      [  OK  ]
Starting Systems Management Data Engine:
Starting dsm_sa_datamgrd:                                  [  OK  ]
Starting dsm_sa_eventmgrd:                                 [  OK  ]
Starting DSM SA Shared Services:                           [  OK  ]

Starting DSM SA Connection Service:                        [  OK  ]

You can verify that the storage controller is accessible by typing:

omreport storage controller

You should get output like:

 Controller  PERC 4e/Si (Embedded)

Controllers
ID                                            : 0
Status                                        : Ok
Name                                          : PERC 4e/Si
Slot ID                                       : Embedded
State                                         : Ready
Firmware Version                              : 5B2D
Minimum Required Firmware Version             : Not Applicable
Driver Version                                : Not Applicable
Minimum Required Driver Version               : Not Applicable
Storport Driver Version                       : Not Applicable
Minimum Required Storport Driver Version      : Not Applicable
Number of Connectors                          : 1
Rebuild Rate                                  : 30%
BGI Rate                                      : Not Applicable
Check Consistency Rate                        : Not Applicable
Reconstruct Rate                              : Not Applicable
Alarm State                                   : Not Applicable
Cluster Mode                                  : Not Applicable
SCSI Initiator ID                             : 7
Cache Memory Size                             : 256 MB
Patrol Read Mode                              : Auto
Patrol Read State                             : Active
Patrol Read Rate                              : Not Applicable
Patrol Read Iterations                        : 479
Abort Check Consistency on Error              : Not Applicable
Allow Revertible Hot Spare and Replace Member : Not Applicable
Load Balance                                  : Not Applicable
Auto Replace Member on Predictive Failure     : Not Applicable
Redundant Path view                           : Not Applicable
Persistent Hot Spare                          : Not Applicable
Security Capable                              : Not Applicable
Security Key Present                          : Not Applicable
Spin Down Unconfigured Drives                 : Not Applicable
Spin Down Hot Spares                          : Not Applicable

You can also log in to the OMSA web interface at https://yourhostname:1311 (be sure to use https).

That’s it! You’re now running the 32-bit version of OMSA 6.4 on a 64-bit operating system!

  • Pingback: “No controllers found” fix: set up Dell OMSA 6.3 32-bit on RHEL / CentOS 5.5 64-bit | Steve Jenkins' Blog()

  • Pingback: Confluence: School of Informatics and Computing KB()

  • Pingback: No controllers found: PERC 4, 64 Bit CentOS, and OMSA 6.4 » AdmiNirvana - Technical musings of an entrepreneur.()

  • Pingback: Confluence: Technik()

  • Ursula

    wish this worked for centos 6.1 (cloudlinux)
    yum erase yum-dellsysid-2.2.26-6.2.el5 – not found so no matter what you do it always looks for the x86_64 versions

  • artiflo

    Hi,
    I have a server with CENTOS 6 x64, OMSA 6.5 and PERC 4 DC.
    I have the same error
    # omreport storage controller
    No controllers found

    How I can do, OMSA 6.5 for Centos 6 exist only on 64bits ?

    • Artiflo, I just used followed this post and was able to install OMSA 6.5.1 just fine. The only thing i did different, which may not even be needed, was install the 6.5.1 repository and replace the URL in the Step 3 with one that matched OMSA 6.5.1. (E.g. http://linux.dell.com/repo/hardware/OMSA_6.5.1/) Everything else was exactly the same.

      Also, Thanks to Steve for the great article!

  • Lorenzo

    I agree with Artfilo.
    On CentOS 6.x…OMSA i386 doesn’t exist.
    Can I install OMSA i386 from rh50 or rh50_64?

    Regards

    • Bummer – I hope this doesn’t mean Dell has abandoned i386 for CentOS 6. I don’t have a CentOS 6 test server set up yet, so I can’t verify any fixes. I recommend joining the Dell PowerEdge Linux Users mailing list and asking there. I’m on that list, so if any solutions are found, I’ll update them here.

      • Lorenzo

        I posted on Dell PE mailing list more than 1 month ago (post ), but nobody had reply to me.
        Today I will post a new question about 32 bit support on CentOS 6.

        Thanks

        • Taniel

          Looks like they can’t build the srvadmin-megalib package for 64bit rhel6 ?? The workaround would be using 32-bit, but latest packages are for rhel5
          There are still a lot of PERC 4 users.

  • I am a late comer here but really thought Dell wouldn’t leave me out in the cold. I have tried installing several versions, but when I query the repos, there’s nothing available to install. Using latest (7.2) it ignores i386 and attempts to install the x84_64 versions (but the downloads fail as no i386 version exists – notes say that you get the i386 packages if you’ve already used them??)

    It’s clear to me that Dell simply doesn’t want to support pe1850/pe2850 or Perc 4 anymore. Really, I’d be satisfied to JUST have a way to monitor the controller status via SNMP, etc. Anyone out there know of alternatives?

    • I know… it’s getting harder and harder as time goes on to find good tools for the 8th gen systems (I still have a bunch in production use). The best way I’ve found is to use Nagios. I also have an article on tips for monitoring RAID via Nagios on the 1850s: http://stevejenkins.com/blog/2009/12/helpful-links-for-setting-up-nagios-and-nrpe-on-rhel-5-and-centos-5/

      • Kudos to you sir! Now I can monitor RAID status in Zenoss with a little elbow grease. 🙂 I might even go the NRPE > Zenoss route if custom commands prove to difficult to implement (I write code too for a living and so I hope it won’t be too hard.) The perl script is nice too. Thanks again, I can keep these servers humming for a few more years now. 🙂

  • Fabio Vasco

    Steve, I’ve always loved you but I didn’t knew it until today! lol

    Thank you so much for the articles about OMSA and PERC 4 controllers not been detected on CentOS x64.

    Following your tips (with some little adjustments) I was able to install OMSA 7.2 in my PE 2850 and I can know see my PERC 4e/Di controller 🙂

    Let’s go back to Zabbix and add some alerts for it.

    Thanks again! You’re the man!

    • LOL – uh, thanks? 🙂

      Glad to know you’re up and running. I’m interested to know what adjustments you made for OMSA 7.2, so I can include them here!

    • Hunter

      Thanks for leaving us all hanging Fabio…netiquette 101…always provide the solutions when posting about problems you’ve overcome. It’s helpful for all the people searching for an answer to this issue.

      • Fabio Vasco

        Steve, Hunter and all folks… I am really sorry for this. I missed the email notification for this thread, actually I only noticed when Hunter posted his comments (too much spam!)

        Here’s what a I did in CentOS 5.9 x86_64 to get OMSA 7.2 up & running (I will list only the changes from the original post).

        Everything else should be the same – I could barely remember this, everything here is thanks to history command 🙂

        Thank you Steve once again and sorry for not sharing this early.

        Warmest regards,
        Fabio (chopeta)

        Step 2:
        # wget -q -O – http://linux.dell.com/repo/hardware/OMSA_7.2/bootstrap.cgi | bash

        Step 3:
        # yum erase yum-dellsysid
        # rpm -Uvh http://linux.dell.com/repo/hardware/OMSA_7.2/platform_independent/rh50/firmware-tools/yum-dellsysid-2.2.27-4.155.1.el5.i386.rpm

        Step 4:
        (here’s my full /etc/yum.repos.d/dell-omsa-repository.repo file)

        [dell-omsa-indep]
        name=Dell OMSA repository – Hardware independent
        type=rpm-md
        mirrorlist=http://linux.dell.com/repo/hardware/OMSA_7.2/mirrors.cgi?osname=el$releasever&basearch=i386&native=1&dellsysidpluginver=$dellsysidpluginver
        gpgcheck=1
        gpgkey=http://linux.dell.com/repo/hardware/OMSA_7.2/RPM-GPG-KEY-dell
        http://linux.dell.com/repo/hardware/OMSA_7.2/RPM-GPG-KEY-libsmbios
        enabled=1
        failover=priority
        bootstrapurl=http://linux.dell.com/repo/hardware/OMSA_7.2/bootstrap.cgi

        [dell-omsa-specific]
        name=Dell OMSA repository – Hardware specific
        type=rpm-md
        mirrorlist=http://linux.dell.com/repo/hardware/OMSA_7.2/mirrors.cgi?osname=el$releasever&basearch=i386&native=1&sys_ven_id=$sys_ven_id&sys_dev_id=$sys_dev_id&dellsysidpluginver=$dellsysidpluginver
        gpgcheck=1
        gpgkey=http://linux.dell.com/repo/hardware/OMSA_7.2/RPM-GPG-KEY-dell
        http://linux.dell.com/repo/hardware/OMSA_7.2/RPM-GPG-KEY-libsmbios
        enabled=1
        failover=priority
        bootstrapurl=http://linux.dell.com/repo/hardware/OMSA_7.2/bootstrap.cgi