Removing the battery is a cold-service operation. You must power off the server before you remove the battery.
See http://docs.oracle.com/cd/E19860-01/E21549/z40015841018582.html#scrolltoc
See Install the Battery.
See Component Service Task Reference for assistance.