How to install Mid Server on Windows/ Como instalar o MID Server em Windows?
How to install Mid Server / Como instalar o MID Server?
The MID Server (Management,Instrumentation, and Discovery) enables communication between a ServiceNow instance and the customer network, it's a Java application that runs as a Windows Service or a Unix daemon (Windows is recommended), that's communication requires only an outbound connection on port 443.
- The MID Server facilitates communication and movement of data between the ServiceNow instance and external applications, data sources, and services.
- Multiple MID Servers can be used with line-of-sight (LoS) on each network subnet.
- The MID Server is installed behind the customer firewall, as close to the target devices as
possible. - The MID Server initiates all communications using SOAP on HTTPS (port 443).
- The MID Server it's used in Discovery, Service mapping, Orchestration, System web services, connectors.
- The MID Server it's used in Event Management to connecttor third party monitors.
- * The default polling time to collect events from the event sources
120 seconds. - The mid server user need role (mid_server)
A. Download
B. Install / Instalar
C. Configure / Configurar
Steps / Passos
01. Log in to the Windows host machine where you want to install the MID Server.
Logue no Servidor que você deseja instalar o MID Sever
02. Create a folder for the MID Server on the top level of the drive such as ServiceNow\MID Server1.
Crie uma pasta na raiz, como, por exemplo, c:\MID_Server1\hosname\
03. Download the MID archive file into the new folder
Dentro da instância http://instancename.service-now.com acesse o caminho
>> MID Server > Dowloads
04. Right-click the archive and select Extract All.
Clique com o botão direito e descompacte os arquivos
05.
Navigate to the service-now\\agent folder that was created when the file was extracted.
Navegue na pasta descompactada
Run installer.bat to start the MID Server installer..
Execute o arquivo installer.bat
Obs: To configure the MID Server manually, skip to this step. (Para configurar o MID server manualmente) [XML]
06. Use the installer to enter the following information.
Seguindo o instalador configure as informações conforme os passos solicitados

| Field / Campo | Description / Descrição |
|---|---|
| ServiceNow instance URL | Enter the full URL of your instance, for example:https://mycompanyinstace.service-now.com ------------------------------------------- PT-BR ------------------------------------------- Informe o nome da sua instância |
| ServiceNow 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. ------------------------------------------- PT-BR ------------------------------------------- Informe o nome do usuário, este usuário deve obter a role "mid_server" |
| ServiceNow MID Server password | Enter the password for the user in the ServiceNow MID Server username. ------------------------------------------- PT-BR ------------------------------------------- Informe a senha do usuário |
| Use proxy | Select this check box if your MID Server communicates through a proxy to connect to the instance.Note: Your proxy server must use Basic Authentication for the MID server to connect to the instance. ------------------------------------------- PT-BR ------------------------------------------- Informe que será utilizado um PROXY (realidade específica de cada projeto) |
| Proxy host | Enter the proxy server host name or IP address. Do not include the protocol in the host name. For example, enter proxyserver.domain.com, not https://proxyserver.domain.com. ------------------------------------------- PT-BR ------------------------------------------- Informe o host do proxy |
| Proxy port | Enter the port through which the proxy server communicates. If you leave this field blank, it should use the proxy server's default port number. ------------------------------------------- PT-BR ------------------------------------------- Informe a porta do proxy |
| Proxy username | Enter the user name that has administrator rights to the proxy server. ------------------------------------------- PT-BR ------------------------------------------- Informe o usuário com acesso ao Proxy |
| Proxy password | Enter the password for the user name. ------------------------------------------- PT-BR ------------------------------------------- Informe a senha do usuário utilizado no Proxy |
07. Test your connection to validate the credentials and instance information. If you encounter any errors, verify the information that you input.
Teste a conexão para validar a entrada de informações realizada.
.
08.Configure the MID name parameters (see table).
Configure os parâmetros do MID Server
09. Click Next to view the summary.
Clique em Next para ver o Resumo
10. Click Start MID Server.
Clique em "Start MID Server" para iniciar o serviço
11.Click Mid Servers List Page. The installer opens the MID Server list from your instance
Navegue na instância >> MID Sever > Servers
13. Select the MID Server name from the list.
The system displays the MID Server record
Selecione na lista o MID Server que foi instalado para analisar se foi estabelecida a conexão.
14.
Install a MID Server on Windows
Compatibility:
"The MID Server supports all Windows Server 2008, 2012, and 2016 editions, virtual machines, and 64-bit systems." MID Server system requirements
Install a MID Server on Windows
Configure Windows MID Server service credentials
Best practices on setting up your MID Server
https://www.servicenow.com/community/itom-articles/how-to-install-mid-server-on-windows-como-instalar-o-mid-server/ta-p/2296498