Our recipe for rebuilding all the scihist_digicoll servers from scratch.
1. Build
DB
...
ansible-playbook create_kithe.yml --vault-password-file ~/.ansible_password.txt --private-key=~/.ssh/chf_prod.pem --extra-vars "role=database tier=production"
Add DB’s private IP to group_vars/kithe_production
redis_ip: new_private_ip_of_scihist_digicoll-database1-production
postgres_ip: new_private_ip_of_scihist_digicoll-database1-production
SOLR
...
ansible-playbook create_kithe.yml --vault-password-file password_file.txt --private-key=~/.ssh/chf_prod.pem --extra-vars "role=solr tier=production"
Add SOLR’s private IP to group_vars/kithe_production
...