Change VLAN ID
kpiti
23 Posts
March 17, 2023, 2:04 pmQuote from kpiti on March 17, 2023, 2:04 pmHi,
I need to change VLAN ID on our CEPH public interface - now bond0.1353 to VID 1352. Additionally I need to change the netmask from /24 to /23. The IPs will stay the same.
Is it enough (and correct) just to change it in /opt/petasan/config/cluster_info.json or should I use some command for that. Should I manually commit changes at the same time (ip del IP/24 dev bond0.1353 && ip add IP/23 dev bond0.1352) or will everything blow up at the time?
Thanks,
Jure
Hi,
I need to change VLAN ID on our CEPH public interface - now bond0.1353 to VID 1352. Additionally I need to change the netmask from /24 to /23. The IPs will stay the same.
Is it enough (and correct) just to change it in /opt/petasan/config/cluster_info.json or should I use some command for that. Should I manually commit changes at the same time (ip del IP/24 dev bond0.1353 && ip add IP/23 dev bond0.1352) or will everything blow up at the time?
Thanks,
Jure
admin
2,930 Posts
March 18, 2023, 7:54 pmQuote from admin on March 18, 2023, 7:54 pmyes it is in the cluster_info.json config fle, it will be applied on your next reboot. it is possible to re-apply this file dynamically without reboot or be use the ip command to manually change just the backend interface, but even if you do it without reboot it is likely there will be traffic interruption to the node and so a reboot is safer, Also you need to change the vlan on the switch ports.
yes it is in the cluster_info.json config fle, it will be applied on your next reboot. it is possible to re-apply this file dynamically without reboot or be use the ip command to manually change just the backend interface, but even if you do it without reboot it is likely there will be traffic interruption to the node and so a reboot is safer, Also you need to change the vlan on the switch ports.
Last edited on March 18, 2023, 7:55 pm by admin · #2
kpiti
23 Posts
March 18, 2023, 8:02 pmQuote from kpiti on March 18, 2023, 8:02 pmHi, thanks, just did it all and it went smoothly without service downtime. Just got some "Slow OSD heartbeats" warning..
I rebooted them now and it seems to be running fine..
Thanks
Cheers, Jure
Hi, thanks, just did it all and it went smoothly without service downtime. Just got some "Slow OSD heartbeats" warning..
I rebooted them now and it seems to be running fine..
Thanks
Cheers, Jure
Change VLAN ID
kpiti
23 Posts
Quote from kpiti on March 17, 2023, 2:04 pmHi,
I need to change VLAN ID on our CEPH public interface - now bond0.1353 to VID 1352. Additionally I need to change the netmask from /24 to /23. The IPs will stay the same.
Is it enough (and correct) just to change it in /opt/petasan/config/cluster_info.json or should I use some command for that. Should I manually commit changes at the same time (ip del IP/24 dev bond0.1353 && ip add IP/23 dev bond0.1352) or will everything blow up at the time?
Thanks,
Jure
Hi,
I need to change VLAN ID on our CEPH public interface - now bond0.1353 to VID 1352. Additionally I need to change the netmask from /24 to /23. The IPs will stay the same.
Is it enough (and correct) just to change it in /opt/petasan/config/cluster_info.json or should I use some command for that. Should I manually commit changes at the same time (ip del IP/24 dev bond0.1353 && ip add IP/23 dev bond0.1352) or will everything blow up at the time?
Thanks,
Jure
admin
2,930 Posts
Quote from admin on March 18, 2023, 7:54 pmyes it is in the cluster_info.json config fle, it will be applied on your next reboot. it is possible to re-apply this file dynamically without reboot or be use the ip command to manually change just the backend interface, but even if you do it without reboot it is likely there will be traffic interruption to the node and so a reboot is safer, Also you need to change the vlan on the switch ports.
yes it is in the cluster_info.json config fle, it will be applied on your next reboot. it is possible to re-apply this file dynamically without reboot or be use the ip command to manually change just the backend interface, but even if you do it without reboot it is likely there will be traffic interruption to the node and so a reboot is safer, Also you need to change the vlan on the switch ports.
kpiti
23 Posts
Quote from kpiti on March 18, 2023, 8:02 pmHi, thanks, just did it all and it went smoothly without service downtime. Just got some "Slow OSD heartbeats" warning..
I rebooted them now and it seems to be running fine..
Thanks
Cheers, Jure
Hi, thanks, just did it all and it went smoothly without service downtime. Just got some "Slow OSD heartbeats" warning..
I rebooted them now and it seems to be running fine..
Thanks
Cheers, Jure