> On 14 Feb 2015, at 6:57 pm, Michael Schwartzkopff <misch@xxxxxxxxxxxxxxxxx> wrote: > > 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. Somewhat dangerous to rely on though. What would be the reason for needing to know the previous node? > > 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 -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster