Restart an application
Restarting one instance of an app
To restart an application on one machine, SSH into the machine then run:
sudo service <app> restart
This will terminate any active requests to that instance of the app, and so may cause a few errors. Other instances of the app on different machines will not restart.
Restarting all instances of an app
To restart an application on all machines:
- Go to the Deploy_App Jenkins job
TARGET_APPLICATION, choose the app to restart
TAG, choose the current release
- Click “Build”
All the instances of the app will restart at roughly the same time, so any pages served by the app will be briefly unavailable, and there will be a spike of 5xx errors.