Page 1 of 1

DR scenario - transfer everything but message data

Posted: Sun Aug 19, 2007 2:17 pm
by adhodgson
Hi,

I have been using Rsync to sync /var/opt/scalix to a cold standby server in another location. The issue is though that the transfers are killing our link - it is very slow.

Is there a way of just syncing the accounts (i.e, users, groups, and passwords) over to the cold standby server? I am quite happy to run omscan/omcheck after this process, to ensure that directories etc get created.

Thanks for any help,
Andrew.

Posted: Mon Aug 20, 2007 1:48 am
by kanderson
Look at p-synch.com.

Their product supports openmail, so it should most likely also support Scalix. It may not do exactly what you're after, but on the other hand, it might.

I'll add too, that I'm surprised that rsync is slow. I'll also add that omscan will not correct missing data directories, and omcheck will only correct permissions. So I'd be worried that you're going to miss most of the useful data in this scenario...

Kev.

Posted: Mon Aug 20, 2007 4:38 am
by mikethebike
If you are not concerned about data, I assume you mean you would be happy to have empty mailboxes, ready to use in case of DR?

In that scenario, I would:

1. set up a dirsync agreement to your DR server.

2.Use details from the "userlist" directory to build a file to create the users on the DR server (omsearch -d userlist -t h -e s=*/ul-type=primerecip -m s/g/i/q/ou1/ul-pwd/ia)

3. even if you create the users when DR is declared, for a fairly large server (about 1000 users), user account creation should take no more than 30 - 60 minutes.

You will obvioulsy have to perform the DNS and hostname changes etc, like you would anyway.

Mick

Posted: Mon Aug 20, 2007 5:21 am
by btisdall
Just to second Kevin here, I would investigate why your rsync is taking so long. Unless your mailstore is growing by GBs per day or you're rsyncing over a slow link then I wouldn't expect it to take more than 30 mins & probably a lot less (after the initial sync, of course).

Posted: Mon Aug 20, 2007 4:44 pm
by Derek
How often are you rsyncing? In case you didnt know, there is an option for rsync that allows you to limit the transfer rate.

Posted: Wed Sep 19, 2007 3:43 pm
by fraserchen
[FYI]

my rsync over LAN


Total file size: about 44 GB
transferred file size: about 1GB
Rsync process: 11 minutes