Alexander Shorin created COUCHDB-2541: -----------------------------------------
Summary: couchdbctl Key: COUCHDB-2541 URL: https://issues.apache.org/jira/browse/COUCHDB-2541 Project: CouchDB Issue Type: Improvement Security Level: public (Regular issues) Reporter: Alexander Shorin couchdbctl is CouchDB control service utility that aims to help users manage and inspect their CouchDB instance, keeping it well and health. Few ideas what it may do: - register users with easy: {code} $ couchdbctl users add Jan Password: {code} hides routines to create /_users/org.couchdb.users:Jan document with all required fields; - run service operations: {code} $ couchdbctl db compact {code} - connect to node and provide shell: {code} $ couchdbctl attach {code} - run security audit as like as [audit-couchdb|https://github.com/iriscouch/audit_couchdb] or [couchdb-auditor|https://github.com/kxepal/python-couchdb-auditor] does; {code} $ couchdbctl audit {code} - see erltop; {code} $ couchdbctl top {code} - monitor stats and active tasks in realtime; - run replications with single command without worry about JSON and required fields: {code} $ couchdbctl replicate foo http://example.com/bar --continuous --create-target {code} - check cluster health, add/remove nodes to it; - explain errors in logs: {code} $ couchdbctl errors [error] [<0.125.0>] {error_report,<0.30.0>, {<0.125.0>,crash_report, [[{initial_call,{couch_file,init,['Argument__1']}}, {pid,<0.125.0>}, {registered_name,[]}, {error_info, {exit, {{badmatch,{error,eacces}}, [{couch_file,init,1, ... eacess error - insufficient or invalid permissions, please verify that couchdb user has all r permissions to the following paths: /var/lib/couchdb - read+write /var/log/couchdb - read+write /etc/couchdb - read+write /usr/lib64/couchdb/erlang/lib/couch-2.0.0/priv/lib - read {code} And so on and so forth. It's easy to find how this utility may improve users experience with CouchDB by simplifying common maintaining routes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)