---
title: Adding Zookeeper as a Device
slug: kron-dam-reference-guide-3-7-0/adding-zookeeper-as-a-device
docTags: 
createdAt: 2024-10-02T10:27:21.415Z
---

Firstly, add the Zookeeper database to Kron PAM as a device:

1. Navigate to **Devices > Inventory**.
2. Click the blue **Add** button and select **Add Device**.
3. In the **Information** section, enter all the information below. Then enter the SQL Proxy Bind Port (last section in ‘add device’)
   - **IP Address**: It is the equivalent name of IP address in **etc/hosts&#x20;**&#x66;ile.
   - **Device Name**: A unique name for the Hive node. It is not required
   - **Port**: The port number used by Hive (if not specified, the default port is used).
   - **Access Protocol**: Choose Hive.
   - **Element Type**: Choose Hive.
   - **Enter SQL Proxy Bind Port** (in this case 1019)
   - Save.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/bB2hv0iFPdbnZcNzCJ4ne_image.png "Device Addition Screen with Hive Details")

In the **Information** section, enter the required details:

- **IP Address**: The IP address of the Zookeeper database.
- **Device Name**: A unique name for the Zookeeper device.
- **Port**: The port number used by Zookeeper&#x20;
- **Access Protocol**: Select the protocol appropriate for the Zookeeper.
- **Element Type**: Choose **Database**.
- **Enter SQL Proxy Bind Port** (in this case 1022)
- Save.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/0JVHLWXyWq5C06hnyDfeN_image.png)

Then return to the Hive node that you need to connect; (in this case, this will be our first defined Hive db named **Hive datanode 3**). Zookeeper requires specific properties to be set in Kron PAM to enable proper communication and metadata management:

1. Click th&#x65;**&#x20;Edit Device&#x20;**&#x62;utton.
2. Click the **Edit Database** button.
3. Enter your Information on this screen.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/sb1dXdgRRggYmChm0YqB2_image.png)



- In the device's **Properties** section, add the following parameters (the properties that not wrote with bold are examples):
  - &#x20;**external.metastore.vendor&#x20;**&#x6D;ysql
  - **external.metastore.host** 40.114.55.184
  - **external.metastore.port** 3306
  - **external.metastore.username** hiveusr
  - **external.metastore.name&#x20;**&#x6D;etastore\_db
  - **external.metastore.password.enc&#x20;**&#x68;ivepassword
    - <u>*(Ensure the password is encrypted)*</u>
  - **metadata.type** EXTERNAL

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/at7TithgnzBd2_5Rfk7uw_image.png)

:::hint{type="info"}
After these configurations user should be define user groups, device groups and policy groups like any other SQL Proxy. In this case this document assumes you have knowledge. If not, You can checkout 2.1 SQL Proxy for reminder knowledge.&#x20;
:::

