Change Cluster Floating IP

Status
Not open for further replies.

HAWEXC

New User
Joined
Nov 10, 2021
Messages
2
Reaction score
0
Where/How can I change the cluster floating IP? i'm imaging a few clusters and I can change the nodes file, but i'm not sure where to change the virtual ip without doing a re-install. these are all on rasp-pi 4
 
Hi @HAWEXC,

I'd suggest reinstallation as the fastest method of getting this done.
  1. Uninstall both SBCs
  2. Reinstall with the desired IPs
  3. From the Management Console change the floating IP address in the Phone Provisioning tab of each extension as they'll still be pointing to the old IPs
  4. Manually restart all of the phones.
 
Where/How can I change the cluster floating IP? i'm imaging a few clusters and I can change the nodes file, but i'm not sure where to change the virtual ip without doing a re-install. these are all on rasp-pi 4

recursive grep:
Bash:
pi@gv3cxsbc2:/etc $ grep -r 10.30.33 * 2>/dev/null
3cxsbc.conf.local:LocalSipAddr=10.30.33.10
3cxsbc.info:this_addr=10.30.33.9
3cxsbc.info:peer_addr=10.30.33.8
3cxsbc.info:clu_addr=10.30.33.9
3cxsbc.info:clu_peer=10.30.33.8
3cxsbc.info:sbc_addr=10.30.33.10
corosync/corosync.conf:                name: [email protected]
corosync/corosync.conf:                ring0_addr: 10.30.33.9
corosync/corosync.conf:                name: [email protected]
corosync/corosync.conf:                ring0_addr: 10.30.33.8
dhcpcd.conf:static ip_address=10.30.33.9/24
dhcpcd.conf:static routers=10.30.33.1

.8 is my first SBC. .9 is my second SBC. .10 is the floating IP.

I'm only seeing my floating IP in two files within /etc: "/etc/3cxsbc.conf.local" and "/etc/3cxsbc.info". If you're only updating the floating IP, you could try editing those two files on both SBCs and then reboot them both at the same time? I haven't tried this so please only attempt in a test environment. Let me know you you go.
 
Status
Not open for further replies.

Forum statistics

Threads
111,975
Messages
590,084
Members
164,902
Latest member
OnionITServices