1
/* include/hb_config.h. Generated from hb_config.h.in by configure. */
3
* hb_config.h: Definitions from the Linux-HA heartbeat program
4
* for out-of-tree projects
6
* Copyright (C) 2007 Andrew Beekhof <abeekhof@suse.de>
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2.1 of the License, or (at your option) any later version.
13
* This library 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 GNU
16
* Lesser General Public License for more details.
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27
/* have new heartbeat api */
28
#define HAVE_NEW_HB_API 1
30
/* Define to 1 if the mgmt-daemon and friends are enabled. */
31
#define MGMT_ENABLED 1
34
#define CL_USE_LIBC_MALLOC 1
36
/* Set if CLOCK_T is adequate by itself for the "indefinite future" (>= 100
38
/* #undef CLOCK_T_IS_LONG_ENOUGH */
40
/* Group to own API fifos */
41
#define HA_APIGROUP "haclient"
43
/* GID to own API fifos */
46
/* User to own CCM fifos */
47
#define HA_CCMUSER "hacluster"
49
/* UID to own CCM fifos */
52
/* Web site base URL */
53
#define HA_URLBASE "http://linux-ha.org/"
55
/* Logging Daemon IPC socket name */
56
#define HA_LOGDAEMON_IPC "/var/lib/log_daemon"
59
#define OCF_RA_DIR "/usr/lib/ocf/resource.d/"
62
#define OCF_ROOT_DIR "/usr/lib/ocf"
64
/* heartbeat rc script directory */
65
#define HA_RC_DIR "/etc/ha.d/rc.d"
67
/* heartbeat logging socket */
68
#define HA_LOGDAEMON_IPC "/var/lib/log_daemon"
71
#define HA_LIBDIR "/usr/lib"
73
/* lib heartbeat directory */
74
#define HA_LIBHBDIR "/usr/lib/heartbeat"
76
/* top directory of area to drop core files in */
77
#define HA_COREDIR "/var/lib/heartbeat/cores"
79
/* var lib directory */
80
#define HA_VARLIBDIR "/var/lib"
82
/* var lib heartbeat directory */
83
#define HA_VARLIBHBDIR "/var/lib/heartbeat"
85
/* var lock directory */
86
#define HA_VARLOCKDIR "/var/lock"
88
/* var log directory */
89
#define HA_VARLOGDIR "/var/log"
91
/* var run directory */
92
#define HA_VARRUNDIR "/var/run"
94
/* var run heartbeat directory */
95
#define HA_VARRUNHBDIR "/var/run/heartbeat"
97
/* Heartbeat configuration directory */
98
#define HA_HBCONF_DIR "/etc/ha.d"
100
/* heartbeat ra dir */
101
#define HB_RA_DIR "/etc/ha.d/resource.d/"
104
#define LSB_RA_DIR "/etc/init.d"
107
#define STONITH_RA_DIR "/usr/lib/heartbeat/stonith.d/"
109
/* pils plugin dir */
110
#define HA_PLUGIN_DIR "/usr/lib/heartbeat/plugins"
113
#define LRM_PLUGIN_DIR "/usr/lib/heartbeat/plugins/RAExec"
115
/* directory for the external stonith plugins */
116
#define STONITH_EXT_PLUGINDIR "/usr/lib/stonith/plugins/external"
118
#endif /* _HB_CONFIG_H */