(→GWS-data service containers) |
(→GWS-applications containers) |
||
Line 20: | Line 20: | ||
==GWS-applications containers== | ==GWS-applications containers== | ||
− | + | # Create a ''systemd'' unit. <pre>SERVICE_NAME="applications" ./bin/register-systemd-unit.sh</pre> | |
− | + | # Start the applications services. <pre>systemctl start gws-applications.service</pre> | |
− | SERVICE_NAME="applications" ./bin/register-systemd-unit.sh | + | # Create the client. <pre>./bin/client-curl-script.sh</pre> |
− | + | # Check the status of applications. <pre>./bin/healthcheck.sh</pre> | |
− | |||
− | |||
− | systemctl start gws-applications.service | ||
− | |||
− | |||
− | |||
− | ./bin/client-curl-script.sh | ||
− | |||
− | |||
− | |||
− | ./bin/healthcheck.sh | ||
=GWS configuration:= | =GWS configuration:= |
Revision as of 06:32, April 5, 2019
Contents
Deploying GWS in Test Labs
Docker and docker-compose installation
- Install Docker: https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1
- Install Docker-Compose: https://docs.docker.com/compose/install/
GWS microservices v9 installation
- Copy the premise directory to all target machines as /opt/genesys/gws/premise. This would be the application's prefix.
- Run the following command at all target machines:
# ./bin/preflight.sh
ImportantThis script disables firewalls and sets SElinux to permissive mode. - Run the following command at all target machines:
# ./bin/dump-restore.sh restore
GWS-data service containers
- Create a systemd unit.
SERVICE_NAME="data" ./bin/register-systemd-unit.sh
- Start the data services.
systemctl start gws-data.service
- Configure Redis
./bin/redis-starter.sh
GWS-applications containers
- Create a systemd unit.
SERVICE_NAME="applications" ./bin/register-systemd-unit.sh
- Start the applications services.
systemctl start gws-applications.service
- Create the client.
./bin/client-curl-script.sh
- Check the status of applications.
./bin/healthcheck.sh
GWS configuration:
Configure Config Server
https://docs.genesys.com/Documentation/HTCC/latest/Dep/InstallationProcedures
Create genesys-environment
Create contact-center
Links
Auth API: http://<GWS_APPLICATIONS_IP>:80/auth/v3/*
Config API: http://<GWS_APPLICATIONS_IP>:80/auth/v3/*
Environment API: http://<GWS_APPLICATIONS_IP>:80/auth/v3/*
Provisioning API: http://<GWS_APPLICATIONS_IP>:80/provisioning/v3/*
Workspace API: http://<GWS_APPLICATIONS_IP>:80/workspace/v3/*
Provisioning UI: http://<GWS_APPLICATIONS_IP>:80/ui/provisioning/*
Workspace UI: http://<GWS_APPLICATIONS_IP>:80/ui/wwe/*
Portainer http://<GWS_APPLICATIONS_IP>:9000, http://<GWS_DATA_IP>:9000, http://<GWS_MONITORING_IP>:9000
A bare minimum docker-compose GWS-microservices setup. For presentation purposes only.
To run the demo environment on your laptop, please follow these steps:
1) Connect to Genesys VPN to be able to pull GWS-microservices images.
2) Install Docker: https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1
3) Install Docker-Compose: https://docs.docker.com/compose/install/
4) Add Genesys Docker registry keys to your "/etc/docker/certs.d" directory.
5) Get the "gws-microservices" hg repository.
6) $ cd gws-microservices/production/premise/docker/docker/minimal
7) $ docker-compose up
8) Wait a couple of minutes for bootstrap process to finish.
9) Open http://127.0.0.1:9000 to see the Portainer web-interface, select "Local connection".
10) Open http://127.0.0.1/auth/v3/ui/sign-in.html to see the GWS-auth web-interface.