01-30-2018 03:45 PM
Hi
I am looking for all possible MachineState values for NetBackup master/media servers reported in "nbemmcmd -listhosts -verbose" or "nbemmcmd -listhosts -parsable" commands. The man page or Command Reference doesn't document this.
This is for monitoring media server status. Is there a better command than this to check the media servers?
Thank you.
Kind regards
Ramassh
01-30-2018 11:07 PM
I have not seen a published list of possible values. Just some of the ones I have come across:
MachineState = active for disk jobs (12)
MachineState = active for tape and disk jobs (14)
MachineState = not active for tape drives and disk jobs (14) ### weird that the code for this is also 14
MachineState = administrative pause (13)
MachineState = not reachable by master (4)
MachineState = not active (0)
Hope others will add to this list.
01-31-2018 01:24 AM
Dont think there is much more to add, the complete list I could find
not active
administrative pause
not reachable by master
active for tape and disk jobs
active for tape jobs
active for disk jobs
not active for tape or disk jobs
01-31-2018 02:15 AM
I found this in the Commands Ref Guide for nbemmcmd without any further explanation:
-machinestateop clr_admin_pause | clr_admin_pause_and_set_active
| clr_disk_active | clr_ltid_restart |
clr_master_server_connectivity | clr_tape_active | reset_all |
set_admin_pause | set_disk_active | set_master_server_connectivity
| set_tape_active
Sets or clears the specified computer state.
My guess is that the MachineState(s) listed in above posts are more or less all that there is.