Bug 764470 (GLUSTER-2738) - "volume gsync configure <master> <slave> config-<subop> ..." is overly verbose
Summary: "volume gsync configure <master> <slave> config-<subop> ..." is overly verbose
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2738
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Csaba Henk
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-13 05:54 UTC by Csaba Henk
Modified: 2011-05-16 11:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTA
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Csaba Henk 2011-04-13 05:54:23 UTC
Indeed,

  volume gsync config <master> <slave> [[!]opt [val]]

is proposed.

Comment 1 Anand Avati 2011-04-13 08:43:30 UTC
PATCH: http://patches.gluster.com/patch/6857 in master (cli: simplfy gsysnc configuration command)

Comment 2 Lakshmipathi G 2011-04-15 09:25:17 UTC
tested with 3.2.0qa12

(a)get
# gluster volume gsync config :beta1 root.compute.amazonaws.com::slave pid-file
pid_file: /etc/glusterd/gsync/gluster%3A%2F%2F127.0.0.1%3Abeta1/ssh%3A%2F%2Froot%4079.125.76.86%3Agluster%3A%2F%2F127.0.0.1%3Aslave.pid

(b) set
#gluster volume gsync config :beta1 root.compute.amazonaws.com::slave gluster-log-file /tmp/glfs.log

(c)get-all
# gluster volume gsync config :beta1 root.compute.amazonaws.com::slave
state_file: /etc/glusterd/gsync/gluster%3A%2F%2F127.0.0.1%3Abeta1/ssh%3A%2F%2Froot%4079.125.76.86%3Agluster%3A%2F%2F127.0.0.1%3Aslave.status
log_level: debug
ssh_command: ssh -oPasswordAuthentication=no
pid_file: /etc/glusterd/gsync/gluster%3A%2F%2F127.0.0.1%3Abeta1/ssh%3A%2F%2Froot%4079.125.76.86%3Agluster%3A%2F%2F127.0.0.1%3Aslave.pid
log_file: /usr/local/var/log/glusterfs/gsync/gluster%3A%2F%2F127.0.0.1%3Abeta1/ssh%3A%2F%2Froot%4079.125.76.86%3Agluster%3A%2F%2F127.0.0.1%3Aslave.log
remote_gsyncd: /usr/local/libexec/glusterfs/gsyncd -l /tmp/slave.log
gluster_command: /usr/local/sbin/glusterfs

(d)del
# gluster volume gsync config :beta1 root.compute.amazonaws.com::slave '!gluster-log-file'
config-del successful


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