1CPG_OVERVIEW(3) Corosync Cluster Engine Programmer's Manual CPG_OVERVIEW(3)
2
3
4
6 cpg_overview - CPG library overview
7
9 The CPG library is delivered with the corosync project. This library
10 is used to create distributed applications that operate properly during
11 cluster partitions, merges, and faults.
12
13 The library provides a mechanism to:
14
15 * handle abstraction for multiple instances of a CPG library in one
16 application
17
18 * join one or more groups
19
20 * leave one or more groups
21
22 * Deliver messages to members of that group
23
24 * Deliver configuration changes
25
26 * Iterate members of groups
27
29 If encryption is enabled in corosync.conf, the CPG library will encrypt
30 and authenticate message contents. Applications must run as the ais
31 user to be validated by corosync on IPC connection, otherwise they will
32 be unable to access the corosync services.
33
34
36 cpg_overview(3), cpg_initialize(3), cpg_finalize(3), cpg_fd_get(3),
37 cpg_dispatch(3), cpg_join(3), cpg_leave(3), cpg_mcast_joined(3),
38 cpg_model_initialize(3), cpg_membership_get(3), cpg_zcb_alloc(3),
39 cpg_zcb_free(3), cpg_zcb_mcast_joined(3), cpg_context_get(3), cpg_con‐
40 text_set(3), cpg_local_get(3), cpg_iteration_initialize(3), cpg_itera‐
41 tion_next(3), cpg_iteration_finalize(3)
42
43corosync Man Page 2009-4-15 CPG_OVERVIEW(3)