Virtual Server Cluster – Move workload on CPU spike

Here's a good question emailed to me yesterday. If you seen the Virtual Server 2005 R2 Host Clustering demos during events such as IT Forum last year, in addition to the planned & unplanned failover as per my blogcasts a few months ago, we include MOM 2005 in the mix to monitor if the utilisation of a CPU goes over a certain threshold, a script is fired off to force one or more workloads to be moved to another machine. The question was how do we do that. Answer is very simple - using a one line script similar to below. Nothing more complex that the code already in the host clustering script itself.

cluster.exe /cluster:<cluster name> group <group name> /move


Comments (0)

Skip to main content