You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Francisco Arencibia Quesada <ar...@gmail.com> on 2023/12/05 09:34:18 UTC

Migrate VR and all VMs hanging from it

Good morning guys,

I have a task to complete and would like to know if someone has done this
before, or if CloudStack already has a feature like this, before proceeding
with the assignment. The intention is to create a script that assists in
the bulk migration of VMs and their VR.  The idea is to take the VMs from
one hypervisor, check their network with the associated VR, and then review
the VMs that rely on that network. With this list, proceed to migrate in
bulk.

Kind Regards
-- 
*Francisco Arencibia Quesada.*
*DevOps Engineer*

Re: Migrate VR and all VMs hanging from it

Posted by Stephan Bienek <st...@bienek.org>.
Hello Francisco,

in case it's related to all VMs/VRs on one hypervisor/host, you could put the host to maintenance mode.
Cloudstack will automatically migrate all VMs including VRs, to another host.

Best regards,
Stephan

> Francisco Arencibia Quesada <ar...@gmail.com> hat am 05.12.2023 10:34 CET geschrieben:
> 
>  
> Good morning guys,
> 
> I have a task to complete and would like to know if someone has done this
> before, or if CloudStack already has a feature like this, before proceeding
> with the assignment. The intention is to create a script that assists in
> the bulk migration of VMs and their VR.  The idea is to take the VMs from
> one hypervisor, check their network with the associated VR, and then review
> the VMs that rely on that network. With this list, proceed to migrate in
> bulk.
> 
> Kind Regards
> -- 
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*