[Pacemaker] crm_attribute: temporary (lifetime 'reboot') attribute

Jason Harley jharley at redmind.ca
Sat Nov 2 10:21:56 EDT 2013


On Oct 31, 2013, at 10:18 PM, Andrew Beekhof <andrew at beekhof.net> wrote:
> On 1 Nov 2013, at 6:50 am, Jason Harley <jharley at redmind.ca> wrote:
>> I’ve got Pacemaker 1.1.10 (1.1.10+git20130802-1ubuntu1) and Corosync 2.3.0 (2.3.0-1ubuntu4) running in a cluster managing a simple resource group. I would like to create an (arbitrary) attribute that goes away on cluster shutdown/reboot and from reading the man page for crm_attribute it looks like I should be able to do this at the node level.. however, I can’t seem to get it to work.  I have tried:
>> 
>>> root at node01:~# crm_attribute -t crm_config --node node01 --lifetime reboot --name leader --update 1
>>> root at node01:~# crm_attribute -t crm_config --node node01 --name leader --query
> 
> ^^^ this means the second command is looking in the wrong spot.
> try adding '--lifetime reboot' to the query command too.


Ah, I misunderstood: thanks for the clarification!  Things are working as expected now.

Cheers,
./JRH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131102/65d2d9f0/attachment-0003.html>


More information about the Pacemaker mailing list