LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2014, 02:25 AM   #1
fantabulous
LQ Newbie
 
Registered: Jul 2014
Posts: 6

Rep: Reputation: Disabled
Replication/Sync/Management Server/Master Server - Bash


Good day all

I am still new to Linux & would appreciate some guidance/direction to some useful documents wrt the following:

There is 1 management server
There are 4 master servers

I wrote a script to remove duplicates on a file which is present on all 4 master servers.

Problem statement: Which is the "easiest" way for me to run this script across all servers?

I know I can run the script on each of the 4 masters & sync from
the management server.

Can I run the script on 1 master servers & then sync from the management server across all master servers?

Any efficient methods/advice will be appreciated


Thanks!
 
Old 09-26-2014, 04:54 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Can I run the script on 1 master servers & then sync from the management server across all master servers?
Yes; setup ssh-key access for a dedicated 'mgr' user acct, then you can automate this kind of stuff.
http://www.cyberciti.biz/faq/how-to-...on-linux-unix/

Of course, if you nfs shared a disk, you could do it that way instead.

Last edited by chrism01; 09-26-2014 at 05:04 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Setup Master-Slave Replication in MySQL Server LXer Syndicated Linux News 0 06-05-2013 11:23 PM
LDAP Replication in Mirror mode or Need to convert Slave server to a Master server geopcgeo Linux - Server 0 11-06-2012 08:23 AM
Single-Master Replication steps for RedHat Directory Server 8.2 wisemind85 Red Hat 0 05-07-2012 01:50 AM
H/W requirement for Ldap Master to Master Replication (3000 + thousand Users) niraj.kumar Linux - Server 1 08-11-2009 05:24 AM
LXer: Setting Up Master-Master Replication On Four Nodes With MySQL 5 On Debian Etch LXer Syndicated Linux News 0 11-20-2008 07:30 PM


All times are GMT -5. The time now is 02:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration