Configuring range of ports to DevTest 10.7.2 Docker Compose VSE's
search cancel

Configuring range of ports to DevTest 10.7.2 Docker Compose VSE's

book

Article ID: 375669

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

For DEVTEST Docker compose, trying to run the install script with a second vse (VSE1) and configuring a range of ports to run.

Currently in the ports.env file it is set as VSE1_PORT_RANGE=9001-9081. Changing this  range to 15000-15040, it will revert back on starting the container. 

>>  ./installSVDocker.sh -d https://ed.host.com:1506 -i https://iamhost.com:51111/auth -V 2

port.env file

IAAM_HTTPS_PORT=51111
IAAM_HTTP_PORT=51112
PORTAL_PORT=1507
VSC_PORT=51110
REGISTRY_INVOKE_SERVICE_PORT=1505
REGISTRY_PORT=2010
REGISTRY_DB_PORT=1528
COORDINATOR_PORT=2011
SIMULATOR_PORT=2014
#VSE_PORT_RANGE=8920-9000
VSE_PORT_RANGE=8920-9000
VSE_PORT=2013
RANDOM_PORT_RANGE=2020-2100
VSE1_PORT=2087
VSE1_PORT_RANGE=15000-15040

Environment

DEVTEST 10.7.2 Docker Compose and up. 

Cause

Port ranges are calculated based on the starting Port and the difference between the first Port range configured in the port.env file. 

for example : VSE_PORT_RANGE=9000-9099,    Here starting port is 9000 and difference is 100. The next set of ranges are calculated automatically.  

So VSE 2 will be as below.

 VSE2_PORT_RANGE=9100-9199

 

Resolution

For 15000 range of ports, define the starting Port range as below

VSE_PORT_RANGE=15000-15049
VSE_PORT=2013

VSE1_PORT=2087
VSE1_PORT_RANGE=15050-15099

Variation of port ranges for different VSE's is not supported..

This is by design!