[ClusterLabs] about the configuration for a iSCSITarget resource using the crm(8) shell.

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Oct 21 13:22:53 UTC 2015


Hi,

On Wed, Oct 21, 2015 at 12:17:15PM +0000, Shilu wrote:
> Hi,everyone!
> The following is an example configuration for a iSCSITarget resource using the crm(8) shell:
> primitive tgt ocf:heartbeat:iSCSITarget \
>   params implementation="tgt" iqn="foo" tid="1" \
>   op monitor interval="1s"

This interval is very small. Are you sure that you want to
monitor it so often?

> now i want to use the param additional_parameters,who can tell me how to use this param?
> The following is how I use it,but it is not correct.
> 
> primitive tgt ocf:heartbeat:iSCSITarget \
>   params implementation="tgt" iqn="foo" tid="1" additional_parameters="lun=1 bs-type=rbd backing-store=rbd/foo" \
>   op monitor interval="1s"

What exactly is not correct? Not an iscsi target expert here, but
syntactically it seems to be OK. You can also take look at the
XML definition of the resource:

$ crm configure show xml tgt

Thanks,

Dejan




More information about the Users mailing list