[Linux-cluster] Is there a way for a resource agent to know the previous node on which it was active?
Michael Schwartzkopff
misch at schwartzkopff.org
Sat Feb 14 07:57:31 UTC 2015
Am Freitag, 13. Februar 2015, 17:12:54 schrieb Vallevand, Mark K:
> I didn't see an environment variable with that information.
> Any other ways to determine this?
Your could re-write your resource agent to ist the crm_attribute command. This
adds attributes for a resoruce to the CIB. This attribute could hold the
information about the node the resource is running on.
It would have to be updated by your resource agent (script) if the resource
migrates.
--
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München
Tel: (0162) 1650044
Fax: (089) 620 304 13
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20150214/5385896f/attachment.sig>
More information about the Linux-cluster
mailing list