Skip to content

Commit 33a2e79

Browse files
authored
Improve disconnected Upgrade (#4455)
1 parent 0567a7e commit 33a2e79

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

guides/common/modules/proc_upgrading-a-disconnected-project-server.adoc

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Upgrading a {ProjectServer} that is not connected to the Red{nbsp}Hat Content De
88
include::snip_warning-maintain-config-noop.adoc[]
99

1010
.Prerequisites
11-
* If you synchronize content between your {ProjectServer}s by using exports, ensure that all your {ProjectServer}s are on the same {Project} version.
11+
* Ensure that all your {ProjectServer}s are on the same {Project} version.
1212
* If you have made manual edits to you DNS or DHCP configuration in the `/etc/zones.conf` or `/etc/dhcp/dhcpd.conf` files, ensure DNS and DHCP configuration management is disabled:
1313
+
1414
[options="nowrap" subs="attributes"]
@@ -48,10 +48,10 @@ This prevents the upgrade process from overwriting your DNS and DHCP configurati
4848
. Export the required repositories from your connected {ProjectServer} to your disconnected {ProjectServer}:
4949
.. Ensure that the following repositories are synchronized on your connected server with the download policy set to *Immediate*:
5050
+
51-
* {RepoRHEL9BaseOS}
52-
* {RepoRHEL9AppStream}
53-
* {RepoRHEL9ServerSatelliteServerProjectVersion}
54-
* {RepoRHEL9ServerSatelliteMaintenanceProjectVersion}
51+
* `{RepoRHEL9BaseOS}`
52+
* `{RepoRHEL9AppStream}`
53+
* `{RepoRHEL9ServerSatelliteServerProjectVersion}`
54+
* `{RepoRHEL9ServerSatelliteMaintenanceProjectVersion}`
5555
.. List the repositories to identify their IDs:
5656
+
5757
[options="nowrap" subs="+quotes"]
@@ -68,15 +68,8 @@ $ hammer content-export complete repository \
6868
--id _My_Repository_ID_
6969
----
7070
.. Copy the exported directories to the disconnected {ProjectServer}.
71-
72-
. On the disconnected server, stop all {Project} services:
73-
+
74-
[options="nowrap" subs="+quotes,verbatim,attributes"]
75-
----
76-
# {foreman-maintain} service stop
77-
----
7871
. On the disconnected server, enable access to the exported content by configuring a repository:
79-
.. Identify the location of the copied exported directories from the syncable export on the connected server.
72+
.. Locate the copied directories from the syncable export.
8073
.. Create the `/etc/yum.repos.d/upgrade.repo` file and update the `baseurl` directive to point to that location:
8174
+
8275
[source, ini, options="nowrap" subs="+quotes,verbatim,attributes"]
@@ -109,6 +102,8 @@ metadata_expire=-1
109102
gpgcheck=0
110103
baseurl=file:///_{Project}_Maintenance_Export_Location_/content/dist/layered/rhel9/x86_64/sat-maintenance/{ProjectVersion}/os/
111104
----
105+
+
106+
Keep the `{RepoRHEL9ServerSatelliteServerProjectVersion}` repository disabled.
112107
. Upgrade the `{foreman-maintain}` utility to its latest version:
113108
+
114109
[options="nowrap" subs="attributes"]
@@ -129,7 +124,7 @@ Review the results and address any highlighted error conditions before performin
129124
The `{foreman-maintain} upgrade check` might prompt you for the Hammer admin user credentials.
130125
These changes are applied to the `/etc/foreman-maintain/foreman-maintain-hammer.yml` file.
131126
====
132-
. Edit the `/etc/yum.repos.d/upgrade.repo` file and enable the {RepoRHEL9ServerSatelliteServerProjectVersion} repository:
127+
. Edit the `/etc/yum.repos.d/upgrade.repo` file and enable the `{RepoRHEL9ServerSatelliteServerProjectVersion}` repository:
133128
+
134129
[source, ini, options="nowrap" subs="+quotes,verbatim,attributes"]
135130
----

0 commit comments

Comments
 (0)