DR scenario - transfer everything but message data

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

adhodgson
Posts: 176
Joined: Thu Mar 02, 2006 8:09 am

DR scenario - transfer everything but message data

Postby adhodgson » Sun Aug 19, 2007 2:17 pm

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.

kanderson

Postby kanderson » Mon Aug 20, 2007 1:48 am

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.

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Postby mikethebike » Mon Aug 20, 2007 4:38 am

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

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Mon Aug 20, 2007 5:21 am

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).
Ben Tisdall
www.redcircleit.com
London

Derek
Posts: 169
Joined: Fri Mar 24, 2006 4:53 pm
Contact:

Postby Derek » Mon Aug 20, 2007 4:44 pm

How often are you rsyncing? In case you didnt know, there is an option for rsync that allows you to limit the transfer rate.

fraserchen
Posts: 18
Joined: Wed Jun 07, 2006 5:05 pm

Postby fraserchen » Wed Sep 19, 2007 3:43 pm

[FYI]

my rsync over LAN


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


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 5 guests