Graceful Shutdown¶
Before updating a PLOSSYS 5 server in the cluster mode, the server has to be shutdowned gracefully. This way, the checkin services are closed for new jobs and the router is forced to send these jobs to another server. After closing the checkin services, wait for the system to become empty and then execute the update as described in Update.
Closing the Checkin Services¶
-
Find the envconsul processes calling the checkin services by typing:
systemctl list-units --all | grep -e 'checkin'
Example - command output snippet
seal-checkin.service loaded active running LPR entrance for PLOSSYS 5. seal-ipp-checkin.service loaded inactive dead IPP entrance for PLOSSYS 5.
-
To each of the found checkin services, send a
SIGTERM
signal:sudo systemctl stop <service>
The
systemd
daemon waits for a maximum of 90 seconds for the service to stop voluntarily, after that, the service will be killed.Example - calls for the checkin services listed above
sudo systemctl stop seal-checkin sudo systemctl stop seal-ipp-checkin