pacemaker  1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
crm_config.h
Go to the documentation of this file.
1 /* include/crm_config.h. Generated from crm_config.h.in by configure. */
2 /* crm_config.h.in */
3 
4 /*
5  * Copyright (C) 2006 - 2007
6  * Andrew Beekhof <andrew@beekhof.net>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21  */
22 
23 #ifndef CRM_CONFIG__H__IN
24 #define CRM_CONFIG__H__IN
25 
26 /****** Versions ******/
27 
28 /* Current pacemaker version */
29 #define PACEMAKER_VERSION "1.1.18"
30 
31 /* Build version */
32 #define BUILD_VERSION "7fdfbbe"
33 
34 /****** Other ******/
35 
36 /* Group to run Pacemaker daemons as */
37 #define CRM_DAEMON_GROUP "haclient"
38 
39 /* User to run Pacemaker daemons as */
40 #define CRM_DAEMON_USER "hacluster"
41 
42 /****** Directories ******/
43 
44 /* Where Pacemaker can store log files */
45 #define CRM_LOG_DIR "/var/log/pacemaker"
46 
47 /* Location for Pacemaker daemons */
48 #define CRM_DAEMON_DIR "/usr/libexec/pacemaker"
49 
50 /* Where to keep blackbox dumps */
51 #define CRM_BLACKBOX_DIR "/var/lib/pacemaker/blackbox"
52 
53 /* Where to keep configuration files */
54 #define CRM_CONFIG_DIR "/var/lib/pacemaker/cib"
55 
56 /* Where to keep PEngine outputs */
57 #define PE_STATE_DIR "/var/lib/pacemaker/pengine"
58 
59 /* Location to store core files produced by Pacemaker daemons */
60 #define CRM_CORE_DIR "/var/lib/pacemaker/cores"
61 
62 /* Where to keep state files and sockets */
63 #define CRM_STATE_DIR "/var/run/crm"
64 
65 /* Location for the Pacemaker Relax-NG Schema */
66 #define CRM_DTD_DIRECTORY "/usr/share/pacemaker"
67 
68 /****** Features ******/
69 
70 /* Set of enabled features */
71 #define CRM_FEATURES " generated-manpages agent-manpages ascii-docs publican-docs ncurses libqb-logging libqb-ipc systemd nagios corosync-native atomic-attrd acls"
72 
73 /* Support the Heartbeat messaging and membership layer */
74 #define SUPPORT_HEARTBEAT 0
75 
76 /* Support the Corosync messaging and membership layer */
77 #define SUPPORT_COROSYNC 1
78 
79 /* Support the Pacemaker plugin for Corosync */
80 #define SUPPORT_PLUGIN 0
81 
82 /* Support the consumption of membership and quorum from corosync */
83 #define SUPPORT_CS_QUORUM 1
84 
85 /* Support systemd based system services */
86 #define SUPPORT_SYSTEMD 1
87 
88 /* Support upstart based system services */
89 #define SUPPORT_UPSTART 0
90 
91 
92 /****** Compatibility ******/
93 
94 /* Does corosync use libqb for its ipc */
95 #define CS_USES_LIBQB 1
96 
97 /* Compatibility alias for SUPPORT_COROSYNC */
98 /* #undef SUPPORT_AIS */
99 
100 /* Compatibility alias for SUPPORT_COROSYNC */
101 /* #undef AIS_COROSYNC */
102 
103 #endif /* CRM_CONFIG__H__IN */