Red Hat Bugzilla – Bug 851237
[FEAT] Add gluster cli interface for setting a 'group' of options in one go.
Last modified: 2015-11-03 18:04:37 EST
Description of problem:
Gluster CLI doesn't have an interface that facilitates setting of multiple options in one go, which can be grouped by a purpose. ie., if the storage admin wants to set a group of options in order to favour certain work loads like volumes serving VM images, small files etc, she should remember them everytime such a volume is created and apply those options onto the volume.
One way to solve the above 'gap' is as follows,
#gluster volume set VOLNAME group virt
Here "group" is a special (reserved) key. "virt" would be the name of the file under /var/lib/glusterd/groups, which contains the options that need to be set on a volume. The file must be of the following format,
The admin has the flexibility of grouping her own options under a group name, like "virt" in the above example and applying it to volumes wherever applicable. She could also modify what options (and values) of a group, but should remember that the updated values don't take effect to the volumes that were 'set' with the group options prior to the update.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Fixed by http://review.gluster.org/3831 on master.
CHANGE: http://review.gluster.org/4232 (Added virt group file - template for 'group' set) merged in master by Anand Avati (email@example.com)
*** Bug 1006698 has been marked as a duplicate of this bug. ***