[Pacemaker] Possible error in iSCSITarget RA
Thomas Georgiou
tageorgiou at gmail.com
Thu Oct 1 15:03:48 UTC 2009
Hi,
I too found problems with the iSCSITarget RA, so I modified it and it
seems to be working fine now. Attached is the modified RA.
Thomas Georgiou
On Thu, Oct 1, 2009 at 10:53 AM, Michael Schwartzkopff
<misch at multinet.de> wrote:
> Am Donnerstag, 1. Oktober 2009 16:49:59 schrieb Michael Schwartzkopff:
>> Hi,
>>
>> I am experimenting a little bit with the iSCSITarget RA, but without
>> success. My resource is defined like:
>>
>> primitive resIET ocf:heartbeat:iSCSITarget \
>> params additional_parameters="Path=/dev/drbd0" iqn="iqn.1.2"
>>
>> The problem ist that the resource fails at start.
>>
>> Looking through the RA I found the follwing commands beeing executed:
>> ietadm --op new --tid=1 --params Name=iqn.1.2
>>
>> This is OK.
>>
>> the next command is:
>> ietadm --op update --tid=1 --params Path=/dev/drbd0
>>
>> Here the log file says:
>> Command output: Unknown parameter "Path"
>>
>> When I enter the command manually I get the same error.
>
> The command
> ietadm --op new --tid=1 --lun=0 --parameters Path=/dev/drbd0
> does the trick.
>
> @Florian: Howto include this into the RA? Basically: Where do I get the "lun"
> from?
>
> --
> Dr. Michael Schwartzkopff
> MultiNET Services GmbH
> Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
> Tel: +49 - 89 - 45 69 11 0
> Fax: +49 - 89 - 45 69 11 21
> mob: +49 - 174 - 343 28 75
>
> mail: misch at multinet.de
> web: www.multinet.de
>
> Sitz der Gesellschaft: 85630 Grasbrunn
> Registergericht: Amtsgericht München HRB 114375
> Geschäftsführer: Günter Jurgeneit, Hubert Martens
>
> ---
>
> PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
> Skype: misch42
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iSCSILogicalUnit
Type: application/octet-stream
Size: 14707 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091001/5d51a978/attachment-0002.obj>
More information about the Pacemaker
mailing list