Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.48 KB

con_migrating-from-internal-databases-to-external-databases.adoc

File metadata and controls

28 lines (22 loc) · 1.48 KB

Migrating from Internal {Project} Databases to External Databases

When you install {ProjectName}, the {foreman-installer} command installs PostgreSQL databases on the same server as {Project}. If you are using the default internal databases but want to start using external databases to help with the server load, you can migrate your internal databases to external databases.

To confirm whether your {ProjectServer} has internal or external databases, you can query the status of your databases:

For PostgreSQL, enter the following command:

# {foreman-maintain} service status --only postgresql

To migrate from the default internal databases to external databases, you must complete the following procedures:

  1. [preparing-a-host-for-external-databases_{context}]. Prepare a {RHEL} 8 server to host the external databases.

  2. [installing-postgresql_{context}]. Prepare PostgreSQL with databases for {Project}, Pulp and Candlepin with dedicated users owning them.

  3. [migrating-to-external-databases_{context}]. Edit the parameters of {foreman-installer} to point to the new databases, and run {foreman-installer}.