diff options
author | Aravinda VK <avishwan@redhat.com> | 2016-05-26 15:52:53 +0530 |
---|---|---|
committer | Aravinda VK <avishwan@redhat.com> | 2016-08-30 22:22:55 -0700 |
commit | 55c255b27a99f027cb716800f8330f8faa4eb1f5 (patch) | |
tree | 193c83fa11c4764ae7a5b646829242418e58825a /.gitignore | |
parent | e2b3fd30572ec8ca381540bd6b23b9ef3ae41ac5 (diff) |
geo-rep: Simplify Non root user(mountbroker) Setup
Setting up Non root Geo-replication is troublesome. Lot of steps
involved like user setup, directory creation, setting up proper
permissions, editing glusterd.vol file etc.
Introducing `gluster-mountbroker` command, with this tool non root
user setup steps are(Run the following commands in any one Slave
node),
gluster-mountbroker setup <MOUNT ROOT> <GROUP>
For example,
gluster-mountbroker setup /var/mountbroker-root geogroup
Add user using,
gluster-mountbroker add <VOLUME> <USER>
For example,
gluster-mountbroker add slavevol geoaccount
Remove user or Volume using,
gluster-mountbroker remove [--volume <VOLUME>] [--user <USER>]
Example,
gluster-mountbroker remove --volume slavevol --user geoaccount
gluster-mountbroker remove --user geoaccount
gluster-mountbroker remove --volume slavevol
Check the status of setup using,
gluster-mountbroker status
Once the changes are complete, restart glusterd in all Slave nodes.
and follow the Geo-rep instructions.
Change-Id: Ied3fa009df6a886b24ddd86d39283fcfcff68c82
BUG: 1343333
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/14544
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Saravanakumar Arumugam <sarumuga@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index c2a8d86164b..97c4d18d2aa 100644 --- a/.gitignore +++ b/.gitignore @@ -63,6 +63,7 @@ geo-replication/.tox geo-replication/src/gsyncd geo-replication/src/peer_gsec_create geo-replication/src/peer_mountbroker +geo-replication/src/peer_mountbroker.py geo-replication/src/set_geo_rep_pem_keys.sh geo-replication/syncdaemon.egg-info geo-replication/syncdaemon/configinterface.py |