pacemaker  2.0.1-57cc9c14bf
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 (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 "2.0.1"
30 
31 /* Build version */
32 #define BUILD_VERSION "57cc9c14bf"
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/lib/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 scheduler 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_SCHEMA_DIRECTORY "/usr/share/pacemaker"
67 
68 /* Where to keep configuration files like authkey */
69 #define PACEMAKER_CONFIG_DIR "/etc/pacemaker"
70 
71 /****** Features ******/
72 
73 /* Set of enabled features */
74 #define CRM_FEATURES " generated-manpages agent-manpages ascii-docs publican-docs ncurses libqb-logging libqb-ipc lha-fencing systemd nagios corosync-native atomic-attrd acls"
75 
76 /* Support the Corosync messaging and membership layer */
77 #define SUPPORT_COROSYNC 1
78 
79 /* Support systemd based system services */
80 #define SUPPORT_SYSTEMD 1
81 
82 /* Support upstart based system services */
83 #define SUPPORT_UPSTART 0
84 
85 #endif /* CRM_CONFIG__H__IN */