If you have an existing on premise Kinetica cluster that is not managed by KAgent, you can add it to KAgent without upgrading it. This is particularly useful in the following scenarios:
Before adding the cluster, KAgent must be installed on one of the nodes of the existing cluster or any other external server.
KAgent can be installed in two ways:
Important
KAgent requires that the 8081
port be made available on the
host
KAgent can be deployed on any server inside or outside the cluster. Deploy the package using the standard procedures for a local package:
On RHEL:
sudo yum install ./kagent-<version>.<architecture>.rpm
On Debian/Ubuntu:
sudo apt install ./kagent-<version>.<architecture>.deb
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).
After installing Docker, run the following via a local terminal:
sudo docker run -d -p 8081:8081 kinetica/kagent
The latest KAgent Docker image will be pulled and a container will be started.
The cluster addition process using KAgent involves adding key information about your cluster to KAgent, including deployment type, security information, node information, and current Kinetica-related packages/services installed.
Warning
Any services (graph, AAW, RabbitMQ, etc.) and/or nodes in the existing cluster that are not noted during the cluster setup process will not be automatically picked up by KAgent and thus cannot be managed by KAgent. Any services not already installed cannot be installed during this process; likewise, additional nodes cannot be added to the cluster during this process.
After installing KAgent, the KAgent UI displays an overview page as well as access to KAgent administration tools, cluster setup, and cluster components. KAgent is accessible via the following URL:
http://<kagent-host>:8081/kagent
To access the KAgent UI and begin setting up a cluster:
Ensure the KAgent service is started:
service kagent_ui status
Browse to the KAgent UI using IP or host name:
http://<kagent-host>:8081/kagent
Optionally, if using custom rings, i.e. not the default
ring, click
Rings then click Clusters next to the desired
ring.
Click Add New or Existing Cluster.
Note
Once in the setup process, click Clusters to exit setup and return to the start; click Logs to view KAgent logs; click Console to open the console log.
Note
The license key can be the existing Kinetica license key or a new license key. Contact Support (support@kinetica.com) for any questions.
Enter a name for the cluster. The name cannot contain spaces or underscores.
Optionally, select Graph if a node in the existing cluster has the graph server on it. See Network Graphs & Solvers Concepts for more information.
Optionally, select AAW if a node in the existing cluster has AAW (Active Analytics Workbench) installed on it.
Optionally, select to install HA if setting up an HA ring. Review High Availability Configuration & Management for more information.
For the Install Mode, select Online (install directly from the online Kinetica repository).
For the Version, select either CUDA (GPU) or Intel (CPU-only) depending on the package variant that's already installed on the current cluster you want to add to KAgent.
Tip
Use the following command to determine the Kinetica package that is already on the machine:
# RHEL
rpm -qa | grep 'gpudb'
# Ubuntu
apt list --installed | grep 'gpudb'
Enter the license key.
If AAW is selected, select the Custom type for K8 Setup (Kubernetes should already exist and KAgent will not install anything during this process). Upload a configuration file for an already existing Kubernetes installation and provide a public IP address for the server hosting the Kubernetes installation. Note that AAW requires Kubernetes; see Active Analytics Workbench (AAW) Overview for more information.
Click Next.
Select the On Premise deployment method, and click Next.
Important
If clearing the Open Firewall Ports checkbox, the firewall then must be configured manually to allow the required ports listed in the default ports table. Consult Firewall Settings for tips on configuring the firewall.
Enter and confirm the existing Admin Password. This is the password used to access Reveal, Active Analytics Workbench (AAW), and GAdmin as the default Admin user.
Important
The password provided here must match the existing cluster's admin password.
Select an SSL Mode that best aligns with the existing cluster's SSL configuration:
/opt/gpudb/certs
, enables HTTPD, and configures HTTPD to use
HTTPS/opt/gpudb/certs
, enables HTTPD, and configures HTTPD to use HTTPSSelect the current Authentication type used for the existing cluster and fill the fields as necessary:
Click Next.
Click Add New Node until the number of nodes in KAgent matches the number of nodes in the current cluster.
Input the Hostname, Internal IP, and External IP for each existing node into KAgent.
Optionally, if the User-provided cert/key per node
SSL Mode
was selected, click the lock icon in the SSL column and
upload the SSL cert and key for each node.
Select if each existing node has the Core package installed.
For the existing head node host, designate it as the head node in KAgent by selecting the Head Node radio button next to it.
Optionally, if the Graph
package was selected in Cluster
and an existing node hosts the graph server, designate it as the
Graph node using the corresponding radio button. The graph node
hosts the graph server. The
graph node does not need to have the Core package enabled.
Optionally, if AAW was selected in Cluster and an existing node hosts AAW, designate it as the AAW node using the corresponding radio button. The AAW node hosts the Active Analytics Workbench. Also, set the number of reserved GPUs for AAW to use for each node.
Important
Some features of AAW require GPUs to work or have increased performance. Review the AAW documentation for more information.
Select each node that has Rabbit (RabbitMQ) installed.
Click Next.
Confirm which IP address KAgent should use to connect to the cluster: Internal or Public.
sudo
password.The console will appear showing the log of KAgent interactions as KAgent attempts to access the cluster with the provided credentials and also retrieve information on the hosts, including Kinetica version and configuration (if installed), hostname and IP addresses, OS type, and Nvidia information.
Important
If the configuration you have selected does not match the current configuration on the cluster you're trying to upgrade, KAgent will list the errors and provide the opportunity to fix the configuration manually or automatically.
Existing cluster version information will be detected and the Add Only + and Upgrade buttons will be activated.
After a successful cluster addition, you'll be returned to the KAgent home page and also will be offered to be redirected to GAdmin on the head node. Review Managing Kinetica with KAgent for more information on using KAgent.