Skip to Content

Primary node showing the public ip instead of lan ip when cluster is configured

The cluster tab of master node shows the licensed secondary ip and not the lan ip of the slave node. This happens when the slave node is behind a NAT. 

secondary node ip

In order to correct the other node ip, run the following command

/usr/local/ezlogin/ez_queryrunner.php "update prefix_settings set value=’192.168.56.112’ where name=’remote_ip’"

 Now the cluster tab would show the lan ip of the other node instead of the public ip

secondary-fixed