diff options
| author | Aravinda VK <avishwan@redhat.com> | 2015-01-06 18:20:45 +0530 | 
|---|---|---|
| committer | Vijay Bellur <vbellur@redhat.com> | 2015-03-17 04:56:24 -0700 | 
| commit | 79009691c01f2b32b523d91a159aadd0e414f31b (patch) | |
| tree | 412ea20c19a3b606f0f98c546965e26b01d78961 /configure.ac | |
| parent | fb6858b47585244fd3cef2f0e8155a13752e0365 (diff) | |
geo-rep: mountbroker user management
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>
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index fbb6e4a073f..f4de4462aec 100644 --- a/configure.ac +++ b/configure.ac @@ -40,6 +40,7 @@ AC_CONFIG_FILES([Makefile                  libglusterfs/src/Makefile                  geo-replication/src/peer_gsec_create                  geo-replication/src/peer_add_secret_pub +                geo-replication/src/peer_mountbroker                  geo-replication/syncdaemon/configinterface.py                  glusterfsd/Makefile                  glusterfsd/src/Makefile @@ -887,6 +888,14 @@ else     LOCALSTATEDIR=$(eval echo ${localstatedir})  fi +old_prefix=$prefix +if test "x$prefix" = xNONE; then +    prefix=$ac_default_prefix +fi +GLUSTERD_VOLFILE="$(eval echo ${sysconfdir})/glusterfs/glusterd.vol" +prefix=$old_prefix + +  case $host_os in       linux*)          GF_HOST_OS="GF_LINUX_HOST_OS" @@ -1175,6 +1184,7 @@ AM_CONDITIONAL([GF_BSD_HOST_OS], test "${GF_HOST_OS}" = "GF_BSD_HOST_OS")  AC_SUBST(GLUSTERD_WORKDIR)  AM_CONDITIONAL([GF_INSTALL_GLUSTERD_WORKDIR], test ! -d ${GLUSTERD_WORKDIR} && test -d ${sysconfdir}/glusterd ) +AC_SUBST(GLUSTERD_VOLFILE)  dnl pkg-config versioning  dnl  | 
