G4S Common Command Cheat Sheet
Avamar G4S common command sheet
Some of these commands translate to G4 and G4T
Keys, enter every time you log in:
ssh-agent bash
ssh-add ~/.ssh/dpnid
This will gather the installed part number and drive information of each node. As well as the serial numbers.
/usr/local/avamar/bin/site_inventory
View the above generated file.
cat /usr/local/avamar/var/site_inventory.log |more
Generate a bundle to be sent to support. Reference Service Essentials to locate and collect.
getlogs
Display the overall health of the Avamar grid
health_check.pl
GSAN precheck
check.dpn –prestart
Status of the grid and services
status.dpn
Display all services and their status
dpnctl status
Display available storage space
capacity.sh
Display services schedule
sched.sh
List the validated checkpoints
cplist -lscp
Display reported date from all nodes communicating with the utility node (ran from utility node)
mapall –noerror date
Utility node
Display CMOS battery status
avsysreport chassis-battery
Display RAID controller battery status
avsysreport controller-battery
Display physical disk status
avsysreport physical-disk
Display fan status
avsysreport chassis-fan
Show power supply status
avsysreport power-supply
All other nodes
Display CMOS battery on all storage nodes
mapall --noerror "avsysreport chassis-battery"
Display RAID controller status on all storage nodes
mapall --noerror "avsysreport controller-battery"
Display physical disk status on all storage nodes
mapall --noerror "avsysreport physical-disk"
Display fan status on all storage nodes
mapall --noerror "avsysreport chassis-fan"
Display power supply status on all storage nodes
mapall -noerror "avsysreport power-supply"
avsysreport subcommands - all available commands in avsysreport
avsysreport --help
Check the physical disk status. This command will show all the disks in the node
avsysreport pdisk controller=0 | grep Status
Display file system %full
avmaint nodelist | grep percent-full