Este contenido no está disponible en el idioma seleccionado.

2.9. Enabling Maintenance Mode


The broker can be put into maintenance mode, in which it is running and responding, but developer requests are refused with a predefined notification message. This is useful for keeping developers informed while you perform maintenance on the OpenShift Enterprise deployment, rather than refusing the connections entirely.

Procedure 2.6. To Enable Maintenance Mode:

  1. Enable maintenance mode using the ENABLE_MAINTENANCE_MODE setting in the /etc/openshift/broker.conf file on the broker host:
    ENABLE_MAINTENANCE_MODE="true"
    Copy to Clipboard Toggle word wrap
  2. Define the location of the notification message using the MAINTENANCE_NOTIFICATION_FILE setting:
    MAINTENANCE_NOTIFICATION_FILE="/etc/openshift/outage_notification.txt"
    Copy to Clipboard Toggle word wrap
  3. Create or edit the file defined in the MAINTENANCE_NOTIFICATION_FILE setting to contain the desired notification message seen by developers while the broker is in maintenance mode.
  4. Restart the broker service:
    # service openshift-broker restart
    Copy to Clipboard Toggle word wrap
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat