LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-02-2007, 10:00 AM   #1
Vitalka
LQ Newbie
 
Registered: Nov 2005
Location: Canada
Distribution: CentOS 5.0 & Suse 10.3
Posts: 26

Rep: Reputation: 15
Mysql master and replica over VPN


Hello.

I have two mysql servers. One is master and the other one exact replica. I need to setup a VPN connection between the two. I looked at poptop VPN solution and it seems like something I could use.

My question is:
- when I'll get one of the machines set up as a VPN server what should I use to establish VPN connection between the two when replica connects to master to get the data?

Distro used is Fedora Core 6


Thank you for your time.
 
Old 10-04-2007, 07:40 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
The concept of a VPN is that all machine connected to a VPN appear to have open connections to each other. Like they are connected to each other thru routers without any restrictions or protection. But the restrictions are only lifted from one machine to the other, from other machines not connected to the VPN or the VPN gateway there is a protection, there is no security breach.

So if you have your client and server set up as 192.168.0.10 and 192.168.20.10, you can freely communicate with the two.

You can happily dump the database from 192.168.0.10 to 192.168.20.10 as if the machine were on the same LAN.

Now I have this experience with OpenVPN, not with poptop. OpenVPN requires that the subnets on both sides are different, but routes to get from one to the other subnet are set up automatically.

jlinkels
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mirror disk - just once (replica) czezz Linux - Software 7 08-10-2009 12:07 PM
Multiple Master to one Slave for MySQL Replication Swakoo Linux - General 0 03-31-2007 04:40 AM
LXer: MySQL Master Master Replication LXer Syndicated Linux News 0 10-08-2006 10:54 AM
MySQL issue on Linux master 2.6.9-5.EL sanovilinux Linux - Enterprise 6 08-30-2005 02:23 AM
MySQL Master Redundancy power182 Linux - Software 1 10-22-2003 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration