|
1 | 1 | ifdef::context[:parent-context: {context}]
|
2 | 2 |
|
3 |
| -[id="migrating-from-internal-databases-to-external-databases_{context}"] |
4 |
| -= Migrating from Internal {Project} Databases to External Databases |
5 |
| - |
6 |
| -ifdef::foreman-el,katello[] |
7 |
| -For Red Hat systems only. |
8 |
| -endif::[] |
9 |
| - |
10 |
| -When you install {ProjectName}, the *{foreman-installer}* command installs PostgreSQL databases on the same server as {Project}. |
11 |
| -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. |
12 |
| - |
13 |
| -To confirm whether your {ProjectServer} has internal or external databases, you can query the status of your databases: |
14 |
| - |
15 |
| -For PostgreSQL, enter the following command: |
16 |
| -[options="nowrap" subs="+quotes,attributes"] |
17 |
| ----- |
18 |
| -# {foreman-maintain} service status --only postgresql |
19 |
| ----- |
20 |
| - |
21 |
| -ifdef::satellite[] |
22 |
| -Red Hat does not provide support or tools for external database maintenance. |
23 |
| -This includes backups, upgrades, and database tuning. |
24 |
| -You must have your own database administrator to support and maintain external databases. |
25 |
| -endif::[] |
26 |
| - |
27 |
| -To migrate from the default internal databases to external databases, you must complete the following procedures: |
28 |
| - |
29 |
| -. xref:preparing-a-host-for-external-databases_{context}[]. |
30 |
| -Prepare a {RHEL} 7 server to host the external databases. |
31 |
| -. xref:installing-postgresql_{context}[]. |
32 |
| -Prepare PostgreSQL with databases for {Project}, Pulp and Candlepin with dedicated users owning them. |
33 |
| -. xref:migrating-to-external-databases_{context}[]. |
34 |
| -Edit the parameters of `{foreman-installer}` to point to the new databases, and run `{foreman-installer}`. |
| 3 | +include::modules/con_migrating-from-internal-databases-to-external-databases.adoc[] |
35 | 4 |
|
36 | 5 | include::modules/con_postgresql-as-an-external-database-considerations.adoc[leveloffset=+1]
|
37 | 6 |
|
|
0 commit comments