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

_______________________________________________
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to