Este contenido no está disponible en el idioma seleccionado.
10.4. Idling and Overcommitment
Most applications are not used at all times in a production environment. Therefore, administrators can manage a host's resources efficiently by idling unused application gears, which means that you shut down inactive gears. In OpenShift Enterprise, inactive gears can be idled either manually or automatically. Gears are restored automatically when they become active again.
The instructions in this section provide basic information on how to enable gear idling. See the OpenShift Enterprise Administration Guide at https://access.redhat.com/site/documentation for more information.
10.4.1. Manually Idling a Gear Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
Use the
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
oo-admin-ctl-gears
command with the idlegear
option and the specific gear ID to manually idle a gear:
oo-admin-ctl-gears idlegear gear_ID
# oo-admin-ctl-gears idlegear gear_IDoo-admin-ctl-gears idlegear gear_ID
To manually reactivate an idle gear, use the
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
unidlegear
option:
oo-admin-ctl-gears unidlegear gear_ID
# oo-admin-ctl-gears unidlegear gear_IDoo-admin-ctl-gears unidlegear gear_ID
Listing Idled Gears
List any idled gears with the listidle
option. The output will give the gear ID of any idled gears:
oo-admin-ctl-gears listidle
# oo-admin-ctl-gears listidle