Hi all,
Today a VLAN was re-numbered. Say from 200 to 300. By the networking guys.
In our (three) proxmox clusters, we have more than 150 VM.
Some of them are connected to VLAN 200.
We need to move all of them to VLAN 300.
We tried via web guy on a few one : it works, live, no need to restart / reload anything.
The only thing done via gui in the conf file of each VM is :
- replace "tag=200" by "tag=300" for tagged NIC,
- replace "bridge=vmbr200" by "bridge=vmbr300" for NIC connected to a tagged vmbr.
But it takes soooo much time...
In order to do things quickly, I scripted this with :
cd /etc/pve/nodes
find . -name "*.conf" -type f -print0 |xargs -0 sed -i 's/tag=200/tag=300/g'
find . -name "*.conf" -type f -print0 |xargs -0 sed -i 's/bridge=vmbr200/bridge=vmbr300/g'
This is working correctly, files are exactly the same this way than via giu, BUT, new config is NOT taken into account!
Is there an easy way to reload and activate new VMs conf, without restarting networking stack?
Thanks,
Christophe.
Today a VLAN was re-numbered. Say from 200 to 300. By the networking guys.
In our (three) proxmox clusters, we have more than 150 VM.
Some of them are connected to VLAN 200.
We need to move all of them to VLAN 300.
We tried via web guy on a few one : it works, live, no need to restart / reload anything.
The only thing done via gui in the conf file of each VM is :
- replace "tag=200" by "tag=300" for tagged NIC,
- replace "bridge=vmbr200" by "bridge=vmbr300" for NIC connected to a tagged vmbr.
But it takes soooo much time...
In order to do things quickly, I scripted this with :
cd /etc/pve/nodes
find . -name "*.conf" -type f -print0 |xargs -0 sed -i 's/tag=200/tag=300/g'
find . -name "*.conf" -type f -print0 |xargs -0 sed -i 's/bridge=vmbr200/bridge=vmbr300/g'
This is working correctly, files are exactly the same this way than via giu, BUT, new config is NOT taken into account!
Is there an easy way to reload and activate new VMs conf, without restarting networking stack?
Thanks,
Christophe.