SDN configuration for new cluster members

Axl_fzetafs

Active Member
Apr 29, 2020
80
2
28
52
Hi,

it's a test-bed hence no criticality.
I started experimenting with one server and I configured the SDN part.
I then created the cluster and joined a second node.
At the moment, if I connect to the GUI using the 1st node I see the SDN section of the Datacentre, if I connect using the GUI on the 2nd one I don't see the SDN section.

What is the best way to replicate the SDN config from node 1 to node 2? Manually copying the files /etc/pve/sdn/zones.cfg and /etc/pve/sdn/vnets.cfg from the first to the second and then run "ifreload -a -d"?

Alex
 
Those are already replicated. The issue is probably that you didn't install the `libpve-network-perl` package on the 2nd node.
 
  • Like
Reactions: Axl_fzetafs
Though vnets.cfg and zones.cfg are transferred to the new node, the file /etc/nerwork/interfaces.d/sdn doesn't seem to be copied.
I'm having hard time to replicate the network config on the new node...
 
Make sure you configure it for your new node as well.
The file /etc/network/interfaces.d/sdn is a local file for your node.

What does it show under Node -> SDN in the GUI?
 
Though vnets.cfg and zones.cfg are transferred to the new node, the file /etc/nerwork/interfaces.d/sdn doesn't seem to be copied.
I'm having hard time to replicate the network config on the new node...
the /etc/nerwork/interfaces.d/sdn is generated locally on each host when you click on apply in sdn main panel.