3.5. 升级外部数据库
您可以将外部数据库从 Red Hat Enterprise Linux 7 升级到 Red Hat Enterprise Linux 8,同时将 Satellite 从 6.10 升级到 6.11。
先决条件
- 为 PostgreSQL 服务器创建一个新的基于 Red Hat Enterprise Linux 8 的主机,该服务器遵循 Red Hat Enterprise Linux 8 文档中的外部数据库。如需更多信息,请参阅 将 外部数据库与 Satellite 搭配使用。
流程
- 创建备份。
- 在新服务器上恢复备份。
如果 Satellite 通过旧名称到达新的数据库服务器,则不需要进行进一步的更改。否则重新配置 Satellite 以使用新名称:
# satellite-installer \ --foreman-db-host newpostgres.example.com \ --katello-candlepin-db-host newpostgres.example.com \ --foreman-proxy-content-pulpcore-postgresql-host newpostgres.example.com