[OmniOS-discuss] IPMI on Dell R720

Theo Schlossnagle jesus at omniti.com
Mon Jun 3 10:43:28 EDT 2013


This is very confusing... when I run a build on the ipmitool in the current
tree, I get:

ipmitool 1.8.12

Interfaces
  lan     : yes
  lanplus : yes
  open    : yes
  free    : no
  imb     : no
  bmc     : yes
  lipmi   : no

Extra tools
  ipmievd   : yes
  ipmishell : no

So it would appear it is already building the open intf support.


On Mon, Jun 3, 2013 at 7:49 AM, takashi ary <takashiary at gmail.com> wrote:

> 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
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>



-- 

Theo Schlossnagle

http://omniti.com/is/theo-schlossnagle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130603/d449cdd9/attachment.html>


More information about the OmniOS-discuss mailing list