Skip to content

Commit

Permalink
Added note about multi-instance operation to README
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs6f committed Jan 24, 2013
1 parent c61bc4d commit c6b8b2c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -32,3 +32,12 @@ Before creating fedora-like namespaced nodes, you need to register a namespace:
```bash
curl "http://localhost:8080/rest/namespaces/asdf" -X POST
```

To run clustered instances on a single machine, start by making as many copies of the project as you want instances. Then, if each project directory, launch the prototype with a different port, a la:
```
$ mvn -Djetty.port=9999 clean jetty:run
$ cd ../other-copy
$ mvn -Djetty.port=9998 clean jetty:run
and the instances should find each other via JGroups using TCP.

0 comments on commit c6b8b2c

Please sign in to comment.