Installing and configuring the MID Server on Linux
The Management, Instrumentation, and Discovery (MID) Server is a Java server that facilitates communication and movement of data between the ServiceNow platform and external applications, data sources, and services.
Before you begin
Ensure that the minimum requirements are met for the MID Server (see MID Server system requirements from the ServiceNow online documentation).
The MID Server connects to a ServiceNow instance by using the SOAP web service. To allow authentication with the ServiceNow instance, create a separate user account for each MID Server or share the same account across multiple MID Servers. Each MID Server account must use the mid_server role to access protected tables.
Procedure
To install the MID server, setup a MID Server user and role in ServiceNow, and then download and install the MID server files.
Set up the MID Server user account on the ServiceNow instance.
om the ServiceNow portal, click User Administration > Users.
Locate the mid.user user account in the User ID column.
Verify that the following fields are filled. Update the password, if required.
User ID. User ID that is to be specified in the mid.instance.username parameter of config.xml.
Password. Password that is to be specified in the mid.instance.password parameter of config.xml.
First name. User's first name
Last name. User's last name
Note
Change the default password as soon as possible.
Avoid updating the fields other than Password. For information about the password for default user accounts, see Creating a ServiceNow REST user.
Click Update.
Download and install the MID server files. For more information, see Install a MID Server on Linux from the ServiceNow online documentation.
om the ServiceNow portal, click Mid Server > Downloads.
Click the Copy link icon for the appropriate operating system to copy the file link, and then use the wget <copied_link> command to download the MID Server. For example
Run the ./installer.sh command from the agent/bin directory as root and provide the required input to configure the MID Server service.
ServiceNow Instance URL. Enter the full URL of your ServiceNow instance, for example: https://mycompanyinstance.service-now.com
MID-Server Username. Enter the user name of the MID Server user that you already created. The MID Server user must have the mid_server role.
MID-Server Password. Set the password for the current MID Server user.
MID-Server Name. Set the name of the MID Server.
Validate the MID server. For more information, see Validate the MID Server from the ServiceNow online documentation.
From the ServiceNow portal, click MID Server > Servers.
Open the new MID Server you created from the list of MID Servers.
Under Related Links, click Validate to display the Set Initial Selection Criteria dialog.
Use the toggles to enable or disable criteria for the MID Server.
Allow ALL capabilities: Allow all orchestration and event management functions.
Allow ALL applications: Allow all applications that use MID Servers to use this MID Server.
Allow ALL IP ranges: Make all IP ranges valid for this MID Server, meaning that it can target any IP address.
Click OK to start the validation process.
What to do next
The MID Server runs as a standalone service. It can be removed easily to accommodate such tasks as redeploying the MID Server to another host system or changing the unique name of a MID Server when deploying multiple MID Servers.
To remove the service and uninstall a MID Server on Linux, run the uninstall.sh script in the agent directory. For more information, see Install a MID Server on Linux from the ServiceNow online documentation