LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Replication/Sync/Management Server/Master Server - Bash (https://www.linuxquestions.org/questions/linux-newbie-8/replication-sync-management-server-master-server-bash-4175520148/)

fantabulous 09-26-2014 02:25 AM

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!

chrism01 09-26-2014 04:54 AM

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.


All times are GMT -5. The time now is 10:45 PM.