[K12OSN] RSYNC Question
Stephen Liu
satimis at icare.com.hk
Thu Mar 11 11:06:00 UTC 2004
- snip -
> If you have a second server which can handle all of the same tasks (or
> some subset of critical tasks)you can set that server up with the same
> services enabled and ready to go. This is where 'rsync' and 'cron' come
> in to play. Set up an 'rsync' command to synchronize the critical data
> from the main server (home directories, mail spool, web content etc) to
> the spare server. Use 'cron' to run the 'rsync' command on a regular
> basis (once a day, once an hour, depends on your needs). this will keep
> the data up to date on the spare server. Then on the spare server I
> would create a 'swapserver' script to change the IP address to that of
> the main server, and enable the services required.
Hi Paul,
Kindly advise what is the difference in application between 'rsync' and
'clustering'
TIA
B.R.
Stephen Liu
> Once all that is in place, then all you would need to do to swap in the
> server in the event of a failure would be to log in to the spare and run
> the 'swapserver' script.
>
> You could do some googleing for terms like 'hot spare' 'heartbeat' and
> 'disaster recovery' for some additional info.
>
> Paul Davison
More information about the K12OSN
mailing list