Re: Is there a way for a resource agent to know the previous node on which it was active?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux