Page 1 of 1

Active/Actice Enviroment - iscsi -ocfs2

Posted: Mon Jun 18, 2007 5:55 am
by brockz
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 ?

Posted: Mon Jun 18, 2007 7:27 pm
by chris
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

Posted: Tue Jun 19, 2007 12:50 am
by brockz
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 ?