- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2024 08:02 AM
Setting Up MID Server on ServiceNow Instance 🌐🖥️
Hello All,
In this article, I will guide you through the process of setting up a MID Server on your local Windows machine. In a future article, we will explore how to run Discovery for the local machine. This is the first article in the series.
Step 1: Creating a User with MID Server Role 👤🔑
Create a MID Server User:
- Create a new user (let's name it mid.server) and set a password for this user.
- Make sure to note down the password since it will be used in the configuration file for the MID Server.
Assign the MID Server Role:
- After creating the user, go to the Roles tab, search for the mid_server role, and assign it to this user.
- Save the user details.
Tip: For safety, you can log in with this new mid.server user and password to confirm everything is set up, then log out.
Note: When you assign the mid_server role, several other roles will be added automatically to the user.
Step 2: Download the MID Server Package ⬇️🗂️
Go to the ServiceNow Browser Window:
- In the application menu, search for MID Server.
Download the MID Server Package:
- Navigate to MID Server > Downloads.
- Select the checkbox to Download MID Server as ZIP archive.
- Choose the Windows version (e.g., mid.utah-12-21-2022__patch4-hotfix2-06-23-2023_06-23-2023_2224.windows.x86-64).
Step 3: Extract and Configure the MID Server 📂⚙️
Create the Folder for MID Server:
- On your C:/ drive, create a folder named Mid Server.
- Inside the Mid Server folder, copy the contents of the agent folder.
Edit the Configuration File:
- Inside the agent folder, locate and open the config file (usually an XML-based file).
- For easier editing, use Notepad++ to avoid syntax mistakes.
Configure the Details:
- Instance Name: Set the name of your ServiceNow instance.
- Username & Password: Enter the mid.server user and password (the one created earlier).
- MID Server Name: Set the value to "Mid Server 1" (This name will appear in the ServiceNow MID Server list).
Save the changes to the configuration file.
Step 4: Start the MID Server ▶️💻
Start the MID Server:
- Navigate to the agent/bin folder.
- Right-click and Run as Administrator on the StartMID-NT.bat file.
Execute the Batch File:
- In the agent folder, execute the start.bat file (make sure to Run as Administrator).
Step 5: Validate the MID Server in ServiceNow ✅✔️
Go to ServiceNow Instance:
- In the application menu, navigate to MID Server > Servers.
Refresh the Server List:
- Initially, there will be no MID Server listed. Refresh the page, and it will take some time for "Mid Server 1" to appear.
Validate the MID Server:
- Once the server appears, click on "Mid Server 1".
- Then click on the "Validate" link. This will trigger the server to wake up.
- The status will change from Down to Up as the server gets validated and starts functioning.
You have successfully set up the MID Server on your local Windows machine! 🖥️ In the next article, we will discuss how to use the MID Server for Discovery on the local machine. Stay tuned!
Solved! Go to Solution.
- 2,821 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2024 06:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2024 09:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2024 06:34 AM
Very Useful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2024 09:48 AM
Really helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 10:47 PM
Can i install 2 mid servers(DEV and QA) on the single server with the above steps?
Please advise here..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 11:02 AM
yes, you can configure you need to create kind of two folders and so on. You should be able to find related material on sn community.