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), 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.d
3. Create Repository file configuration depending on your system version (cat /etc/os-release)to yum.repos.d
-RHEL/OL/Alma/Rocky JetPatch-EL8.repo
vi JetPatch-EL8.repo
insert the following configuration in the file JetPatch-EL8.repo
Upgrade 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=0
Upgrade to JetPatch 4.2.6:
[JetPatch-Live-Repo]
name=JetPath-Live-Repo
baseurl=https://live-repo.jetpatch.com/jetpatch/4-2-6/EL8/
enabled=1
gpgcheck=0
Update yum repository list
yum repolist
-RHEL/OL/Alma/Rocky - JetPatch-EL7.repo
sudo vi JetPatch-EL7.repo
insert the following configuration in the file JetPatch-EL7.repo (depending on the version of JetPatch)
Upgrade 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=0
Upgrade to JetPatch 4.2.6:
[JetPatch-Live-Repo]
name=JetPath-Live-Repo
baseurl=https://live-repo.jetpatch.com/jetpatch/4-2-6/EL7/
enabled=1
gpgcheck=0
Note: 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 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 (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 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.