Most of mid and high end storage products have battery to protect cached data in the controller. Battery has its own life time, thus, needs to be replaced in a regular basis. DDN SFA products recommends the battery pack need to be replaced every three years.

The standard practice is to shutdown the BBU undergoing battery replacement and the corresponding controller. On the other hand, the battery in the BBU is hot-swappable, so In some circumstances, you may not need to shutdown a controller just for a battery replacement. But be sure you have reliable power feeding when doing this for controller will not be able to monitor the battery healthy status during the swap.

Here just quick steps for both hot swap battery replacement and cold shutdown battery replacement.

Hot Swap Replacing the Battery Pack in BBU

In this case, be sure the power feeding is reliable, written the battery manufacture date(on the battery package) take the BBU front panel, locate the battery and disconnect the battery with the BBU, then replace it with a new one.

Connect the new battery pack to the BBU, hardware work is done.

Check the BBU

then run cli command :

show ups <enc_id> <ups id> all_attribute

Set the battery manufacture date

 Use the date you got from the battery pack, if not, use the battery replacing date.

Set ups <enc_id> <ups_id> battery_manufacture_date=yyyy:mm:dd

Standard procedure for BBU replacement

Check battery status

then run cli command :

show ups <enc_id> <ups id> all_attribute

Shutdown controller

Login to the other controller, run the command

shutdown controller <controller id>

Shutdown VMs if there are VMs running on the controller, check this article as reference controller shutdown procedure

Replacement battery pack or whole BBU

Replace either battery pack or whole BBU

Start controller

Once the BBU is in good condition after replacement, start BBU by pressing the power button, press the power button on the controller to start the controller.

Check battery status

then run cli command :

show ups <enc_id> <ups id> all_attribute

Set battery manufacture date

 Use the date you got from the battery pack, if not, use the battery replacing date.

Set ups <enc_id> <ups_id> battery_manufacture_date=yyyy:mm:dd

Note:

 If there is a power outage while replacing the battery pack, the controller without its battery pack will power down without flushing cache. With multipath and cache mirroring, many configurations can work with this. However, it is important to validate your configuration with DDN Support prior to service actions. 

When changing all battery packs on a controller pair, let the first pack replaced charge completely before changing the battery pack on the partner controller.