You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Marty Godsey <ma...@rudio.net.INVALID> on 2025/08/11 13:17:13 UTC

Automated VM Rebalance

Hello Everyone,

I was wondering if there was a way to have Cloudstack do an automatic rebalance of VMs?

As an example, when we perform maintenance on a node, we will migrate all the VMs from that node to another node, as well all know. Then, after maintenance is done, we would want to rebalance the nodes again. Is this possible? Would it be a cron job kicking off an API call, etc?

Any help is always appreciated.     

Re: Automated VM Rebalance

Posted by Kiran Chavala <ki...@shapeblue.com>.
Hi Marty

You can try Cloudstack DRS feature

https://docs.cloudstack.apache.org/en/4.20.1.0/adminguide/clusters.html#cloudstack-drs

https://www.youtube.com/watch?v=8yrIe_O5688&t=22s&pp=ygUOY2xvdWRzdGFjayBkcnM%3D

https://www.youtube.com/watch?v=nSwpHgRUVoI&t=168s&pp=ygUOY2xvdWRzdGFjayBkcnPSBwkJrQkBhyohjO8%3D


Regards
Kiran



 

From: Marty Godsey <ma...@rudio.net.INVALID>
Date: Monday, 11 August 2025 at 6:48 PM
To: users <us...@cloudstack.apache.org>
Subject: Automated VM Rebalance
Hello Everyone,

I was wondering if there was a way to have Cloudstack do an automatic rebalance of VMs?

As an example, when we perform maintenance on a node, we will migrate all the VMs from that node to another node, as well all know. Then, after maintenance is done, we would want to rebalance the nodes again. Is this possible? Would it be a cron job kicking off an API call, etc?

Any help is always appreciated.     

Re: Automated VM Rebalance

Posted by Ruben Bosch <ru...@yourhosting.nl>.
Hi Marty,

You're looking for CloudStack DRS which was introduced last year in 4.19: https://www.shapeblue.com/cloudstack-drs/

Sent from Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Marty Godsey <ma...@rudio.net.INVALID>
Sent: Monday, August 11, 2025 3:17:13 PM
To: users <us...@cloudstack.apache.org>
Subject: Automated VM Rebalance

Hello Everyone,

I was wondering if there was a way to have Cloudstack do an automatic rebalance of VMs?

As an example, when we perform maintenance on a node, we will migrate all the VMs from that node to another node, as well all know. Then, after maintenance is done, we would want to rebalance the nodes again. Is this possible? Would it be a cron job kicking off an API call, etc?

Any help is always appreciated.