[CentOS][oVirt] 从 oVirt 4.1.3 升级到 4.1.6
我将运行在CentOS 7上的oVirt从4.1.3升级到4.1.6。
这次的内容与上次差不多吧。
以下步骤与发布说明书中所写的一样。
第一步:升级yum仓库
# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm
安装步骤2:安装软件包。
# yum update "ovirt-*-setup*"
执行engin-setup的步骤3。
# engine-setup
运行engine-setup时,会显示一些问题。可能只需要按一下回车键就可以了。我只更新了服务器证书。
- パッケージの更新はYes
Setup has found updates for some packages:
PACKAGE: [updated] ovirt-engine-4.1.3.5-1.el7.centos.noarch
PACKAGE: [update] ovirt-engine-4.1.6.2-1.el7.centos.noarch
PACKAGE: [updated] ovirt-engine-backend-4.1.3.5-1.el7.centos.noarch
PACKAGE: [update] ovirt-engine-backend-4.1.6.2-1.el7.centos.noarch
PACKAGE: [updated] ovirt-engine-dbscripts-4.1.3.5-1.el7.centos.noarch
PACKAGE: [update] ovirt-engine-dbscripts-4.1.6.2-1.el7.centos.noarch
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-4.1.3.5-1.el7.centos.noarch
PACKAGE: [update] ovirt-engine-extensions-api-impl-4.1.6.2-1.el7.centos.noarch
PACKAGE: [updated] ovirt-engine-restapi-4.1.3.5-1.el7.centos.noarch
PACKAGE: [update] ovirt-engine-restapi-4.1.6.2-1.el7.centos.noarch
PACKAGE: [updated] ovirt-engine-tools-4.1.3.5-1.el7.centos.noarch
PACKAGE: [update] ovirt-engine-tools-4.1.6.2-1.el7.centos.noarch
PACKAGE: [updated] ovirt-engine-tools-backup-4.1.3.5-1.el7.centos.noarch
PACKAGE: [update] ovirt-engine-tools-backup-4.1.6.2-1.el7.centos.noarch
PACKAGE: [updated] ovirt-engine-userportal-4.1.3.5-1.el7.centos.noarch
PACKAGE: [update] ovirt-engine-userportal-4.1.6.2-1.el7.centos.noarch
PACKAGE: [updated] ovirt-engine-vmconsole-proxy-helper-4.1.3.5-1.el7.centos.noarch
PACKAGE: [update] ovirt-engine-vmconsole-proxy-helper-4.1.6.2-1.el7.centos.noarch
PACKAGE: [updated] ovirt-engine-webadmin-portal-4.1.3.5-1.el7.centos.noarch
PACKAGE: [update] ovirt-engine-webadmin-portal-4.1.6.2-1.el7.centos.noarch
PACKAGE: [updated] ovirt-engine-websocket-proxy-4.1.3.5-1.el7.centos.noarch
PACKAGE: [update] ovirt-engine-websocket-proxy-4.1.6.2-1.el7.centos.noarch
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
--== OVIRT ENGINE CONFIGURATION ==--
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
在管理界面中右键点击主机,选择“安装”>“升级”菜单。