Why do we use MID server? Purpose of using MID Server?

IamAmolB
Tera Guru

What is the exact need of MID server except discovery?
Is there any need of MID server while integrating with any tool?

1 ACCEPTED SOLUTION

Here goes a complete list of options (from the wiki) of how the LDAP integration could be setup:



LDAP typically uses one of these types of communication channels:


  • A MID Server connection communicates over HTTP on port 80 by default. This communication channel does not require a certificate. The connection between the MID Server and the instance is over HTTPS (port 443). You can use the MID Server to import data over LDAP, but you cannot use the MID Server for LDAP authentication. Proceed to Define the LDAP Server.
  • A standard LDAP integration communicates over TCP on port 389 by default. This communication channel does not require a certificate. Proceed to Define the LDAP Server.
  • An SSL-encrypted LDAP integration (LDAPS) communicates over TCP on port 636 by default, This communication channel requires a certificate. Proceed to Upload the X.509 Certificate to obtain and upload the certificate.
  • A VPN connection communicates over an IPSEC tunnel. Purchase or create an IPSEC tunnel on your local network. Proceed to Define the LDAP Server.

A MID server initiates one connection to an LDAP server via port 398, then initiates an encrypted HTTPS connection to an instance via port 443 to push data to the instance. When using a MID server, the instance does not make the connection to the LDAP server. The MID server does.


The instance can also connect to the LDAP server directly, using LDAP or LDAPS, either over the internet or through a VPN tunnel.


For more information about VPNs, Mid Servers, and LDAP, see You Don't Need A VPN Part II on the ServiceNow Community.


I hope this helps.



Thanks,


Berny


View solution in original post

15 REPLIES 15

Here goes a complete list of options (from the wiki) of how the LDAP integration could be setup:



LDAP typically uses one of these types of communication channels:


  • A MID Server connection communicates over HTTP on port 80 by default. This communication channel does not require a certificate. The connection between the MID Server and the instance is over HTTPS (port 443). You can use the MID Server to import data over LDAP, but you cannot use the MID Server for LDAP authentication. Proceed to Define the LDAP Server.
  • A standard LDAP integration communicates over TCP on port 389 by default. This communication channel does not require a certificate. Proceed to Define the LDAP Server.
  • An SSL-encrypted LDAP integration (LDAPS) communicates over TCP on port 636 by default, This communication channel requires a certificate. Proceed to Upload the X.509 Certificate to obtain and upload the certificate.
  • A VPN connection communicates over an IPSEC tunnel. Purchase or create an IPSEC tunnel on your local network. Proceed to Define the LDAP Server.

A MID server initiates one connection to an LDAP server via port 398, then initiates an encrypted HTTPS connection to an instance via port 443 to push data to the instance. When using a MID server, the instance does not make the connection to the LDAP server. The MID server does.


The instance can also connect to the LDAP server directly, using LDAP or LDAPS, either over the internet or through a VPN tunnel.


For more information about VPNs, Mid Servers, and LDAP, see You Don't Need A VPN Part II on the ServiceNow Community.


I hope this helps.



Thanks,


Berny


When I have to use more of 1 mid server (for example 2 mid server) ?


For example I have to integrate AD and Microsoft SCCM. In this case How much mid served have I use?



Regards,


KB18
Tera Guru
Tera Guru

Hi Amol,



The MID Server facilitates communication and movement of data between the ServiceNow platform and external applications, data sources, and services.



Below link might be help you.


ServiceNow KB: Best practices on setting up your MID Server (KB0535145)


Please hit the thumb Icon and mark as correct in case I help you with your query!!!
- Kailas

J_Sukhsagar
Giga Expert

Hello Amol,



The MID server (Management, Instrumentation, and Discovery) is designed to ease communication with external systems. It is rather special, since it does not run on the instance; it is Java software that is installed in a customer's infrastructure. This gives the following advantages:




1)The MID Server has direct communication with others systems, since it is in the customers network. This is very useful for communicating with unencrypted protocols, such as JDBC.


2)Scripts that run on the MID server have access to the file-system and can include custom Java code in JAR packages.


3)The MID server only initiates connections. It does not accept inbound communication, and does not open any ports. This makes it more acceptable to security teams.


4)It offloads work from the instance, enabling to scale out horizontally.



Mid Server is used as a middle ware between service now and different data base servers to perform modifications at data level.Mid server is used to import the data into service now.Here is details of mid server :



MID Server - ServiceNow Wiki


LDAP Integration via MID Server Setup - ServiceNow Wiki


Category:MID Server - ServiceNow Wiki


Scheduled File Import via Mid Server - ServiceNow Guru



Regards,


Sukhsagar



PS: Hit like, Helpful or Correct depending on the impact of the response


Runjay Patel
Giga Sage

Check out this video, it will clear all your doubts and help you to understand mid server in details. It will help you resolve below queries:

Link: https://youtu.be/RMXhYJxPMPU

  1. Mid Server Installation step by steps
  2. Mid Server Troubleshooting for all version.
  3. I am unable to install mid server.
  4. Unable to configure MID server.
  5. Service Mapping Mid Servers.
  6. How to log in to the Mid server using the Credential.
  7. MID Server for multiple sub production instances.
  8. Why do we use MID server? Purpose of using MID Server?
  9. How to define a specific mid server for the discoverIpAddress () function?
  10. Other issues.