Setting Up CA Service Desk
Deploy and register the UTP plugin to connect HEAL with CA Service Desk.
Follow the steps below for setting up UTP:
1. Navigate to the folder below.
/<Installer path>/Appsone_Service/a1eventhandler/plugins
Copy the utp-1.4.9.jar file to the folder.
2. Register the UTP Plugin in the A1EventHandler.
a. Create a common directory in the installer path to place the UTP-related files.
Use the mkdir command to create the folder:
mkdir UTPFiles
b. After the folder is created, place the files in the path below:
Installer path>/Appsone_Service/conf/UTPFiles
c. Follow the steps below to copy files from the appsone-eventhandler container.
i. To verify the container ID, execute the following command:
docker ps | grep appsone-event
For example:
d47451e469f1 appsone-event-handler:5.8.14"/opt/appsone-event-…" 47
hours ago Up 47 hours A1Eventhandler-5990cdc0-044c-9eca-5270-
8413f72ec0fb
ii. To log in to the container, execute the following command:
docker exec -it <container id> /bin/bash
For example:
docker exec -it d47451e469f1 /bin/bash
iii. Verify the container path of the plugin-details.json file.
/opt/appsone-event-handler/config/plugin-details.json
iv. To copy the plugin-details.json file from the container, execute the following command:
docker cp d47451e469f1:/opt/appsone-event-handler/config/plugin-
details.json
/opt/heal/appnomic/Appsone_Service/a1eventhandler/conf/UTPFiles
For example:
docker cp d47451e469f1:/opt/appsone-event-handler/config/plugin-
details.json /opt/heal/appnomic/Appsone_Service/conf/UTPFiles
d. Paste the copied files in the path below:
/Appsone_Service/conf/UTPFiles
e. Perform the JSON configuration for a UTP plugin.
Add the following section to the plugin-details.json file.
{
"name":"UnifiedTicketingPlugin",
"className":"com.appnomic.appsone.plugin.utp.UTPlugin",
"eventType":[
"NOTIFICATION_OUTPUT"
],
"queueName":"a1-event-messages",
"eventName":"UTPNotification",
"contextDetails":{
"healPermalink":"https://<Enter the HEAL UI IP and
port>/heal-ui service
/#/problem/detail/{Account_Identifier}?signalId={Signal_ID}",
"signalType":"EARLY_WARNING,Problem,Info",
"redis.ssl":"true",
"redis.username":"<Enter the user name of Redis. Refer the
table below>",
"redis.password":"<Enter the password of Redis. Refer the
table below>",
"redis.nodes":"<Enter the nodes of Redis. Refer the table
below>",
"redis.cluster.mode":"true",
"opensearch.nodes":"<Enter the nodes of opensearch. Refer
the table below>",
"opensearch.protocol":"<Enter the protocol of opensearch.
Refer the table below>",
"opensearch.username":"<Enter the username of opensearch.
Refer the table below>",
"opensearch.password":"<Enter the password of opensearch.
Refer the table below>",
"opensearch.per.route.connections":"20",
"opensearch.max.connections":"50"
}
To get the values of the attributes, refer to the table below:
| Attribute | Values |
|---|---|
| redis.username | service/redis/username |
| redis.password | service/redis/password/encrypted |
| redis.nodes | consul kv get service/redis/nodes |
| opensearch.nodes | consul kv get service/opensearch/nodes |
| opensearch.protocol | service/opensearch/protocol |
| opensearch.username | service/opensearch/username |
| opensearch.password | service/opensearch/password/encrypted |
For example:
{
"name":"UnifiedTicketingPlugin",
"className":"com.appnomic.appsone.plugin.utp.UTPlugin",
"eventType":[
"NOTIFICATION_OUTPUT"
],
"queueName":"a1-event-messages",
"eventName":"UTPNotification",
"contextDetails":{
"healPermalink":"https://192.0.2.4:8990/heal-uiservice/#/
problem/detail/{Account_Identifier}?signalId={Signal_ID}",
"signalType":"EARLY_WARNING,Problem,Info",
"redis.ssl":"true",
"redis.username":"",
"redis.password":"<base64-password>",
"redis.nodes":"192.0.2.4:9001,192.0.2.4:9002,192.0.2.7
0:9001,192.0.2.59:9002,192.0.2.5:9001,192.0.2.5:9002",
"redis.cluster.mode":"true",
"opensearch.nodes":"192.0.2.69:9200,192.0.2.4:9200,192.168.
14.88:9200",
"opensearch.protocol":"https",
"opensearch.username":"admin",
"opensearch.password":"<base64-encoded-password>",
"opensearch.per.route.connections":"20",
"opensearch.max.connections":"50"
}
3. Mount the following configuration files to the A1EventHandler Docker container.
Add the configuration files to the volumes section of
/opt/<Installer path>/nomadFile/A1EventHandler.nomad
4. Add the UTP files in the A1Event handler Nomad file.
Note: Refer section “Data Template Usage”, to know how to create a meta- template.
Mount the files below in the volume section of the A1 Event handler nomad.
- Map the JSON file located at path Plugin details.json to the A1 Event handler.
<Installer path>/Appsone_Service/conf/UTPFiles/plugin-details.json:/opt/appsone-event-handler/config/plugin-details.json
- Map the meta-templates in the directory to the A1 event handler.
<Installer path>/Appsone_Service/conf/UTPFiles/meta-template/:/opt/appsone-event-handler/meta-template/