Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a wizard for setting up a cluster #529

Closed
wants to merge 1 commit into from

Conversation

robertkowalski
Copy link
Contributor

how to test:

set the port in exports.couch to a node that will handle the
setup (the "setup-node"):

exports.couch = 'http://localhost:15984/';

if you change the port of the setup node during setup the wizard will
lose the connection and can't finish.

(this will change in a proper release where fauxton is running on each node)

how to run couch:

rm -rf dev/lib/ && rm -rf dev/logs/ && /dev/run --with-admin-party-please --no-join

deletes your dbs, the --no-join spawns three nodes that are not joined into a cluster

how to test:

set the port in `exports.couch` to a node that will handle the
setup (the "setup-node"):

```
exports.couch = 'http://localhost:15984/';
```

if you change the port of the setup node during setup the wizard will
lose the connection and can't finish.
@robertkowalski
Copy link
Contributor Author

note: you need to run configure & make before testing, as it requires the latest version of https://github.com/apache/couchdb-setup

@robertkowalski
Copy link
Contributor Author

scenarios:

single node setup (set port in form to 15984):
rm -rf dev/lib/ && rm -rf dev/logs/ && /dev/run --with-admin-party-please --no-join -n1
rm -rf dev/lib/ && rm -rf dev/logs/ && /dev/run --admin=tester:testerpass --no-join -n1


three node setup (set port in form for main node to 15984 and add 25984, 35984):
rm -rf dev/lib/ && rm -rf dev/logs/ && /dev/run --with-admin-party-please --no-join
rm -rf dev/lib/ && rm -rf dev/logs/ && /dev/run --admin=tester:testerpass --no-join

@michellephung
Copy link
Member

this is working ok.

a little confusing what ports are acceptable, but not a blocker
+1 because it is working.

one small thing:

screen shot 2015-10-29 at 7 00 48 pm

I think this is supposed to say something other than 'undefined'.

@robertkowalski
Copy link
Contributor Author

I think this is supposed to say something other than 'undefined'.

it goes away if you restart grunt after switching the branch, because the build system has to bake the string into the dashboard.

@robertkowalski
Copy link
Contributor Author

merged!

asfgit pushed a commit that referenced this pull request Oct 30, 2015
how to test:

set the port in `exports.couch` to a node that will handle the
setup (the "setup-node"):

```
exports.couch = 'http://localhost:15984/';
```

if you change the port of the setup node during setup the wizard will
lose the connection and can't finish.

PR: #529
PR-URL: #529
Reviewed-By: Michelle Phung <michellep@apache.org>
@robertkowalski robertkowalski deleted the setup branch October 30, 2015 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants