Finally i got fencing working !
BUT now i see a gap of about 30sec between the invocation of crm-fence-peer.sh
and the stonith-ng 'reboot':
from var/log/messages:
...
May 26 15:42:00 node1 kernel: drbd r0: conn( Unconnected -> WFConnection )
May 26 15:42:00 node1 kernel: drbd r0: helper command: /sbin/drbdadm fence-peer
r0
May 26 15:42:00 node1 crm-fence-peer.sh[16214]: invoked for r0
...
May 26 15:42:27 node1 stonith-ng[3204]: notice: log_operation: Operation
'reboot' [16191] (call 2 from stonith-api.16190) for host 'node2' with device
'fencing-node2' returned: 0 (OK)
...
is this a pacemaker/corosync timeout ? how can i adjust this timing ?
BTW: how can i switch on debug mode for script /usr/lib/crm-fence-peer.sh ?
for eg.
: == DEBUG == $cibadmin_invocations cibadmin calls ==
thx
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user