Not the answer you need?
Register and ask your own question!

PXC in private cloud and Azure

sarssars EntrantInactive User Role Beginner
Hi,

I've some PXC servers in own private cloud and Azure.

In private cloud, IP address is mapped by firewall. And in Azure, use Public Virtual IP to get assess over Internet.

For example,
DB 1: Public IP = 1.2.3.4 ; Private IP = 192.168.1.1 (eth0)
DB 2: Public IP = 138.91.x.x ; Private IP = 100.69.x.x (See Photo)

wsrep_cluster_address is setting to public IP addresses:


Both VM do not known their public IP address.
Through error log, it seems that both DBs connect to another one through private IP, and failed.

How to setup sst to access each other through public IP address?
In other words, tell another DB its public IP, and let another DB connect to them through public IP address.

Comments

  • przemekprzemek Percona Support Engineer Percona Staff Role
    I am not sure if I understand correctly, but if both hosts have direct connectivity via public IPs, and they can access their needed TCP ports (4567, 4568, 4444), all you need to do is to set the correctly.
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.