Pesquisar

Este conteúdo não está disponível no idioma selecionado.

2.9. Enabling Maintenance Mode

download PDF
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"
  2. Define the location of the notification message using the MAINTENANCE_NOTIFICATION_FILE setting:
    MAINTENANCE_NOTIFICATION_FILE="/etc/openshift/outage_notification.txt"
  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
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja oBlog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

© 2024 Red Hat, Inc.