How to run multiple VSEs on Linux in DevTest 10.7.0 and later
search cancel

How to run multiple VSEs on Linux in DevTest 10.7.0 and later


Article ID: 235153


Updated On:


Service Virtualization


For DevTest 10.7.0 on Linux it is no longer possible to run multiple VSEs by starting multiple VirtualServiceEnvironmentService commands.

Is there a way to start multiple VSEs with a shell script?


Release : 10.7.0 and later

Component : DevTest Virtual Service Environment




Please following the steps below or refer to section "How To Run Multiple VSE Services on a Single Server" in the version of DevTest you are running.


In DEVTEST_HOME/bin copy

VirtualServiceEnvironment to VirtualServiceEnvironment2

VirtualServiceEnvironment to VirtualServiceEnvironment3

VirtualServiceEnvironment.vmoptions to VirtualServiceEnvironment2.vmoptions

VirtualServiceEnvironment.vmoptions to VirtualServiceEnvironment3.vmoptions

Update the following properties in the vmoptions file, this example is for starting two additional VSEs on the same machine:



Repeat for each additional VSE, each with their own command, vmoptions and name.

The following sample example script starts 2 VSEs:


nohup /home/mnunns57/CA/DevTest10.7.2/bin/VirtualServiceEnvironment2 2>&1 &
nohup /home/mnunns57/CA/DevTest10.7.2/bin/VirtualServiceEnvironment3 2>&1 &

You will need to change /home/mnunns57/CA/DevTest10.7.2/ to where your DevTest is installed.

NOTE: When you run a nohup command the PID will display on the next line of the command line. 


mnunns57@mnunn-centos08-sv :/home/mnunns57/CA/DevTest10.7.2/bin# nohup ./VirtualServiceEnvironment 2>&1 &
[1] 1055
mnunns57@mnunn-centos08-sv :/home/mnunns57/CA/DevTest10.7.2/bin# nohup: ignoring input and redirecting stderr to stdout

My process ID is 1055.

This is how I found the the process ID later:

ps -ef

Look for a line that has -server in it:

root     1055  788  6 20:22 pts/0    00:00:20 /home/mnunns57/CA/DevTest10.7.2/jre/bin/java -server -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/CA/DevTest1


Verified additional VSEs can be access from Workstation:


Additional Information