In the "physical world", yes, you could move the NICs from old L2-vlan port
group to a new port group (previously created by ACS, by spinning at least
one VM in that new network) - but then you would need to hack CloudStack DB
to tell it that you VM is on another L2 network - and that would be a risky
business.

I would consider scripting that with CloudMonkey (attaching a new network
to VM, make it default, detach the old one) - it should be pretty
achievable after some testing.

Best,

On Thu, 4 Mar 2021 at 07:16, Gajdos, Dominik <gaj...@netcloud.ch.invalid>
wrote:

> Hi
>
>
>
> I have to change the instance NIC L2 network to another L2 network.
>
>
>
> How can I do this without adding a 2nd NIC – Setting it as default –
> Removing the old one?
>
>
>
> We have a migration of about 100VMs and I'm looking for the most efficient
> way.
>
>
>
> In vSphere it's possible to change the port group of a VM on-the-fly.
>
>
>
> What are my options in Cloudstack?
>
>
>
> Many thanks in advance.
>
>
>
> Nik
>


-- 

Andrija Panić

Reply via email to