If this is your first time updating JetPatch using repository, please follow all of the below steps. If you configured the repository in the past, you can go directly to "Upgrade JetPatch using Live Repo"
Pre-requisites
Internet connection to JetPatch Live repository is required.
Please make sure the following URL is whitelisted in your environment from the JetPatch manager console (over port 443): https://live-repo.jetpatch.com/
Prepare Your Server (initial configuration or when changing major versions)
If you are using a server image by JetPatch (OVA, AMI, or VHD), you can skip this step and can go directly to "Upgrade JetPatch using Live Repo", otherwise, if you have installed using RPMs, please follow the below steps:
To upgrade we will need to configure the YUM repository of JetPatch.
Create JetPatch Yum repository:
1. Connect to JetPatch Server via SSH.
2. Go to directory yum.repos.d
cd /etc/yum.repos.d3. Create Repository file configuration depending on your system version (cat /etc/os-release)to yum.repos.d
Note: RHEL, Oracle Linux, AlmaLinux, and Rocky Linux 9.x are fully compatible with the EL8 RPM packages, so the EL8 repository can be safely used by following the instructions below.
-RHEL/OL/Alma/Rocky JetPatch-EL8.repo
vi JetPatch-EL8.repoinsert the following configuration in the file JetPatch-EL8.repo
Upgrade to JetPatch 4.2.8:
[JetPatch-Live-Repo]
name=JetPath-Live-Repo
baseurl=https://live-repo.jetpatch.com/jetpatch/4-2-8/EL8/
enabled=1
gpgcheck=0Upgrade to JetPatch 4.2.7:
[JetPatch-Live-Repo]
name=JetPath-Live-Repo
baseurl=https://live-repo.jetpatch.com/jetpatch/4-2-7/EL8/
enabled=1
gpgcheck=0Update yum repository list
yum repolist-RHEL/OL/Alma/Rocky - JetPatch-EL7.repo
sudo vi JetPatch-EL7.repoinsert the following configuration in the file JetPatch-EL7.repo (depending on the version of JetPatch)
Upgrade to JetPatch 4.2.8:
[JetPatch-Live-Repo]
name=JetPath-Live-Repo
baseurl=https://live-repo.jetpatch.com/jetpatch/4-2-8/EL8/
enabled=1
gpgcheck=0Upgrade to JetPatch 4.2.7:
[JetPatch-Live-Repo]
name=JetPath-Live-Repo
baseurl=https://live-repo.jetpatch.com/jetpatch/4-2-7/EL7/
enabled=1
gpgcheck=0Note: the only difference is in baseurl (ic: X and Y: https://live-repo.jetpatch.com/jetpatch/4-X-Y/EL7/)
Update yum repository list
yum repolistUpgrade JetPatch Using Live Repo
Before the Upgrade
1. Check if you see JetPatch-Live-Repo in yum
yum repolistOutput to check for:
JetPatch-Live-Repo JetPath-Live-Repo If this is missing, please see the above configuration steps
2. Install the lastest version of JetPatch (you must be in a directory that has no files that contain intigua in it, normally /tmp does not have intigua RPMs in it):
yum install intigua-*After the Upgrade
Troubleshooting
If you need to clean yum cache, run
yum clean allNote: To remove all cache you can remove the contents of /var/cache/yum/ manually:
rm -rf /var/cache/yum
Comments
0 comments
Article is closed for comments.