Integration Server 11.1 | Microservices Runtime Guide | Starting, Shutting Down, and Restarting Microservices Runtime | Shutting Down Microservices Runtime | Shutting Down Microservices Runtime from Microservices Runtime Administrator on Windows or UNIX
 
Shutting Down Microservices Runtime from Microservices Runtime Administrator on Windows or UNIX
*To shut down Microservices Runtime from Microservices Runtime Administrator on Windows or UNIX
1. In Microservices Runtime Administrator, click > Shut down or restart.
2. Click > Shut down or restart.
3. To shut down after all client sessions end, do the following:
a. Select After all client sessions end.
b. In Maximum wait time specify the number of minutes you want Microservices Runtime to wait for client sessions to complete before shutting down. The default wait time is 10 minutes.
c. Click Shut Down.
Microservices Runtime begins monitoring user activity and automatically shuts down when all non-administrator sessions complete or when the time you specify elapses (whichever comes first).
Shutting down when all sessions end might interrupt running services that have not executed to completion.
4. To shut down after all in-flight services execute to completion, do the following:
a. Select After all service executions complete.
b. In Maximum wait time specify the number of minutes you want Microservices Runtime to wait for services to complete before shutting down. The default wait time is 10 minutes.
Note:
To specify the maximum wait time for Microservices Runtime running inside a Docker container to wait for services to complete before shutting down, pass in a value for the SAG_IS_SHUTDOWN_WAIT_TIME environment variable when starting the container.
c. If you want Microservices Runtime to cancel shut down if services are still running after the maximum wait time elapses, select Cancel shutdown after maximum wait time.
d. Click Shut Down.
Microservices Runtime blocks new inbound requests. If all services execute to completion before the wait time elapses. Microservices Runtime shuts down, terminating all active sessions. If services are still executing after the wait time elapses, Microservices Runtime does one of the following:
*If you selected Cancel shutdown after maximum wait time, Microservices Runtime stops the shut down process and unblocks inbound requests.
When the server log facility 0091 WmRoot Admin Services is set to Info or a more verbose level, Microservices Runtime writes the list of services running when the wait time elapsed to the server log. To determine which services prevented shut down, review the server log.
*If you did not select Cancel shutdown after maximum wait time, Microservices Runtime writes a list of services still running at the end of the wait time to the server log, interrupts any running services, terminates all active sessions, and shuts down. Microservices Runtime writes the list of running services only when the server log facility 0091 WmRoot Admin Services is set to Info or a more verbose level.
5. To shut down immediately, select Immediately and click Shut Down
Microservices Runtime terminates all active sessions, interrupts any currently running services, and shuts down immediately.