> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage

<a id="kagent-clusters" />

The **Manage** page allows users to install new clusters, add existing
clusters, review *KAgent* logs and jobs, manage cluster
[high availability](/content/ha/ha_architecture) rings, and more. The
**Manage** page has two main views depending on whether there is a
cluster in *KAgent* or not. If no clusters have been added to *KAgent* yet,
the **Welcome** page will appear by default allowing you to quickly
jump into [adding a cluster](/content/admin/kagent/manage#manage-add-cluster). If there are clusters in
*KAgent*, the [Clusters](#clusters) page will appear by default.

* Click **Rings** to view *KAgent* rings
* Click **Jobs** to view *KAgent* [jobs](/content/admin/kagent/manage#kagent-ui-jobs).
* Click **Logs** to view *KAgent* [logs](/content/admin/kagent/manage#kagent-ui-logs).
* Click **Console**  to open the *KAgent*
  [console log](/content/admin/kagent/manage#kagent-ui-console).

<a id="manage-add-cluster" />

## Add Cluster

The **Add Cluster** interface allows users to install a new
cluster or add an existing cluster; this page will only appear if this instance
of *KAgent* is not currently managing any *Kinetica* clusters. For full details
on installing a cluster using *KAgent*, visit
[Kinetica Installation with KAgent](/content/install/kagent_install). For more information about adding an
existing cluster, see [Adding a Cluster to KAgent](/content/admin/adding_cluster_kagent).

<img src="https://mintcdn.com/kinetica/1z8mB2CQRb2B9bKF/content/admin/kagent/images/add_cluster_ui.png?fit=max&auto=format&n=1z8mB2CQRb2B9bKF&q=85&s=c4719070d3c578c5bd3c14101618cf02" alt="../images/add_cluster_ui.png" width="1000" height="520" data-path="content/admin/kagent/images/add_cluster_ui.png" />

## Clusters

The **Clusters** page is the home page for the *KAgent* management UI
and displays all existing clusters. This page is only accessible if a cluster
has been previously added to or installed with *KAgent*.

* Click **+ Cluster** to begin adding a cluster. See
  [Add Cluster](/content/admin/kagent/manage#manage-add-cluster) for more information.
* Click **Clone** to begin cloning an existing cluster. See
  [Clone](/content/admin/kagent/manage#kagent-ui-clone) for more information.
* Click **Refresh** to refresh the cluster list.
* Click the <img src="https://mintcdn.com/kinetica/PHQlULcgtUSM8bYf/content/admin/images/kagent_head_node_icon.png?fit=max&auto=format&n=PHQlULcgtUSM8bYf&q=85&s=64ff3d6b19bd672a157321dddecf9e7e" alt="headnode" style={{display: "inline", margin: 0, verticalAlign: "middle"}} width="16" height="16" data-path="content/admin/images/kagent_head_node_icon.png" /> icon in the **Nodes** column to open a browser
  tab to the head node's *Admin Application*
  ([GAdmin](/content/admin/gadmin) -- `http://<host>:8080`)
* Click **Apps** to open a small menu containing links to the
  Kinetica-related applications available on this cluster; e.g., *GAdmin* or
  [Reveal](/content/bi/reveal)
* Click **Manage** next to a cluster to open the
  [management](/content/admin/kagent/manage#kagent-manage) options for the cluster.
* Click **Logging** to open a window where you can enable additional
  SQL Analyzer logging for the cluster.
* Click **Logs** to open the **Gather Logs** modal, which will
  assist in *KAgent* log gathering, *KAgent* package verification, and a
  process backtracing for the `gpudb` service of the selected cluster. Select
  the desired options and click **Gather Logs** to initiate the process;
  a download link will be presented once processing is complete.
* Click **X** to remove the cluster from *KAgent*. This will
  **not** uninstall *Kinetica* or any other services.

<img src="https://mintcdn.com/kinetica/PHQlULcgtUSM8bYf/content/admin/images/kagent_clusters.png?fit=max&auto=format&n=PHQlULcgtUSM8bYf&q=85&s=6278f5acc3a4030c4038b3dce51c4db9" alt="../../images/kagent_clusters.png" width="1000" height="342" data-path="content/admin/images/kagent_clusters.png" />

<a id="kagent-ui-clone" />

### Clone

**Clone** provides the ability to clone a cluster's authentication
settings, users, and/or data to another cluster. To clone a cluster:

1. From the **Clusters** page, click **Clone**.

2. Select a **Source Cluster** from the drop-down menu.

3. Select a **Target Cluster** from the drop-down menu.

4. Select the **Clone Options**:

   * **Authentication**: the source cluster's authentication settings
     (LDAP, Kerberos, etc.) will be cloned to the target cluster
   * **Users**: the source cluster's users and permissions setup will
     be cloned to the target cluster
   * **Data**: the source cluster's data will be cloned to the target
     cluster
   * **Graph**: the source cluster's persisted
     [graphs](/content/graph_solver) will be cloned to the target cluster

5. Click **Clone**.

   <Note>
     Cloning a cluster should be performed during downtime as
     cloning a cluster while modifying any of the related data
     can lead to inconsistencies between the two clusters.
   </Note>

<img src="https://mintcdn.com/kinetica/1z8mB2CQRb2B9bKF/content/admin/kagent/images/kagent_manage_clone.png?fit=max&auto=format&n=1z8mB2CQRb2B9bKF&q=85&s=a4aca281b3a0f3f233b2540c1be78efb" alt="../images/kagent_manage_clone.png" width="695" height="551" data-path="content/admin/kagent/images/kagent_manage_clone.png" />

<a id="kagent-manage" />

### Manage

Users can manage cluster nodes, security, backups, and more from a particular
cluster's management interface. Click **Refresh** to refresh the
management page.

#### Nodes

**Nodes** is divided into three tabs: **List**,
**Switchover**, **Failover Configuration**.

* *List* -- Provides a summary of the nodes and services enabled in the
  cluster. Click **Remove Node** to remove a node from the cluster.
  Click **Add Spare** to bring additional nodes into the
  cluster.
* *Switchover* -- No longer used
* *Failover Configuration* -- No longer used

<img src="https://mintcdn.com/kinetica/PHQlULcgtUSM8bYf/content/admin/images/kagent_nodes.png?fit=max&auto=format&n=PHQlULcgtUSM8bYf&q=85&s=78f8319bad4e819bd376a2d66257c28d" alt="../../images/kagent_nodes.png" width="897" height="259" data-path="content/admin/images/kagent_nodes.png" />

#### Detail

**Detail** provides basic information about the cluster, including
ring (HA), SSL, license, and more.

<img src="https://mintcdn.com/kinetica/PHQlULcgtUSM8bYf/content/admin/images/kagent_detail.png?fit=max&auto=format&n=PHQlULcgtUSM8bYf&q=85&s=9aaaebf78f46a34d2ac514ff616e6d14" alt="../../images/kagent_detail.png" width="435" height="328" data-path="content/admin/images/kagent_detail.png" />

#### Security

**Security** provides the ability to adjust the existing security
configuration for the cluster.

To update the security configuration:

1. Select an **SSL Update Mode**:

   * **Cert/key setup not required** -- no SSL certificate/key
     creation/upload required and no updates to security configuration settings
   * **User-provided cert/key per node** -- user must upload an SSL
     certificate and key and optionally a public hostname for each node;
     *Kinetica* copies the cert/key pair to <Badge color="gray">/opt/gpudb/certs</Badge>, enables
     HTTPD, and configures HTTPD to use HTTPS
   * **Generate self-signed cert/key per node** -- *KAgent* generates
     a self-signed certificate and key for each node and places it in
     <Badge color="gray">/opt/gpudb/certs</Badge>, enables HTTPD, and configures HTTPD to use HTTPS

2. Click **Update SSL**. This will override any existing configuration.

3. Select an **Authentication** type and fill the fields as necessary:

   * **None** -- no authentication or authorization
   * **LDAP** -- configures *Kinetica* to authenticate via *LDAP*;
     requires authentication to connect to the database, enables authorization,
     enables external authentication, automatically creates users in the
     database for *LDAP* users, and automatically grants roles in the database
     to *LDAP* users
   * **Active Directory** -- configures *Kinetica* to authenticate via
     *Microsoft Active Directory*; requires authentication to connect to the
     database, enables authorization, enables external authentication,
     automatically creates users in the database for *Active Directory* users,
     and automatically grants roles in the database to *Active Directory* users
   * **Kerberos** -- configures *Kinetica* to authenticate via
     *Kerberos*; requires authentication to connect to the database, enables
     authorization, enables external authentication, automatically creates users
     in the database for *Kerberos* users, and automatically grants roles in the
     database to *Kerberos* users

   <Info>
     For more information on security configurations and settings as well as
     how to manually configure *Kinetica* for a secure setup, see
     [Security Configuration](/content/security/sec_configuration)
   </Info>

4. Click **Update**. This will override any existing configuration.

<img src="https://mintcdn.com/kinetica/PHQlULcgtUSM8bYf/content/admin/images/kagent_security.png?fit=max&auto=format&n=PHQlULcgtUSM8bYf&q=85&s=e35ff5da43728d825e5e92e49ddf84a5" alt="../../images/kagent_security.png" width="1000" height="405" data-path="content/admin/images/kagent_security.png" />

<a id="kagent-ui-backups" />

#### Backups

**Backups** provides the ability to schedule backups of your entire
database. In this section, the system can also be restored from a previous
snapshot. Consult [Backing Up/Restoring Kinetica](/content/admin/backup_restore) for information on
backing up Kinetica using KAgent from the command line.

<img src="https://mintcdn.com/kinetica/PHQlULcgtUSM8bYf/content/admin/images/kagent_backups.png?fit=max&auto=format&n=PHQlULcgtUSM8bYf&q=85&s=3f58d9b18bd4a4a72a93b8d5a64c6d6e" alt="../../images/kagent_backups.png" width="1000" height="521" data-path="content/admin/images/kagent_backups.png" />

<p><strong>Schedule</strong></p>

To schedule a backup in the future:

1. Provide a **Backup Path**. This directory should be accessible on
   all nodes and to the `gpudb` user.

2. Select the **Hour**, **Day**, or **Month** tab.

3. Select one of the options:

   * For backups every *hour | day | month*
   * For backups every `<n>` *hour(s) | day(s) | month(s)* starting with
     *hour | day | month* `<n>`
   * For backups during specific *hour(s) of the day | day(s) of the week | month(s) of the year*

4. Optionally, select as many tables to backup as desired in the
   **Table List**.

   <Warning>
     Only the records in the tables selected will be available upon
     restoring from backup. All other tables that existed at the time
     of backup will be restored but they will have no records.
   </Warning>

5. Click **Update**.

To clear an existing scheduled backup:

1. Click **Clear**.

To backup immediately:

1. Click **Backup Now**.

2. Optionally, provide a **Backup Path**. This directory should be
   accessible on all nodes and to the `gpudb` user. If no directory is
   provided, `/opt/backups` will be used.

   <Note>
     If this path provided differs from the path for the scheduled
     backups, users will not be able to restore from this backup
     via *KAgent*.
   </Note>

3. Optionally, select as many tables to backup as desired in the
   **Table List**.

   <Warning>
     Only the records in the tables selected will be available upon
     restoring from backup. All other tables that existed at the time
     of backup will be restored but they will have no records.
   </Warning>

4. Click **Backup Now**.

<a id="kagent-ui-restore" />

<p><strong>Snapshots</strong></p>

By default, **Snapshots** displays all backups in the set backup path
directory.

* Provide a backup directory path to **View Backup Path** and click
  **Refresh** to display any backups located in the given path.
* Click **Restore** and confirm to restore the database from a snapshot.

<img src="https://mintcdn.com/kinetica/PHQlULcgtUSM8bYf/content/admin/images/kagent_snapshots.png?fit=max&auto=format&n=PHQlULcgtUSM8bYf&q=85&s=30fd1964ccbb5936285b4e50457a82f5" alt="../../images/kagent_snapshots.png" width="999" height="236" data-path="content/admin/images/kagent_snapshots.png" />

#### Config

**Config** allows users to edit the `external_files_directory`
[config parameter](/content/config#config-main-external-files). This parameter is used for
setting the directory that stores the files upon which
[external tables](/content/concepts/external_tables) are based and restricts the
path of files accessed via [/insert/records/fromfiles](/content/api/rest/insert_records_fromfiles_rest) and
the `SQL LOAD INTO` command.

To update the directory:

1. Adjust the directory in the **external\_files\_directory** field as
   necessary.

   <Note>
     The provided directory must exist prior to the update.
   </Note>

2. Click **Update**.

3. Confirm the cluster restart by clicking **Yes**. The cluster will
   restart and the setting will be updated.

<a id="kagent-ui-admin" />

#### Admin

**Admin** provides the ability to start, stop, or restart any of the
Kinetica-managed services. *KAgent* must first check for the installed services
across the cluster, then each service can be managed. Click **Refresh**
to refresh the list of system services.  The **Admin** tab also
provides access to the **Clone** utility.

<img src="https://mintcdn.com/kinetica/PHQlULcgtUSM8bYf/content/admin/images/kagent_admin.png?fit=max&auto=format&n=PHQlULcgtUSM8bYf&q=85&s=fe2961a1ab12200a59b75c406a7f2dbc" alt="../../images/kagent_admin.png" width="1000" height="301" data-path="content/admin/images/kagent_admin.png" />

<p><strong>Clone</strong></p>

**Clone** provides the ability to clone a cluster's authentication
settings, users, and/or data to another cluster. To clone a cluster:

1. Select a **Target Cluster** from the drop-down menu.

2. Select the **Clone Options**:

   * **Authentication**: the source cluster's authentication settings
     (LDAP, Kerberos, etc.) will be cloned to the target cluster
   * **Users**: the source cluster's users and permissions setup will
     be cloned to the target cluster
   * **Data**: the source cluster's data will be cloned to the target
     cluster

3. Click **Clone Cluster**.

   <Note>
     Cloning a cluster should be performed during downtime as
     cloning a cluster while modifying any of the related data
     can lead to inconsistencies between the two clusters.
   </Note>

<img src="https://mintcdn.com/kinetica/PHQlULcgtUSM8bYf/content/admin/images/kagent_cluster_clone.png?fit=max&auto=format&n=PHQlULcgtUSM8bYf&q=85&s=b1cdfd984a08f41cdc26ff4074dbcf97" alt="../../images/kagent_cluster_clone.png" width="1000" height="527" data-path="content/admin/images/kagent_cluster_clone.png" />

<a id="kagent-ui-rings" />

## Rings

The **Rings** page allows users to add and configure
[high availability](/content/ha/ha_architecture) (*HA*) rings and create immediate
ring backups.

* Click **+ Ring** to create a ring.
* Click **Refresh** to refresh the list of rings.
* Click **Upgrade** to proceed with a
  [ring upgrade](/content/admin/upgrade).
* Click **Clusters** to display the [Clusters](#clusters) page.
* Click **Enable HA** to enable [ring resiliency](/content/ha)
  for the desired ring.
* Click **Config HA** (once *ring resiliency* is enabled) to configure
  the most important *high availability (HA)* settings. See
  [High Availability Configuration & Management](/content/ha/ha_configuration) for more information.
* Click **Backup** to initiate a backup operation immediately; similar
  to the **Backup Now** functionality in [Backups](#backups).
* Click **Logs** to open the **Gather Logs** modal, which will
  assist in *KAgent* log gathering, *KAgent* package verification, and a
  process backtracing for the `gpudb` service of the selected cluster. Select
  the desired options and click **Gather Logs** to initiate the process;
  a download link will be presented once processing is complete.
* Click **X** to delete the ring.

For more information on enabling and configuring *HA* rings, see
[High Availability Configuration & Management](/content/ha/ha_configuration).

<img src="https://mintcdn.com/kinetica/1z8mB2CQRb2B9bKF/content/admin/kagent/images/manage_rings.png?fit=max&auto=format&n=1z8mB2CQRb2B9bKF&q=85&s=fd3942a184a442ad638eaf51427f3daa" alt="../images/manage_rings.png" width="1000" height="334" data-path="content/admin/kagent/images/manage_rings.png" />

<a id="kagent-ui-jobs" />

## Jobs

The **Jobs** page displays all historical and currently active *KAgent*
jobs.

* Click **Refresh** to refresh the list of jobs.
* Click a job's **Name** to open a status window for the job.
* Click **Cancel** to cancel a running job.
* Click **Clear Log** to clear the log for this job.

<img src="https://mintcdn.com/kinetica/47teRgjGtbiLXAyb/content/install/img/kagent_jobs.png?fit=max&auto=format&n=47teRgjGtbiLXAyb&q=85&s=4e41753b3587f358e351bd372c6cca90" alt="../../../install/img/kagent_jobs.png" width="1000" height="302" data-path="content/install/img/kagent_jobs.png" />

<a id="kagent-ui-logs" />

## Logs

The **Logs** page hosts the logs for each *KAgent* command and result
during the verification and installation processes as well as any later
interactions with *KAgent*. Click **Refresh** to refresh the log.

<img src="https://mintcdn.com/kinetica/47teRgjGtbiLXAyb/content/install/img/kagent_logs.png?fit=max&auto=format&n=47teRgjGtbiLXAyb&q=85&s=43308903c038822118b4f6f53fc2747b" alt="../../../install/img/kagent_logs.png" width="1000" height="513" data-path="content/install/img/kagent_logs.png" />

<a id="kagent-ui-console" />

## Console

The **Console** window hosts a running log of *KAgent's* activity while
it interacts with the local/provisioned instances to install or upgrade Kinetica
and its components, create backups, and more. Click **Show Details** to
display detailed information about each interaction.

<img src="https://mintcdn.com/kinetica/XNRiXBwG6rDOJQ3b/content/install/img/kagent_console.png?fit=max&auto=format&n=XNRiXBwG6rDOJQ3b&q=85&s=e7a2ecac050c9b8985644bbefd1fc1a1" alt="../../../install/img/kagent_console.png" width="1000" height="294" data-path="content/install/img/kagent_console.png" />
