# Upgrading from RHEL 7.8 to RHEL 7.9

Pacemaker Corosync Cluster
Oracle Database 11g

# Planning an upgrade

~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.8 (Maipo)
~]# uname -a
Linux pacemaker01 3.10.0-1127.el7.x86_64 #1 SMP Tue Feb 18 16:39:12 EST 2020 x86_64 x86_64 x86_64 GNU/Linux
~]# pcs status
Cluster name: cluster
Stack: corosync
Current DC: pacemaker01-hb (version 1.1.21-4.el7-f14e36fd43) - partition with quorum
Last updated: Thu Apr  2 22:06:55 2026
Last change: Thu Apr  2 22:06:23 2026 by hacluster via crmd on pacemaker02-hb
2 nodes configured
8 resources configured
Online: [ pacemaker01-hb pacemaker02-hb ]
Full list of resources:
 Clone Set: ens32-monitor-clone [ens32-monitor]
     Started: [ pacemaker01-hb pacemaker02-hb ]
 Resource Group: oraclegroup
     vip1       (ocf::heartbeat:IPaddr2):       Started pacemaker01-hb
     data_vg    (ocf::heartbeat:LVM):   Started pacemaker01-hb
     arch_vg    (ocf::heartbeat:LVM):   Started pacemaker01-hb
     data001    (ocf::heartbeat:Filesystem):    Started pacemaker01-hb
     arch001    (ocf::heartbeat:Filesystem):    Started pacemaker01-hb
     ora_orcl   (lsb:lsb_ora_orcl):     Started pacemaker01-hb
Daemon Status:
  corosync: active/disabled
  pacemaker: active/disabled
  pcsd: active/enabled
~]# su - oracle -c 'sqlplus -v'
SQL*Plus: Release 11.2.0.4.0 Production

# Make a Backup

~]# rpm -qa >/soft/rhel7.8

# Preparing for the upgrade

  1. Mount the RHEL 7.9 ISO, create a local yum repository.

・ Configuring Yum Repositories - RHEL

~]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
repo id                              repo name                                                              status
InstallMedia                         Red Hat Enterprise Linux Server release 7                               5,230
InstallMedia_HighAvailability        Red Hat Enterprise Linux Server release 7 HighAvailability Add-On          52
rhel-7-server-extras-rpms/x86_64     Red Hat Enterprise Linux 7 Server - Extras (RPMs)                       1,491
rhel-7-server-rpms/7Server/x86_64    Red Hat Enterprise Linux 7 Server (RPMs)                               34,484
repolist: 41,257
  1. Standby the cluster node.
~]# pcs node standby pacemaker01-hb
~]# pcs status
Cluster name: cluster
Stack: corosync
Current DC: pacemaker01-hb (version 1.1.21-4.el7-f14e36fd43) - partition with quorum
Last updated: Thu Apr  2 22:25:56 2026
Last change: Thu Apr  2 22:23:37 2026 by root via cibadmin on pacemaker01-hb
2 nodes configured
8 resources configured
Node pacemaker01-hb: standby
Online: [ pacemaker02-hb ]
Full list of resources:
 Clone Set: ens32-monitor-clone [ens32-monitor]
     Started: [ pacemaker02-hb ]
     Stopped: [ pacemaker01-hb ]
 Resource Group: oraclegroup
     vip1       (ocf::heartbeat:IPaddr2):       Started pacemaker02-hb
     data_vg    (ocf::heartbeat:LVM):   Started pacemaker02-hb
     arch_vg    (ocf::heartbeat:LVM):   Started pacemaker02-hb
     data001    (ocf::heartbeat:Filesystem):    Started pacemaker02-hb
     arch001    (ocf::heartbeat:Filesystem):    Started pacemaker02-hb
     ora_orcl   (lsb:lsb_ora_orcl):     Started pacemaker02-hb
Daemon Status:
  corosync: active/disabled
  pacemaker: active/disabled
  pcsd: active/enabled

# Performing the upgrade

~]# yum --disablerepo="rhel*" check-update
~]# yum --disablerepo="rhel*" upgrade
...
Transaction Summary
=============================================================================
Install    1 Package  (+1 Dependent package)
Upgrade  247 Packages
Total download size: 347 M
...
Complete!
~]# reboot

Use --disablerepo option to disable subscriptions.

# Performing post-upgrade tasks

~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.9 (Maipo)
~]# uname -a
Linux pacemaker01 3.10.0-1160.el7.x86_64 #1 SMP Tue Aug 18 14:50:17 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux
~]# grep pace /soft/rhel7.8
pacemaker-cluster-libs-1.1.21-4.el7.x86_64
pacemaker-libs-1.1.21-4.el7.x86_64
pacemaker-cli-1.1.21-4.el7.x86_64
pacemaker-1.1.21-4.el7.x86_64
~]# rpm -qa | grep pace
pacemaker-cli-1.1.23-1.el7.x86_64
pacemaker-cluster-libs-1.1.23-1.el7.x86_64
pacemaker-1.1.23-1.el7.x86_64
pacemaker-libs-1.1.23-1.el7.x86_64
~]# pcs node unstandby pacemaker01-hb
~]# pcs node standby pacemaker02-hb
~]# pcs status
Cluster name: cluster
Stack: corosync
Current DC: pacemaker02-hb (version 1.1.21-4.el7-f14e36fd43) - partition with quorum
Last updated: Thu Apr  2 23:00:19 2026
Last change: Thu Apr  2 22:58:34 2026 by root via cibadmin on pacemaker01-hb
2 nodes configured
8 resources configured
Node pacemaker02-hb: standby
Online: [ pacemaker01-hb ]
Full list of resources:
 Clone Set: ens32-monitor-clone [ens32-monitor]
     Started: [ pacemaker01-hb ]
     Stopped: [ pacemaker02-hb ]
 Resource Group: oraclegroup
     vip1       (ocf::heartbeat:IPaddr2):       Started pacemaker01-hb
     data_vg    (ocf::heartbeat:LVM):   Started pacemaker01-hb
     arch_vg    (ocf::heartbeat:LVM):   Started pacemaker01-hb
     data001    (ocf::heartbeat:Filesystem):    Started pacemaker01-hb
     arch001    (ocf::heartbeat:Filesystem):    Started pacemaker01-hb
     ora_orcl   (lsb:lsb_ora_orcl):     Started pacemaker01-hb
Daemon Status:
  corosync: active/disabled
  pacemaker: active/disabled
  pcsd: active/enabled
Edited on