The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Synchronize your databases with SqlSync iBot UNIX and Linux RSS News 0 05-08-2008 08:20 AM
need a way to synchronize processes inabramova High Level Programming 1 03-20-2008 10:12 AM
how to synchronize different dirs reldb Shell Programming and Scripting 1 12-09-2006 05:08 PM
synchronize as in java linuxpenguin High Level Programming 8 03-14-2004 06:02 PM
Conversion between different block size filesystems pankschawla UNIX for Advanced & Expert Users 2 08-11-2003 07:18 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-16-2008
Registered User
 

Join Date: May 2007
Posts: 23
Need to synchronize filesystems with huge size

Hello,

I am using IXOS 3rd party utility to maintain invoices (images) in my client's SAP system. We have a DR (Disaster Recovery) setup & for that I need to synchronize my /ixos filesystem (with size more than 50 GB) between two servers say x182 & x050.

Initially I thought to tar the directory then rcp it & then un'tar it at destination but this method is giving me problems related to storage of the tar file & the time it will take it to rcp the huge tar file.

I tried RDIST, but that also takes lot of time (around 5-6 hours).
Can anybody suggest me any other solution to this problem?

Regards,
Vishal
Reply With Quote
Forum Sponsor
  #2  
Old 04-16-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
10GB per hour sounds half decent. How fast is the connection? If the majority of the files are not changing after you have copied them once, rsync would sound like the ideal solution.
Reply With Quote
  #3  
Old 04-16-2008
Registered User
 

Join Date: May 2007
Posts: 23
hi

Hi Era,

How differrent is RSYNC from RDIST?

- Vishal
Reply With Quote
  #4  
Old 04-16-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
Perhaps you should visit rsync - Wikipedia, the free encyclopedia
Reply With Quote
  #5  
Old 04-21-2008
Registered User
 

Join Date: Feb 2008
Posts: 8
If its a 50GB SAP system I assume that most of that size is an Oracle database?

If thats the case then Oracle must not be active when you make a DR copy of it.

Oracle has lots of files open and keeps making changes. If you are making copies of it over a several hour window then your copy is likely to be junk (especially given SAP likes updating Oracle).

I think IXOS is an archiving solution isnt it? If the IXOS archive is on a unix filesystem and is not an open database then you can copy those files whenever you like. The files in an IXOS archive are almost never going to change so using a utitility like rsync is a possibility. Rsync will only copy the stuff that has changed since the last time it ran.

To answer your actual question. Both rdist and rsync will only copy the files that have changed. Rsync is considered to be better in most circles and comes with the ability to only copy the blocks that have changed in files rather than copy whole files (there are cavaets on using that functionality though). Rsync has more functionality in general.

If you ran rdist to an empty directory on your DR machine then it would have copied the entire filesystem. Try running it a second time when there is already a full copy in place on the remote machine, and it should only copy across and changes since the last time it ran. Use rsync, not rdist though
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:06 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0