-
Notifications
You must be signed in to change notification settings - Fork 91
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
Remove references to postgresql-evr #3167
Draft
ianballou
wants to merge
5
commits into
theforeman:master
Choose a base branch
from
ianballou:remove-postgresql-evr-refs
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
3a439ca
Remove references to postgresql-evr
ianballou 80d52a6
Remove references to Foreman repositories for external DBs
ianballou 1149379
Add release note for new remote DB possibilities
ianballou fd58d72
Remove excess parts of external DB host setup
ianballou 987cc45
Remove prepping a host for ext DBs guide + introduce evr permissions …
ianballou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
111 changes: 0 additions & 111 deletions
111
guides/common/modules/proc_preparing-a-host-for-external-databases.adoc
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
guides/common/modules/proc_upgrading-the-external-database-operating-system.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[id="Upgrading_the_External_Database_Operating_System{context}"] | ||
= Upgrading the external database operating system | ||
|
||
You can upgrade an external database from {EL} 8 to {EL} 9 while upgrading {Project} from {ProjectVersionPrevious} to {ProjectVersion}. | ||
|
||
.Prerequisites | ||
* Create a new {EL} 9 based host for PostgreSQL server that follows the external database on {EL} 9 documentation. | ||
ifdef::katello,orcharhino,satellite[] | ||
For more information, see {InstallingServerDocURL}using-external-databases_{project-context}[Using External Databases with {Project}]. | ||
endif::[] | ||
|
||
.Procedure | ||
. Create a backup. | ||
. Restore the backup on the new server. | ||
. If {Project} reaches the new database server via the old name, no further changes are required. | ||
Otherwise reconfigure {Project} to use the new name: | ||
+ | ||
[options="nowrap", subs="+quotes,verbatim,attributes"] | ||
---- | ||
# {foreman-installer} \ | ||
--foreman-db-host _newpostgres.example.com_ \ | ||
--katello-candlepin-db-host _newpostgres.example.com_ \ | ||
--foreman-proxy-content-pulpcore-postgresql-host _newpostgres.example.com_ | ||
---- |
21 changes: 7 additions & 14 deletions
21
guides/common/modules/proc_upgrading-the-external-database.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,17 @@ | ||
[id="Upgrading_the_External_Database_{context}"] | ||
[id="Upgrading_the_External_Database{context}"] | ||
= Upgrading the external database | ||
|
||
You can upgrade an external database from {EL} 7 to {EL} 8 while upgrading {Project} from {ProjectVersionPrevious} to {ProjectVersion}. | ||
The external database will be upgraded when running the {foreman-installer} on the {Project} server. | ||
|
||
.Prerequisites | ||
* Create a new {EL} 8 based host for PostgreSQL server that follows the external database on {EL} 8 documentation. | ||
ifdef::katello,orcharhino,satellite[] | ||
For more information, see {InstallingServerDocURL}using-external-databases_{project-context}[Using External Databases with {Project}]. | ||
endif::[] | ||
* The {InstallingServerDocURL}using-external-databases_{project-context}[Using External Databases with {Project}] guide has been followed. | ||
|
||
.Procedure | ||
. Create a backup. | ||
. Restore the backup on the new server. | ||
. If {Project} reaches the new database server via the old name, no further changes are required. | ||
Otherwise reconfigure {Project} to use the new name: | ||
. Update permissions to prepare the postgresql-evr extension for removal: | ||
+ | ||
[options="nowrap", subs="+quotes,verbatim,attributes"] | ||
---- | ||
# {foreman-installer} \ | ||
--foreman-db-host _newpostgres.example.com_ \ | ||
--katello-candlepin-db-host _newpostgres.example.com_ \ | ||
--foreman-proxy-content-pulpcore-postgresql-host _newpostgres.example.com_ | ||
# runuser -l postgres -c \ | ||
"psql -d foreman -c \"UPDATE pg_extension SET extowner = (SELECT oid FROM pg_authid WHERE rolname='foreman') WHERE extname='evr';\"" | ||
---- | ||
. Follow the {UpgradingDocURL}upgrading_a_connected_{project-context}_server_{context}[Upgrading {Project}] guide. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is out of scope, but we have a guide https://docs.theforeman.org/nightly/Deploying_Project_on_AWS/index-katello.html and using Amazon RDS would be a good thing to document, after it's been verified.