Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16DC9108D1 for ; Sun, 22 Mar 2015 18:24:48 +0000 (UTC) Received: (qmail 93604 invoked by uid 500); 22 Mar 2015 18:24:42 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 93543 invoked by uid 500); 22 Mar 2015 18:24:42 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 93531 invoked by uid 99); 22 Mar 2015 18:24:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Mar 2015 18:24:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of madhukaudantha@gmail.com designates 209.85.214.181 as permitted sender) Received: from [209.85.214.181] (HELO mail-ob0-f181.google.com) (209.85.214.181) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Mar 2015 18:24:38 +0000 Received: by obbgg8 with SMTP id gg8so109035320obb.1 for ; Sun, 22 Mar 2015 11:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=CMvKoghkG9kplv6mBRzWrFOJVKpfSJSokhzTsw1pO2Y=; b=NGA6BtUz8nJk+KfmA/8EnGDwKdXrnLrp/2g65+9h9te50tHgwixm8v7YTlIaqit+sY c31PON/HQFmJdr8CdSrV8Ax23rx1z5ddfeBmc80AD9Z26p0o+OkWYHhaL+Oh0msvyt1I tx0tOfnlYR7XU4HILjprwg+kUi8PcleXQye0siIKxmJK/YsOUMV9FQxpQZ4tbCPxhioC D39MaUIaCiAqjDyRgZxGn8H1bnx9XwcBYojvPTQQ+wVVaVNyw9XgsFQAiHVW6o+t20L3 +QD4Gm3FRn/tPKG6RKGwTfmPqZZUorVqw9yRmhc8jODo7ib9DE4CcrbXF0F2mW1wWjFD slwQ== X-Received: by 10.60.51.165 with SMTP id l5mr72391050oeo.69.1427048522583; Sun, 22 Mar 2015 11:22:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.96.72 with HTTP; Sun, 22 Mar 2015 11:21:22 -0700 (PDT) In-Reply-To: References: From: madhuka udantha Date: Sun, 22 Mar 2015 23:51:22 +0530 Message-ID: Subject: Re: [GSOC 2015] COUCHDB-2605 Visualize the CouchDB Cluster To: dev@couchdb.apache.org, Robert Kowalski Cc: Alexander Shorin Content-Type: multipart/alternative; boundary=001a11c3093a4416a60511e4a0ba X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3093a4416a60511e4a0ba Content-Type: text/plain; charset=UTF-8 Hi, Here are the mockup UIs for Visualizing the CouchDB Clusters. It is just the initial UIs. * Page 1-cluster.png* [https://app.box.com/s/isjbfop69j2cmz0kg0qar7l5nmupjnf l This Page visualize nodes in the clusters with summary information for each node. (Name, Memory usage..etc..) with a nice web UI interface. It is interactive (drag and drop supporting over nodes) *Page 2-cluster-notification-tip.png [* https://app.box.com/s/euc5megmx5lwseqib4511309ocoypryb ] Top of each panel of the nodes it contains a notification icon if there is notification. eg: Memory/disk space availability, Error in node etc... Notification will have a simple drop down structure as it is showing. *Page 3-cluster-warning.png* [ https://app.box.com/s/f2ljwxvz2w01f8uepsj4zyarhwbpiz8b] Critical level alert is showen. (Alert level can be set in config and notification center) *Page 4-adding-new-node.png* [ https://app.box.com/s/noygbeyze792bh4t93iaoxywdciau057] By clicking "add new node" you can add new nodes for clusters. UI Consistency is maintained *Page 5-adding-new-node-by-drag-drop.png*[ https://app.box.com/s/gbfsbwb6zt1jdkijve72mnullplecpj7] User interface is supported for drag-drop of databases in nodes. (replication operation in the BE) *Page 6-selected-db-in-node.png*[ https://app.box.com/s/6ojrvpxuvmo9k18dlnf8i4nmibzdx5s9] Each node shows the databases in it. By Clicking on database you can see detailed view of a particular database. This allows users to understand memory/data/doc distribution over DBs in particular nodes. *Page 7-custer-mgt-center.png* [ https://app.box.com/s/t9s42g3gwvv6bocbdsxrgjimdrh2ty0z] Each node is shown with disk usage under icon and summary text of the node is also given. It is easy to identify the disk space - free availability. (In here we need some BE services help) *Page 8-custer-mgt-center-infor.png* [ https://app.box.com/s/vvo4v9ji79l8japo3nm9f4lfbjhdamkc] User can customize notifications for each nodes by level (warning, infor, etc..) *Page 9-charting-disk-usages.png*[ https://app.box.com/s/fk7eyoyrtg8d3b29xoo0mdho9rr8cmyz] Cluster usage of the system is shown as a bar chart and the attributes to be shown can be selected according to user's preferences. You ideas are welcome in here. Thanks On Sun, Mar 22, 2015 at 7:34 PM, madhuka udantha wrote: > Hi All, > > As I'm drafting my proposal for GSoC 2015 I went through some of the > existing Cluster Management Systems with Visualization. I recognized some > of the features regarding to Cluster Management HTTP API. (Some times not > fully documented yet) > Such us partitioning, re-balance..etc. > I was unable to find them on CouchDB API Documentation(only at the > implemented level but not documented yet? ) but I was able to find some of > the features such as adding nodes to clusters through dev-mailing list. > Are some of these features regarding cluster management present on the > API. If so where can I find the relevant documentations/resources? Even > the source code is fine to me. > > > Since I was able to clearly identify those missing features can I start a > discussion on a thread on the best feature list for cluster management on > CouchDB to be added to it on a future release. > My current project could also include these features that are supported by > the API else I could help on including them. > > [1] http://guide.couchdb.org/draft/clustering.html > Thanks. > BR, > > On Sat, Mar 21, 2015 at 11:40 AM, madhuka udantha < > madhukaudantha@gmail.com> wrote: > >> >> >> On Sat, Mar 21, 2015 at 12:17 AM, Alexander Shorin >> wrote: >> >>> On Fri, Mar 20, 2015 at 9:28 PM, madhuka udantha >>> wrote: >>> > I like to know what is *different of '_nodes' and 'node'*? >>> > >>> > http://localhost:15986/nodes -->{"db_name":"nodes","doc_count":3..} >>> > http://localhost:25986/nodes -->{"db_name":"nodes","doc_count":1..} >>> > http://localhost:35986/nodes >>> -->{"error":"not_found","reason":"no_db_file"} >>> >>> Where did you get these nodes? >>> >> By '~/test/1/couchdb $ dev/run -n 4' I can added 4 nodes. (default it is >> 3 nodes) >> >> Here is my console print, Yes now I have four node running. >> >> *max@max-VirtualBox ~/test/1/couchdb $ dev/run -n 4* >> *Setup environment... ok* >> *Ensure CouchDB is built... ok* >> *Prepare configuration files... ok* >> *Start node node1... ok* >> *Start node node2... ok* >> *Start node node3... ok* >> *Start node node4... ok* >> *Ensure all nodes are run... ok* >> *Join nodes into cluster... ok* >> *Developers cluster is set up at http://127.0.0.1:15984 >> . Time to hack!... * >> >> Each above nodes are running in localhost in port 15986, 25986, 35986 and >> 45986 >> >> It seems docs are mainly in 15986 (node1) shown by 'doc_count' value, >> is there any reason for that or is it happening randomly? >> >> >> >> >>> >>> -- >>> ,,,^..^,,, >>> >> >> >> >> -- >> Cheers, >> Madhuka Udantha >> http://madhukaudantha.blogspot.com >> > > > > -- > Cheers, > Madhuka Udantha > http://madhukaudantha.blogspot.com > -- Cheers, Madhuka Udantha http://madhukaudantha.blogspot.com --001a11c3093a4416a60511e4a0ba--