From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: Greg Smith <greg@2ndquadrant.com>
Cc: Grzegorz JaĆkiewicz <gryzman@gmail.com>
Cc: postgres performance list <pgsql-performance@postgresql.org>
Subject: Re: serveRAID M5014 SAS
Date: Fri, 27 May 2011 11:42:56 +1200
Message-ID: <4DDEE580.3040305@catalyst.net.nz> (raw)
In-Reply-To: <4DDEE0CF.5040800@catalyst.net.nz>
References: <BANLkTi=fE2YCS0Lra42ei1hFrKqXdVk2jA@mail.gmail.com>
<4DDD81BB.4080801@catalyst.net.nz>
<4DDD85C7.6030109@catalyst.net.nz>
<BANLkTi=PAymQvudx1eyuuOV9vAAoydan9g@mail.gmail.com>
<4DDE0E77.6070804@catalyst.net.nz>
<4DDEDFFF.1060304@2ndquadrant.com>
<4DDEE0CF.5040800@catalyst.net.nz>
On 27/05/11 11:22, Mark Kirkwood wrote:
> On 27/05/11 11:19, Greg Smith wrote:
>> Mark Kirkwood wrote:
>>> You can interrogate the config of the card and the raid 10 array
>>> using the megaraid cli package - you need to read the (frankly
>>> terrible) manual to discover which switches to use to determine
>>> battery and cache status etc. If you email me privately I'll get you
>>> a link to the relevant docs!
>>
>> That's assuming the MegaCli utility will work against IBM's version
>> of the card. They use an LSI chipset for the RAID parts, but I don't
>> know if the card is so similar that it will talk using that utility
>> or not.
>
> It does seem to.
>
> Cheers
>
> Mark
>
e.g checking battery status:
root@learn-db2:~# MegaCli64 -AdpBbuCmd -GetBbuStatus -a0
BBU status for Adapter: 0
BatteryType: iBBU
Voltage: 4040 mV
Current: 0 mA
Temperature: 28 C
BBU Firmware Status:
Charging Status : None
Voltage : OK
Temperature : OK
Learn Cycle Requested : No
Learn Cycle Active : No
Learn Cycle Status : OK
Learn Cycle Timeout : No
I2c Errors Detected : No
Battery Pack Missing : No
Battery Replacement required : No
Remaining Capacity Low : No
Periodic Learn Required : No
Transparent Learn : No
Battery state:
GasGuageStatus:
Fully Discharged : No
Fully Charged : Yes
Discharging : Yes
Initialized : Yes
Remaining Time Alarm : No
Remaining Capacity Alarm: No
Discharge Terminated : No
Over Temperature : No
Charging Terminated : No
Over Charged : No
Relative State of Charge: 99 %
Charger System State: 49168
Charger System Ctrl: 0
Charging current: 0 mA
Absolute state of charge: 99 %
Max Error: 2 %
Exit Code: 0x00
Reminds me of out from DB2 diag commands (years ago...am ok now).
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: mark.kirkwood@catalyst.net.nz, greg@2ndquadrant.com, gryzman@gmail.com
Subject: Re: serveRAID M5014 SAS
In-Reply-To: <4DDEE580.3040305@catalyst.net.nz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox