Freezing a service
When preparing for a temporary maintenance shutdown, you may want to freeze a service without releasing the resource. When a service is frozen, you prevent resources from being reassigned. The resource request is adjusted to suit resources allocated currently, so that the service neither receives more resources from EGO nor releases resources to EGO.
Before you begin
- You must be a cluster administrator or have the Services Control permission to freeze a service.
- The service must be registered and in the STARTED or ALLOCATING state.
About this task
When you freeze a large number of system service instances, tune performance with the EGO_MAX_CHUNK_SIZE parameter, which specifies the number of requests EGO handles in chunks, in the $EGO_CONFDIR/ego.conf file.
Procedure
Results
What to do next
After a service is FROZEN, you can stop or unfreeze the service. You cannot, however, migrate
the service.
- If you stop the service, all resources allocated to the service are released and the corresponding service instances are killed. The service is then placed in the DEFINED state.
- If you unfreeze the service, the service is enabled to receive more resources or release resources as required. It is then placed in the STARTED or ALLOCATING state based on the number of service instances in the RUN and HOLD states.