A Complete Guide to Setting Up a MID Server in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Introduction
The MID Server (Management, Instrumentation, and Discovery Server) is a crucial component in ServiceNow that enables communication between the ServiceNow instance and external systems within an organization’s network. It acts as a secure bridge, allowing data to flow without exposing internal infrastructure directly to the cloud.
MID Servers are commonly used for Discovery, Orchestration, IntegrationHub, Service Mapping, and Cloud Management.
What is a MID Server?
A MID Server is a lightweight Java application installed on a machine within your network. It communicates with the ServiceNow instance using outbound HTTPS connections, ensuring secure data exchange.
Key characteristics:
- Runs as a Windows service or Linux daemon
- Uses ECC Queue for communication
- Requires no inbound firewall ports
- Can be configured in clusters for high availability
Prerequisites
Before setting up a MID Server, ensure the following:
- A ServiceNow instance with admin access
- A dedicated MID Server user with appropriate roles (usually mid_server)
- A server (Windows/Linux) within the network
- Java (JRE/JDK 8 or 11) installed
- Network access to the ServiceNow instance (HTTPS outbound on port 443)
- Proper firewall and proxy configuration (if applicable)
Step-by-Step MID Server Setup
1. Create MID Server User
- Navigate to User Administration > Users
- Create a new user (e.g., mid.server)
- Assign roles: mid_server
Set a secure password
2. Download MID Server
- Navigate to:
MID Server > Downloads
Download the appropriate version for your OS (Windows/Linux)
3. Install MID Server
- Extract the downloaded package to a desired location on the server
4. Configure MID Server
- Open the file:
config.xml (located in the MID Server folder) - Update the following details:
Instance URL
MID Server username and password
MID Server name (unique identifier)
5. Start the MID Server
- For Windows:
Run start.bat or install as a Windows Service
- For Linux:
Run ./start.sh
6. Validate MID Server
- Navigate to:
MID Server > Servers - Check if the MID Server status is “Up”
- Validate:
Status = Up
Validated = True - If not validated:
Click Validate on the MID Server record
Check logs in the logs folder
How MID Server Works
- ServiceNow sends instructions via the ECC Queue
- MID Server picks up the request
- Executes the task within the internal network
- Sends the response back to ServiceNow
This asynchronous communication ensures reliability and security.
Conclusion
Setting up a MID Server is a foundational step for enabling powerful ServiceNow capabilities like Discovery and integrations. By following best practices and ensuring proper configuration, organizations can securely extend their ServiceNow platform into their internal infrastructure.
- Labels:
-
Discovery
-
Orchestration (ITOM)
- 95 Views
