langkeziju11 / mysql-master-ha

Automatically exported from code.google.com/p/mysql-master-ha
0 stars 0 forks source link

SSH access on other VLAN (different IP than the MySQL access) #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In production environment, the masterha's script can't accessed to MySQL's host 
with the same IP than for SSH's access because we are in a multi VLAN 
configuration.
For security reason, the SSH is not permit on the data's VLAN.

Is it possible to do an evolution of your product for parameterize an SSH's IP 
per host in the configuration file, please?

It's for a client with SkySQL Support.

Original issue reported on code.google.com by jacques....@laposte.net on 25 Oct 2011 at 4:47

GoogleCodeExporter commented 9 years ago
Sorry for the late reply. I didn't get notification from google code (I enabled 
just now so I won't miss future notifications).

I've started implementation and will support in the upcoming version.

Original comment by Yoshinor...@gmail.com on 8 Nov 2011 at 10:04

GoogleCodeExporter commented 9 years ago
I've implemented and pushed to the GitHub tree.
https://github.com/yoshinorim/mha4mysql-manager
https://github.com/yoshinorim/mha4mysql-node

Both node and manager packages need to be updated.
Please use ssh_host and/or ssh_port parameters.
http://code.google.com/p/mysql-master-ha/wiki/Parameters?#ssh_host

Feel free to reopen this issue if you encounter problems.

Original comment by Yoshinor...@gmail.com on 9 Nov 2011 at 9:47

GoogleCodeExporter commented 9 years ago
The ssh_port parameter isn't passed to master_ip_online_change script.

Otherwise, it's working fine.
Thanks.

Original comment by jacques....@laposte.net on 9 Nov 2011 at 3:27

GoogleCodeExporter commented 9 years ago
For backward compatibility, ssh_port (--orig_master_ssh_port and 
--new_master_ssh_port) is not passed to master_ip_online_change script (and 
other scripts) if ssh_port is 22. If port is not 22, these parameters will be 
passed.

Original comment by Yoshinor...@gmail.com on 9 Nov 2011 at 3:46