summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRamesh Nachimuthu <rnachimu@redhat.com>2014-04-29 14:19:25 +0530
committerSahina Bose <sabose@redhat.com>2014-04-30 05:42:53 -0700
commit6fa90e73ddeb2a5df1e6ab01837a249274928ff6 (patch)
tree978aa35bf69de0acede3ea4a8f5e853dc8b47c1d /config
parentc33ec5936f3ef9fffe9bafc01e08af5a18c46fa2 (diff)
autoconf: Use only brick path in brick service
Change the brick service description to "Brick Status - <brick-path>". Currently it is "Brick Status - <hostaddress>:<brick-path>". Same case for Brick utilization service also. Change-Id: I3924f15e3b8b86826c0019c5ab52bd371a970cf1 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: http://review.gluster.org/7597 Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'config')
-rw-r--r--config/glustercluster.cfg.sample24
1 files changed, 14 insertions, 10 deletions
diff --git a/config/glustercluster.cfg.sample b/config/glustercluster.cfg.sample
index 191b6ee..adf823d 100644
--- a/config/glustercluster.cfg.sample
+++ b/config/glustercluster.cfg.sample
@@ -50,28 +50,32 @@ define host{
# This defines a Brick utilization service
# Edit this sample
# host_name = host the brick is on
-# service_description = brick name of form serverip:brickdir
+# service_description = Brick Utilization - <brickdir>
# _BRICK_DIR = Path to brick on server
+# _VOL_NAME = Volume name the brick is part of
################################################################################
define service {
- use brick-service
- host_name host.ipaddress1
- service_description Brick Utilization - host.ipaddress1:/bricks/b1
- _BRICK_DIR /bricks/b1 ; MUST DECLARE the custom var _BRICK_DIR
+ use brick-service
+ host_name host.ipaddress1
+ service_description Brick Utilization - /bricks/b1
+ _BRICK_DIR /bricks/b1 ; MUST DECLARE the custom var _BRICK_DIR
+ _VOL_NAME Vol-1
}
################################################################################
# This defines a Brick Status service
# Edit this sample
# host_name = host the brick is on
-# service_description = brick name of form serverip:brickdir
+# service_description = Brick Status - <brickdir>
# _BRICK_DIR = Path to brick on server
+# _VOL_NAME = Volume name the brick is part of
################################################################################
define service {
- use brick-passive-service
- host_name host.ipaddress1
- service_description Brick Status - host.ipaddress1:/bricks/b1
- _BRICK_DIR /bricks/b1 ; MUST DECLARE the custom var _BRICK_DIR
+ use brick-passive-service
+ host_name host.ipaddress1
+ service_description Brick Status - /bricks/b1
+ _BRICK_DIR /bricks/b1 ; MUST DECLARE the custom var _BRICK_DIR
+ _VOL_NAME Vol-1
}
################################################################################