Skip to content

Commit 4695b8d

Browse files
Modularize administering foreman guide (theforeman#945)
1 parent 12a9c6c commit 4695b8d

2 files changed

+33
-32
lines changed

guides/common/assembly_migrating-from-internal-databases-to-external-databases.adoc

+1-32
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,6 @@
11
ifdef::context[:parent-context: {context}]
22

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[]
354

365
include::modules/con_postgresql-as-an-external-database-considerations.adoc[leveloffset=+1]
376

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

0 commit comments

Comments
 (0)