[Pacemaker] 2 sbd devices and stonith-ng is showing (1 active devices)

Janec, Jozef jozef.janec at hp.com
Thu Mar 15 15:39:23 UTC 2012


Hello All,

We have configured pacemaker on HAE  from novell:

cat /etc/sysconfig/sbd
SBD_DEVICE="/dev/mapper/SHARED1_part1;/dev/mapper/SHARED2_part1"
SBD_OPTS="-W"

I'm running  2 instances of watcher

root      9157     1  0 11:00 pts/0    00:00:00 sbd: inquisitor
root      9158  9157  0 11:00 pts/0    00:00:00 sbd: watcher: /dev/mapper/SHARED1_part1 - slot: 0
root      9159  9157  0 11:00 pts/0    00:00:00 sbd: watcher: /dev/mapper/SHARED2_part1 - slot: 1

I have running one resource per node

Online: [ b300ple0 b400ple0 ]

sbd_fense_b400  (stonith:external/sbd): Started b400ple0
sbd_fense_b300  (stonith:external/sbd): Started b300ple0

and in logs I see

Mar 17 11:03:51 b400ple0 stonith-ng: [9467]: info: stonith_device_register: Added 'sbd_fense_b400' to the device list (1 active devices)

Mar 16 07:33:47 b300ple0 stonith-ng: [8546]: info: stonith_device_register: Added 'sbd_fense_b300' to the device list (1 active devices)

And when I broke one of the sbd devices

I got:

15 11:15:33 b300ple0 stonith-ng: [8546]: debug: exec_child_done: Got 60 more bytes: Performing: stonith -t external/sbd -S  failed:  0.05859375
Mar 15 11:15:33 b300ple0 stonith-ng: [8546]: notice: log_operation: Operation 'monitor' [15803] for device 'sbd_fense_b300' returned: 1
Mar 15 11:15:33 b300ple0 stonith-ng: [8546]: debug: log_operation: sbd_fense_b300 output: Performing: stonith -t external/sbd -S
Mar 15 11:15:33 b300ple0 stonith-ng: [8546]: debug: log_operation: sbd_fense_b300 output: failed:  0.05859375
Mar 15 11:15:33 b300ple0 lrm-stonith: [15802]: debug: execra: sbd_fense_b300_monitor returned 1
Mar 15 11:15:33 b300ple0 stonith-ng: [8546]: debug: log_operation: sbd_fense_b300 output:  (total 60 bytes)


Mar 16 07:41:02 b300ple0 stonith-ng: [8546]: debug: exec_child_done: Got 60 more bytes: Performing: stonith -t external/sbd -S  failed:  0.05859375
Mar 16 07:41:02 b300ple0 stonith-ng: [8546]: notice: log_operation: Operation 'monitor' [12827] for device 'sbd_fense_b300' returned: 1
Mar 16 07:41:02 b300ple0 stonith-ng: [8546]: debug: log_operation: sbd_fense_b300 output: Performing: stonith -t external/sbd -S
Mar 16 07:41:02 b300ple0 stonith-ng: [8546]: debug: log_operation: sbd_fense_b300 output: failed:  0.05859375
Mar 16 07:41:02 b300ple0 stonith-ng: [8546]: debug: log_operation: sbd_fense_b300 output:  (total 60 bytes)

What exactly means : (1 active devices)?


Thanks for information

Best regards

Jozef




More information about the Pacemaker mailing list