How to Start/Restart/Deploy the Application

Anna Dowling 2018/02/23 05:12

To start the application use the following command and correct env (nvqa/prodatc):

ansible-playbook -v -i env/prodatc/hosts startup-footprints.yml --ask-vault-pass

Or alternatively on the required server run the following commands:

cd /var/tomcat/footprints/bin
./startup.sh
ps -edf | grep foot

To stop the application use the following command and correct env (nvqa/prodatc):

ansible-playbook -i env/prodatc/hosts shutdown-applications.yml --ask-vault-pass

Or alternatively on the required server run the following commands:

cd /var/tomcat/footprints/bin
./shutdown.sh
ps -edf | grep foot

To redeploy the application use the following command and correct env (nvqa/prodatc):

ansible-playbook -i env/prodatc/hosts redeploy-footprints.yml --ask-vault-pass