---
title: Deployment Steps
slug: kron-dam-sql-agent/deployment-steps
docTags: 
createdAt: 2024-10-08T06:53:39.434Z
---

Deploying SQL Agent involves several key steps:

1. Ensure the **SQL Agent** software is properly uploaded and files are extracted on your database server.
   - To extract the file, use the following command:
     tar -xvf sqlagent-3.5.1.tar.gz
2. Navigate to **the Agent Management** in Kron PAM and get the jwt token for the requested period.
3. **Update&#x20;**&#x61;gent\_parameters file

| **Parameter Name**       | **Description**                                                                                             | **Example Value**                    |
| ------------------------ | ----------------------------------------------------------------------------------------------------------- | ------------------------------------ |
| krondam\_host            | The host ip of the target database                                                                          | 10.20.42.35                          |
| database\_listener\_port | The port where the agent should be run                                                                      | 1265                                 |
| installation\_directory  | The path where the agent will be installed (Will default to /u01 if left empty)                             | /u01                                 |
| jwt\_token               | The registration key that is required for the installation and can be received from Agent Management Screen | 7b91a31a-596a-4797-93fc-7b148b0bfed8 |
| ORACLE\_HOSTNAME         | Oracle hostname                                                                                             | 10.20.42.35                          |
| ORACLE\_UNQNAME          | Unique name of Oracle                                                                                       | ORA12CDB                             |
| ORACLE\_SID              |                                                                                                             |                                      |
| ORACLE\_BASE             |                                                                                                             |                                      |
| ORACLE\_HOME             |                                                                                                             |                                      |

- Execute the installation script (sqlagent-3.5.1.sh)
  - To execute the script, use the following command:
    ./sqlagent-3.5.1.sh
- Start the SQL Agent service.
  - Systemctl restart sql-ddm.service

