[OmniOS-discuss] IPMI on Dell R720

takashi ary takashiary at gmail.com
Mon Jun 3 07:49:44 EDT 2013


Hi Andy,

Thanks for your comments.

> This is an incompatibility between the version of IPMI tool included
> in OmniOS and the Dell BMC. I haven't looked into exactly what the
> problem is but 1.8.11 works fine so I just downloaded and built my
> own package around that.

I built 1.8.12 (not 1.8.11) from modified "configure" file as follows.

--- configure 2012-08-10 04:17:27.000000000 +0900
+++ configure.mod 2013-06-03 12:47:07.815766359 +0900
@@ -12328,7 +12328,7 @@
  enable_intf_bmc=yes
  fi
  enable_intf_imb=no
- enable_intf_open=no
+ enable_intf_open=yes
  enable_intf_lipmi=no
  enable_ipmishell=no
  enable_all_options=no


root at omnios:~#
root at omnios:~# /usr/local/bin/ipmitool fru | grep Board\ Product
 Board Product         : PowerEdge R720
 Board Product         : PowerEdge R720
 Board Product         : PWR SPLY,750WP,RDNT,DELTA
 Board Product         : PWR SPLY,750WP,RDNT,DELTA
 Board Product         : DRIVE BACKPLANE
 Board Product         : Intel(R) GbE 4P I350-t rNDC
 Board Product         : Dell Storage Cntlr. H710P-Mini
root at omnios:~#
root at omnios:~#


> That's a bug in the service manifest. The IPMI package on OmniOS uses
> the open driver instead of the BMC which was used in Solaris 10. If you
> build your own package you can fix it.

I modified script file as follows.

--- /lib/svc/method/svc-ipmievd 2013-05-31 15:05:39.558634190 +0900
+++ /lib/svc/method/svc-ipmievd_mod     2013-06-03 13:49:10.809086439 +0900
@@ -30,7 +30,7 @@
 # smf(5)
 . /lib/svc/share/smf_include.sh

-SMF_FMRI="svc:/network/ipmievd:default"
+SMF_FMRI="svc:/network/ipmievd_mod:default"

 if [ $# -eq 0 ]; then
     # No arguments provided - report current status (use "-c" option to
@@ -48,13 +48,13 @@
                # to run.  If one is not detected, then disable the service
                # and exit.

-               if [ ! -c /dev/bmc ]; then
+               if [ ! -c /dev/ipmi0 ]; then
                        echo "$0:  No BMC device found: disabling."
                        /usr/sbin/svcadm disable $SMF_FMRI
                        exit $SMF_EXIT_OK
                fi

-               /usr/lib/ipmievd sel
+               /usr/local/sbin/ipmievd sel
                [ $? -ne 0 ] && exit 1
                ;;


and modified manifest file as follows.

--- /lib/svc/manifest/network/ipmievd.xml       2013-05-31
15:05:39.588058906 +0900
+++ /lib/svc/manifest/network/ipmievd_mod.xml   2013-06-03
13:54:30.309789173 +0900
@@ -30,7 +30,7 @@

 <service_bundle type='manifest' name='SUNWipmi:ipmievd'>

-<service name='network/ipmievd' type='service' version='1'>
+<service name='network/ipmievd_mod' type='service' version='1'>

        <!--
          Configure a default instance for the service since it doesn't
@@ -71,7 +71,7 @@
        <exec_method
                type='method'
                name='start'
-               exec='/lib/svc/method/svc-ipmievd %m'
+               exec='/lib/svc/method/svc-ipmievd_mod %m'
                timeout_seconds='60'/>

        <exec_method
@@ -99,7 +99,7 @@
                </common_name>
                <documentation>
                        <manpage title='ipmievd' section='8'
-                               manpath='/usr/share/man' />
+                               manpath='/usr/local/share/man' />
                        <doc_link name='sourceforge.net'

uri='http://sourceforge.net/projects/ipmitool' />
                </documentation>


root at omnios:~#
root at omnios:~# tail /var/adm/messages
Jun  3 14:48:08 omnios ipmievd: [ID 702911 local4.notice] Reading sensors...
Jun  3 14:48:09 omnios ipmievd: [ID 702911 local4.notice] Waiting for events...
root at omnios:~#


Thanks


More information about the OmniOS-discuss mailing list