To sync folder for 3 server and all 3 is master


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers To sync folder for 3 server and all 3 is master
# 1  
Old 07-12-2010
To sync folder for 3 server and all 3 is master

I have 3 server with same folder name and path in it /home/test. But the data in folder quantity is not same for 3 of them and I want to sync the data inside the each folder to be equal. Its not like master and client, but looks like all three server is master to copy to each other.

1- Can rsync do this?
# 2  
Old 07-12-2010
rsync is normally a source-vs-destination syncing. I wonder if, for what you are trying to achieve, using a NFS mount on all three servers wouldnt be the solution...
# 3  
Old 07-12-2010
thank you for reply...i just tested nfs and it works..but the problem is the mount size from client server to see master a whole drive....

server1
> Full parition for root / and i create a test path /tmp/test for all 3 server. My server1 / partition is 44GB

server 2
> i try to mount /tmp/test from server2 to server1 and it mount perfectly but when i fdisk -l, then i saw /tmp/test from server2 is 44GB....how to set only 2GB without disturbing server1 partition?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to find out which server is LDAP/NIS master?

I have some scripts where I go and do some LDAP/NIS queries to report on users on Unix servers. What I am trying to figure out is, how do I know which server is the LDAP? The configs have been in place long before I took over so was hoping someone had some insight on how to figure this out. I must... (1 Reply)
Discussion started by: dagamier
1 Replies

2. UNIX Desktop Questions & Answers

How can I replicate master master and master master MySQL databse replication and HA?

I have an application desigend in PHP and MySQl running on apache web server that I is running on a Amazon EC2 server Centos. I want to implement the master-master and master slave replication and high availability disaster recovery on this application database. For this I have created two... (0 Replies)
Discussion started by: Palak Sharma
0 Replies

3. Linux

How to create master+forwarder dns server in Linux?

Hi Team I have created one new dns server in lab and its working properly. Earlier we were using another dns server for lab pc's as 10.20.30.xx. which is outside the lab premises. now issue with newly created as its not resolving query as previous. I am told by some to use forwarder option for... (2 Replies)
Discussion started by: boby.kumar
2 Replies

4. Red Hat

Yppasswdd not running on nis master server

Goodmorning i am preparing Nis for my test lab.Running Redhat 5.4 on master and centos for my client.Master server running portmap,ypserv,yppasswdd and client running portmap,ypbind and ypxfrd. ypcat and other yp commands are running fine frm client.But when i try yppasswdd on client to change... (1 Reply)
Discussion started by: Vaibhav.T
1 Replies

5. Linux

Questions about the NTP time server sync

Hi folks, I have developed a Linux server for my customer. After migrating the server to my customer site, I was trying to sync its time to the NTP time servers at my customer site. Below is the ntp.conf: % vi /etc/ntp.conf # Permit time synchronization with our time source, but do not # permit... (2 Replies)
Discussion started by: kimurayuki
2 Replies

6. Shell Programming and Scripting

Help with server/directory sync

Hi guys, can you help. I have looked all over the site and can not find the info I'm after. Perhaps I am missing something very obvious. I want to syncronise between 2 servers, I can not use NFS mount/share. So I have been looking at scp, rsync, rdist. Thing is, I want only the newer files to... (2 Replies)
Discussion started by: Boloic
2 Replies

7. AIX

NIM Master as Mgmt Server

Guys, I need your help I got a requirement from a cUstomer asking for a specific design He wants to use the NIM Master as one single mgmt server and access the nodes maintained by it there by the accounting is in one single server for all the nodes Note:- Direct login to the nodes will... (3 Replies)
Discussion started by: kkeng808
3 Replies

8. UNIX for Advanced & Expert Users

Sync Time/date with NTP server

Hello all, What would be the most convienint and proper way on syncing up the time and date on Solaris 8 servers with an NTP server? Any help would be appreciated. Thanks (2 Replies)
Discussion started by: Sunguy222
2 Replies

9. SuSE

unable to sync the time with ntp server

Hi folks, The server time is no tgetiing synched up with the NTP server. I tried ntpdate -u <ipadress> this is not working. please help out. regards, Sag. (7 Replies)
Discussion started by: sag71155
7 Replies
Login or Register to Ask a Question