Installation Steps
1. Extracting images on a machine with internet
Following steps need to be carried out on a machine with internet access and with inbound connections on port 9242 enabled.
Install Docker and Docker Compose on the host operating system (must have
git bash
installed if it is a windows machine).Download the deployment script deployment.sh and place it in any desired directory. This script will:
delete the cim-deployment directory if it exists already.
- automatically pull the latest version of
cim-deployment
folder.
To execute the script, give it the execute permissions and execute it.
Code Block chmod 755 deployment.sh ./deployment.sh
Change to newly created directory with name cim-deployment. This directory contains all the required files for deployment.
Run the following command to pull all the images from the registry:
Wait for the script to complete the execution. This script should automatically download all the images on the machine.
Code Block chmod 755 install.sh ./install.sh
Save all the images as tar balls by executing the following commands:
Code Block docker save gitlab.expertflow.com:9242/cim/cim-backend:13.0-rc1 > cim-backend.tar docker save gitlab.expertflow.com:9242/cim/cim-frontend:13.0.0-rc1 > cim-frontend.tar docker save gitlab.expertflow.com:9242/chat-solution/mysql:5.7 > mysql.tar docker save gitlab.expertflow.com:9242/chat-solution/mongodb:latest > mongo.tar
2. Copying and deploying the images to production machine (without internet)
Copy the
cim-deployment
folder to the production machine andcd
in it..Load all the images on the machine with the following commands:
Code Block for file in *.tar; do docker load < $file; done
Open
docker/environment-variables/cim-frontend-variables.env
file and update the following variables according to the environment:Name
Description
SERVER_URL
URL of the server where UMM is deployed. It should have the following format:
https://st.ef.com:8443/umm
Having environment configurations done execute the following commands to run the application:
Code Block chmod 755 install.sh ./install.sh
Run the following command to ensure that all the components are up and running:
Code Block docker ps
3. Gadget Deployment
Open the CIMGagdet/InteractionHistoryGadget.js
file and update the URL with your virtual-IP and port of umm service as per your deployment on line 60 as below:
Run FileZilla or any other FTP client and log in to finesse using following credentials
Host: IP of the finesse where gadget will be deployed
Username: 3rdpartygadget
Password: ask the Finesse administrator for the password
port: 22
Create a folder e.g. CIM into the files directory on finesse server and upload the specifications files on finesse server.
Repeat the same steps for deploying the gadget on the secondary Finesse server.
Open cfadmin for your finesse using https://finesse.ip:8445/cfadmin, login and follow the steps below to add the supervisor tools gadget in your team:
Click on “Team Resources” tab on the top
Click on the team for which you want to add the gadget
Scroll down the “Desktop Layout XML” part at the bottom of the screen and locate <role>agent</role> and add the following line after the <gadgets> tab:
Code Block <gadget>/3rdpartygadget/files/<folder-name>/InteractionHistoryGadget.xml</gadget>
The following screenshot is depicting the steps mentioned above
Troubleshooting
Logs for each container are available in files as well as within docker daemon. To see the logs for any container on STDOUT, execute docker ps
and get the id of the container. Use that id to see the logs using docker logs <container_id>
.