pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
crm_config.h
Go to the documentation of this file.
1/* include/crm_config.h. Generated from crm_config.h.in by configure. */
2/*
3 * Copyright 2006-2024 the Pacemaker project contributors
4 *
5 * The version control history for this file may have further details.
6 *
7 * This source code is licensed under the GNU General Public License version 2
8 * or later (GPLv2+) WITHOUT ANY WARRANTY.
9 */
10
11#ifndef PCMK__CRM_CONFIG__H
12#define PCMK__CRM_CONFIG__H
13
14/****** Versions ******/
15
16/* Current pacemaker version */
17#define PACEMAKER_VERSION "3.0.1"
18
19/* Build version */
20#define BUILD_VERSION "16e74fc4da"
21
22/****** Other ******/
23
24/* Group to run Pacemaker daemons as */
25#define CRM_DAEMON_GROUP "haclient"
26
27/* User to run Pacemaker daemons as */
28#define CRM_DAEMON_USER "hacluster"
29
30/****** Directories ******/
31
32/* Where Pacemaker can store log files */
33#define CRM_LOG_DIR "/var/log/pacemaker"
34
35/* Location for Pacemaker daemons */
36#define CRM_DAEMON_DIR "/usr/libexec/pacemaker"
37
38/* Where to keep blackbox dumps */
39#define CRM_BLACKBOX_DIR "/var/lib/pacemaker/blackbox"
40
41/* Where to keep configuration files */
42#define CRM_CONFIG_DIR "/var/lib/pacemaker/cib"
43
44/* Where to keep scheduler outputs */
45#define PCMK_SCHEDULER_INPUT_DIR "/var/lib/pacemaker/pengine"
46
47// NOTE: sbd (as of at least 1.5.2) uses this
48/* Location to store core files produced by Pacemaker daemons */
49#define CRM_CORE_DIR "/var/lib/pacemaker/cores"
50
51/* Where to keep state files and sockets */
52#define CRM_STATE_DIR "/var/run/crm"
53
54/* Location for the Pacemaker Relax-NG Schema */
55#define PCMK_SCHEMA_DIR "/usr/share/pacemaker"
56
57/* Where to keep configuration files like authkey */
58#define PACEMAKER_CONFIG_DIR "/etc/pacemaker"
59
60/* Where OCF resource agents and libraries can be found */
61#define PCMK_OCF_ROOT "/usr/lib/ocf"
62
63/****** Features ******/
64
65/* Set of enabled features */
66#define CRM_FEATURES "agent-manpages books corosync-ge-2 generated-manpages lsb monotonic ncurses service systemd"
67
68// NOTE: sbd (as of at least 1.5.2) uses this
69/* Support the Corosync messaging and membership layer */
70#define SUPPORT_COROSYNC 1
71
72/* Support systemd based system services */
73#define SUPPORT_SYSTEMD 1
74
75#endif /* CRM_CONFIG__H */