Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.1.0
-
None
-
Security Level: Public
Description
http://www.couchbase.com/docs/couchbase-manual-2.0.pdf
Table 7.4. Administration — Standard couchbase Tool Options doesn't contains the full list of available options.
Actual info we can get from from './couchbase-cli -h":
CLUSTER:
--cluster=HOST[:PORT] or -c HOST[:PORT]
OPTIONS:
-u USERNAME, --user=USERNAME admin username of the cluster
-p PASSWORD, --password=PASSWORD admin password of the cluster
-o KIND, --output=KIND KIND is json or standard
-d, --debug
server-add OPTIONS:
--server-add=HOST[:PORT] server to be added
--server-add-username=USERNAME admin username for the
server to be added
--server-add-password=PASSWORD admin password for the
server to be added
server-readd OPTIONS:
--server-add=HOST[:PORT] server to be added
--server-add-username=USERNAME admin username for the
server to be added
--server-add-password=PASSWORD admin password for the
server to be added
rebalance OPTIONS:
--server-add* see server-add OPTIONS
--server-remove=HOST[:PORT] the server to be removed
failover OPTIONS:
--server-failover=HOST[:PORT] server to failover
cluster-* OPTIONS:
--cluster-username=USER new admin username
--cluster-password=PASSWORD new admin password
--cluster-port=PORT new cluster REST/http port
--cluster-ramsize=RAMSIZEMB per node ram quota in MB
node-init OPTIONS:
--node-init-data-path=PATH per node path to store data
--node-init-index-path=PATH per node path to store index
bucket-* OPTIONS:
--bucket=BUCKETNAME bucket to act on
--bucket-type=TYPE memcached or couchbase
--bucket-port=PORT supports ASCII protocol and is auth-less
--bucket-password=PASSWORD standard port, exclusive with bucket-port
--bucket-ramsize=RAMSIZEMB ram quota in MB
--bucket-replica=COUNT replication count
--enable-flush=[0|1] enable/disable flush
--enable-index-replica=[0|1] enable/disable index replicas
--wait wait for bucket create to be complete before returning
--force force to execute command without asking for confirmation
--data-only compact datbase data only
--view-only compact view data only
setting-compacttion OPTIONS:
--compaction-db-percentage=PERCENTAGE at which point database compaction is triggered
--compaction-db-size=SIZE[MB] at which point database compaction is triggered
--compaction-view-percentage=PERCENTAGE at which point view compaction is triggered
--compaction-view-size=SIZE[MB] at which point view compaction is triggered
--compaction-period-from=HH:MM allow compaction time period from
--compaction-period-to=HH:MM allow compaction time period to
--enable-compaction-abort=[0|1] allow compaction abort when time expires
--enable-compaction-parallel=[0|1] allow parallel compaction for database and view
setting-notification OPTIONS:
--enable-notification=[0|1] allow notification
setting-alert OPTIONS:
--enable-email-alert=[0|1] allow email alert
--email-recipients=RECIPIENT email recipents, separate addresses with , or ;
--email-sender=SENDER sender email address
--email-user=USER email server username
--email-password=PWD email server password
--email-host=HOST email server host
--email-port=PORT email server port
--enable-email-encrypt=[0|1] email encrypt
--alert-auto-failover-node node was auto failover
--alert-auto-failover-max-reached maximum number of auto failover nodes was reached
--alert-auto-failover-node-down node wasn't auto failover as other nodes are down at the same time
--alert-auto-failover-cluster-small node wasn't auto fail over as cluster was too small
--alert-ip-changed node ip address has changed unexpectedly
--alert-disk-space disk space used for persistent storgage has reached at least 90% capacity
--alert-meta-overhead metadata overhead is more than 50%
--alert-meta-oom bucket memory on a node is entirely used for metadata
--alert-write-failed writing data to disk for a specific bucket has failed
setting-autofailover OPTIONS:
--enable-auto-failover=[0|1] allow auto failover
--auto-failover-timeout=TIMEOUT (>=30) specify timeout that expires to trigger auto failover
setting-xdcr OPTIONS:
--max-concurrent-reps=[32] maximum concurrent replications per bucket, 8 to 256.
--checkpoint-interval=[1800] intervals between checkpoints, 60 to 14400 seconds.
--worker-batch-size=[500] doc batch size, 500 to 10000.
--doc-batch-size=[2048]KB document batching size, 10 to 100000 KB
--failure-restart-interval=[30] interval for restarting failed xdcr, 1 to 300 seconds
--optimistic-replication-threshold=[256] document body size threshold (bytes) to trigger optimistic replication
xdcr-setup OPTIONS:
--create create a new xdcr configuration
--edit modify existed xdcr configuration
--delete delete existed xdcr configuration
--xdcr-cluster-name=CLUSTERNAME cluster name
--xdcr-hostname=HOSTNAME remote host name to connect to
--xdcr-username=USERNAME remote cluster admin username
--xdcr-password=PASSWORD remtoe cluster admin password
xdcr-replicate OPTIONS:
--create create and start a new replication
--delete stop and cancel a replication
--xdcr-from-bucket=BUCKET local bucket name to replicate from
--xdcr-clucter-name=CLUSTERNAME remote cluster to replicate to
--xdcr-to-bucket=BUCKETNAME remote bucket to replicate to