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

 

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    getting config from other node failed
    Viewed 140 times since Wed, Jan 9, 2019
    Internal command ezinfo or ezlist does not work even though i am in the admins group.
    Viewed 1740 times since Thu, Nov 23, 2017
    main admin user account suspended after entering incorrect security code
    Viewed 1489 times since Wed, Jun 14, 2017
    Configure Automatic su or sudo
    Viewed 2285 times since Thu, Jun 15, 2017
    usernames already exists
    Viewed 51 times since Fri, Mar 15, 2019
    NODE_RDP_PROTOCOL_X224_NEG_FAILURE()
    Viewed 1160 times since Fri, Feb 2, 2018
    unable to ssh because ip not allowed because none of user’s groups are listed in AllowGroups
    Viewed 5692 times since Thu, Jun 15, 2017
    ERROR db user: Incorrect datetime value: ’0000-00-00 00:00:00’ for column ’expiry’ at row 1
    Viewed 128 times since Tue, Feb 12, 2019
    404 error on login with nginx
    Viewed 1621 times since Wed, Jun 14, 2017
    reCaptcha: Could not open socket Connection timed out
    Viewed 2043 times since Wed, Jun 14, 2017