Solved

Workflow to put Hyperscale cluster media agents into maintenance mode

  • 15 May 2021
  • 2 replies
  • 394 views

Badge +1

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?

icon

Best answer by Stuart Painter 16 May 2021, 08:17

View original

2 replies

Userlevel 7
Badge +15

Hi @Andrew Madsen 

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

Badge +1

As far as I can tell the entire cluster needs to be placed in maintenance mode one node at at time. This is why it is so tedious especially if you have six or twelve nodes in the cluster. Now to figure out a workflow.  

Reply