Jump to: navigation, search
(Created page with "= Deploying GWS in Test Labs = ==Docker and docker-compose installation== 1) Install Docker: https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1 2)...")
 
Line 3: Line 3:
 
==Docker and docker-compose installation==
 
==Docker and docker-compose installation==
  
1) Install Docker: https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1
+
# Install Docker: https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1
 
+
# Install Docker-Compose: https://docs.docker.com/compose/install/
2) Install Docker-Compose: https://docs.docker.com/compose/install/
 
  
 
==GWS microservices v9 installation==
 
==GWS microservices v9 installation==
  
1) Copy the "premise" directory to all target machines' as "/opt/genesys/gws/premise". This would be the application's prefix.
+
# 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:
2) # ./bin/preflight.sh #Run at all target machines
+
  <pre># ./bin/preflight.sh</pre>
 
+
{{NoteFormat|This script disables firewalls and sets SElinux to ''permissive'' mode.}}
note: This script disables firewalld and sets SElinux to permissive mode
 
 
 
 
3) # ./bin/dump-restore.sh restore #Run at all target machines
 
3) # ./bin/dump-restore.sh restore #Run at all target machines
  

Revision as of 06:25, April 5, 2019

Deploying GWS in Test Labs

Docker and docker-compose installation

  1. Install Docker: https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1
  2. Install Docker-Compose: https://docs.docker.com/compose/install/

GWS microservices v9 installation

  1. Copy the premise directory to all target machines as /opt/genesys/gws/premise. This would be the application's prefix.
  2. Run the following command at all target machines:
# ./bin/preflight.sh
Important
This script disables firewalls and sets SElinux to permissive mode.

3) # ./bin/dump-restore.sh restore #Run at all target machines

GWS-data service containers

1) Create systemd unit

SERVICE_NAME="data" ./bin/register-systemd-unit.sh

2) Start data services

systemctl start gws-data.service

3) Configure Redis

./bin/redis-starter.sh

GWS-applications containers

1) Create systemd unit

SERVICE_NAME="applications" ./bin/register-systemd-unit.sh

2) Start applications services

systemctl start gws-applications.service

3) Create the client

./bin/client-curl-script.sh

4) Check status of applications

./bin/healthcheck.sh

GWS configuration:

Configure Config Server

https://docs.genesys.com/Documentation/HTCC/latest/Dep/InstallationProcedures

Create genesys-environment

http://internalwiki.us.int.genesyslab.com/dev_teams/index.php/Environment_API_Reference#Create_new__Environment

Create contact-center

http://internalwiki.us.int.genesyslab.com/dev_teams/index.php/Environment_API_Reference#Create_new_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.

Comments or questions about this documentation? Contact us for support!