Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #30943 - adds additional remote db notes #1696

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e16e8b8
Fixes #30943 - adds additional remote db notes
Oct 8, 2020
372dcc9
Fixes #30943 - updates nighty documentation with accumulated db relat…
Oct 9, 2020
d5e5103
Fixes #30943 - suggested postgres labels
Oct 12, 2020
7570e20
Fixes #30943 - adds note re Foreman v2.0 and PostgreSQL
Oct 12, 2020
c970aab
Fixes #30943 - adds similar messages to other versions.
Oct 13, 2020
e897fcf
Fixes #30943 - updates 3.17 with remote db settings
Oct 14, 2020
a6ffd81
Fixes #30943 - changes to important note formatting
Oct 22, 2020
405be8f
Fixes #30943 - push changes to other existing versions
Oct 22, 2020
b01f20a
Fixes #30943 - corrects foreman postgresql version levels
Oct 22, 2020
a9ded2d
Fixes #30943 - reference pulpcore over 'remote'
Oct 22, 2020
01e4807
Fixes #30943 - updates important notes to change wording for what pul…
Oct 22, 2020
7e2f277
Fixes referenes to Foreman versions.
Oct 27, 2020
b370593
Update plugins/katello/3.16/user_guide/remote_databases/index.md
Oct 27, 2020
8ceb37f
Remove warning about pulpcore and external dbs in 3.16+
Oct 27, 2020
86a5181
Fixes #30943 - corrects tense re 3.16 notes, uses bullets instead of …
Nov 2, 2020
c01be71
Update plugins/katello/3.15/user_guide/remote_databases/index.md
Oct 27, 2020
ee97581
Fixes #30942 - Drops redundant lines re postgres versioning, fixes in…
Nov 9, 2020
7117c6a
Fixes #30943 - drops bit re evr package
Nov 9, 2020
5f022a5
Fixes #30943 - Drops redundant lines re postgres versioning, fixes in…
Nov 9, 2020
24ee687
Fixes #30943 - Drops redundant lines re postgres versioning, fixes in…
Nov 9, 2020
44fb098
Fixes #30943 - drops bit re evr package for 3.17
Nov 9, 2020
3cc9191
Fixes #30943 - updatees 3.18
Nov 9, 2020
5e01619
Fixes #30943 - removes links where not needed
Nov 10, 2020
81e3c05
Fixes #30943 - Fixes typo.
Dec 18, 2020
95ba56c
Adds pulpcore db options for 3.18 version.
Jan 8, 2021
e11e145
Updates plurality typo.
Jan 28, 2021
04f9e73
Rewrite recommendation on why upgrade of postgresql is required.
Jan 28, 2021
c5970ba
Remove duplicated and ambiguous suggestion to upgrade postgresql.
Jan 28, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions plugins/katello/3.15/user_guide/remote_databases/index.md
Expand Up @@ -24,6 +24,12 @@ There are two ways to deploy Foreman with remote databases:
* restore the DBs on remote servers
* run foreman-installer with right parameters pointing to the databases. It re-configures the databases and start all the services with new DB locations

### Important note:

* Pulpcore installs a separate PostgreSQL database. The installer lacks support for external databases. This support is introduced in Katello 3.16.

