Process documentation
...
bundle exec cap staging maintenance:enable REASON="a test of maintenance mode" UNTIL="12pm Eastern Time"
- Deploy as usual / desired
- Do anything else needed on the server that required the downtime
bundle exec cap staging maintenance:disable
Delete all the data
(Don't do this on prod!)
Shut down tomcat
rm -rf /opt/fedora-data/*
rm -rf /opt/solr/collection1/data/*
Building a new machine on AWS with Ansible
...