Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Multiple mid Server installation on single windows machine

Tanmay Sawant1
Kilo Explorer

 I have installed 4 Mid-Servers on single windows machine.

But at a time only one Mid-Server for which I run start.bat comes up and the other 3 Mid-Servers services are down .

In services.msc for 4 different configurations I see only one service.

What i need to do so that I have all 4 Mid-Servers up and running?

Please if you can suggest. Am I missing something or doing something wrong?

 In every config file has relevant instance URL , user credentials created with mid_Server role and expected name for mid Server.
 2 Mid-Servers for dev and 2 for preprod , i see only one service , even i have created individual user for each Mid-Server.

Please help/suggest.

5 REPLIES 5

SNUG AM
Tera Guru

Update the wrapper configuration file, search with wrapper.name and change it as per easy identify purpose of the MID server.

\agent\conf\wrapper.conf

# Name of the service wrapper.name=snc_mid

# Display name of the service wrapper.displayname=ServiceNow MID Server

# Description of the service wrapper.description=ServiceNow MID Server

 

displayname will be you can find in the System Services List, which will be help when you want restart/start/debug.... 

 

All your 4 wrapper should looks like 

# Name of the service wrapper.name=snc_mid_1

# Display name of the service wrapper.displayname=ServiceNow MID Server Discovery

# Description of the service wrapper.description=ServiceNow MID Server Discovery

 

# Name of the service wrapper.name=snc_mid_2

# Display name of the service wrapper.displayname=ServiceNow MID Server Integration

# Description of the service wrapper.description=ServiceNow MID Server  Integration

 

# Name of the service wrapper.name=snc_mid_3

# Display name of the service wrapper.displayname=ServiceNow MID Server Test

# Description of the service wrapper.description=ServiceNow MID Server  Test

 

# Name of the service wrapper.name=snc_mid_4

# Display name of the service wrapper.displayname=ServiceNow MID Server Test2

# Description of the service wrapper.description=ServiceNow MID Server  Test2

 

Please mark my answer as correct if it solves your issue or mark it as helpful if it is relevant for you!