Trouble setting up cluster

1 view
Skip to first unread message

Ryan Rosario

unread,
Oct 6, 2009, 11:32:25 AM10/6/09
to Disco-development
I am trying to set up a cluster of two machines A, and B. A contains a
master and a worker. B is just a worker. On the status page, A is
correctly displayed. When I add B to the node list in configuration, A
disappears from the status page, and B is in its place.

When I return to the configuration screen, A has been removed and only
B is displayed. This cycle continues. If I then add A back to the
table and save it, the status page will only show A, and B is removed.
It's quite annoying.

I tried to outsmart it by using the range notation. Servers are named
e-01, e-02 etc. so I entered e01:2 in configuration. Then nothing
shows up on the status page and when I return to configuration, the
node table is empty.

Why is this happening and how can I fix it?

Jared Flatow

unread,
Oct 8, 2009, 6:04:33 PM10/8/09
to disc...@googlegroups.com
Is this still on OS X? When you click save table does it display
"table saved!"? Are you entering the max number of workers?

jared

Ryan Rosario

unread,
Oct 8, 2009, 6:19:06 PM10/8/09
to Disco-development
Yes, OS X. Yes, I enter in the max number of workers.
It displays "table saved!" but the changes don't "stick" if I enter in
more than one host.

Ryan Rosario

unread,
Oct 12, 2009, 12:27:42 PM10/12/09
to Disco-development
I assume this is only happening on my system.

Is there some other way of adding nodes without using the web
interface?

Jared Flatow

unread,
Oct 12, 2009, 2:58:11 PM10/12/09
to disc...@googlegroups.com
You can edit the file $DISCO_HOME/root/disco_[port].config. It
contains a list of lists, like:

[["localhost","1"]]

You can add ["host", num_workers] lists to the lists.

I can't seem to reproduce the issue you are having but hopefully we
can fix it somehow in the next release.

jared
Reply all
Reply to author
Forward
0 new messages