On Tue, 2012-01-03 at 08:22 -0800, Hank Bruning wrote:
> The SDR Record ids are dynamic and the same record may have a new
> record ID by the time you read it on the screen and start a new
> IPMITool.
> 
> The SDR Record IDs are allowed to be renumbered per IPMI 2.0, Section
> 33.8 SDR ‘Record IDs’  page 435. When the IPMC Controller reboots or
> when the FRU population managed by the IPMC Controller changes the
> SDRs most likely will be renumbered but the IPMI Controller is allowed
> to renumber the records when ever it wants.

While they can change, in practice they don't.  It's a useful way to
select sensors that several other projects support.  I don't see why it
couldn't be supported by ipmitool as an option.

As a use case example, I've seen some motherboards that have duplicate
sensors w/ the same name, so you can't select a specific sensor via
ipmitool's current "get SENSORNAME" option.  Here's one example of that
situation.

# ipmitool -I free sensor list
Temp             | -58.000    | degrees C  | ok    | na        | na        | na 
       | 85.000    | 90.000    | na        
Temp             | -59.000    | degrees C  | ok    | na        | na        | na 
       | 85.000    | 90.000    | na        
Temp             | 39.000     | degrees C  | ok    | na        | na        | na 
       | na        | na        | na        
Ambient Temp     | 21.000     | degrees C  | ok    | na        | na        | na 
       | na        | na        | na        
Temp             | na         | degrees C  | na    | na        | na        | na 
       | na        | na        | na        
Ambient Temp     | na         | degrees C  | na    | na        | na        | na 
       | na        | na        | na        
Ambient Temp     | 21.000     | degrees C  | ok    | na        | 3.000     | 
8.000     | 42.000    | 47.000    | na       

# ipmitool -I free sensor get Temp
Locating sensor record...
Sensor ID              : Temp (0x1)
 Entity ID             : 3.1
<snip>

Al

> Hank
> JBlade 
> 
> On Tue, Jan 3, 2012 at 10:13 AM, Zdenek Styblik
> <zdenek.styb...@gmail.com> wrote:
>         Hello,
>         
>         as subject suggests, my question is why ipmitool doesn't
>         display Record ID
>         anywhere in its output. Or have I only failed to look more
>         thoroughly?
>         The only thing it displays is Logical Number, if that's
>         correct term,
>         eg. ``Sensor ID: T_AMB (0xa5)''
>         which is not the same thing.
>         
>         Why am I asking about Record ID? It seems it would, well it
>         can and
>         is, be useful for eg. looking up specific
>         sensor and fetching information about it. It also seems to be
>         crucial
>         for (fetching) Sensor Data Records.
>         
>         Thanks in advance,
>         Z.
>         
>         
> ------------------------------------------------------------------------------
>         Write once. Port to many.
>         Get the SDK and tools to simplify cross-platform app
>         development. Create
>         new or port existing apps to sell to consumers worldwide.
>         Explore the
>         Intel AppUpSM program developer opportunity.
>         appdeveloper.intel.com/join
>         http://p.sf.net/sfu/intel-appdev
>         _______________________________________________
>         Ipmitool-devel mailing list
>         Ipmitool-devel@lists.sourceforge.net
>         https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
> 
-- 
Albert Chu
ch...@llnl.gov
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory



------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to