Skip to main content

I have 200+ media agent and need to mark it to maintenance mode via workflow or q-commands. 

Hi @psbsanthoshkumar 

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


@Stuart Painter Do we have the similar query to mark the MA to offline mode ?


Reply