2.4. 升级外部数据库

在将 Satellite 从 6.12 升级到 6.13 时,您可以将外部数据库从 Red Hat Enterprise Linux 7 升级到 Red Hat Enterprise Linux 8。

前提条件

  • 为 PostgreSQL 服务器创建一个新的基于 Red Hat Enterprise Linux 8 的主机,它遵循 Red Hat Enterprise Linux 8 文档中的外部数据库。如需更多信息,请参阅 将外部数据库与 Satellite 一起使用

流程

  1. 创建备份。
  2. 在新服务器上恢复备份。
  3. 如果 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