< Blog

How to Setup a ServiceNow MID Server for Use with SCCM

In this blog post I will show you how to create the user account for the ServiceNow MID Server, how to setup a ServiceNow MID Server for use with SCCM in your own organization and how to validate the communication between the ServiceNow MID Server and ServiceNow. This is the second post in a five-post set. Below are the steps that I took to integrate SCCM with ServiceNow.

Steps to Integrate SCCM Data with ServiceNow

The sequence of activities, at a high level, that I took to setup a development environment in order to integrate SCCM with ServiceNow are as follows:

1. Create an Account with ServiceNow.

2. Request a ServiceNow Developer Instance.

3. Logon to the ServiceNow Instance.

4. Activate the SCCM Plugin.

5. Create the User Account for the ServiceNow MID Server.

6. Install a ServiceNow MID Server in Your Organization.

7. Validate Communication Between the ServiceNow MID Server and ServiceNow.

8. Create a SQL Server Account for the ServiceNow Data Source.

9. Use the Integration SCCM 2016 Plugin to Import Data to the ServiceNow CMDB.

10. Schedule the Import of SCCM Data.

11. Clean Out the Default “Sample” Data.

12. Create the Data Source to Import Custom SCCM Data.

13. Import Custom SCCM Data.

14. Confirm the Custom SCCM Data in ServiceNow.

15. View Imported Data from SCCM.

16. Create a Transform for Warranty Information Reporting’s Data.

17. Run the Transform.

18. Confirm Computers Are Linked to Their Warranty Data.

19. Edit the Form Layout.

In this post, How to Setup a ServiceNow MID Server for Use with SCCM, I’ll show you how to perform steps five through seven. To review steps one through four, please see the post, How to Request a ServiceNow Developer Instance to Integrate with SCCM.

In upcoming posts I will show you how to configure the import process using data sources, how to test and customize the imports using transforms, how to schedule when SCCM data is imported, how I imported Warranty Information Reporting (WIR) details into the ServiceNow Configuration Management Database (CMDB), and finally how I edited the computer form layout.

First though, here’s a little bit of background. ServiceNow is a cloud-based service that hosts the CMDB. In order to transfer data from your data center to ServiceNow, you need to use an intermediate server. ServiceNow calls this server a MID Server. Based on my research, this server can be a standalone server, or it can be installed on an existing server, such as a SCCM server. I decided that our MID Server would be a standalone virtual machine (VM) server running Windows Server 2016 Standard.

Creating the User Account for the ServiceNow MID Server

Start by logging into the ServiceNow instance as the administrative user.

ServiceNow MID Server - Login

Type the User name and Password to login to your ServiceNow instance. Click Login.

Note: I found that following the IT Operation Manual (ITOM) Guided Setup was beneficial because it prevented us from skipping important steps.

ServiceNow MID Server - ITOM Guided Setup

In the filter type ITOM and under Guided Setup click ITOM Guided Setup.

ServiceNow MID Server - Get Started

Click on the Get Started button.

ServiceNow MID Server - MID Server Get Started

Next to the MID Server section, click on the Get Started button.

ServiceNow MID Server - Configure

On the right-hand side of the Create MID User section, click on the Configure button.

ServiceNow MID Server - Create MID Server User

Define the MID Server User by choosing a User name and a Password. After confirming the password, click on the Mark as Complete button. Next, click Submit.

Install a ServiceNow MID Server in Your Organization

On your ServiceNow MID Server, login and then continue following the steps below.

ServiceNow MID Server - Download-Install MID Configure

Click on the Configure button found on the right-hand side of Download & Install MID.

ServiceNow MID Server - x64 Windows

Select the x64 Windows version of the software. Since you will be saving this download, click Save on the pop-up dialog box.

Note: Monitor this download!! The ServiceNow servers are busy, so that means that the download will most likely fail and you will need to retry it again.

Once the download is complete, click Open Folder.

ServiceNow MID Server - Extract All

Right-click on the zip file and select Extract All…

ServiceNow MID Server - Extract

Choose a folder location and click on the Extract button.

ServiceNow MID Server - Run

Open the Agent folder. Double click on the installer.bat file. At the popup dialog box click Run.

ServiceNow MID Server - Test Your Connection

Paste or type the ServiceNow instance ID in the ServiceNow instance URL field. Input the ServiceNow MID Server username (this is the user account name you created in the previous section). Type the user password in the ServiceNow MID Server password field. Click on the Test your connection button.

ServiceNow MID Server - Next

Click Next.

ServiceNow MID Server - Name

Type the server name where the ServiceNow MID Server software is installed in the MID Server name field. Click Next.

ServiceNow MID Server - Summary

Click Next.

ServiceNow MID Server - Start

Click Start MID Server.

ServiceNow MID Server - Yes

Click Yes on the Java Service Wrapper Standard Edition popup dialog box.

ServiceNow MID Server - Yes Again

Click Yes again. This dialog box may pop-up one more time, so if it does, click Yes.

ServiceNow MID Server - Download-Install Complete

Back on the ITOM Guided Setup page, click Mark as Complete next to the Download & Install MID section.

ServiceNow MID Server - Started

Next, you want to see a, “Mid Server started,” message similar to the one above. Finally, click on MID Servers List Page. This will open MID Server list within ServiceNow (as shown in the next section).

Validate Communication Between the ServiceNow MID Server and ServiceNow

In this section I will show you how to validate that the connection is functioning correctly between ServiceNow and the MID Server. Obviously, if the connection isn’t working correctly, there is no point in moving forward because you will not be able to import data from SCCM or from anywhere else for that matter.

ServiceNow MID Server - Validate

Starting on the MID Server list, select the checkbox next to your MID Server. Click on the Actions on selected rows… button. Select Validate.

ServiceNow MID Server - Yes Validated

Wait for 10 minutes and then refresh the page. You’re looking for the status under Validated to change to Yes in order to confirm that the MID Server is functioning correctly. Now you know that ServiceNow and the MID Server are communicating!

ServiceNow MID Server - Validate MID Complete

Back on the ITOM Guided Setup page, next to the Validate MID section, click on the Mark as Complete button. With that last step completed your ServiceNow MID Server is good to go.

In my next post, How to Integrate SCCM Data with ServiceNow, I will show you how to perform steps eight through eleven.

Later on in my upcoming blog posts, I’ll show you how we imported computer data from SCCM’s database and extended the ServiceNow plugin to include computer warranty results that were captured by Enhansoft’s Warranty Information Reporting product.

If you have any questions about how to setup a ServiceNow MID Server for use with SCCM, please feel free to contact me @GarthMJ.