Active/Actice Enviroment - iscsi -ocfs2

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

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

Active/Actice Enviroment - iscsi -ocfs2

Postby brockz » Mon Jun 18, 2007 5:55 am

Hello

i have setup an an iscsi target for my 2 scalix servers. This shared disk is ocfs2 formated. Every Scalix Server has mount it under /var/opt/scalix. Ocfs2 Clustering is running . I have setuped one instanza for every scalix server I modified each instanza on so that is accesable from the other server with the wiki guide HACLUSTER TB-2007. Ive checked it all is working fine. Each Server can access the message store from the other and run this instanza. But how can i switch to an active/active enviroment ? Every Server should start his instanza and the other one. So that i can acces all Mailboxes from every Server ? Is that possible ?

Example:

Code: Select all

node a

OMNAME=nodea
OMHOSTNAME=nodea.scalix.demo
OMDATADIR=/var/opt/scalix/na/s
OMAUTOSTART=TRUE

OMNAME=nodeb
OMHOSTNAME=nodeb.scalix.demo
OMDATADIR=/var/opt/scalix/na/s
OMAUTOSTART=TRUE


and on nodeb

Code: Select all

OMNAME=nodeb
OMHOSTNAME=nodeb.scalix.demo
OMDATADIR=/var/opt/scalix/nb/s
OMAUTOSTART=TRUE

OMNAME=nodea
OMHOSTNAME=nodea.scalix.demo
OMDATADIR=/var/opt/scalix/na/s
OMAUTOSTART=TRUE



is such enviroment possible ?

chris
Scalix Star
Scalix Star
Posts: 321
Joined: Mon May 09, 2005 2:56 pm
Location: Freiburg, Germany

Postby chris » Mon Jun 18, 2007 7:27 pm

Assuming that the physical machine which should be Node A actually has the nodea.scalix.demo IP Address and the same for Node B, then run /etc/init.d/scalix start nodea on the A machine and the same with nodeb on the B machine.

You also have cluster management software configured?

/c

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

Postby brockz » Tue Jun 19, 2007 12:50 am

ok here some more infos

node a:

Code: Select all

/etc/hosts
127.0.0.1 localhost
192.168.0.1 nodea.scalix.demo   nodea
192.168.0.11 nodeb.scalix.demo  nodeb

same on nodeb


i have no cluster software installed ? i need this in an active/active enviroment ? because a heartbeat and the dlm locker is running on ocfs2 ! and active/active needs not to be switched . I think the cluster software is only needed for failover solutions or ?
i want start nodea and nodeb on nodea and node a and node b on node b on same time. is such setup possible ?


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests