SLES srvadmin-storage packages missing libdsm_sm_lsivil.so [PERC4]

Daugherity, Andrew W adaugherity at tamu.edu
Fri Apr 20 15:46:44 CDT 2012


It's been documented on this list that the 32-bit version of OMSA is required to monitor storage with the PERC 4 controllers, as srvadmin-megalib is not built for 64-bit [1].  This is usually done by running bootstrap.cgi and then editing the repo conf to refer to the i386 repo before installing srvadmin-* [2].  While this works on RHEL/CentOS 5, it doesn't on SLES 11.  The 32-bit OMSA runs fine but still displays "no controllers found".  The srvadmin-megalib package is installed, so that isn't the problem

After strace didn't get me anywhere I compared the directory structure between a CentOS and SLES install and discovered the problem: libdsm_sm_lsivil.so is missing on the SLES system.  After copying it over, running ldconfig, and restarting OMSA, everything works great!

Note the difference in the package list:
====
$ rpm -qpl http://linux.dell.com/repo/hardware/latest/platform_independent/suse11/srvadmin-i386/srvadmin-storage-6.5.0-1.201.1.sles11.i386.rpm > sles11-i386.list
$ rpm -qpl http://linux.dell.com/repo/hardware/latest/platform_independent/rh50/srvadmin-i386/srvadmin-storage-6.5.0-1.201.2.el5.i386.rpm > el5-i386.list
$ diff -u el5-i386.list sles11-i386.list 
--- el5-i386.list	2012-04-18 16:28:54.440002145 -0500
+++ sles11-i386.list	2012-04-18 16:29:02.880002160 -0500
@@ -16,7 +16,6 @@
 /opt/dell/srvadmin/lib/openmanage/libdsm_sm_enclvil.so
 /opt/dell/srvadmin/lib/openmanage/libdsm_sm_evtmsg.so
 /opt/dell/srvadmin/lib/openmanage/libdsm_sm_hel.so
-/opt/dell/srvadmin/lib/openmanage/libdsm_sm_lsivil.so
 /opt/dell/srvadmin/lib/openmanage/libdsm_sm_nrs2vil.so
 /opt/dell/srvadmin/lib/openmanage/libdsm_sm_nrsenum.so
 /opt/dell/srvadmin/lib/openmanage/libdsm_sm_nrsvil.so
====


Can someone from Dell please add this library back to the build for the i386 SLES 11 packages?  (SLES 10 i386 packages are also missing this library, so it should be added there too.  All 64-bit builds lack this file, presumably by design.)


In the meantime, the workaround to get storage managment for the PERC 4 on SLES 11 is:
* remove any 64-bit OMSA if installed
* run bootstrap.cgi
* edit /etc/zypp/repos.d/dell-omsa-hwindep.repo and change basearch=x86_64 to basearch=i386
* zypper in srvadmin-base srvadmin-storageservices  [etc.]
* acquire libsdm_sm_lisvil.so, either from a RHEL5 machine or extract it from the el5-i386 srvadmin-storage RPM with rpm2cpio and cpio
* copy it to /opt/dell/srvadmin/lib/openmange/
* ldconfig; service dataeng restart
* omreport storage [controller|vdisk|...] now works!


Andrew Daugherity
Systems Analyst
Division of Research, Texas A&M University
adaugherity at tamu.edu


[1] http://lists.us.dell.com/pipermail/linux-poweredge/2011-March/044590.html
[2] http://stevejenkins.com/blog/2011/01/no-controllers-found-fix-set-up-dell-omsa-6-4-32-bit-on-rhel-centos-5-5-64-bit/


More information about the Linux-PowerEdge mailing list