Yes, you need to ground a metal solar battery box for safety. Ground metal enclosures, junction boxes, and inverter cabinets to avoid electrical risks. . Green 8AWG to a standard grounding rod or plate in the ground per code. Rod is typically 6', drive down to where the head is subsurface, from there the #8 in and to panel. Proper grounding helps meet electrical safety standards and protects. . Most industrial off-grid solar power sytems, such as those used in the oil & gas patch and in traffic control systems, use a battery or multiple batteries that need a place to live, sheltered from the elements and kept dry and secure. A dc grounding electrode is required to. . Yes, battery racks require proper grounding to ensure electrical safety and system stability.