이 콘텐츠는 선택한 언어로 제공되지 않습니다.

4.2. Preparing for an Upgrade


The following instructions describe how to prepare OpenShift Enterprise for an upgrade.

Procedure 4.1. To Prepare OpenShift Enterprise for an Upgrade:

  1. Perform the required backup steps before starting with the upgrade. Only proceed to the next step after the backup is complete, and the relevant personnel are notified of the upcoming outage.
  2. Disable any change management software that is being used to manage your OpenShift Enterprise installation configuration, and update it accordingly after the upgrade.
  3. If a configuration file already exists on disk during an update, the RPM package that provides the file does one of the following, depending on how the package is built:
    • Backs up the existing file with an .rpmsave extension and creates the new file.
    • Leaves the existing file in place and creates the new file with an .rpmnew extension.
    Before updating, find any .rpm* files still on disk from previous updates using the following commands:
    # updatedb
    # locate --regex '\.rpm(save|new)$'
    Copy to Clipboard Toggle word wrap
    Compare these files to the relevant configuration files currently in use and note any differences. Manually merge any desired settings into the current configuration files, then either move the .rpm* files to an archive directory or remove them.
  4. Before attempting to upgrade, ensure the latest errata have been applied for the current minor version of your OpenShift Enterprise installation. Run the yum update command, then check again for any new configuration files that have changed:
    # yum update -y
    # updatedb
    # locate --regex '\.rpm(save|new)$'
    Copy to Clipboard Toggle word wrap
    Resolve any .rpm* files found again as described in the previous step.
    Additional steps may also be required depending on the errata being applied. For more information on errata updates, see the relevant OpenShift Enterprise Release Notes at http://access.redhat.com/site/documentation.
  5. Restart any services that had their configuration files updated.
  6. Run the oo-admin-chk script on a broker host:
    # oo-admin-chk
    Copy to Clipboard Toggle word wrap
    This command checks the integrity of the MongoDB datastore against the actual deployment of application gears on the node hosts. Resolve any issues reported by this script, if possible, prior to performing an upgrade. For more information on using the oo-admin-chk script and fixing gear discrepancies, see the OpenShift Enterprise Troubleshooting Guide at http://access.redhat.com/site/documentation.
  7. Run the oo-diagnostics script on all hosts:
    # oo-diagnostics
    Copy to Clipboard Toggle word wrap
    Use the output of this command to compare after the upgrade is complete.
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat