• Skip to primary navigation
  • Skip to content

www.open902.com

My own Knowledge Base made public ..

  • Home
  • vRealize Automation 7
    • vRA & vRB 7.2
      • Installation
        • vRA 7.2 – Installation
        • vRA 7.2 – Unattended Enterprise Install
        • vRA 7.2 – Unattended Install Answer File Generator
        • vRB 7.2 – Installation
      • Configuration
        • vRA 7.2 – Initial Configuration
        • vRA 7.2 – Endpoints and AD Integration
        • vRA 7.2 – Fabric and Business Groups
        • vRA 7.2 – Reservations, Reservation Policies and Network Profiles
        • vRA 7.2 – Blueprints and Entitlements
        • vRA 7.2 – Email Config and Approval Policies
      • Advanced Configuration
        • vRA 7.2 – Guest Agent and Software Components
        • vRA 7.2 – Custom Property RegEx
        • vRA 7.2 – Make IP in Network Profile unavailable for deployments
      • Integrations
        • vRA 7.2 – Azure Integration
        • vRA 7.2 – vRB 7.2 Configuration
        • vRB Cloud without vRA by using vIDM
    • vRA 7.0 & 7.1
      • Installation & Configuration
        • vRealize Automation 7 – Simple install
        • vRealize Automation 7 – Enterprise install
        • Upgrade vRealize Automation 7.0 to 7.0.1
        • vRA7 – Initial Configuration
        • vRA7 – Endpoint
        • vRA7 – Business Groups
        • vRA7 – AD Integration
        • vRA7 – Fabric Group
        • vRA7 – Network Profile
        • vRA7 – Reservations
        • vRA7 – IaaS Blueprint
        • vRA7 – Mail and Approvals
      • Advanced Configuration
        • vRA7 – Customize Hostname, VLAN and IP during deployment
        • vRA7 – Custom Property Relationships using Actions
        • vRA7 – vRealize Orchestrator 7
        • vRA7 – VAMI Certificate
        • vRA7 – Gugent on Linux
        • vRA7 – Gugent on Windows
        • vRA7 – Import Unmanaged Virtual Machines from vSphere
      • Integrations
        • vRA7 – NSX 6 Integration
        • Ubiquiti EdgeRouter X, NSX and vRealize Automation in network kinda harmony
        • vRA7 – vRealize Business Standard
        • vRealize Business for Cloud – Change Time zone
        • vRB Cloud without vRA by using vIDM
      • Troubleshooting
        • vRA7 – Delete stuck ‘In Progress’ Deployments
        • vRA 7 – Remove Stuck Approval Process
        • Remove Orphaned Network Profiles
        • vRA7 – Remove Stuck or Orphaned Managed Machines
  • vRA / vCAC 6
    • Installation
      • 1. Requirements
      • 2. Identity Appliance
      • 3. vCAC Appliance
      • 4. IaaS Server
    • Configuration
      • 5. Add a Tenant
      • 6. Agents & Endpoints
      • 7. Resource Allocations
      • 8. Blueprints
      • 9. Services & Catalogs
      • 10. Entitlements & Test
    • Advanced Configuration
      • Enable vCenter Orchestrator in vCAC
      • Configure External vCenter Orchestrator for vCAC
      • vCAC – Create Active Directory Endpoint & Test
      • vCAC – Refresh Inventory
      • vCAC – SMTP Settings
  • NSX
    • Ubiquiti EdgeRouter X, NSX and vRA7 Configuration
    • NSX 6 Integration into vRA7
    • NSX Authentication in Web Client using Sub-Domain users
  • vCloud Director 8.x
    • Install vCloud Director 8.0 for SP
    • NSX 6.2 for vCloud Director 8.0 SP
    • Configure vCloud Director 8.0 for SP – PVDC
    • Configure vCloud Director 8.0 for SP – Organization
    • vCloud Director 8.0 with NSX 6.2 – Final Testing
  • vCloud Director 5.x
    • 1. Installation of vCD 5.5
    • 2. vShield Manager
    • 3. VXLAN Configuration
    • 4. Initial vCloud Config
    • 5. Create a Provider vDC
    • 6.External Network
    • 7. Organization VDC
    • 8. vShield Edge & Organization Network
    • 9. Final Testing
    • 10. Installing an additional vCloud cell
    • Upgrade 1.5 > 5.5
      • 1. vCloud Director Binaries
      • 2. vShield Manager
      • 3. Final Touches
  • Lego NUC vSAN Cluster
  • Vembu
  • About Me

