rain c
2006-Nov-23 09:37 UTC
[Ocfs2-users] two nodes not joining the same cluster / domain
hi,
i am new to ocfs2 and i think this is a newbee problem
;-)
i have a 2-node ocfs2 cluster, but when i mount the
ocfs2-partition on both nodes they both use slot 0 and
in the output i can see, that they are not in the same
domain. the cluster.conf is copied by scp, so it is
identical. i attached it below. can anybody give me a
hint what i did wrong?
thanks,
- rainer
cluster.conf:
node:
ip_port = 7777
ip_address = 10.1.0.102
number = 0
name = web1
cluster = ocfs2
node:
ip_port = 7777
ip_address = 10.1.0.125
number = 1
name = web2
cluster = ocfs2
cluster:
node_count = 2
name = ocfs2
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
Mark Fasheh
2006-Nov-27 12:41 UTC
[Ocfs2-users] two nodes not joining the same cluster / domain
On Thu, Nov 23, 2006 at 09:37:31AM -0800, rain c wrote:> hi, > > i am new to ocfs2 and i think this is a newbee problem > ;-) > > i have a 2-node ocfs2 cluster, but when i mount the > ocfs2-partition on both nodes they both use slot 0 and > in the output i can see, that they are not in the same > domain. the cluster.conf is copied by scp, so it is > identical. i attached it below. can anybody give me a > hint what i did wrong?Are you mounting on a shared disk? OCFS2 is a shared disk cluster file system - that means that both nodes need to have access to the file system on the same disk (fibre channel, iscsi, etc). Your cluster.conf looks good btw. --Mark -- Mark Fasheh Senior Software Developer, Oracle mark.fasheh@oracle.com
Sunil Mushran
2006-Nov-27 12:56 UTC
[Ocfs2-users] two nodes not joining the same cluster / domain
Are you sure you have a shared disk? # mounted.ocfs2 -d /dev/sdX Do it on both nodes. The UUID should be the same. rain c wrote:> hi, > > i am new to ocfs2 and i think this is a newbee problem > ;-) > > i have a 2-node ocfs2 cluster, but when i mount the > ocfs2-partition on both nodes they both use slot 0 and > in the output i can see, that they are not in the same > domain. the cluster.conf is copied by scp, so it is > identical. i attached it below. can anybody give me a > hint what i did wrong? > > thanks, > - rainer > > cluster.conf: > > node: > ip_port = 7777 > ip_address = 10.1.0.102 > number = 0 > name = web1 > cluster = ocfs2 > > node: > ip_port = 7777 > ip_address = 10.1.0.125 > number = 1 > name = web2 > cluster = ocfs2 > > cluster: > node_count = 2 > name = ocfs2 > > > > ____________________________________________________________________________________ > Want to start your own business? > Learn how on Yahoo! Small Business. > http://smallbusiness.yahoo.com/r-index > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users >