If you have successfully boot your CSN's Swarm nodes, and would like these chassis to always have those specific IP addresses, you can statically assign those IP addresses to specific MAC addresses. There There are some caveats that I will explain at the bottom.
...
You can statically assign those IP addresses to those MAC addresses. That That way you know that every time you boot the Swarm chassis with MAC 000c290ac7a2, it will come up with these 3 IP addresses: 192.168.202.84, 192.168.202.85, and 192.168.202.86. Most Most of the time, especially in a stable network environment, the same chassis will always get the same IP addresses, but there is no guarantee by default.
...
Within each of these configuration files, you can put whatever parameters are specific to that chassis. Usually Usually, each chassis should be configured exactly the same, but in the case we are discussing, you want to assign the networking parameters in the form below:
[root@c-csn2 nodeconfigs]# cat sn000c290ac7a2.cfg
ipaddress = 192.168.202.84 192.168.202.85 192.168.202.86
gateway = 192.168.202.3
netmask = 255.255.255.0
processes = 3
There is a script in the support bundle https://support.cloud.caringo.com/tools/caringoa script in the support bundle swarm-support-tools.tgz called called csn-create-nodeconfigs.sh that will allow you to create the appropriate files assuming your current ip-assignments output is the desired MAC to IP binding.
...
[root@c-csn2 ~]# cat /var/opt/caringo/netboot/content/nodeconfigs/sn000c290ac7a2.cfg
ipaddress = 192.168.202.84 192.168.202.85 192.168.202.86
gateway = 192.168.202.3
netmask = 255.255.255.0
processes = 3
These node-specific files only take effect after a reboot of the nodes.NOTE:
Info | ||
---|---|---|
| ||
|
...
|
...
|
...
|