pacemaker  2.0.5-ba59be712
Scalable High-Availability cluster resource manager
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 2006-2018 the Pacemaker project contributors
6  *
7  * The version control history for this file may have further details.
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22  */
23 
24 #ifndef CRM_CONFIG__H__IN
25 #define CRM_CONFIG__H__IN
26 
27 /****** Versions ******/
28 
29 /* Current pacemaker version */
30 #define PACEMAKER_VERSION "2.0.5"
31 
32 /* Build version */
33 #define BUILD_VERSION "ba59be712"
34 
35 /****** Other ******/
36 
37 /* Group to run Pacemaker daemons as */
38 #define CRM_DAEMON_GROUP "haclient"
39 
40 /* User to run Pacemaker daemons as */
41 #define CRM_DAEMON_USER "hacluster"
42 
43 /****** Directories ******/
44 
45 /* Where Pacemaker can store log files */
46 #define CRM_LOG_DIR "/var/log/pacemaker"
47 
48 /* Location for Pacemaker daemons */
49 #define CRM_DAEMON_DIR "/usr/libexec/pacemaker"
50 
51 /* Where to keep blackbox dumps */
52 #define CRM_BLACKBOX_DIR "/var/lib/pacemaker/blackbox"
53 
54 /* Where to keep configuration files */
55 #define CRM_CONFIG_DIR "/var/lib/pacemaker/cib"
56 
57 /* Where to keep scheduler outputs */
58 #define PE_STATE_DIR "/var/lib/pacemaker/pengine"
59 
60 /* Location to store core files produced by Pacemaker daemons */
61 #define CRM_CORE_DIR "/var/lib/pacemaker/cores"
62 
63 /* Where to keep state files and sockets */
64 #define CRM_STATE_DIR "/var/run/crm"
65 
66 /* Location for the Pacemaker Relax-NG Schema */
67 #define CRM_SCHEMA_DIRECTORY "/usr/share/pacemaker"
68 
69 /* Where to keep configuration files like authkey */
70 #define PACEMAKER_CONFIG_DIR "/etc/pacemaker"
71 
72 /****** Features ******/
73 
74 /* Set of enabled features */
75 #define CRM_FEATURES " generated-manpages agent-manpages ascii-docs publican-docs ncurses libqb-logging libqb-ipc systemd nagios corosync-native atomic-attrd acls"
76 
77 /* Support the Corosync messaging and membership layer */
78 #define SUPPORT_COROSYNC 1
79 
80 /* Support systemd based system services */
81 #define SUPPORT_SYSTEMD 1
82 
83 /* Support upstart based system services */
84 #define SUPPORT_UPSTART 0
85 
86 #endif /* CRM_CONFIG__H__IN */