Skip to content

Commit

Permalink
Add PostgreSQL space requirement in prerequisites (#3357)
Browse files Browse the repository at this point in the history
As PostgreSQL is upgraded from 12 to 13 during the upgrade process, it is necessary to maintain enough space for this.
Adding this as a prerequisite to the upgrade.

Ref: https://github.com/theforeman/foreman_maintain/blob/master/definitions/checks/disk/available_space_postgresql13.rb

JIRA: https://issues.redhat.com/browse/SAT-28667

Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
  • Loading branch information
AkshayGadhaveRH and ekohl authored Oct 16, 2024
1 parent a454c23 commit 087c2d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions guides/common/modules/con_upgrading-prerequisites.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ Upgrading {SmartProxy} takes approximately 10{range}30 minutes.

* Ensure that you have sufficient storage space on your server.
For more information, see {InstallingServerDocURL}Preparing_your_Environment_for_Installation_{project-context}[Preparing your Environment for Installation] in _{InstallingServerDocTitle}_ and {InstallingSmartProxyDocURL}preparing-environment-for-capsule-installation[Preparing your Environment for Installation] in _Installing {SmartProxyServer}_.
ifndef::foreman-deb[]
* Ensure that you have at least the same amount of free space on `{postgresql-lib-dir}` as that consumed by `{postgresql-data-dir}`.
Upgrading to {Project} {ProjectVersion} involves a PostgreSQL 12 to PostgreSQL 13 upgrade.
The contents of `{postgresql-data-dir}` are backed up during the PostgreSQL upgrade.
endif::[]
* Back up your {ProjectServer} and all {SmartProxyServers}.
For more information, see {AdministeringDocURL}backing-up-{project-context}-server-and-{smart-proxy-context}_admin[Backing Up {ProjectServer} and {SmartProxyServer}] in _{AdministeringDocTitle}_.
* Plan for updating any scripts you use that contain {Project} API commands because some API commands differ between versions of {Project}.
Expand Down

0 comments on commit 087c2d0

Please sign in to comment.