- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2024 04:22 AM
Is it possible , download a mid server zip file through ServiceNow on Linux System and without creating a user on a Linux System can we setup mid server, if is it possible so we are able to see the mid server on ServiceNow ? If someone knows please help me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2024 05:11 AM
Hi @Muhammad_Faisal ,
To run mid server you require mandatory to have an account in ServiceNow and that user should have role assigned as mid_server.
check this for more details: https://servicenowwithrunjay.com/mid-server-system-requirements/
Accept and mark helpful if my response helped you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2024 05:25 AM
You would need a non root user with privilege to install the Mid Server package. Please see the below command for silent installation on the linux server with required parameters for completing the installation.
./installer.sh -silent -INSTANCE_URL https://instance_name.service-now.com -MUTUAL_AUTH N -MID_USERNAME username -MID_PASSWORD password -USE_PROXY N -MID_NAME mid -APP_NAME mid -APP_LONG_NAME ServiceNow_MID_Server_Mid -NON_ROOT_USER nonrootuser
The code block executes a shell script named installer.sh
with several command-line options:
-silent
: Runs the installation without user interaction.-INSTANCE_URL https://instance_name.service-now.com
: Specifies the URL of the ServiceNow instance.-MUTUAL_AUTH N
: Indicates that mutual authentication is not enabled.-MID_USERNAME username
: Sets the username for the MID server.-MID_PASSWORD password
: Sets the password for the MID server.-USE_PROXY N
: Indicates that a proxy is not used.-MID_NAME mid
: Names the MID server instance as "mid".-APP_NAME mid
: Sets the application name to "mid".-APP_LONG_NAME ServiceNow_MID_Server_Mid
: Provides a longer name for the application.-NON_ROOT_USER nonrootuser
: Specifies a non-root user for the installation.
Both non root user account is needed for the installation. Once the installation is complete you can view the installed Mid Server on the instance.
For more details please refer the product documentation URL: https://www.servicenow.com/docs/bundle/xanadu-servicenow-platform/page/product/mid-server/task/t_Ins...
If my response helped you kindly give a thumps up and mark it as correct answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2024 04:48 AM - edited 12-30-2024 04:50 AM
you will need to use some automated process like bash script or some automation tools to get this done.
Here's a generalized version using a Bash script:
Download the MID Server installer:
-wget --no-check-certificate https://<instance>.service-now.com/ecc_agent_setup.do -O agent.jar
Replace your instance name
Create a configuration file agent/config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<parameters>
<name><mid-server-name></name>
<url><instance-url></url>
<user><username></user>
<password><password></password>
</parameters>
Replace all values
Install the ServiceNow MID Server:
java -jar agent.jar install
All above commonds need to be run with root or appropriate permissions.
This process requires java to run the agent.jar file. Please ensure Java is installed and you are able to access it from your terminal/cmd. You can verify by running java -version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2024 04:56 AM
user will be required with mid_server role
OR
you can have any existing user and have mid_server role to it
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2024 05:11 AM
Hi @Muhammad_Faisal ,
To run mid server you require mandatory to have an account in ServiceNow and that user should have role assigned as mid_server.
check this for more details: https://servicenowwithrunjay.com/mid-server-system-requirements/
Accept and mark helpful if my response helped you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2024 06:18 AM
Thank You @Runjay Patel