[Pacemaker] Stonith External/SBD problem/question

Mihai Tanasescu mihai at duras.ro
Fri Sep 17 14:37:37 UTC 2010


Hello guys,


I'm a newbie with Linux-ha and as all newbies I have a problem that I'm
trying to sort out.


I have a shared storage (iSCSI) and 2 nodes connected to it.

I wanted to have stonith active.

I configured a separate partition on the shared storage, initialized it,
configured it in /etc/sysconfig/sbd.

All fine.

Now I tried defining the primitive in pacemaker, in crm configure:

crm(live)configure# property stonith-enabled="true"
crm(live)configure# property stonith-timeout="30s"
crm(live)configure# primitive stonith:external/sbd params
sbd_device="/dev/sda2"
ERROR: provider could not be determined for params
ERROR: syntax in primitive: params sbd_device=/dev/sda2

I changed the device naming to:
crm(live)configure# primitive stonith:external/sbd params
sbd_device="/dev/disk/by-id/scsi-360003ffc4b1185eab88f92602529a5a3-part2"
ERROR: provider could not be determined for params
ERROR: syntax in primitive: params
sbd_device=/dev/disk/by-id/scsi-360003ffc4b1185eab88f92602529a5a3-part2

then to:
crm(live)configure# primitive stonith:external/sbd params
sbd_device="/dev/disk/by-path/ip-192.168.10.2:3260-iscsi-iqn.1991-05.com.microsoft:deh9451lvp--mailconta-target-lun-0-part2"
ERROR: provider could not be determined for params
ERROR: syntax in primitive: params
sbd_device=/dev/disk/by-path/ip-192.168.10.2:3260-iscsi-iqn.1991-05.com.microsoft:deh9451lvp--mailconta-target-lun-0-part2

and finally to:

crm(live)configure# primitive stonith:external/sbd params
sbd_device="/dev/disk/by-uuid/d25c9264-6065-4dee-9a39-2dc146727579"
ERROR: provider could not be determined for params
ERROR: syntax in primitive: params
sbd_device=/dev/disk/by-uuid/d25c9264-6065-4dee-9a39-2dc146727579

Can someone point me in the right direction ?

What am I doing wrong and how can I fix this ?


Thanks,
Mihai








More information about the Pacemaker mailing list