diff options
| author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2008-07-10 10:37:22 +1000 |
|---|---|---|
| committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2008-07-10 10:37:22 +1000 |
| commit | ab8535eaa5073737391a6d160e6f34377061d20e (patch) | |
| tree | 2fce9e43d09135597efede6bed758a71158e1758 /ctdb/include | |
| parent | 3c0d725e0bd4efd744d2d3c3a8293ede8203437b (diff) | |
| download | samba-ab8535eaa5073737391a6d160e6f34377061d20e.tar.gz samba-ab8535eaa5073737391a6d160e6f34377061d20e.tar.xz samba-ab8535eaa5073737391a6d160e6f34377061d20e.zip | |
make LVS a capability so that we can see which nodes are configured with
LVS and which are not using LVS.
"ctdb getcapabilities"
(This used to be ctdb commit 172d01fb34f032e098b1c77a7b0f17bf11301640)
Diffstat (limited to 'ctdb/include')
| -rw-r--r-- | ctdb/include/ctdb_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index ad4805fcef..4124f649fc 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -355,6 +355,8 @@ enum ctdb_freeze_mode {CTDB_FREEZE_NONE, CTDB_FREEZE_PENDING, CTDB_FREEZE_FROZEN /* The different capabilities of the ctdb daemon. */ #define CTDB_CAP_RECMASTER 0x00000001 #define CTDB_CAP_LMASTER 0x00000002 +/* This capability is set if CTDB_LVS_PUBLIC_IP is set */ +#define CTDB_CAP_LVS 0x00000004 /* main state of the ctdb daemon */ struct ctdb_context { |
