I have 200+ media agent and need to mark it to maintenance mode via workflow or q-commands.
Page 1 / 1
Hi
Thanks for the question and welcome to the Community.
This is similar to this question, for putting MAs into maintenance mode:
There is a script to Set Media Agent Properties, one of which is marking MA offline/online:
- To mark MediaAgent as offline for maintenance
qoperation execscript -sn setMediaAgentProperty -si sample_ma -si 8 -si 1
- To unmark MediaAgent as offline for maintenance
qoperation execscript -sn setMediaAgentProperty -si sample_ma -si 8 -si 0
Thanks,
Stuart
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.