to reflect your system architecture. For more information about the parameters, see Parameters explanation.
Run
Run_Setup_sh
to perform the wiring process. Use the following format:
./Master_setup.sh <User ID ><Api-Key>::<Bearer-Token><UserID><API-Key>
Run the command
docker ps
and make sure that the Docker container is running. Check the Docker container logs to make sure the connection was made successfully.
Run docker
logs -f
and check the Docker container logs to make sure the output looks similar to the following. This indicates the container is running and has an active heartbeat.
The wiring process is complete. You can start discovery and do further testing for Aria Automation using WS Mode.
Docker commands related to container
The following commands are useful for managing your Docker containers:
docker logs -f <container ID>:
Used to check the container logs of the container identified by the ID.
docker stop container <container ID>:
Stops a running/active container identified by ID.
docker rm <container ID>:
Kills/Removes the active container identified by the ID.
Parameters explanation
The following parameters are included in the
config.sh
file.
#websocket configuration
ws_adapter=true
proxy_id=<Proxy ID generated via UUID tool >
host=ibm.gravitant.net
application=mcmp:consume:service
protocol=<Provider Code >
ws_token_name=<token Name used to generate WS Token>
ws_token=yIye-<Actual Token >
cleanup_proxies=false/true (if you want to clean old Proxy ID ,keep true , else false )
unused_proxies=<unused Proxy ID >
#values for ws token name and value secret key for swarm mode
ws_token_key=ws_token
ws_token_name_key=ws_token_name
#nginx configuration
nginx_required=true
external_interfacing_required=false
nginx_image_name=nginx:1.17.10
load_balancer_ip=<IP of LB VM >
load_balancer_port=2371
load_balancer_user=root
external_interfacing_ip=<IP of VM >
external_interfacing_port=5678
proxy_adapter_ip="Proxy Adapter VM IP"
proxy_adapter_user=root
#Advanced configuration, make sure to give proper version for image (e.g. release-2018.08.01) as per artifactory
#externalvault enabled configuration, value can be true or false
externalvaultenabled=false
# set the name of external vault script here
vravaultcredscript="getCredentials.sh"
#swarm configuration
If set to true, update the 'image' field value in respective yml file in proxy-docker-compose folder
Use the same image value as configured in vra_proxy_image_name, make sure to give proper version for image (e.g. release-2018.08.01) as per artifactory