CentOS 7で動いているoVirtを4.1.3から4.1.6へアップグレードしました。



手順1 yumレポジトリをアップグレード

# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm

手順2 パッケージをインストール

# yum update "ovirt-*-setup*"

手順3 engin-setupを実行

# engine-setup


  • パッケージの更新はYes

          Setup has found updates for some packages:
          PACKAGE: [updated] ovirt-engine-
          PACKAGE: [update] ovirt-engine-
          PACKAGE: [updated] ovirt-engine-backend-
          PACKAGE: [update] ovirt-engine-backend-
          PACKAGE: [updated] ovirt-engine-dbscripts-
          PACKAGE: [update] ovirt-engine-dbscripts-
          PACKAGE: [updated] ovirt-engine-dwh-4.1.1-1.el7.centos.noarch
          PACKAGE: [update] ovirt-engine-dwh-4.1.7-1.el7.centos.noarch
          PACKAGE: [updated] ovirt-engine-extension-aaa-jdbc-1.1.5-1.el7.centos.noarch
          PACKAGE: [update] ovirt-engine-extension-aaa-jdbc-1.1.6-1.el7.centos.noarch
          PACKAGE: [updated] ovirt-engine-extensions-api-impl-
          PACKAGE: [update] ovirt-engine-extensions-api-impl-
          PACKAGE: [updated] ovirt-engine-restapi-
          PACKAGE: [update] ovirt-engine-restapi-
          PACKAGE: [updated] ovirt-engine-tools-
          PACKAGE: [update] ovirt-engine-tools-
          PACKAGE: [updated] ovirt-engine-tools-backup-
          PACKAGE: [update] ovirt-engine-tools-backup-
          PACKAGE: [updated] ovirt-engine-userportal-
          PACKAGE: [update] ovirt-engine-userportal-
          PACKAGE: [updated] ovirt-engine-vmconsole-proxy-helper-
          PACKAGE: [update] ovirt-engine-vmconsole-proxy-helper-
          PACKAGE: [updated] ovirt-engine-webadmin-portal-
          PACKAGE: [update] ovirt-engine-webadmin-portal-
          PACKAGE: [updated] ovirt-engine-websocket-proxy-
          PACKAGE: [update] ovirt-engine-websocket-proxy-
          do you wish to update them now? (Yes, No) [Yes]:
  • firewalldの設定はYes
          --== NETWORK CONFIGURATION ==--

          Setup can automatically configure the firewall on this system.
          Note: automatic configuration of the firewall may overwrite current settings.
          Do you want Setup to configure the firewall? (Yes, No) [Yes]:
  • データベースのバックアップはYes
          --== DATABASE CONFIGURATION ==--

          The detected DWH database size is 241 MB.
          Setup can backup the existing database. The time and space required for the database backup depend on its size. This process takes time, and in some cases (for instance, when the size is few GBs) may take several hours to complete.
          If you choose to not back up the database, and Setup later fails for some reason, it will not be able to restore the database and all DWH data will be lost.
          Would you like to backup the existing database before upgrading it? (Yes, No) [Yes]:
  • PostgreSQLのvacuum実行はNo

          Perform full vacuum on the engine database engine@localhost?
          This operation may take a while depending on this setup health and the
          configuration of the db vacuum process.
          See https://www.postgresql.org/docs/9.0/static/sql-vacuum.html
          (Yes, No) [No]:
  • サーバ証明書の更新はYes
          --== PKI CONFIGURATION ==--

          One or more of the certificates should be renewed, because they expire soon, or include an invalid expiry date, or do not include the subjectAltName extension, which can cause them to be rejected by recent browsers.
          If you choose "No", you will be asked again the next time you run Setup.
          See https://www.ovirt.org/develop/release-management/features/infra/pki-renew/ for more details.
          Renew certificates? (Yes, No) [No]: Yes

手順4 ホストのアップグレード

管理画面からホストを右クリックし、、Installation > Upgradeメニューを選択します。