cancel
Showing results for 
Search instead for 
Did you mean: 

nbemmcmd MachineState

Ramassh_Theiven
Level 3
Partner

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

3 REPLIES 3

Marianne
Level 6
Partner    VIP    Accredited Certified

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.

mph999
Level 6
Employee Accredited

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

Marianne
Level 6
Partner    VIP    Accredited Certified

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.