On Tue, 13 May 2014 08:26:27 +0300
Vladislav Bogdanov <[email protected]> wrote:

> Hi Kristoffer,
> 
> I may be missing something, but anyways.
> crmsh did not support "Using Rules to Control Resource Options"
> (http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/_using_rules_to_control_resource_options.html)
> in the past.
> Is it supported now, or, if not, do you have plans implementing such
> support?
> 

Hi Vladislav,

crmsh 2.0 as released unfortunately does not support rules in
attribute lists. However, I am working on this specific feature right
now, and it is almost ready to be merged into the mainline development
branch. I should have it ready some time this week. Once that is in, I
will also release crmsh 2.1, so there will be packages available that
supports this feature.

The syntax will be something like the following:

primitive mySpecialRsc me:Special \
    params 3: rule #uname eq node1 interface=eth1 \
    params 2: rule #uname eq node2 interface=eth2 port=8888 \
    params 1: interface=eth0 port=9999

Cheers,
Kristoffer

> Best,
> Vladislav
> 
> _______________________________________________________
> Linux-HA-Dev: [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
> 



-- 
// Kristoffer Grönlund
// [email protected]
_______________________________________________________
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