<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">On Oct 31, 2013, at 10:18 PM, Andrew Beekhof <<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>> wrote:<div><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On 1 Nov 2013, at 6:50 am, Jason Harley <<a href="mailto:jharley@redmind.ca">jharley@redmind.ca</a>> wrote:</div></blockquote><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><blockquote type="cite">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:<br><br><blockquote type="cite">root@node01:~# crm_attribute -t crm_config --node node01 --lifetime reboot --name leader --update 1<br>root@node01:~# crm_attribute -t crm_config --node node01 --name leader --query<br></blockquote></blockquote><br>^^^ this means the second command is looking in the wrong spot.<br>try adding '--lifetime reboot' to the query command too.<br></div></blockquote></div><div><br></div><div>Ah, I misunderstood: thanks for the clarification!  Things are working as expected now.</div><div><br></div><div>Cheers,</div><div>./JRH</div></body></html>