From 087c2d007f691be0a31d255550f4c8fbbc64bb8e Mon Sep 17 00:00:00 2001 From: AkshayGadhaveRH <97217993+AkshayGadhaveRH@users.noreply.github.com> Date: Thu, 17 Oct 2024 01:09:54 +0530 Subject: [PATCH] Add PostgreSQL space requirement in prerequisites (#3357) 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 --- guides/common/modules/con_upgrading-prerequisites.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/guides/common/modules/con_upgrading-prerequisites.adoc b/guides/common/modules/con_upgrading-prerequisites.adoc index 15a83acf11a..28db303e819 100644 --- a/guides/common/modules/con_upgrading-prerequisites.adoc +++ b/guides/common/modules/con_upgrading-prerequisites.adoc @@ -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}.