CRON: btwn Friday 12:00 AM and 42:00 AM, every five minutes - all nodes
- Look for refresh flag file
- run nodeRefresh script
- kill instance
- take tomcat snapshot
- run copy-tomcat script
- run start script
- sleep 5
- if grep 'Startup...' text != 0 goto (this line -1)
- run jmeter test script
- email results
- if grep ERROR jmeter.log != 1 delete refresh flag file ; end
else- restore tomcat snapshot
- run jmeter test script
- email results
- else
- set refresh flag file for child nodes
- (if child node fails don't start up)
- delete refresh flag file