[OpenIndiana-discuss] Question about drive LEDs

Mark mark0x01 at gmail.com
Sat Jun 25 05:31:31 UTC 2011


On 24/06/2011 11:09 p.m., Fred Liu wrote:
> Mark,
> 
> Can you post the content of your blog in this list?
> 
> Many thanks.
> 
>>>
>>> look here.
>>>
>>> http://stored-on-zfs.blogspot.com
>>>

In brief, I cloned a bootable SATA disk from the VMware (now
discontinued) Sun Unified Storage simulator, and then created the
graphics and definitions to match a Supermicro 4U chassis and system board.
Everything worked exactly as a real one would, including disk locator
led's, disk present/absent graphics etc. and was able to be updated with
new firmware.

Since it was origionally designed as an generic appliance kit and there
was mention of it being available as Software, this was relatively easy
to do.
It is definitely Solaris based, but has some quite different drivers
etc. than OpenSolaris.

IPMI is required to make it work.

There are quite a few xml files to configure, along with graphics.
It is also very easy to crash the management svc with invalid definitions.


sample definition:

<?xml version="1.0"?>
<!DOCTYPE topology SYSTEM "/usr/share/lib/xml/dtd/topology.dtd.1">
<!--
 Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 Use is subject to license terms.

 CDDL HEADER START

 The contents of this file are subject to the terms of the
 Common Development and Distribution License (the "License").
 You may not use this file except in compliance with the License.

 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 or http://www.opensolaris.org/os/licensing.
 See the License for the specific language governing permissions
 and limitations under the License.

 When distributing Covered Code, include this CDDL HEADER in each
 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
 If applicable, add the following below this CDDL HEADER, with the
 fields enclosed by brackets "[]" replaced with your own identifying
 information: Portions Copyright [yyyy] [name of copyright owner]

 CDDL HEADER END

    ident	"@(#)X7DW3-hc-topology.xml	1.1	08/09/25 SMI"
-->

<topology name='X7DW3' scheme='hc'>


  <range name='motherboard' min='0' max='0'>
    <node instance='0'>
      <set type='product' setlist='X7DW3'>
        <fac-enum provider='fac_prov_ipmi' />
        <propgroup name='protocol' version='1'
            name-stability='Private' data-stability='Private' >
            <propval name='label' type='string' value='MB' />
        </propgroup>
        <propgroup name='ipmi' version='1'
            name-stability='Private' data-stability='Private' >
            <propval name='entity_ref' type='string' value='mb.fru' />
        </propgroup>

      </set>

    </node>

  <range name='chassis' min='0' max='10'>
     <enum-method name='ipmi' version='1' />
  </range>

   <range name='psu' min='0' max='100'>
   <enum-method name='ipmi' version='1' />
   </range>
   <range name='fan' min='0' max='100'>
    <enum-method name='ipmi' version='1' />
     </range>
     <range name='bay' min='0' max='1024'>
     <enum-method name='ses' version='1' />
     </range>
    </set>

  <range name='ses-enclosure' min='0' max='1024'>
    <enum-method name='ses' version='1' />
  </range>

</topology>





Mark.




More information about the OpenIndiana-discuss mailing list