We have multiple Hyperscale \ ScaleProtect implementations some with six bricks in the cluster. It is very tedious to right click, check the box, say ok every time you need to do an OS upgrade (soon to be monthly) or some other maintenance that requires the cluster to be in maintenance mode. Does anyone have a script or a workflow they can share?
Solved
Workflow to put Hyperscale cluster media agents into maintenance mode

Best answer by Stuart Painter
Thanks for the question.
I’ve been checking documentation:
Installing Operating System Updates on Existing Nodes suggests to Put Media Agent into Maintenance Mode, but using the GUI.
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
But from what I can see we don’t have a specific script or workflow to set HS cluster status.
Thanks,
Stuart
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.