Non root geo-replication setup is now simplified. This patch provides cli for mountbroker user and options management To set Options, gluster system:: execute mountbroker opt <KEY> <VALUE> # for example, gluster system:: execute mountbroker opt mountbroker-root /var/mountbroker-root gluster system:: execute mountbroker opt geo-replication-log-group geogroup gluster system:: execute mountbroker opt rpc-auth-allow-insecure on To remove option, gluster system:: execute mountbroker optdel <KEY> # for example, gluster system:: execute mountbroker optdel geo-replication-log-group To add/edit user, gluster system:: execute mountbroker user <USERNAME> <VOLUMES> # for example gluster system:: execute mountbroker user geoaccount slavevol1,slavevol2 To remove user, gluster system:: execute mountbroker userdel <USERNAME> # for example gluster system:: execute mountbroker userdel geoaccount For info, gluster system:: execute mountbroker info gluster system:: execute mountbroker -j info For JSON output add -j after mountbroker, for example, gluster system:: execute mountbroker -j user geoaccount slavevol1,slavevol2 PS: Each peer prints its own JSON output, aggregator required from consumer side BUG: 1136312 Change-Id: Ie52210c0bcc91ac2ffd3ba58988222ffca62b47f Signed-off-by: Aravinda VK <avishwan@redhat.com> Reviewed-on: http://review.gluster.org/9398 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: darshan n <dnarayan@redhat.com> Reviewed-by: Kotresh HR <khiremat@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
89 lines
1.7 KiB
Plaintext
89 lines
1.7 KiB
Plaintext
aclocal.m4
|
|
autom4te.cache
|
|
build
|
|
config.*
|
|
configure
|
|
depcomp
|
|
install-sh
|
|
ltmain.sh
|
|
Makefile.in
|
|
missing
|
|
test-driver
|
|
*compile
|
|
*.gcda
|
|
*.gcno
|
|
*.sw?
|
|
*~
|
|
*.lo
|
|
*.la
|
|
*.o
|
|
*.tar.gz
|
|
*.rpm
|
|
*.diff
|
|
*.patch
|
|
.libs
|
|
.deps
|
|
Makefile
|
|
stamp-h1
|
|
# Softlinks to test and log
|
|
log
|
|
*.vol
|
|
|
|
# cmocka unit tests
|
|
*.log
|
|
*.trs
|
|
*_unittest
|
|
|
|
# Generated files
|
|
*.py[co]
|
|
api/examples/__init__.py
|
|
api/examples/setup.py
|
|
api/src/gfapi.map
|
|
cli/src/gluster
|
|
contrib/argp-standalone/libargp.a
|
|
contrib/fuse-util/fusermount-glusterfs
|
|
contrib/uuid/uuid_types.h
|
|
extras/geo-rep/gsync-sync-gfid
|
|
extras/init.d/glusterd-Debian
|
|
extras/init.d/glusterd-FreeBSD
|
|
extras/init.d/glusterd-Redhat
|
|
extras/init.d/glusterd-SuSE
|
|
extras/init.d/glusterd.plist
|
|
extras/ocf/glusterd
|
|
extras/ocf/volume
|
|
extras/run-gluster.tmpfiles
|
|
extras/systemd/glusterd.service
|
|
extras/who-wrote-glusterfs/gitdm
|
|
geo-replication/.tox
|
|
geo-replication/src/gsyncd
|
|
geo-replication/src/gsyncd
|
|
geo-replication/src/peer_add_secret_pub
|
|
geo-replication/src/peer_gsec_create
|
|
geo-replication/src/peer_mountbroker
|
|
geo-replication/src/set_geo_rep_pem_keys.sh
|
|
geo-replication/syncdaemon.egg-info
|
|
geo-replication/syncdaemon/configinterface.py
|
|
geo-replication/tests/unit/.coverage
|
|
geo-replication/tests/unit/cover
|
|
geo-replication/tests/unit/coverage.xml
|
|
geo-replication/tests/unit/nosetests.xml
|
|
geo-replication/tests/unit/results.html
|
|
glusterfs-api.pc
|
|
glusterfs.spec
|
|
glusterfsd/src/glusterd
|
|
glusterfsd/src/glusterfs
|
|
glusterfsd/src/glusterfsd
|
|
heal/src/glfsheal
|
|
libgfchangelog.pc
|
|
libglusterfs/src/graph.lex.c
|
|
libglusterfs/src/y.tab.c
|
|
libglusterfs/src/y.tab.h
|
|
libtool
|
|
run-tests.sh
|
|
tests/env.rc
|
|
tests/utils/arequal-checksum
|
|
xlators/features/glupy/src/__init__.py
|
|
xlators/features/glupy/src/setup.py
|
|
xlators/mount/fuse/utils/mount.glusterfs
|
|
xlators/mount/fuse/utils/mount_glusterfs
|