Hi, On Mon, Mar 26, 2007 at 01:40:34PM +0100, Martin Gazak wrote: > Good morning, > I have a custom heartbeat client (Heartbeat 2.0.7, OpenSuSE Linux 10.2), > which signs on, performs nodewalk and then periodically gets node > statuses, all using routines of hbclient library shipped with heartbeat. > > Is there any routine/call in hbclient, which allows to perform operation > equivalent to "hb_standby all" command ? > I am using ha.cf/haresources configuration. > > I could not find any such call in client_lib.c. > I guess it could be achieved by som low level calls like > "sendclustermsg", but I did not find documentation how to send such > specific message.
There's a script which does standby: /usr/lib/heartbeat/hb_stanby. It's just writing a message to /var/lib/heartbeat/fifo. Wouldn't that fit the bill? > > Thanks a lot. > > Best regards > > Martin > > -- > RNDr. Martin Gazak, MicroStep-MIS > www: http://www.microstep-mis.com > _______________________________________________ > Linux-HA mailing list > Linux-HA@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems -- Dejan _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems