Hi,

On Mon, Jun 13, 2011 at 10:12:13AM +0000, Simon Talbot wrote:
> A couple of observations (I am sure there are more) on the uniqueness flag 
> for OCF script parameters:

I knew there are going to be quite a few :)

> Would it be wise for the for the index parameter of the SFEX ocf script to 
> have its unique flag set to 1 so that the crm tool (and others) would warn if 
> one inadvertantly tried to create two SFEX resource primitives with the same 
> index?

Perhaps. Don't know what's the typical usage. What needs to be
unique is the combination of device and index.

> Also, an example of the opposite, the Stonith/IPMI script, has parameters 
> such as interface, username and password with their unique flags set to 1, 
> causing erroneous warnings if you use the same interface, username or 
> password for multiple IPMI stonith primitives, which of course if often the 
> case in large clusters? 
That should be changed.

Thanks,

Dejan

> 
> Simon
> 
> Simon Talbot 
> Chief Engineer
> Net Solutions Europe
> T: 020 3161 6001
> F: 020 3161 6011
> www.nse.co.uk
> 
> 
> 
> _______________________________________________________
> Linux-HA-Dev: [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to