Page 1 of 1 1
Topic Options
#180659 - 2007-09-18 05:24 AM Is this a task for Kix
Ashpoint Offline
Starting to like KiXtart

Registered: 1999-08-27
Posts: 192
Loc: Sydney, NSW, Australia
My client wants me to replicate an INFO shared folder across his WAN (4 sites). The I: drive at each site has a number of business documents (Word, Excel, Powerpoint) that should be available to all users.

I have set up a timed event (each 2:00am) that does an XCOPY /D of the files (and folders) in the \\server\Info folder to the \\Office1\Info, \\Office2\Info, \\Office3\Info folders.

This has worked a treat till now, but he has now decided he may want to:

A) Remove a file

B) Rename a file (XCOPY leaves the old filename existing and copies the new one)

C) Move a file to another INFO folder (XCOPY ends up with the file in both folders).

I don't think that XCOPY can cover the above processes and wonder if Kix is a solution.

Please offer thoughts...

Thanks in advance...
Michael

Top
#180660 - 2007-09-18 05:58 AM Re: Is this a task for Kix [Re: Ashpoint]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Assuming Windows, I would use FRS. Barring that, RoboCopy.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#180661 - 2007-09-18 08:44 AM Re: Is this a task for Kix [Re: Les]
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1896
Loc: Hilversum, The Netherlands
Les means DFS (Distributed File System) \:\)
Top
#180665 - 2007-09-18 09:13 AM Re: Is this a task for Kix [Re: Arend_]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
No, he meant FRS (File Replication Service) which keeps DFS (Distributed File System) shares as well as the sysvol shares of DCs synchronized on 2K3 R2.

If this is bound to take place across 4 different WAN sites I'd not go with robocopy though.


Edited by Jochen (2007-09-18 09:15 AM)
_________________________



Top
#180678 - 2007-09-18 04:57 PM Re: Is this a task for Kix [Re: Jochen]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
I used to synchronize our software deployment shares between 5 sites using Unison. Unison is a freeware utility based on the unix RSync protocol, but supports bi-directional sync.

I used Kix scripts to determine when an update was needed (task scheduled each hour) which would then build a Unison command line. What I like about Unison is that it is very efficient, and well suited for WAN environments.

You can configure some parameter files to define what folders to sync, which to ignore, and such, so the Kix generated arguments determine only the source and destination. The Kix script ran on the "master" server, used DirList to locate the folders (no files) and check if any were newer than the last replication time. If they were, it would invoke a "push" replication (via Run) in the background using Unison.

Worked very well for us.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#180717 - 2007-09-19 06:23 AM Re: Is this a task for Kix [Re: Glenn Barnas]
Ashpoint Offline
Starting to like KiXtart

Registered: 1999-08-27
Posts: 192
Loc: Sydney, NSW, Australia
Thanks all for comments.

I downloaded both Unison and Robocopy and believe that Robocopy might be just what we need.

Michael

Top
#180722 - 2007-09-19 05:20 PM Re: Is this a task for Kix [Re: Ashpoint]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
The reason I suggested Unison over Robocopy is that it is better suited for WAN replication.

Robocopy must read/evaluate the remote files to determine what to copy - this puts a heavy load on your communcation circuits. We've saturated a 256K frame link using Robocopy to sync a folder containing only about two dozen Windows hotfixes.

Unison, on the other hand, is a form of client-server synchronization. You "install" Unison (put the executable anywhere in the path) on both systems. Running it on one launches a copy on the remote - they exchange information about the files to be synchronized, so the majority of the work is done without network traffic. Based on the information transferred during setup, the program knows which files to transfer, and in what direction. It's more difficult to set up the first time, but you'll replicate more quickly without overloading the WAN links. Using Unison, we've been able to replicate our entire software repository between sites without saturating the network.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#180742 - 2007-09-19 10:15 PM Re: Is this a task for Kix [Re: Glenn Barnas]
Ashpoint Offline
Starting to like KiXtart

Registered: 1999-08-27
Posts: 192
Loc: Sydney, NSW, Australia
Thank you Glen...

Your key phrase "It's more difficult to set up the first time" illustrates my reason for continuing with Robocopy. But, you can now take credit for causing me to reschedule my weekend .

I will re-visit Unison during the weekend and see what I come up with.

Regards,
Michael

Top
#180743 - 2007-09-19 11:00 PM Re: Is this a task for Kix [Re: Ashpoint]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
Hmm.. either "you're welcome", or "I'm sorry" ;\)

I'll see if I can find my config files to get you started. I'm no longer with the company where I employed this, but was just asked this morning to put together a replication process between the two primary data centers here, so I'll be revisiting all of this myself in the next few days.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#180750 - 2007-09-20 06:20 AM Re: Is this a task for Kix [Re: Glenn Barnas]
Ashpoint Offline
Starting to like KiXtart

Registered: 1999-08-27
Posts: 192
Loc: Sydney, NSW, Australia
I'll accept the "You're welcome" AND your example config(s) if you can locate them.

Michael

Top
#180779 - 2007-09-23 01:42 AM Re: Is this a task for Kix [Re: Ashpoint]
Ashpoint Offline
Starting to like KiXtart

Registered: 1999-08-27
Posts: 192
Loc: Sydney, NSW, Australia
Thought you might be intersted in my efforts.

I struggled with Unison but had "permissions" issues and "tried" my patience (and knowledge).

Robocopy seems to be fitting to the task so I have configured a timed event and the client will run their tests of Robocopy over the next few weeks.

Again, the KiXtart BBS has been a wonderful guide for me. Thanks again to all contributors.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.087 seconds in which 0.04 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org