Upgrading to Kinetica 7.2 is facilitated through the use of KAgent. KAgent 7.2 provides the ability to upgrade existing Kinetica clusters managed by KAgent 7.1 or clusters that are not managed at all.
Upgrading requires the system be Kinetica 7.1 or newer. If running a Kinetica version prior to that, refer to the Kinetica 7.1 Upgrade instructions for details on upgrading to 7.1 first, and then refer back to this guide to complete the upgrade to version 7.2.
Migration Guide
See Migrating To Kinetica 7.2 for considerations that should be made before deciding to upgrade.
Pre-Upgrade Actions
Before upgrading to Kinetica 7.2 perform the following checks & tasks to ensure the system is ready to be upgraded.
Checks
- Ensure that the system being upgraded is Kinetica 7.1.
- Ensure that 8GB of disk space is available on the directory mount used for installation on each node.
- If performing an offline upgrade, ensure that all installation packages are available to the machine initiating the upgrade (the one that will log into KAgent and kick off the installation).
Tasks
- Back up data & configuration files.
- If AAW is being used, terminate all ingests and deployed models.
Upgrade Actions
If upgrading an on-premise Kinetica ring or one hosted in the cloud, the ring can be upgraded in place.
The upgrade path is dependent upon whether the Kinetica 7.1 cluster is currently being managed by KAgent.
Managed Cluster Upgrade
If the cluster to upgrade is already managed by KAgent 7.1, upgrade KAgent to version 7.2, and then upgrade the cluster.
Upgrade KAgent.
KAgent can be upgraded in place, whether it resides on a server inside or outside the cluster. After copying the KAgent package to the server hosting KAgent, upgrade the package using the standard procedures for a local package:
Stop the current KAgent process:
service kagent stop
Upgrade the KAgent application based on host operating system:
On RHEL:
sudo yum upgrade ./kagent-<version>.<architecture>.rpm
On Debian/Ubuntu:
sudo apt upgrade ./kagent-<version>.<architecture>.deb
This upgrades the package in the directory
/opt/gpudb/kagent
and starts the kagent_ui service.Start KAgent.
To access the KAgent UI:
Ensure the KAgent service is started:
service kagent_ui status
Browse to the KAgent application using IP or host name:
http://<kagent-host>:8081/kagent
If KAgent is associated with one or more Kinetica clusters, log in using the credentials for that cluster. If KAgent has not been associated with any clusters yet, the application will load without prompting.
Click Upgrade Ring.
For each ring to upgrade, click Upgrade on that ring, and follow these steps to upgrade the ring:
- Confirm that all tasks under Tasks have been performed, then check the checkboxes and click Start.
- If performing an offline upgrade, upload all the Kinetica 7.2 install packages. When done, or if performing an online upgrade, click Next.
- Click Upgrade and then click Yes to begin the Kinetica 7.2 upgrade process.
- Click Close when the upgrade is complete.
Unmanaged Cluster Upgrade
If the cluster to upgrade is not managed by KAgent 7.1, install KAgent 7.2, add the cluster, and upgrade it to 7.2.
Install KAgent.
KAgent can be deployed as a RHEL, Ubuntu, or SUSE installation package on any server inside or outside the cluster.
Automatically download & install the latest KAgent version using these commands:
RHEL 81 2 3 4
KAGENT_REPO=https://repo.kinetica.com/yum/7.2/CentOS/8/x86_64 KAGENT_PKG=$(wget -q -O - ${KAGENT_REPO} | sed 's/<[^>]*>//g' | grep -o "kagent.*ga.*rpm " | sort -V | tail -1) wget ${KAGENT_REPO}/${KAGENT_PKG} sudo yum install ./${KAGENT_PKG}
Ubuntu 201 2 3 4
KAGENT_REPO=https://repo.kinetica.com/debian/7.2/Ubuntu/focal/binary-amd64 KAGENT_PKG=$(wget -q -O - ${KAGENT_REPO} | sed 's/<[^>]*>//g' | grep -o "kagent.*ga.*deb " | sort -V | tail -1) wget ${KAGENT_REPO}/${KAGENT_PKG} sudo apt install ./${KAGENT_PKG}
Ubuntu 221 2 3 4
KAGENT_REPO=https://repo.kinetica.com/debian/7.2/Ubuntu/jammy/binary-amd64 KAGENT_PKG=$(wget -q -O - ${KAGENT_REPO} | sed 's/<[^>]*>//g' | grep -o "kagent.*ga.*deb " | sort -V | tail -1) wget ${KAGENT_REPO}/${KAGENT_PKG} sudo apt install ./${KAGENT_PKG}
SUSE 151 2 3 4
KAGENT_REPO=https://repo.kinetica.com/yum/7.2/SUSE/15.3/x86_64 KAGENT_PKG=$(wget -q -O - ${KAGENT_REPO} | sed 's/<[^>]*>//g' | grep -o "kagent.*ga.*rpm " | sort -V | tail -1) wget ${KAGENT_REPO}/${KAGENT_PKG} sudo zypper install ./${KAGENT_PKG}
Alternatively, visit the KAGENT_REPO link below to search for a specific version of KAgent, change KAGENT_PKG to that version on line 2, and then run the modified commands to download & install that version:
RHEL 81 2 3 4
KAGENT_REPO=https://repo.kinetica.com/yum/7.2/CentOS/8/x86_64 KAGENT_PKG=kagent-7.2.0.4.20240326024429.ga-0.x86_64.el8.rpm wget ${KAGENT_REPO}/${KAGENT_PKG} sudo yum install ./${KAGENT_PKG}
Ubuntu 201 2 3 4
KAGENT_REPO=https://repo.kinetica.com/debian/7.2/Ubuntu/focal/binary-amd64 KAGENT_PKG=kagent_7.2.0.4.20240326024429.ga-0_amd64.ubuntu20.04.deb wget ${KAGENT_REPO}/${KAGENT_PKG} sudo apt install ./${KAGENT_PKG}
Ubuntu 221 2 3 4
KAGENT_REPO=https://repo.kinetica.com/debian/7.2/Ubuntu/jammy/binary-amd64 KAGENT_PKG=kagent_7.2.0.4.20240326024429.ga-0_amd64.ubuntu22.04.deb wget ${KAGENT_REPO}/${KAGENT_PKG} sudo apt install ./${KAGENT_PKG}
SUSE 151 2 3 4
KAGENT_REPO=https://repo.kinetica.com/yum/7.2/SUSE/15.3/x86_64 KAGENT_PKG=kagent-7.2.0.4.20240326024429.ga-0.x86_64.sles15.3.rpm wget ${KAGENT_REPO}/${KAGENT_PKG} sudo zypper install ./${KAGENT_PKG}
This installs the package to the directory
/opt/gpudb/kagent
and registers and starts the kagent_ui service. KAgent will open port 8081 on the local firewall (if enabled).Start KAgent.
To access the KAgent UI:
Ensure the KAgent service is started:
service kagent_ui status
Browse to the KAgent application using IP or host name:
http://<kagent-host>:8081/kagent
If KAgent is associated with one or more Kinetica clusters, log in using the credentials for that cluster. If KAgent has not been associated with any clusters yet, the application will load without prompting.
Add the cluster to upgrade to KAgent, choosing the on-premise deployment method, regardless of the way in which the cluster is actually provisioned.
For each additional cluster to upgrade:
- Click + Cluster
- Add the cluster to upgrade to KAgent, choosing the on-premise deployment method
Click Rings at the top of the page.
Click Upgrade on the ring to upgrade to Kinetica 7.2
If performing an offline upgrade, upload all the Kinetica 7.2 install packages. When done, or if performing an online upgrade, click Upgrade and then click Yes to begin the Kinetica 7.2 upgrade process.
Post-Upgrade Actions
- If AAW was being used in the ring that was upgraded:
- Upgrade database clients, if needed.
Upgrading Database Clients
Any native API clients or ODBC/JDBC drivers can be updated to take advantage of new features in Kinetica 7.2.
Native APIs
The instructions for upgrading to the latest APIs can be found in their respective manuals:
JDBC
See JDBC for the latest JDBC clients and related configuration.
ODBC
Be sure to remove older versions of the driver before installing new ones.
Remove Previous Windows ODBC Drivers
To remove the old drivers:
- Launch ODBC Data Source Administrator (64-bit or 32-bit, as needed).
- Select any entry with a Driver name of Kinetica ODBC Driver.
- Optionally, click the Configure button to open up the driver properties window and record any settings that could be reused with the new driver (username, SSL Certificate path, etc.).
- Click the Remove button.
- Click the Yes button to confirm the removal.
- Repeat this process until all older drivers have been removed.
Install New ODBC/JDBC Drivers
See ODBC for the latest ODBC clients and related configuration.