[Pacemaker] Using SCSI reservations with Pacemaker

Lars Marowsky-Bree lmb at suse.de
Thu May 12 11:50:06 UTC 2011


On 2011-05-10T14:57:58, Max Williams <Max.Williams at betfair.com> wrote:

> Hi Florian,
> I've installed the sg_persist RA, configured it and it works as expected with a Netapp iSCSI LUN, excellent!

Good feedback! One comment:

> 
> Here is my configuration:
> primitive scsi_reservation ocf:heartbeat:sg_persist params sg_persist_resource="scsi_reservation0" devs="/dev/dm-6 /dev/dm-7" required_devs_nof="2" reservation_type=1

You shouldn't use "dm-*" device names. Those aren't guaranteed
persistent across reboots, and you may end up reserving something quite
different then what you intended. You may have better success with
/dev/disk/by-id/* paths.

Regards,
    Lars

-- 
Architect Storage/HA, OPS Engineering, Novell, Inc.
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde





More information about the Pacemaker mailing list