11/11/2013: Watching Accumulo Heal Itself
Watching Accumulo heal itself was exciting - prove of technology stuff.
1. Start a cluster with a master and two nodes using https://github.com/medined/Accumulo_1_5_0_By_Vagrant.
2. Visit http://affy-master:50095/ to verify that two tablet servers are running.
3. Enable auto-refresh.
4. Run 'vagrant destroy slave1'
5. Visit http://affy-master:50095/. In a minute or two you should see one Dead Tablet Server. You'll also see messages on the Recent Logs page.
6. Run 'vagrant up slave1'
7. Run 'vagrant ssh slave1 -c /vagrant/files/post_spinup_setup_ssh.sh' to re-establish SSH public keys.
8. Run 'vagrant ssh master -c "accumulo_home/bin/accumulo/bin/start-all.sh"' to re-start the Accumulo processes on slave1.
9. Visit http://affy-master:50095/. In a minute or two you should have both Tablet Servers alive and responding to requests.
2. Visit http://affy-master:50095/ to verify that two tablet servers are running.
3. Enable auto-refresh.
4. Run 'vagrant destroy slave1'
5. Visit http://affy-master:50095/. In a minute or two you should see one Dead Tablet Server. You'll also see messages on the Recent Logs page.
6. Run 'vagrant up slave1'
7. Run 'vagrant ssh slave1 -c /vagrant/files/post_spinup_setup_ssh.sh' to re-establish SSH public keys.
8. Run 'vagrant ssh master -c "accumulo_home/bin/accumulo/bin/start-all.sh"' to re-start the Accumulo processes on slave1.
9. Visit http://affy-master:50095/. In a minute or two you should have both Tablet Servers alive and responding to requests.
10/28/2013: Vagrant Setup For Three Node Accumulo Cluster
I've put together three github projects (one for each Accumulo version) to start a three-node cluster of Virtual Machines using Virtual Box. They should be easy to adapt to any cloud provider.
https://github.com/medined/Accumulo_1_6_0_By_Vagrant
https://github.com/medined/Accumulo_1_5_0_By_Vagrant
https://github.com/medined/Accumulo_1_4_4_By_Vagrant
Let me know if you run into any problems. Or see a way to improve them.