vRealize Automation 7 introduces some new big features for Networking and Security integrations like support for On Demand Security Groups, on demand load balancers, and Security Tags from the blueprint layout.

In order to use these features, you’ll need a functioning NSX installation, and then need to do the following configuration tasks to get it all working-

1. Add an NSX Manager in your vRealize Orchestrator client

vRealize Automation 7 uses vRealize Orchestrator to execute operations against NSX. You will need to navigate the vRA 7 landing page and click the Orchestrator Client link (if you are using the embedded vRO, otherwise, navigate to the landing page for your external vRO appliance)

After the endpoint is added, verify you are able to browse the NSX inventory on the inventory tab:

Browse NSX Inventory from vRO

This completes the addition of NSX to vRO.

2. Add Orchestrator as an endpoint to vRealize Automation

To use Orchestrator to manipulate NSX objects, it must be added as a new endpoint. Do not confuse this with the Orchestrator configuration options under the Administration tab- those are used from XaaS blueprints rather than VM provisioning. The endpoint configuration options you need are located under Infrastructure / Endpoints.

Add Orchestrator Endpoint

One important change to note for the embedded vRealize Orchestrator 7 is the API interface is NOT running on port 8281 anymore, I’ve posted my example URL below:

https://mycloud.j2sys.local/vco

Make sure to use credentials that are tested by using them to log in to the vRO instance. Also, you will need to add a custom property for vRO priority- VMware.VCenterOrchestrator.Priority = 1 (or another number if you are ordering multiple vRO instances).

vRO Endpoint Config

Once you’ve added the endpoint, you will want to make sure data collection completes successfully. If Data Collection fails, go back thru all your endpoint configuration and make sure it is correct.

vRO Data Collection

3. Specify manager for network and security platform

Once the orchestrator has been configured to connect to the NSX Manager, you need to specify and bind the NSX manager to the vSphere Endpoint- This is done under Infrastructure/Endpoints (if you do not see this tab, try logging in as configurationadmin@vsphere.local or administrator@vsphere.local)-

Networking and Security Config

Once configured, you should be able to initiate Data Collection on the Compute Resource (not located on properties of the endpoint)- The Compute Resource should be available at Infrastucture / Compute Resources / Compute Resources. You should your relevant compute resources by cluster name:

Compute Resources Data Collection

When in the data collection screen, scroll to the bottom and check the Networking and Security Data Collection. If everything is configured successfully, you should see a successful data collection after it completes-

Once data collection completes successfully, you should be able to include NSX constructs in your blueprint design- below, you can see a on-demand security group being added to a blueprint-

Networking and Security Blueprint Components

The on demand and blueprint layout features really make configuration and deployment of complex multi tier applications and custom firewall rulesets in NSX significantly easier to deploy- less than 6 months ago this sort of feature set would require extensive custom vRO code. It is great to see it in the core product now.

VMworld 2015 was great- this was actually my first year attending VMworld and i definitely understand all the buzz around the event. I met a lot of great new contacts, saw former customers, and was able to deliver a well received session.

My VMworld session was on automation of the NSX distributed firewall using vRealize Automation and the NSX HTTP REST API-