Hi, On Thu, May 14, 2009 at 08:21:41PM +0200, jimbob palmer wrote: > 2009/5/13 Dejan Muhamedagic <[email protected]>: > > Hi, > > > > On Wed, May 13, 2009 at 12:14:56AM +0200, jimbob palmer wrote: > >> Hello! > >> > >> How can I check which role a node has on a heartbeat version 1 box? > > > > What do you mean by role? I guess something like > > primary/secondary. That's only spelled out in haresources. Nodes > > themselves are otherwise equal. > > Yes this is a primary/secondary setup. > > If heartbeat can't tell me if a node is primary, can I get it to tell > me which resources it currently has?
Use /usr/lib/heartbeat/ResourceManager. You'll have to figure out yourself with usage or try to look it up on Internet. Sorry, can't recall anymore how, something like listkeys or statgroup or status. Thanks, Dejan > Thanks, > > James > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
