Thank you. Regards. Mark K Vallevand Mark.Vallevand@xxxxxxxxxx <mailto:Mark.Vallevand@xxxxxxxxxx> Outside of a dog, a book is man's best friend. Inside of a dog, its too dark to read. - Groucho THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. -----Original Message----- From: linux-cluster-bounces@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of Michael Schwartzkopff Sent: Saturday, February 14, 2015 01:58 AM To: linux clustering Subject: Re: Is there a way for a resource agent to know the previous node on which it was active? 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 -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster