Scalix Server with replicated (not shared disk) data

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

brockz
Posts: 42
Joined: Mon Oct 16, 2006 5:25 am

Scalix Server with replicated (not shared disk) data

Postby brockz » Thu Feb 08, 2007 4:42 am

Hello

is it possible to have the /var/opt/scalix stuff physicaly replicated and used on a second server (primary/primary state). I dont want t o use a shared wide disk !. I want to use the /var/opt/scalix stuff from server 1 on /var/opt/scalix server2 realtime replicated and the other way same. I readed der Scalix Active Passive HA Guide from DK . Actually i test a little bit with drbd 8(Primary/Primary Mode) with ocfs2 fs on it.
Ist there a better way to do this . Today i used Dirsync to acces on a second server the data from serv1 but i dont have the data on server 2 . We dont want to use a shared Disk we want a replicated one

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Thu Feb 08, 2007 10:19 am

in principle, you can use filesystem-based replication instead of a shared disk.

various of our partners have implemented this using drbd and/or rsync and it works fine when done correctly.

However, note that it is recommended to use snapshot cycles using lvm snapshots to snap consistent states of the message store - similar to online backup.

also please note that we don't currently provide specific instructions and/or support for such configurations. If you need help, please contact Scalix professional services or a qualified Scalix reseller.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!

brockz
Posts: 42
Joined: Mon Oct 16, 2006 5:25 am

Postby brockz » Wed Feb 14, 2007 8:47 am

is it possible to have lvm2 snapshoted message store sync
ed in two way

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Wed Feb 14, 2007 11:40 am

what's the background of the question?

The server will only be able to be active on one side in the failover scenario, so there should be no changes on the "other" side, hence two-way sync is not needed.

Florian.
Florian von Kurnatowski, Die Harder!

brockz
Posts: 42
Joined: Mon Oct 16, 2006 5:25 am

Postby brockz » Wed Feb 14, 2007 11:57 am

but i want an active-active scenario with repliucated message store without shared disk no failover so i can login same time on server 1 and server 2 and have same data physically on every server

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Wed Feb 14, 2007 11:59 am

then you have to run 2 separate scalix instances with mutual failover, each with it's own message store, replicated in one direction and users manually distributed between the two instances. You cannot have two active instances accessing the same message store.

Florian.
Florian von Kurnatowski, Die Harder!

brockz
Posts: 42
Joined: Mon Oct 16, 2006 5:25 am

Postby brockz » Thu Feb 15, 2007 3:44 am

After you last Post i to be unconcerned about my scalix szenario . I ve made a little picture with a 2 instanza topology with all that hints you give it to me. You think that can be realized ?
Image

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Thu Feb 15, 2007 9:50 am

as long as these are 2 separate instances and you decide which user account by default is homed on which instances.

are the two machines remote or local?

how many users in total?

also note that you will need enterprise edition for this as only enterprise edition is licensed for and supports multi-instance and clustering.

Florian.
Florian von Kurnatowski, Die Harder!

brockz
Posts: 42
Joined: Mon Oct 16, 2006 5:25 am

Postby brockz » Thu Feb 15, 2007 10:26 am

we have enterprise lic 70 user . One Server is local and one is on a root server .
vpn rsa 1024 bit connected . On a SDSL 2 Mbit

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Thu Feb 15, 2007 10:34 am

so why would you want a two-way sync in this case. i understand that you want a failover scneario, but i would probably make it one-way with active/passive setup.

high availability is usually improved through simplicity of a setup! :-)

Florian.
Florian von Kurnatowski, Die Harder!

brockz
Posts: 42
Joined: Mon Oct 16, 2006 5:25 am

Postby brockz » Thu Feb 15, 2007 10:39 am

because my boss want the message store physically on every server . Is there a better way to do that ?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Thu Feb 15, 2007 10:49 am

well, the active/passive case would do that.

in the active-active-case you would need to decide that some users would have their home on one server, some other users would have their home on the other server, so would need to split the user population between the two instances.

my understanding is that you want a failover server in the case one location/server goes down, but wouldn't that be active/passive failover clustering?

Florian.
Florian von Kurnatowski, Die Harder!

pinto

Postby pinto » Thu Feb 15, 2007 4:43 pm

Has anybody tried this with 2 servers (one failover for the other) but both with a commom NFS mounted storage location?

Thanks
Jaime

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Thu Feb 15, 2007 6:11 pm

We do not support putting the Scalix message store on NFS. This is based on the way Scalix accesses the disks (small, variable-szed, sync writes) and some NFS client stability issues with regards to proper locking behaviour in Linux 2.6.

Also, we do not support 2 Scalix instances running on separate nodes to access the same message store. It's instance needs to have it's own message store.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 11 guests