On 2007-07-05T11:19:24, Maxim Veksler <[EMAIL PROTECTED]> wrote: > I'm new to heartbeat. > > I'm using the authkeys option in ha.cf, is the some way I can get the > IP address of other nodes participating in the cluster? Lets assume > that I'm always interested in eth0 IP. > > >From looking at /var/lib/heartbeat/hostcache is can only learn hostname & > >UUID.
Not directly; heartbeat internally doesn't care about the IP addresses, and so doesn't store them. If you look at my o2cb resource agent (for example, at http://hg.linux-ha.org/dev/file/tip/resources/OCF/o2cb.in), you can see one trick of using the CIB to distribute such information. Regards, Lars -- Teamlead Kernel, SuSE Labs, Research and Development SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) "Experience is the name everyone gives to their mistakes." -- Oscar Wilde _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
