The number of mid-servers required for discovery in ServiceNow depends on several factors such as the size of the environment being discovered, the number of devices, the network topology, and the amount of data being processed.
There are four primary key points which you should consider during planning of mid server that will need to be deployed.
-
- Device: Number of devices which need to be discovered and how often you want to discover them.
- Geography. You should deploy your mid server which is closed to your target Cis. It should not be like you have deployed mid server on India region and your targeted devices are in USA region.
- Security: Do you have internal access to your Vlan and DMZ environments? Otherwise, it will be necessary to deploy a MID Server in each to prevent the unnecessary modification of access rules.
- Host Resources: It is a best practice to deploy a MID Server on its own host pointed to one instance doing a single job (Discovery). You should avoid deploying another mid server on same server for different job (integration, Event management).
MID Server Specifications
Mid Server Host System
1. Minimum Specification:
-
-
-
- Windows Server 2012
- CPU – 2 CPUs @ 2GHz
- HDD – 40GB
- RAM – 8GB
-
-
2. Recommended Specification:
-
-
-
- Windows Server 2016 or higher
- CPU – 2 CPUs @ 2GHz
- HDD – 40GB
- RAM – 16GB
-
-
MID Server Specifications in details
MID Server & Firewall requirements
-
- It should be on Client network in DMZ or in Internal n/w depends on Security policy.
- If there is no Firewall between Mid Server and Discoverable IPs, then you will not have much hassle on Port opening.
- If Firewall in place (in most of the cases) then it should allow to communicate with servicenow instance.
High level architecture will help you.
How to calculate mid server
You can download file to calculate your mid server.
You can do additional setting on mid server to enhance the performance.
-
- Increase the JVM heap size: By default it will be 1GB you can increase it to 3-4GB based on availability on server. You can do this by editing the wrapper.conf file. //Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=1024 - Increase the number of threads: By default it would be 25 you can increase it to 50. You can do this by editing the config.xml file.#
- Increase the JVM heap size: By default it will be 1GB you can increase it to 3-4GB based on availability on server. You can do this by editing the wrapper.conf file. //Maximum Java Heap Size (in MB)
How to Install MID Server on Windows
Step by step guide to install mid server on window machine. Before installing first we have to see the what are the prerequisite and system requirement for installing the mid server.
view article for details
Mid Server installation in servicenow
Download and install the MID Server on the host machine, test the connection, and then validate the MID Server. Follow below steps to install MID server.
view article for details
MID Server system requirements
System requirements for a MID Server can vary depending on factors such as the size of your environment and the number of concurrent integrations that you plan to run.
view article for details
mid server calculator for servicenow discovery
The number of mid-servers required for discovery in ServiceNow depends on several factors such as the size of the environment being discovered, the number of devices, the network topology, and the amount of data being processed.
view article for details