Back to the main page
StorEdge 6120 - battery replacement
The battery is very important part of the 6120, since in case of AC power failure it provides power so array can flush cached data to disks.
If you are running array with failed batteries (or they are in charge), the cache mode is write-through.
Once at least one battery is fully charged, the cache mode is write-behind.
Try not to stock too long spare batteries in your office, since shelf life is 2 years.
Once you get a message that battery fails, check FRU status.
# fru stat
POWER STATUS STATE SOURCE OUTPUT BATTERY TEMP FAN1 FAN2
------ ------- --------- ------ ------ ------- ------ ------ ------
u1pcu1 ready enabled line normal normal normal normal normal
u1pcu2 ready enabled line normal failed normal normal normal
u2pcu1 ready enabled line normal normal normal normal normal
u2pcu2 ready enabled line normal normal normal normal normal
|
Refresh command shows battery status.
# refresh -s
Current Date and Time: Mon Sep 14 13:52:09 PDT 2009
Next Scheduled Refresh: Mon Sep 21 02:06:21 PDT 2009
Battery State Last Health Check Warranty Expiration
------- ------- ---------------------------- ----------------------------
u1b1 normal Mon Sep 14 10:38:51 PDT 2009 Wed Apr 15 14:41:24 PDT 2009
u1b2 failed Mon Sep 14 10:44:49 PDT 2009 Thu Oct 07 15:57:17 PDT 2010
u2b1 normal Mon Sep 14 05:46:01 PDT 2009 Sat Dec 19 08:16:40 PST 2009
u2b2 normal not tested Wed Sep 14 08:23:09 PDT 2011
|
Replace the battery, as you can see it's part of the power supply.
Additional exercise is required after replacement:
Well, Sun claims that command sun can be used only by Sun authorized personal, but let's ignore this and run the command.
# sun
Password: yeah you need this, it's arrayservice
sun: commands enabled
|
See usage of .bat command
# .bat
Usage :
bat -c u[encid]pcu[1|2] ----> clear battery status
bat -d [u[encid]pcu[1|2]] ----> complete debugging information
bat -D [u[encid]pcu[1|2]] ----> limited debugging information
bat -f u[encid]pcu[1|2] ----> mark battery as failed
bat -i u[encid]pcu[1|2] ----> initialize battery warranty date
bat -m [norm|none|fast] ----> battery management mode
bat -r u[encid]pcu[1|2] ----> set recharge date to current date
bat -s u[encid]pcu[1|2] ----> battery status information
bat -u ----> update cache mode calculation
|
See battery info
# .bat -s u1b2
Current Date and Time: Mon Sep 14 14:06:13 PDT 2009
Manufactured: Fri May 16 11:44:29 PDT 2008
Warranty Start: Tue Oct 07 15:57:17 PDT 2008
Warranty Expiration: Thu Oct 07 15:57:17 PDT 2010
Last Health Check: Mon Sep 14 10:44:49 PDT 2009
Last Recharge: Mon Sep 14 14:05:48 PDT 2009
Battery Status: 10 = failed - discharge
PCU is running on AC input.
Charger is active.
PCU is not healthy.
Enclosure 1 power is not safe.
Data cache is not safe.
No health check(s) are running.
|
Clear battery status
Initialize battery warranty date
Set recharge date to date you replaced battery - current time.
See info again - yes, warranty starts from current date.
# .bat -s u1b2
Current Date and Time: Mon Sep 14 15:05:28 PDT 2009
Manufactured: Fri May 16 11:44:29 PDT 2008
Warranty Start: Mon Sep 14 14:06:48 PDT 2009
Warranty Expiration: Wed Sep 14 14:06:48 PDT 2011
Last Health Check: not tested
Last Recharge: never
Battery Status: 2 = charge
PCU is running on AC input.
Charger is active.
PCU is healthy. (test/charge)
Enclosure 1 power is safe. (test/charge)
Data cache is safe.
Health check(s) in progress. (1)
|
Starts the refresh cycle
# refresh -c
Waiting for tests to start ..............................
Tests on 1 of 2 enclosures started normally.
Check system logs and `refresh -s` output for more details.
|
Check status again.
# refresh -s
Current Date and Time: Mon Sep 14 14:08:19 PDT 2009
There are 1 enclosures running health checks.
Battery State Last Health Check Warranty Expiration
------- ------- ---------------------------- ----------------------------
u1b1 normal Mon Sep 14 10:38:51 PDT 2009 Wed Apr 15 14:41:24 PDT 2009
u1b2 charge not tested Wed Sep 14 14:06:48 PDT 2011
u2b1 in test Mon Sep 14 05:46:01 PDT 2009 Sat Dec 19 08:16:40 PST 2009
u2b2 normal not tested Wed Sep 14 08:23:09 PDT 2011
|
Check cache mode status.
# vol mode
volume mounted cache mirror
vol1 yes writebehind on
vol2 yes writebehind on
|
Back to the main page