[
https://issues.apache.org/jira/browse/COUCHDB-2601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14628194#comment-14628194
]
ASF GitHub Bot commented on COUCHDB-2601:
-----------------------------------------
GitHub user robertkowalski opened a pull request:
https://github.com/apache/couchdb-fauxton/pull/480
Just enable config for a "cluster-of-one"
Warn users if they run multi node setups.
Testing instructions for single node setups, given you usually run
a cluster of three nodes:
1. stop couchdb, connect fauxton to a single node, change
```
exports.couch = 'http://localhost:15984/';
```
in `tasks/helper.js`
2. get rid of `dev/lib/` in the couchdb folder, so the cluster does
not know about the other nodes any more, caution: you will lose
your current dbs.
3. boot couchdb with one node:
```
./dev/run --with-admin-party-please -n1
```
4. PROFIT!
COUCHDB-2601 COUCHDB-2599 COUCHDB-2390
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/robertkowalski/couchdb-fauxton
config-per-node-new
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fauxton/pull/480.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #480
----
commit ef1f2271fbcc2ef915ee7c504295845f3ecafa23
Author: Robert Kowalski <[email protected]>
Date: 2015-06-23T11:44:49Z
Revert "Detect if we run on a backdoor port"
This reverts commit 9ab1292d4e926ecba7c15291a04feb0342b40b21.
commit 7cba0f11fd0de9a10d5729a6bb1d4842fda6fea8
Author: Robert Kowalski <[email protected]>
Date: 2015-07-14T13:14:51Z
Admin: Fix style issues
commit f686784e70df5867e7701bf83afa15dd8dbb68c4
Author: Robert Kowalski <[email protected]>
Date: 2015-07-13T14:31:18Z
Just enable config for a "cluster-of-one"
Warn users if they run multi node setups.
Testing instructions for single node setups, given you usually run
a cluster of three nodes:
1. stop couchdb, connect fauxton to a single node, change
```
exports.couch = 'http://localhost:15984/';
```
in `tasks/helper.js`
2. get rid of `dev/lib/` in the couchdb folder, so the cluster does
not know about the other nodes any more, caution: you will lose
your current dbs.
3. boot couchdb with one node:
```
./dev/run --with-admin-party-please -n1
```
4. PROFIT!
COUCHDB-2601 COUCHDB-2599 COUCHDB-2390
----
> Config section - remove handler from chttpd
> -------------------------------------------
>
> Key: COUCHDB-2601
> URL: https://issues.apache.org/jira/browse/COUCHDB-2601
> Project: CouchDB
> Issue Type: Task
> Security Level: public(Regular issues)
> Components: Database Core, Fauxton
> Reporter: Robert Kowalski
> Assignee: Robert Kowalski
> Priority: Blocker
> Fix For: 2.0.0
>
>
> if Fauxton gets a 404 we are not using the backdoor port which still
> supports `/_config` - this also solves the problem if user are using curl and
> try to change configuration on a clustered CouchDB behind a LB
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)