Articles
VMware vRealize Automation - Nataraj

vCenter Orchestrator integration with Server Now (MID Server)

vCenter Orchestrator integration with Server Now (MID Server)

I shall focus on one small piece of integration of VMware vCenter Orchestrator with Service Now using Service Now MID server.

You need a service now mid server if you are behind a firewall

If you are running behind a proxy

You could download 32 bit or 64 versions of MID server after logging into service now account .

Please follow this page if you need to install and configure the MID server

Just to speed up the process and for your reference the config parameters that I changed were as below

 

<parameter name="url" value="https://service now url here.service-now.com"/>
<parameter name="mid.instance.username" value="service now username here" />
<parameter name="mid.instance.password" value="service now password here" encrypt="true"/>
<parameter name="name" value="mid servername here "/>
<parameter name="mid.proxy.use_proxy" value="true"/>
<parameter name="mid.proxy.host" value="proxyserver ip"/>
<parameter name="mid.proxy.port" value="proxy server port"/>

<parameter name="glide.mid.autoupgrade.proxy_host" value="proxy ip"/>
<parameter name="glide.mid.autoupgrade.proxy_port" value="proxy port"/>
<parameter name="glide.mid.autoupgrade.proxy_user" value="proxy user"/>
<parameter name="glide.mid.autoupgrade.proxy_password" value="proxy password"/>

If you need to encrypt the username and password then refer this article

Start the MID server with start.sh/start.bat, look at the agent/logs/ for any errors or issues.

Log into the service now account to check if mid server is up and running

midserverstatus

midserverstatus

You are almost there, follow blogs by Mark Andreopoulos at vmtocloud.com to see how to integrate server now via VCO soap plugin.

 

Note: While connecting to a proxy you might get need this handy

username:password@proxyaddress

White listing a the server now url in the proxy might also be a good idea(I did it in our environment)

 

Reference

Mid Server Installation : http://wiki.servicenow.com/index.php?title=MID_Server_Installation

Encrypt the password in the config file

http://wiki.servicenow.com/index.php?title=Encrypting_MID_Server_Login_Credentials

There is wealth of information in vmtocloud.com by Mark Andreopoulos

http://www.vmtocloud.com/part-1-vcloud-automation-center-service-now-integration-via-vco-soap-plug-in-version-1-1-mark-andreopoulos-set-west/

http://www.vmtocloud.com/how-vcac-integrates-with-service-now/

http://blogs.vmware.com/orchestrator/tag/servicenow

https://blogs.vmware.com/management/2015/01/integrating-vrealize-automation-servicenow.html

Image source: http://blogs.vmware.com/management/files/2014/12/ServiceNow-calling-vRA.png

 

Leave a comment