Multiple Insances on One MID Server—👍🏻👎🏻

Derek Jones
Tera Expert

Hello, 

 

I'm looking for general guidance on having multiple instances on the same MID server. Specifically, we have at least two on ours (e.g., test and prod), and the VMs' metrics look fine, but I'm looking for some real-world feedback on issues, problems, watchouts, etc., for having at least three per MID. To be clear, this would only be one prod instance and two or so non-prod instances, but two would be running Discovery. 

 

Bad idea?  

1 ACCEPTED SOLUTION

Mahathi
Mega Sage
Mega Sage

Hi @Derek Jones ,


It’s perfectly fine to run multiple MID Servers on a single host.


However, when using them for discovery, careful consideration is required. Specifically, you’ll need to evaluate the load on the MID Server in terms of the scanning workload and the number of devices being handled.


For instance, in our setup, we have a single server hosting three MID Servers pointing to Prod, Dev, and Test environments. We primarily use them for orchestration with Active Directory and, so far, haven’t encountered any significant issues.


That said, when introducing discovery into the equation, it’s crucial to monitor and manage resource utilisation effectively to ensure optimal performance.


Here are a few additional considerations:

Resource Allocation: Ensure the host server has sufficient CPU, RAM, and disk space, as each MID Server operates as a separate Java process and can compete for resources.

Network Bandwidth: Adequate network capacity is essential, as discovery and orchestration tasks can generate significant traffic.

Security and Isolation: Maintain proper segregation of credentials and configurations for each MID Server to avoid cross-environment issues.

I recommend setting up two servers so that if one goes down, the other can act as a failover or backup. This is especially important since you mentioned that Discovery is being used for two instances.

If my answer helped in any way, please mark it as Correct & 👍Helpful

Regards,
Mahathi

 

View solution in original post

4 REPLIES 4

Najmuddin Mohd
Mega Sage

Hi @Derek Jones .

But, how can a Mid Server be pointed to multiple Instances.
It will be directing to only one instance at a time.

It's highly recommended to add MID Server uniquely to individual instance.

If the above information helps you, Kindly mark it as Helpful and Accept the solution.
Regards,
Najmuddin.

This is basically how we've got it set up, below.  I should point out that we're a smaller shop so I probably wouldn't be doing this on larger installation.  

 

Host One MID Server on Multiple Instances of ServiceNow! 

Mahathi
Mega Sage
Mega Sage

Hi @Derek Jones ,


It’s perfectly fine to run multiple MID Servers on a single host.


However, when using them for discovery, careful consideration is required. Specifically, you’ll need to evaluate the load on the MID Server in terms of the scanning workload and the number of devices being handled.


For instance, in our setup, we have a single server hosting three MID Servers pointing to Prod, Dev, and Test environments. We primarily use them for orchestration with Active Directory and, so far, haven’t encountered any significant issues.


That said, when introducing discovery into the equation, it’s crucial to monitor and manage resource utilisation effectively to ensure optimal performance.


Here are a few additional considerations:

Resource Allocation: Ensure the host server has sufficient CPU, RAM, and disk space, as each MID Server operates as a separate Java process and can compete for resources.

Network Bandwidth: Adequate network capacity is essential, as discovery and orchestration tasks can generate significant traffic.

Security and Isolation: Maintain proper segregation of credentials and configurations for each MID Server to avoid cross-environment issues.

I recommend setting up two servers so that if one goes down, the other can act as a failover or backup. This is especially important since you mentioned that Discovery is being used for two instances.

If my answer helped in any way, please mark it as Correct & 👍Helpful

Regards,
Mahathi

 

Thanks, Mahathi!