Replace hostgroup on 100's of hosts
Posted: Thu May 27, 2021 8:16 am
Hi,
We are expanding our deployment of mod_gearman workers and need to switch several 100s of hosts to a new worker.
To do this, we need to remove a mg_objects_ hostgroup currently set on each host (not inherited) and add a new, different mg_objects hostgroup.
What would be the easiest way to do this?
We've looked at using the Bulk Modifications Tool, but it is really cumbersome to remove a hostgroup from large numbers of individual hosts using it....
Is there a better solution?
We are expanding our deployment of mod_gearman workers and need to switch several 100s of hosts to a new worker.
To do this, we need to remove a mg_objects_ hostgroup currently set on each host (not inherited) and add a new, different mg_objects hostgroup.
What would be the easiest way to do this?
We've looked at using the Bulk Modifications Tool, but it is really cumbersome to remove a hostgroup from large numbers of individual hosts using it....
Is there a better solution?