Hello, i have configuration made with slackware 10.2 2.6.17.2 ocfs2tools 1.2.1 on two dell poweredge 852 machines with eonstore array with two scsi controllers. Array is divided in two logical volumes. First logical drive is connected to first node as sdb1, etc. I will use linuxha software for standby cluster. Cluster software, ocfs2tools, tells that it is working. First question is ocfs2 partition should be mounted on all nodes if yes what determine the active node Second question i have mounted ocfs2 partition on node1 and node2 can not see that it is mounted. node1:~# echo "slotmap" | debugfs.ocfs2 -n /dev/sdb1 Slot# Node# 0 1 node2:~# echo "slotmap" | debugfs.ocfs2 -n /dev/sdb1 Slot# Node# Any idea Third question I can not see traffic on interconnect devices. ps. sorry for my poor english -- best regrads Daniel
>>> "boka" <boka at piekna.pl> 07/06/06 3:28 AM >>> >Array is divided in two logical volumes. First logical drive >is connected to first node as sdb1, etc.What does the "etc" mean? Do you have the following: LV Node ---- ------ 1 ---> node1 2 ---> node2 This will not work without something more exotic like DRBD. What you should do is have each LV presented to ALL nodes. You want: LV Node ---- ------ 1 ---> node1, node2 2 ---> node1, node2 I think this might be the root of all of your problems.>First question >is ocfs2 partition should be mounted on all nodesYes. It does not work otherwise.>if yes what determine the active nodeNothing. It is not an active/standby filesystem, it is a clustered filesystem meaning all the nodes have it mounted simultaneously.>Second question >i have mounted ocfs2 partition on node1 and node2 can not see that itis>mounted. > >node1:~# echo "slotmap" | debugfs.ocfs2 -n /dev/sdb1 > Slot# Node# > 0 1 > >node2:~# echo "slotmap" | debugfs.ocfs2 -n /dev/sdb1 > Slot# Node# > >Any ideaProbably the device /dev/sdb is not the same logical volume on both nodes. Search the archives of this list. Sunil of Oracle posted a command that you run against the device that gives you a unique serial number or whatever for each LV so you can tell if they are the same device. Thanks, Kevin
Before you can mount, you have to ensure all the nodes in the cluster access the same device. #echo "stats" | debugfs.ocfs2 -n /dev/sdX | grep UUID should return the same uuid from all nodes. Once all nodes can see the same device, the you can mount it on all nodes. There are no passive node(s). The dlm ensures only one node updates a particular metadata block at a time. boka wrote:> Hello, > > i have configuration made with > slackware 10.2 > 2.6.17.2 > ocfs2tools 1.2.1 > > on two dell poweredge 852 machines with eonstore array with two scsi > controllers. Array is divided in two logical volumes. First logical drive > is connected to first node as sdb1, etc. I will use linuxha software for > standby cluster. > > Cluster software, ocfs2tools, tells that it is working. > > First question > is ocfs2 partition should be mounted on all nodes > if yes what determine the active node > > Second question > i have mounted ocfs2 partition on node1 and node2 can not see that it is > mounted. > > node1:~# echo "slotmap" | debugfs.ocfs2 -n /dev/sdb1 > Slot# Node# > 0 1 > > node2:~# echo "slotmap" | debugfs.ocfs2 -n /dev/sdb1 > Slot# Node# > > Any idea > > Third question > I can not see traffic on interconnect devices. > > ps. sorry for my poor english > >