If you haven’t read Part 1 of this article you will want to go back and read it before you proceed. In part 2 we will build on the installation that we performed in part 1. Let’s just dig right in and get started.
How this integration works
Configuring the integration to use native vRA authentication requires the user to login to ServiceNow and vRA both. When the user logs into ServiceNow they are redirected to the vRA Login page and was logged in they are then redirected back to ServiceNow. This allows requests the user makes to be passed to vRA as that user. The main difference between this and the SAML (ADFS) integration is the user only need to login to vRA the very first time they use it and never again as the user is auto-magically logged in to vRA in the background using the SAML token. This is a great option for testing the integration without having to touch your Identity Management configuration.
Configure vRealize Automation Integration in ServiceNow
1. In ServiceNow search for vRealize then select Basic Configuration under Integration – vRealize Automation and fill in all the fields. In the MID Server field put the name of the MID Server, not the hostname of the machine that it is running on.
2. Create a local vRA user with Tenant admin rights in vRA. Then add that user to any business groups you want to make available in ServiceNow as Group Manager.
3. Select Client Registration from under the Integration – vRealize Autoamtion menu in ServiceNow and login with the local account you created above. Input username as user not firstname.lastname@example.org
4. Set the client ID and Secret and submit.
5. You must now logout of ServiceNow and log back in. It’s important to note this must be done form within the same intranet as the vRA instance. When you log back in to ServiceNow you will be redirected to the vRA login page where you will login and then be redirected back to the ServiceNow interface.
Setting up the Catalog
1. Go to the vRealize Automation Catalog menu item inside of ServiceNow and remove the items that are currently on the page by clicking the X in the upper right corner of each item.
2. Then click the + in the upper right to add new content.
3. Select the vRA Service you would like to add and click the Add Here.
4. If you do not see any services listed you may need to manually run the scheduled import job as it may not have run yet. To run the schedule import job so to Integration – vRealize Automation and then Scheduled Imports.
5. Enter each of the following items in the order listed and select Execute Now.
- vRealize-Automation-ImportStorageReservationPolicies (If you don’t use them you can skip this)
6. Now return to the Step 1 of this section and add a vRA Service to the Catalog.
7. You should now be able to enter the Service and see your Catalog items. If you select a catalog item you can then enter it and make a request.
8. When your item opens you may notice that their is a ton of fields exposed that are normally hidden in vAR. I’ll cover how to hide those in Part 3 of this series.