1SAM_HC_SEND(3) Corosync Cluster Engine Programmer's Manual SAM_HC_SEND(3)
2
3
4
6 sam_hc_send - Send health check confirmation
7
8
10 #include <corosync/sam.h>
11
12
13 cs_error_t sam_hc_send (void);
14
15
17 The sam_hc_send function is used to send healthcheck confirmation from
18 the applicatoin. This function should be called reguarly when configā
19 ured for application driven healthchecking, otherwise recovery actoin
20 will be taken.
21
22 When using event driven healthchecking, this function should not be
23 used.
24
25
27 This call return CS_OK value if successful, otherwise and error is
28 returned.
29
30
32 CS_ERR_BAD_HANDLE
33 health checking is not in running state (sam_start(3) has not
34 been executed) or function is called after stop/finalization of
35 SAM.
36
37
39 sam_start(3), sam_stop(3), sam_hc_callback_register(3)
40
41
42
43corosync Man Page 12/01/2009 SAM_HC_SEND(3)