[Ocfs2-users] Several clusters in the same matchine

Jeff Mahoney jeffm at suse.com
Tue Apr 10 11:34:44 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeff Mahoney wrote:
> Nuno Fernandes wrote:
>>> Hi,
>>>
>>> is it possible to have several ocfs2 clusters in the same machine?
>>>
>>> We have webserver1 and webserver2 that should belong to cluster1 and 
>>> cluster2 "workgroup".  
>>>
>>> Cluster1 should be made of webserver1, webserver2 and application_server1
>>> Cluster2 should be made of webserver1, webserver2 and application_server2
>>>
>>> Is this possible?
> 
> No, it's not currently possible. You'd create a cluster of 4 nodes, and
> just mount the file systems where appropriate.

To expand on this: The code currently has a concept of "one cluster"
throughout, even down to the wire protocol. I don't think that what
you're really looking for is separate clusters though. What ends up
happening is that mounted file systems end up establishing groups of
nodes that could be considered clusters.

Each file system establishes a heartbeat group named with the UUID of
the file system it's monitoring. In your example, app server 2 would
ignore the events for the file system mounted on app server 1 and vice
versa. In that sense, it's establishing a cluster for each file system.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGG9jELPWxlyuTD7IRAkvBAJ9WEXyNrHovsyfTPeDVjuV0xvfdoQCggYfG
H8VbLTOIDzhB4DSUIyfq6Rg=
=bwef
-----END PGP SIGNATURE-----



More information about the Ocfs2-users mailing list