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 (One-time Configuration)
If you are using a server image by JetPatch (OVA, AMI, or VHD) after June 15, 2021, you can skip this step and can go directly to "Upgrade JetPatch using Live Repo", otherwise, if you have an older server image or you 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.d
3. Create Repository file configuration depending on your system version (cat /etc/os-release)to yum.repos.d
-RHEL/OL/CENTOS7 - JetPatch-EL7.repo
vi JetPatch-EL7.repo
insert the following configuration in the file JetPatch-EL7.repo (depending on the version of JetPatch)
If running JetPatch 4.2.5:
[JetPatch-Live-Repo]
name=JetPath-Live-Repo
baseurl=https://live-repo.jetpatch.com/jetpatch/4-2-5/EL7/
enabled=1
gpgcheck=0
If running JetPatch 4.2.4:
[JetPatch-Live-Repo]
name=JetPath-Live-Repo
baseurl=https://live-repo.jetpatch.com/jetpatch/4-2-4/EL7/
enabled=1
gpgcheck=0
If running JetPatch 4.2.3:
[JetPatch-Live-Repo]
name=JetPath-Live-Repo
baseurl=https://live-repo.jetpatch.com/jetpatch/4-2-3/EL7/
enabled=1
gpgcheck=0
-RHEL/OL/CENTOS8 JetPatch-EL8.repo
vi JetPatch-EL8.repo
insert the following configuration in the file JetPatch-EL8.repo
If running JetPatch 4.2.5:
[JetPatch-Live-Repo]
name=JetPath-Live-Repo
baseurl=https://live-repo.jetpatch.com/jetpatch/4-2-5/EL8/
enabled=1
gpgcheck=0
If running JetPatch 4.2.4:
[JetPatch-Live-Repo]
name=JetPath-Live-Repo
baseurl=https://live-repo.jetpatch.com/jetpatch/4-2-4/EL8/
enabled=1
gpgcheck=0
If running JetPatch 4.2.3:
[JetPatch-Live-Repo]
name=JetPath-Live-Repo
baseurl=https://live-repo.jetpatch.com/jetpatch/4-2-3/EL8/
enabled=1
gpgcheck=0
5. Update yum repository list
yum repolist
Upgrade JetPatch Using Live Repo
Before the Upgrade
1. Check if you see JetPatch-Live-Repo in yum
yum repolist
Output 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:
yum install intigua*
Note: You must be in a directory that has no files that contain intigua in it.
After the Upgrade
Troubleshooting
If you need to clean yum cache, run
yum clean all
Note: 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.