search cancel

Creating and Configuring Multiple VSEs on the Same Machine on Windows.

book

Article ID: 229494

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

How to create and configure Multiple VSEs on the same machine on Windows.

Environment

All supported versions of DevTest

Cause

N/A

Resolution

From the Linux {{LISA_HOME}}/bin folder:

 

Copy VirtualServiceEnvironmentService to VirtualServiceEnvironment2.

Copy VirtualServiceEnvironmentService to VirtualServiceEnvironment3.

 

Copy VirtualServiceEnvironmentService.vmoptions to VirtualServiceEnvironmentService2.vmoptions.

Copy VirtualServiceEnvironmentService.vmoptions to VirtualServiceEnvironmentService3.vmoptions.

 

 Edit the vmoptions for each vmoptions file.  VSE1 using default port of 2013, has a unique VSE name and log file.

 

 

VSE2 using port of 20132 (make sure port being used is open), has a unique VSE name and log file. 

 

 

VSE3 using port of 20133 (make sure port being used is open), has a unique VSE name and log file.

 

 

Display VSEs on the Portal:

 

 

On Workstation, have a choice of the 3 VSEs to deploy to that are connected to this one Registry:

 

Note:  If putting VSEs on different machines and going to the same Registry, use the same type of method as above for the VSE Name.  Even though on different machines, if going to the same Registry, the names need to be unique. You would not have to specify different ports or log files if only one VSE on a machine.

 

From the Windows {{LISA_HOME}}\bin folder:

Copied VirtualServiceEnvironment.exe to VirtualServiceEnvironment2.exe.

Copied VirtualServiceEnvironment.exe to VirtualServiceEnvironment3.exe.

 

Copied VirtualServiceEnvironment.vmoptions to VirtualServiceEnvironment2.vmoptions.

Copied VirtualServiceEnvironment.vmoptions to VirtualServiceEnvironment3.vmoptions.

 

This for the VSE Servers, but you can do this for the VSE Services as well.

 

Edited the vmoptions for each vmoptions file.  This file am using the default VSE port, but wanted the name to be other than the default of VSE.

 

vmoptions1

 

Defining with VSE2 and a different unique port.

 

vmoptions2

 

Defining with VSE3 and a different unique port.

 

vmoptions3

 

On Workstation, have a choice of the 3 VSEs to deploy to that are connected to this one Registry:

 

workstation with access to multiple vses

 

Note:  If putting VSEs on different machines and going to the same Registry, use the same type of method as above for the VSE Name.  Even though on different machines, if going to the same Registry, the names need to be unique. You would not have to specify different ports or log files if only one VSE on a machine.