* Foreman ([since 2.0])(https://theforeman.org/manuals/2.0/index.html#Headlinefeatures) and Pulpcore require PostgresSQL 10+. Databases should be upgraded to avoid conflicts. It is recommended to update to version 12.

In either scenario, both of the databases don't have to be remote. You can opt to use only a remote mongo database or only a remote postgresql database. Both postgresql and mongo databases can be on the same host, but this isn't recommended due to the amount of resources mongo can use.

## Prepare remote Postgres
Expand Down
20 changes: 20 additions & 0 deletions plugins/katello/3.16/user_guide/remote_databases/index.md
Expand Up @@ -26,6 +26,11 @@ There are two ways to deploy Foreman with remote databases:

In either scenario, both of the databases don't have to be remote. You can opt to use only a remote mongo database or only a remote postgresql database. Both postgresql and mongo databases can be on the same host, but this isn't recommended due to the amount of resources mongo can use.


### Important notes:

* Pulpcore installs a separate PostgreSQL database. Databases should be upgraded to avoid conflicts.

## Prepare remote Postgres
GOAL: To use remote Postgres database with Foreman we have to:
* be able to access the databases from foreman box
Expand Down Expand Up @@ -250,6 +255,21 @@ Mongo database related:
--katello-pulp-db-write-concern Write concern of 'majority' or 'all'. When 'all' is specified, 'w' is set to number of
```

Pulpcore database related:
```
--foreman-proxy-content-pulpcore-manage-postgresql Manage the Pulpcore PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-db-name Name of the Pulpcore database in PostgreSQL.
--foreman-proxy-content-pulpcore-postgresql-host Host of the Pulpcore PostgreSQL database. Must be specified if external/unmanaged.
--foreman-proxy-content-pulpcore-postgresql-password Password of the Pulpcore PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-port Port of the Pulpcore PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl Enable SSL connection to the Pulpcore PostgreSQL database. Only meaningful for external/unmanaged DB.
--foreman-proxy-content-pulpcore-postgresql-ssl-cert Path to SSL certificate to use for Pulpcore connection to PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl-key Path to key file to use for Pulpcore connection to PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl-require Configure Pulpcore to require an encrypted connection to the PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl-root-ca Path to the root certificate authority to validate the certificate supplied by the PostgreSQL database server.
--foreman-proxy-content-pulpcore-postgresql-user User of the Pulpcore PostgreSQL database.
```

The actual option names may vary between versions. Check the actual naming with foreman-installer --full-help.

### SSL configuration
Expand Down
19 changes: 19 additions & 0 deletions plugins/katello/3.17/user_guide/remote_databases/index.md
Expand Up @@ -24,6 +24,10 @@ There are two ways to deploy Foreman with remote databases:
* restore the DBs on remote servers
* run foreman-installer with right parameters pointing to the databases. It re-configures the databases and start all the services with new DB locations

### Important notes:

* Pulpcore installs a separate PostgreSQL database. Databases should be upgraded to avoid conflicts.

In either scenario, both of the databases don't have to be remote. You can opt to use only a remote mongo database or only a remote postgresql database. Both postgresql and mongo databases can be on the same host, but this isn't recommended due to the amount of resources mongo can use.

## Prepare remote Postgres
Expand Down Expand Up @@ -250,6 +254,21 @@ Mongo database related:
--katello-pulp-db-write-concern Write concern of 'majority' or 'all'. When 'all' is specified, 'w' is set to number of
```

Pulpcore database related:
```
--foreman-proxy-content-pulpcore-manage-postgresql Manage the Pulpcore PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-db-name Name of the Pulpcore database in PostgreSQL.
--foreman-proxy-content-pulpcore-postgresql-host Host of the Pulpcore PostgreSQL database. Must be specified if external/unmanaged.
--foreman-proxy-content-pulpcore-postgresql-password Password of the Pulpcore PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-port Port of the Pulpcore PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl Enable SSL connection to the Pulpcore PostgreSQL database. Only meaningful for external/unmanaged DB.
--foreman-proxy-content-pulpcore-postgresql-ssl-cert Path to SSL certificate to use for Pulpcore connection to PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl-key Path to key file to use for Pulpcore connection to PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl-require Configure Pulpcore to require an encrypted connection to the PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl-root-ca Path to the root certificate authority to validate the certificate supplied by the PostgreSQL database server.
--foreman-proxy-content-pulpcore-postgresql-user User of the Pulpcore PostgreSQL database.
```

The actual option names may vary between versions. Check the actual naming with foreman-installer --full-help.

### SSL configuration
Expand Down
20 changes: 20 additions & 0 deletions plugins/katello/3.18/user_guide/remote_databases/index.md
Expand Up @@ -24,6 +24,10 @@ There are two ways to deploy Foreman with remote databases:
* restore the DBs on remote servers
* run foreman-installer with right parameters pointing to the databases. It re-configures the databases and start all the services with new DB locations

### Important notes:

* Pulpcore installs a separate PostgreSQL database. Databases should be upgraded to avoid conflicts.

In either scenario, both of the databases don't have to be remote. You can opt to use only a remote mongo database or only a remote postgresql database. Both postgresql and mongo databases can be on the same host, but this isn't recommended due to the amount of resources mongo can use.
jjeffers marked this conversation as resolved.
Show resolved Hide resolved

## Prepare remote Postgres
Expand Down Expand Up @@ -250,6 +254,22 @@ Mongo database related:
--katello-pulp-db-write-concern Write concern of 'majority' or 'all'. When 'all' is specified, 'w' is set to number of
```

Pulpcore database related:
```
--foreman-proxy-content-pulpcore-manage-postgresql Manage the Pulpcore PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-db-name Name of the Pulpcore database in PostgreSQL.
--foreman-proxy-content-pulpcore-postgresql-host Host of the Pulpcore PostgreSQL database. Must be specified if external/unmanaged.
--foreman-proxy-content-pulpcore-postgresql-password Password of the Pulpcore PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-port Port of the Pulpcore PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl Enable SSL connection to the Pulpcore PostgreSQL database. Only meaningful for external/unmanaged DB.
--foreman-proxy-content-pulpcore-postgresql-ssl-cert Path to SSL certificate to use for Pulpcore connection to PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl-key Path to key file to use for Pulpcore connection to PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl-require Configure Pulpcore to require an encrypted connection to the PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl-root-ca Path to the root certificate authority to validate the certificate supplied by the PostgreSQL database server.
--foreman-proxy-content-pulpcore-postgresql-user User of the Pulpcore PostgreSQL database.
```

The actual option names may vary between versions. Check the actual naming with foreman-installer --full-help.
The actual option names may vary between versions. Check the actual naming with foreman-installer --full-help.

### SSL configuration
Expand Down
23 changes: 23 additions & 0 deletions plugins/katello/nightly/user_guide/remote_databases/index.md
Expand Up @@ -24,6 +24,14 @@ There are two ways to deploy Foreman with remote databases:
* restore the DBs on remote servers
* run foreman-installer with right parameters pointing to the databases. It re-configures the databases and start all the services with new DB locations

### Important notes:

* Pulpcore installs a separate PostgreSQL database.

* Katello 3.16 added dependencies provided by the `rh-postgresql12-postgresql-evr` package. This should be installed on any external PostgreSQL v12 database before applying any db migrations.

Note that PostgreSQL v10+ is required and users are encouraged to upgrade to PostgreSQL v12.

In either scenario, both of the databases don't have to be remote. You can opt to use only a remote mongo database or only a remote postgresql database. Both postgresql and mongo databases can be on the same host, but this isn't recommended due to the amount of resources mongo can use.

## Prepare remote Postgres
Expand Down Expand Up @@ -250,6 +258,21 @@ Mongo database related:
--katello-pulp-db-write-concern Write concern of 'majority' or 'all'. When 'all' is specified, 'w' is set to number of
```

Pulpcore database related:
```
--foreman-proxy-content-pulpcore-manage-postgresql Manage the Pulpcore PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-db-name Name of the Pulpcore database in PostgreSQL.
--foreman-proxy-content-pulpcore-postgresql-host Host of the Pulpcore PostgreSQL database. Must be specified if external/unmanaged.
--foreman-proxy-content-pulpcore-postgresql-password Password of the Pulpcore PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-port Port of the Pulpcore PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl Enable SSL connection to the Pulpcore PostgreSQL database. Only meaningful for external/unmanaged DB.
--foreman-proxy-content-pulpcore-postgresql-ssl-cert Path to SSL certificate to use for Pulpcore connection to PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl-key Path to key file to use for Pulpcore connection to PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl-require Configure Pulpcore to require an encrypted connection to the PostgreSQL database.
--foreman-proxy-content-pulpcore-postgresql-ssl-root-ca Path to the root certificate authority to validate the certificate supplied by the PostgreSQL database server.
--foreman-proxy-content-pulpcore-postgresql-user User of the Pulpcore PostgreSQL database.
```

The actual option names may vary between versions. Check the actual naming with foreman-installer --full-help.

### SSL configuration
Expand Down