May be but this don't work.
I create LVM volume heartbeat on both nodes. Set ocfs mode to local.
o2cb add-heartbeat mdtxcluster /dev/c/heratbeat
On both nodes.
o2cb start-heartbeat mdtxcluster
on both nodes
ocfs2: Mounting device (147,0) on (node 0, slot 0) with ordered data mode.
[ 1290.74
On Sun, Oct 22, 2023 at 11:38:56PM +0200, Daniel Smolik wrote:
> But when use local heartbeat mode I can mount ocfs but not work in cluster
> mode. I mean that without global heartbeat you didn't have shared storage.
If I understand correctly with local heartbeat there is one heartbeat
running p
But when use local heartbeat mode I can mount ocfs but not work in
cluster mode. I mean that without global heartbeat you didn't have
shared storage.
Regards
Dan
Dne 22. 10. 23 v 13:37 Valentin Vidic napsal(a):
On Sun, Oct 22, 2023 at 12:11:19PM +0200, Daniel Smolik wrote
I completely agree, but when it is on md device then is UUID visible on
both nodes too. My guess is that name of LVM device is longer than md
or drbd device. And I looked to source code and start heartbeat failed
here: in op_start.c
if (!(od->od_flags & O2CB_DEVICE_FOUND)) {
On Sun, Oct 22, 2023 at 12:11:19PM +0200, Daniel Smolik wrote:
> Yes no problem. There it is.
Thanks. My best guess is that the problem happens because the region
UUID is visible on both drbd and the lower device, so the global
heartbeat might work if drbd device is selected first (for example in
Yes no problem. There it is.
Dne 22. 10. 23 v 11:57 Valentin Vidic napsal(a):
On Sat, Oct 21, 2023 at 11:19:50PM +0200, Dan Smolik wrote:
in virtual enviroment I try build 2 node ocfs cluster. When drbd
device is on top of md device all works. But when drbd device is on
top LVM device global h
On Sat, Oct 21, 2023 at 11:19:50PM +0200, Dan Smolik wrote:
> in virtual enviroment I try build 2 node ocfs cluster. When drbd
> device is on top of md device all works. But when drbd device is on
> top LVM device global heartbeat doesn't start.
>
> Using config file '/etc/ocfs2/cluster.conf'
Ma
Package: ocfs2-tools
Version: 1.8.7-1+b1
Severity: important
X-Debbugs-Cc: mar...@mydatex.cz
Dear maitainer,
in virtual enviroment I try build 2 node ocfs cluster. When drbd device is on
top of md device all works. But when drbd device is on top LVM device global
heartbeat doesn't start.
Using
8 matches
Mail list logo