[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-users] MicroTCA environment
From: |
Albert Chu |
Subject: |
Re: [Freeipmi-users] MicroTCA environment |
Date: |
Mon, 19 Sep 2016 08:43:28 -0700 |
Hi Hinko,
If I'm reading your problem correctly, effectively you're looking for a way
to list SDR entries of type "FRU" only?
I don't have that option in ipmi-sensors or libipmimonitoring, as it just
wasn't something I considered useful at any point.
If you specify increased verbosity (-vv) in ipmi-sensors, you will get
every SDR entry. Some scripting should be able to extract each FRU entry.
I think an option to ipmi-sensors should be very doable to list only those
entries that are a specific SDR type in ipmi-sensors.
LMK if I'm thinking about your problem correctly.
Al
On Tue, Sep 13, 2016 at 3:13 AM, Hinko Kocevar <address@hidden>
wrote:
> Hi,
>
> I'm trying out freeipmi, more specifically libipmimonitoring in MicroTCA.4
> environment.
> What I'm trying to get is a list of FRUs (AMCs) and then get sensor
> readouts of temperatures, voltages, etc.
> I can get those, but it hard to correlate the output from ipmi-sensors (or
> ipmimonitoring-sensors.c) to a physical location/slot of the AMC. Is there
> any option I need to supply to get this info?
>
> For example something like this ipmitool output might be enough to start
> with:
>
> address@hidden ipmimonitoring]# ipmitool sdr list fru -I lan -H
> 192.168.1.41 -U "" -P ""
> SIS8300RTM | Phy FRU @01h c0.64 | ok
> SIS8300L | Log FRU @06h c1.62 | ok
> SIS8300 | Log FRU @08h c1.64 | ok
> Schroff uTCA CU | Log FRU @28h 1e.61 | ok
> MCH-RTM-ComEx | Log FRU @40h c2.67 | ok
> NAT-MCH-MCMC | Log FRU @03h c2.61 | ok
> BP-FRU-253 | Phy FRU @A4h d0.61 | ok
> BP-FRU-254 | Phy FRU @A4h f2.61 | ok
> MCH-Clock | Log FRU @3Ch c2.63 | ok
> MCH-PCIe | Log FRU @3Dh c2.64 | ok
> NMCH-CM | Log FRU @00h c2.61 | ok
> NAT-PM-AC600D | Log FRU @32h 0a.61 | ok
>
>
> In more detail, I can then see that which AMC is located where (Logical
> FRU Device lines):
>
>
> address@hidden ipmimonitoring]# ipmitool sdr list fru -I lan -H
> 192.168.1.41 -U "" -P "" -v
> Running Get PICMG Properties my_addr 0x20, transit 0, target 0x20
> No PICMG Extenstion discovered
> Device ID : SIS8300RTM
> Entity ID : 192.100 (PICMG Rear Transition Module)
> Device Access Address : 20h
> Slave Address : 01h
> Channel Number : 2h
> LUN.Bus : 0h.0h
> Device Type.Modifier : 0h.0h (Reserved)
> OEM : 00h
>
> Device ID : SIS8300L
> Entity ID : 193.98 (PICMG AdvancedMC Module)
> Device Access Address : 20h
> Logical FRU Device : 06h
> Channel Number : 0h
> LUN.Bus : 0h.0h
> Device Type.Modifier : 10h.FFh (Unknown (0x10FF))
> OEM : 00h
>
> Device ID : SIS8300
> Entity ID : 193.100 (PICMG AdvancedMC Module)
> Device Access Address : 20h
> Logical FRU Device : 08h
> Channel Number : 0h
> LUN.Bus : 0h.0h
> Device Type.Modifier : 10h.FFh (Unknown (0x10FF))
> OEM : 00h
>
> Device ID : Schroff uTCA CU
> Entity ID : 30.97 (Cooling Unit)
> Device Access Address : 20h
> Logical FRU Device : 28h
> Channel Number : 0h
> LUN.Bus : 0h.0h
> Device Type.Modifier : 10h.FFh (Unknown (0x10FF))
> OEM : 00h
>
> Device ID : MCH-RTM-ComEx
> Entity ID : 194.103 (Unknown (0xC2))
> Device Access Address : 20h
> Logical FRU Device : 40h
> Channel Number : 0h
> LUN.Bus : 0h.0h
> Device Type.Modifier : 10h.FFh (Unknown (0x10FF))
> OEM : 00h
>
> Device ID : NAT-MCH-MCMC
> Entity ID : 194.97 (Unknown (0xC2))
> Device Access Address : 20h
> Logical FRU Device : 03h
> Channel Number : 0h
> LUN.Bus : 0h.0h
> Device Type.Modifier : 10h.FFh (Unknown (0x10FF))
> OEM : 00h
>
> Device ID : BP-FRU-253
> Entity ID : 208.97 (Unknown (0xD0))
> Device Access Address : 20h
> Slave Address : A4h
> Channel Number : 0h
> LUN.Bus : 0h.0h
> Device Type.Modifier : 8h.0h (Unknown (0x800))
> OEM : 00h
>
> Device ID : BP-FRU-254A�D�A
> Entity ID : 242.97 (PICMG Shelf FRU Information)
> Device Access Address : 20h
> Slave Address : A4h
> Channel Number : 0h
> LUN.Bus : 0h.0h
> Device Type.Modifier : 8h.0h (Unknown (0x800))
> OEM : 00h
>
> Device ID : MCH-Clock
> Entity ID : 194.99 (Unknown (0xC2))
> Device Access Address : 20h
> Logical FRU Device : 3Ch
> Channel Number : 0h
> LUN.Bus : 0h.0h
> Device Type.Modifier : 10h.FFh (Unknown (0x10FF))
> OEM : 00h
>
> Device ID : MCH-PCIe
> Entity ID : 194.100 (Unknown (0xC2))
> Device Access Address : 20h
> Logical FRU Device : 3Dh
> Channel Number : 0h
> LUN.Bus : 0h.0h
> Device Type.Modifier : 10h.FFh (Unknown (0x10FF))
> OEM : 00h
>
> Device ID : NMCH-CM
> Entity ID : 194.97 (Unknown (0xC2))
> Device Access Address : 20h
> Logical FRU Device : 00h
> Channel Number : 0h
> LUN.Bus : 0h.0h
> Device Type.Modifier : 10h.FFh (Unknown (0x10FF))
> OEM : 00h
>
> Device ID : NAT-PM-AC600D
> Entity ID : 10.97 (Power Supply)
> Device Access Address : 20h
> Logical FRU Device : 32h
> Channel Number : 0h
> LUN.Bus : 0h.0h
> Device Type.Modifier : 10h.FFh (Unknown (0x10FF))
> OEM : 00h
>
>
> Thanks,
> Hinko
>
> --
> Hinko Kocevar
>
> Beam Diagnostics Engineer
> European Spallation Source ERIC
> P.O Box 176, SE-221 00 Lund, Sweden
> Visiting address: Tunavägen 24, Lund
>
> Mobile: +46-721-79 22 58
> Phone: +46-46-888 32 58
>
> E-mail: address@hidden
> Web: www.esss.se
>
> _______________________________________________
> Freeipmi-users mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/freeipmi-users
>