Show Table of Contents
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:
- Enable maintenance mode using the
ENABLE_MAINTENANCE_MODEsetting in the/etc/openshift/broker.conffile on the broker host:ENABLE_MAINTENANCE_MODE="true"
- Define the location of the notification message using the
MAINTENANCE_NOTIFICATION_FILEsetting:MAINTENANCE_NOTIFICATION_FILE="/etc/openshift/outage_notification.txt"
- Create or edit the file defined in the
MAINTENANCE_NOTIFICATION_FILEsetting to contain the desired notification message seen by developers while the broker is in maintenance mode. - Restart the broker service:
#
service openshift-broker restart

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.