diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/gluster-commands.cfg | 6 | ||||
-rw-r--r-- | config/gluster-templates.cfg | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg index ac61fc5..b4df742 100644 --- a/config/gluster-commands.cfg +++ b/config/gluster-commands.cfg @@ -101,6 +101,12 @@ define command { command_line $USER1$/gluster/check_vol_server.py $ARG1$ $ARG2$ -o geo-rep } +# since no volume is required to query quorum status, dummy is passed +define command { + command_name check_quorum_status + command_line $USER1$/gluster/check_vol_server.py $HOSTNAME$ dummy -o quorum +} + define command{ command_name check_cluster_status command_line $USER1$/gluster/check_cluster_status.py $HOSTNAME$ diff --git a/config/gluster-templates.cfg b/config/gluster-templates.cfg index 2668e6d..b9e38da 100644 --- a/config/gluster-templates.cfg +++ b/config/gluster-templates.cfg @@ -55,6 +55,13 @@ define service { } define service { + name gluster-passive-freshness-service + use gluster-passive-service + check_freshness 1 + freshness_threshold 3600 ;check freshness every 1 hour +} + +define service { name gluster-brick-status-service use gluster-service register 0 |