Deployment
You should always deploy EX Engage Connector using the bootstrap script.
To set up the EX Engage Connector services in the production environment, run the init command: ./bootstrap.py --init
The init script performs the following actions:
- Prompt for following passwords:
- DB password - The password for the Config database.
- Redis Password - The password for the redis server (if the redis-secure parameter is set to true).
- Create a /tmp/.env file containing the provisioning information along with password information.
- Extract the VM address for each service and copy the docker-compose file of the respective service to their respective VMs.
- Copy the /tmp/.env file to the list of VMs on which the connector services need to be installed and delete the /tmp/.env file.
The docker-compose files and .env files are stored under the exec directory in the home path of the Genesys user.
Starting EXEC Services
Once the EXEC services environment is initialized, exec services can be started/stopped/restarted using the below commands
After initializing the environment, the EXEC services can be started using any of the following commands:
- ./bootstrap.py --start - starts all the EXEC services in their respective VMs configured.
- ./bootstrap.py --start --service=exas - starts the EXAS service in its respective VM
- ./bootstrap.py --start --service=excp --pair 1 - starts the EXCP service in both the VMs belonging to excp pair 1
- ./bootstrap.py --start --service=excp --pair 1 --host 1 - starts the EXCP service in the VM host 1 belonging to excp pair 1
Similarly, all services or a specific service or a specific instance of a service can be stopped using the ./bootstrap.py --stop command. The ./bootstrap.py --restart command can be used to restart all services or a specific service or a specific instance of a service.
