DBY
Who's Online
0 registered (), 16 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Latest Photo Gallery
light pole in the water
Eastern State Penitentiary - Philadelphia
Top Posters (30 Days)
HarryB 13
FinalDJ 11
Anartist 11
Goofy 6
m2h 3
Fitzy 3
firebane 1
bitstorm 1
Doorslammer 1
Dough 1
Page 1 of 2 1 2 >
Topic Options
#33929 - 08/15/02 12:46 AM ? Need help with file replication/mirroring?
halo Offline
Plunderer

Registered: 10/05/01
Posts: 576
Loc: Sweden
Hi all,

I have a problem I need to solve.

We have two different directory trees on one server. If a file gets uploaded to any of those two directory trees, or if a file is modified - this change must be replicated/mirrored at once (as close to realtime as possible) to another server. So that whenever a users enters the second server, the contents are the same as on the first server.

And, yes, the second server is behind a firewall ... But at this point, this is my smallest problem.

Please try and help me out here!

Thanks,

//Halo

Top
#33930 - 08/15/02 03:51 AM Re: ? Need help with file replication/mirroring? [Re: halo]
LViS Offline
Cyber zombie

Registered: 09/20/01
Posts: 4195
Depends on what server you run (of course) and what method(s) you use for uploading the image.

You could have a script execute every time a file is uploaded comparing the two folders, and copy over the newest file(s).
Or you could schedule a similar script to run like once a minute but that would be an awfully ugly solution.

L-ViS

Top
#33931 - 08/15/02 04:30 AM Re: ? Need help with file replication/mirroring? [Re: LViS]
halo Offline
Plunderer

Registered: 10/05/01
Posts: 576
Loc: Sweden
Server environment: Win2K

How could the script be triggered? That is the main question, if I somehow can get a bacthfile or something to be triggered as soon as a change is made, I'm home free ...

//Halo

Top
#33932 - 08/15/02 12:37 PM Re: ? Need help with file replication/mirroring? [Re: halo]
stray Offline
In need of a good home

Registered: 06/15/01
Posts: 735
A program called WinScheduler might help. See the brief description below:

Description

"The WinScheduler allows user to create macros working in all Windows applications and schedule them to run (repetitively) at defined time or on a specific event:
File is created/changed/deleted | Window is opened/activated | Display pixel color changes | Idle time | Windows shutdown | and more...


http://www.pitrinec.com/winscheduler.htm

-stray

Top
#33933 - 08/15/02 02:28 PM Re: ? Need help with file replication/mirroring? [Re: halo]
dmdx0a0d Offline
Plunderer

Registered: 06/04/02
Posts: 662
Loc: Washington
DFS?

Top
#33934 - 08/15/02 03:25 PM Re: ? Need help with file replication/mirroring? [Re: dmdx0a0d]
Doorslammer Offline

Funeral Director

Registered: 06/03/01
Posts: 6193
Loc: South Jersey
In this case DFS is the best solution - even through a firewall (ewwww).

Give it a spin... DFS can be nice, but also nasty.
_________________________
new url easy to remember www.MyDby.com another www.w3board.com and our original www.digital-boneyard.com

Top
#33935 - 08/15/02 04:23 PM Re: ? Need help with file replication/mirroring? [Re: Doorslammer]
dmdx0a0d Offline
Plunderer

Registered: 06/04/02
Posts: 662
Loc: Washington
Just an idea I thought that I would throw out.

On bad cavet is that the DFS common share cannot be accessed by Win9x systems.


Top
#33936 - 08/15/02 05:28 PM Re: ? Need help with file replication/mirroring? [Re: dmdx0a0d]
stray Offline
In need of a good home

Registered: 06/15/01
Posts: 735
Another thought. Is it also possible to have a shortcut to a folder on a different server? This way you won't have to have duplicate files on 2 different servers.

-stray

Top
#33937 - 08/16/02 02:32 AM Re: ? Need help with file replication/mirroring? [Re: stray]
halo Offline
Plunderer

Registered: 10/05/01
Posts: 576
Loc: Sweden
Thanks for the input - I'll look into some different software and FRS/DFS. The best thing would of course to be able to use something that is built into Win2K server from the start. I do not think the client in this case wants to pay more money than necessary ...

//Halo

Top
#33938 - 08/16/02 08:30 AM Re: ? Need help with file replication/mirroring? [Re: halo]
dmdx0a0d Offline
Plunderer

Registered: 06/04/02
Posts: 662
Loc: Washington
I think that DFS is built into W2k Server. Or was it Advanced Server........ Anyway DFS is built in there somewhere. No third party app required.

Top
Page 1 of 2 1 2 >



Moderator:  Doorslammer, Nightowl, NightShade, Rez 
Shout Box

Today's Birthdays
No Birthdays
May
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31