|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Hello to all,
i was wondering if any of you had any ideas on how to synchronize log files bidirectionaly on two web servers behind a local director. In other words, the local director will send a GET request to the ACTIVE server (A) every 4 seconds, if in 5 requests (20 secs) the server still doesnt respond then the Passive server (P) will come online, now here is the interesting part, how do i synchronize data (in my case a few log files) on server A with server B and vice versa? so when server A comes back online and the LD switches back to it we have the same logs.. this needs to be accomplished without a DB or a network storeage device.. thankx in advance <Rodrig0 /> |
|
#2
|
|||
|
|||
|
Try rsync
You might want to use rsync to synchronize your files...
URL Invoke rsync from passive server (P) before it becomes the active server. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > can i do this w/perl? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|