Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1223201 - Simplify creation and set-up of meta-volume (shared storage)
Simplify creation and set-up of meta-volume (shared storage)
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: snapshot (Show other bugs)
3.0
Unspecified Unspecified
high Severity unspecified
: ---
: RHGS 3.1.0
Assigned To: Avra Sengupta
storage-qa-internal@redhat.com
Scheduler
: Triaged
Depends On: 1222013 1228181
Blocks: 1202842 1223636
  Show dependency treegraph
 
Reported: 2015-05-20 01:59 EDT by Avra Sengupta
Modified: 2016-09-17 08:52 EDT (History)
7 users (show)

See Also:
Fixed In Version: glusterfs-3.7.1-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1222013
Environment:
Last Closed: 2015-07-29 00:43:45 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 04:26:26 EDT

  None (edit)
Description Avra Sengupta 2015-05-20 01:59:13 EDT
+++ This bug was initially created as a clone of Bug #1222013 +++

Description of problem:
The creation and setting up (mounting on nodes) of meta-volume(gluster_shared_storage) should be made simpler for the admin.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2015-05-15 09:52:45 EDT ---

REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#1) for review on master by Avra Sengupta (asengupt@redhat.com)

--- Additional comment from Anand Avati on 2015-05-18 07:53:00 EDT ---

REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#2) for review on master by Avra Sengupta (asengupt@redhat.com)

--- Additional comment from Anand Avati on 2015-05-19 11:00:46 EDT ---

REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#3) for review on master by Avra Sengupta (asengupt@redhat.com)

--- Additional comment from Anand Avati on 2015-05-19 11:12:34 EDT ---

REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#4) for review on master by Avra Sengupta (asengupt@redhat.com)
Comment 3 Avra Sengupta 2015-06-05 05:39:48 EDT
Upstream Url: http://review.gluster.org/#/c/10793/
Release 3.7 Branch Url: http://review.gluster.org/#/c/11086/
RHGS 3.1 Branch Url: https://code.engineering.redhat.com/gerrit/50103
Comment 4 senaik 2015-06-17 06:36:03 EDT
Version :glusterfs-3.7.1-3.el6rhs.x86_64

1) Create a 2 node cluster
 
2) Run gluster v set all  cluster.enable-shared-storage enable

3) Check gluster v info. 1x2 volume is created and mounted on 
/var/run/gluster/shared_storage 

gluster_shared_storage
Type: Replicate
Volume ID: ec529eb4-a43c-4c48-a64e-3c1e0634a3ae
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: rhs-arch-srv2.lab.eng.blr.redhat.com:/var/run/gluster/ss_brick
Brick2: 10.70.34.50:/var/run/gluster/ss_brick
Options Reconfigured:
performance.readdir-ahead: on
cluster.enable-shared-storage: enable

 df |grep shared
10.70.34.50:/gluster_shared_storage
                       27058304 2429952   23247104  10% /var/run/gluster/shared_storage

4)Initialise snap_scheduler from all nodes 

5)Enable snap_scheduler from one node

6)Add a job which creates snapshots every 5 mins 
 snap_scheduler.py add "Job1" "*/5 * * * * " "vol0"
snap_scheduler: Successfully added snapshot schedule

7)Check gluster snapshot list after sometime . Snapshots were created successfully.
 gluster snapshot list
Scheduled-Job1-vol0_GMT-2015.06.17-09.15.01
Scheduled-Job1-vol0_GMT-2015.06.17-09.20.01
Scheduled-Job1-vol0_GMT-2015.06.17-09.25.01

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Run cluster.enable-shared-storage option on a 4 node cluster , it creates a 1x3 shared storage volume. 

gluster v set all cluster.enable-shared-storage enable
volume set: success
[root@inception scripts]# gluster v info 
 
Volume Name: gluster_shared_storage
Type: Replicate
Volume ID: aa0943db-1eef-462a-8af2-b8ac3da7ff06
Status: Started
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: rhs-arch-srv2.lab.eng.blr.redhat.com:/var/run/gluster/ss_brick
Brick2: rhs-arch-srv3.lab.eng.blr.redhat.com:/var/run/gluster/ss_brick
Brick3: 10.70.34.50:/var/run/gluster/ss_brick
Options Reconfigured:
performance.readdir-ahead: on
cluster.enable-shared-storage: enable

Added jobs and snapshots were created successfully 

Marking the bug 'Verified'
Comment 5 errata-xmlrpc 2015-07-29 00:43:45 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1495.html

Note You need to log in before you can comment on or make changes to this bug.