Closed GoogleCodeExporter closed 9 years ago
Need the following:
1) zookeeper_scratch_install.sh - Installs ZooKeeper and the AppController from
scratch on the given box.
2) Change AppController's djinn.rb to add a helper method start_zookeeper()
that runs
ZooKeeper. This method will use the list of boxes running ZooKeeper to write
the ZK
config and start ZK on this box if its role is ZK. This functionality must be
able to
run as a non-root user.
3) Add a ZooKeeperHelper that provides an interface to ZK. Preferred methods are
get(key), put(key, val), and delete(key). Need to decide what the semantics are
of
these calls (e.g., what does get return when the key doesn't exist?)
4) Change appscale-add-keypair to read YAML keys as user@ip instead of just IP.
If
user is not specified, assume it is root. When ssh calls are made here, change
it to
use user@ip instead of root@ip.
5) Change appscale-run-instances to scp over needed files as user@ip instead of
just IP.
6) Change appscale-terminate-instances to scp over needed files as user@ip
instead of
just IP.
Recommendations for incremental progress are as follows:
- Pull the latest code from trunk, which has support for advanced layouts. Note
that
in the simple layout, every node should be running ZK (will need to change
tools/lib/node_layout.rb accordingly). Be sure to commit to a separate branch
until
code review is done.
Comments welcome.
Original comment by shattere...@gmail.com
on 4 Feb 2010 at 10:13
Need to have this working for the next release, since transaction support may
rely on it.
Original comment by shattere...@gmail.com
on 1 Apr 2010 at 8:34
Original comment by shattere...@gmail.com
on 22 Sep 2010 at 4:16
Original issue reported on code.google.com by
shattere...@gmail.com
on 29 Jan 2010 at 7:33