Change node IP/name in cluster without re-init


#1

Hi,
I’m using CB 4.5.1 in cluster mode with 2 nodes, due to limitation of public network interface eth0, I want to change the setting for comunication between 2 nodes use eth1, can I do it without re-init the cluster ?
I tried “node/controller/rename” api, but got error “Renaming is disallowed for nodes that are already part of a cluster”

Thanks


#2

Hi @tinygipxy

Have you added the servers with a hostname or the ip?


#3

I added the servers with IP address


#4

then you have to remove the node and readd it with the new ip address

I recommend to use dns-names instead of ip addresses. With this solution you could enter a hosts file entry to redirect the internal cluster traffic over a dedicated network