chnodebattery
Use the chnodebattery command to set or clear the light-emitting diode (LED) on a hot-swappable battery (in a node).
Syntax
Parameters
- -identify
- (Optional) Allows you to control the light-emitting diode (LED).
- -battery battery_id
- (Optional) Specifies the battery that is in the node.
- -remove
- (Optional) Specifies battery removal and terminates any calibration that runs on another battery.
- node
- (Optional) Specifies the node that the battery is in.
Description
This command notifies the battery back-up (BBU) driver that a user wants to remove a battery.An invocation example to make the fault LED flash on battery 1
in
node
3
chnodebattery -identify yes -battery 1 3
The resulting output:
No feedback
An invocation example to remove battery 1
in node
3
chnodebattery -remove -battery 1 3
The resulting output:
No feedback