Vineeth Thampi
2013-Jun-04 15:31 UTC
[Ocfs2-users] Unable to set the o2cb heartbeat to global
Hi,
I have added heartbeat mode as global, but when I do a mkfs and mount, and
then check the mount, it says I am in local mode. Even
/sys/kernel/config/cluster/ocfs2/heartbeat/mode says local. I am running
CentOS with 3.x kernel, with ocfs2-tools-1.6.4-1118.
mkfs -t ocfs2 -b 4K -C 1M -N 16 --cluster-stack=o2cb /dev/sdb
mount -t ocfs2 /dev/sdb /mnt -o
noatime,data=writeback,nointr,commit=60,coherency=buffered
=========================================node:
ip_port = 7777
ip_address = 10.81.2.108
number = 1
name = cam-st08
cluster = ocfs2
cluster:
node_count = 2
heartbeat_mode = global
name = ocfs2
=========================================
root at cam-st07 log # mount | grep sdb
/dev/sdb on /mnt type ocfs2
(rw,_netdev,noatime,data=writeback,nointr,commit=60,coherency=buffered,heartbeat=local)
Any help would be much appreciated.
Thanks,
Vineeth
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://oss.oracle.com/pipermail/ocfs2-users/attachments/20130604/acb1c35a/attachment.html
Sunil Mushran
2013-Jun-04 17:39 UTC
[Ocfs2-users] Unable to set the o2cb heartbeat to global
Support for global heartbeat was added in ocfs2-tools-1.8. On Tue, Jun 4, 2013 at 8:31 AM, Vineeth Thampi <vineeth.thampi at gmail.com>wrote:> Hi, > > I have added heartbeat mode as global, but when I do a mkfs and mount, and > then check the mount, it says I am in local mode. Even > /sys/kernel/config/cluster/ocfs2/heartbeat/mode says local. I am running > CentOS with 3.x kernel, with ocfs2-tools-1.6.4-1118. > > mkfs -t ocfs2 -b 4K -C 1M -N 16 --cluster-stack=o2cb /dev/sdb > mount -t ocfs2 /dev/sdb /mnt -o > noatime,data=writeback,nointr,commit=60,coherency=buffered > > =========================================> node: > ip_port = 7777 > ip_address = 10.81.2.108 > number = 1 > name = cam-st08 > cluster = ocfs2 > > cluster: > node_count = 2 > heartbeat_mode = global > name = ocfs2 > =========================================> > root at cam-st07 log # mount | grep sdb > /dev/sdb on /mnt type ocfs2 > (rw,_netdev,noatime,data=writeback,nointr,commit=60,coherency=buffered,heartbeat=local) > > Any help would be much appreciated. > > Thanks, > > Vineeth > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users at oss.oracle.com > https://oss.oracle.com/mailman/listinfo/ocfs2-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20130604/fa99d95f/attachment.html