vRA7 – NSX 6 Integration

The article is based on the following software versions

  • vRealize Automation 7.0.1
  • vRealize Orchestrator 7.0.1
  • VMware NSX 6.2.2
  • NSX Plug-in for vRO 1.0.3

First we need to install the NSX plug-in. Log into the vRO Control Center and upload / install the NSX Plug-in

screenshot_089

Accept the EULA

screenshot_090

Restart the vRO service

screenshot_091

Ensure you enable the plug-in 🙂

screenshot_092

Now log into the vRO Client. You will see a set of workflows. Here start the Create NSX Endpoint workflow. This will not create an Endpoint in vRA – but an Endpoint in vRO 🙂

screenshot_093

Enter your NSX details

screenshot_094

And ensure the workflow finishes successfully – not like my first attempt – using the wrong password 😉

screenshot_095

You should now be able to browse your NSX environment from within vRO

screenshot_101

Please note – if you receive the following error

screenshot_118

Then please check my other article for the fix.

Before I configure vRA, I will do some more in NSX. My NSX instance is pretty much un-used so the data collection would be pointless at this point (and we’d have to do it manually again anyway).

So here I want to achieve the following.

  • A firewall is blocking certain ports to virtual machines deployed via vRA
    • RDP
    • SSH
    • Ping

Probably not the most exciting rule, but again, this is just a test and I am too lazy to create multiple rules right now 🙂

Using your web client, navigate to

Networking & Security > NSX Managers > Click your NSX Manager > Manage > Grouping Objects 

Create a new Security Group

screenshot_110

This is all I am doing at this stage. I do not define any dynamic membership, nor do I define objects to include or exclude. I use this Security Group solely for vRA and vRA will, via vRO, add virtual machines to the group automatically.

Then I create a firewall rule.

Networking & Security > Firewall > Configuration > General

Here you can see I created a rule to block the three services discussed and assigned it to the Security Group only

screenshot_112

At this stage the group has no members

screenshot_113

Now we can configure vRA. Navigate to your vCenter Endpoint

Tick Specify manager for network and security platform and enter the URL of the NSX Manager https://<FQDN>

Also select the appropriate credentials.

Note: These are not the NSX Manager credentials but the credentials which have access to the NSX Manager via the vCenter Web Client. In my lab I am using the SSO admin – [email protected] – which effectively the selected credential is.

screenshot_107

Now ensure that the Data Collection has finished successfully. As you know – the collection, by default, runs daily. So if you are unlucky and the data collection finished before you have created the required NSX configuration, simply re-run the collection and you are all good to go.

Browse to the Compute Resources of this vCenter Endpoint and check the Network and Security Inventory

screenshot_119

Now either change or create a new blueprint. On the left hand side, select Network & Security and drag Existing Security Group onto the canvas.

Under Security Group, select the newly created group, here vRealize Automation

screenshot_120

Now we need to connect the Security Group with the actual VM. Click the VM and move over to the Security Tab

Tick the newly added Security Group and click Finish

screenshot_122

Not that painful, was it ? Now deploy a VM from this blueprint.

Once the VM has been deployed, you will see that the VM has been added to the Security Group specified

screenshot_117

Then of course we can test it even further.

So another check what the VM is called (did some more deployments so above screenshot is not accurate anymore)

screenshot_124

So here – vra7-prod-035 has been added to the SG which blocks RDP, SSH and Ping.

This is a Linux VM – so RDP is not really relevant, but anyway, first let’s check what IP the VM got

screenshot_125

Let’s try ping

screenshot_126

Nothing. Now SSH

screenshot_127

Nope.

But VM is certainly up and got access to the outside world

screenshot_128

In a later article I will probably go a bit further and let vRA deal with NAT etc. – but this is it for now 🙂

Enjoy ..

Copyright © 2019 · Genesis Sample on Genesis Framework · WordPress · Log in