How to Integrate vRNI with VMC

In this blog post, we’ll see how to integrate VMC (VMware Cloud on AWS) instance to vRNI as a data source.

Supported Versions:

  • vRNI 4.0
  • VMC Datacenter with build version above M5P2 


  • Step1: Open all required firewall rules
  • Step2: Create required permissions / CSP refresh token
  • Step3: Add VMC vCenter : Login to vRNI –> Settings –> Accounts and Data sources –> Add Source –> Under Public Clouds –> Select “VMware Cloud on AWS(vCenter)
  • Step4: Provide IP Address of the VMC vCenter & Cloud admin credentials –> Click on Validate
  • Step5: After successful validation –> Provide Nickname(For identification) and Click Submit
  • Step6: Add VMC NSX manager: Login to vRNI –> Settings –> Accounts and Data sources –> Add Source –> Under Public Clouds –> Select “VMware Cloud on AWS(NSX Manager)
  • Step7: Select VMC vCenter and Collector: Enter IP address of the NSX manager and put CSP Refresh token– > Click Submit
  • Step8: Allow few hours (usually 24 hours) to collect data from VMC vCenter and NSX manager

References – Documentation Links:

  • Adding VMC vCenter as a Data Source:

How to Get vCenter IP and credentials for vRNI

Login to VMC :

Welcorne to 
VMware Cloud Services

Select VMware Cloud on AWS

Select your desired SDDC (Incase you have more than 1)

Software-Defined Data Centers (SDDC) 
83 GHz 
512 GB 
10 TB 
83 GHz 

Click on Settings to get IP address & Credentials:

  • Adding VMC NSX Manager as a Data Source:

Deployment considerations:

vRealize Network Insight supports the following deployment models for VMC: 

  • Collector deployed in VMC: 
    1. In this deployment model, the collector is deployed as a workload in Compute Gateway in VMC. The platform is deployed in the SDDC on-premises version. 
    2. The firewall rules of Management Gateway allow communication to VMC vCenter and VMC NSX Manager over HTTPS. 
    3. The collector communicates to the platform using the existing communication mechanisms over VPN or Direct Connect. 
  • Collector and Platform deployed in the SDDC on-premises version 
    1. In this deployment model, the collector and the platform are deployed in the SDDC on-premises version. 
    2. The firewall rules of Management Gateway allow communication to vCenter and policy using HTTPS over VPN. 
    3. The VPN connectivity between SDDC (on-premises or SaaS version) and VMC allows data to be fetched by the collector. 

The prerequisites for the above deployment models are: 

  • There should be connectivity between the platform or collector (on-premises) and VMC SDDC. It could either be over VPN or DX if the vRealize Network Insight installation is in the private SDDC. In case of the SaaS version, the standard connectivity mechanism between the platform and the collector is sufficient. 
  • There should be a Management Gateway firewall rule to allow the vRealize Network Insight collector to invoke vCenter and NSX Manager APIs over HTTPS (443). 
  • There should be a Compute Gateway rule within the gateway firewall to allow the collector to communicate with the on-premises Platform or the SaaS platform. 


  • For a single node SDDC in VMC, you should set the CPU resource reservation for the proxy VM to 1251 MHz. Currently, the proxy OVA delivered as a part of the release has the resource reservation set to 2048 MHz. After importing this OVA in the SDDC vCenter, you have to modify the settings of the proxy VM to use the maximum allowed CPU reservation of 1251 MHz.

Introduction to vRealize Network Insight

VMware vRealize Network Insight is a Security planning, Network visualization & debugging tool especially designed for SDDC & NSX.

I would recommend all NSX users to deploy & try vRNI for better visibility and security planning.

Top Use-cases:

  • Micro-segmentation Planning: Identify network segments and flows between them, get firewall rules recommendations
  • 360 Visibility & Troubleshooting: Unify troubleshooting across the virtual and physical infrastructure
  • Manage & Scale NSX: Scale across multiple NSX Managers with powerful visualizations for topology and health

Key Features:

  • Google like Natural language search
  • East-West traffic analytics (Server to Sever Internal Traffic)
  • Visualize VXLAN to VLAN logical path mappings

Short Overview Video:


Resources & Links:

In the next article, we will see how we can use vRNI for micro segmentation planning and security.



vRealize Network Insight useful Search Queries

Flow Related Queries

Show VMs per L2 segment (can restrict with where vlan = xyz). Replace vlan with vxlan if using logical switches.

vm by vlan where vlan = “xyz”

Show a list of VMs with their gateway, network, VLAN etc:

L2 Network , vlan, ip address, default gateway of vms

Search a MAC address or IP address. Just type the address into the search bar.


Show me all network traffic going to the internet

flows where Flow Type = 'Src is VM' and Flow Type = 'Dst is Internet' by bytes

Show me all network traffic out to the internet but total bytes:

sum(bytes) of flows where Flow Type = 'Src is VM' and Flow Type = 'Dst is Internet'

Show me all network traffic going to physical

flows where Flow Type = 'VM-Physical' by bytes

Show me the same thing, but totals:

sum(total bytes) of flow where Flow Type = 'VM-Physical'

Say you have two data centres (separate vCenter per site). Show me traffic totals between them (i.e. DCI link utilisation)

sum(bytes) of flows where (Dst Manager = 'abc' AND src manager = 'cba') OR (Dst Manager = 'cba' AND src manager = 'abc')

Total amount of VTEP traffic:

sum(bytes) of flows where Flow Type = 'Src is VTEP' or flow type = 'Dst is VTEP'

VTEP traffic grouped by VMkernel IP (Can’t see this in the vRNI demo labs – has to be in a real life lab):

sum(bytes) of flows where Flow Type = 'Src is VTEP' or flow type = 'Dst is VTEP' group by src ip

Show internet traffic totals for every src IP

sum(bytes) of flows where Flow Type = Internet' group by src ip

Series of 3 days where each point is an aggregate of 2 hours (7200 seconds) of metrics. The aggregate function being applied is supplied in the query – max, sum etc.

series(max(byte rate), 7200) of flows where flow type = 'Src is Physical' and flow type = 'Dst is Internet' in last 3 days

Find switch-ports or router-interface having packet drops

show Max Packet Drops, total packet drop ratio, network Rate of Switch Ports by Total Packet Drop Ratio

Network rate of all hosts (ordered by the highest)

network rate of host order by Max Network Rate

Show total flows grouped by ports

sum(bytes) of flow group by port

Look at Internet flows grouped by port with traffic totals:

sum(bytes) of flows where Traffic Type = 'INTERNET_TRAFFIC' group by port

Information about VMs

Show which network segments have the highest VM count:

vm group by l2 network

Which datastores have highest VM count:

vm group by datastore

ESX Host Information

Show me a list vSphere versions installed in the environment and a total of hosts:

host group by version

Show me a list of vSphere builds and how many hosts they have:

host group by OS

Show me hosts with how many VMs they contain:

vm group by host

Firewall rules

Show rules which have an any source (can combine with specific port if you like)

vm where incoming rules.Source Any

Show VMs with an affected rule of xyz

vm where Firewall Rule = 'Prod MidTier to Prod DB - DBService'

Show firewall rules where any port is allowed

firewall rule where action = allow and service any = true

Not operator:


Not like


max(byte rate) of flows

sum(total bytes)


avg(CPU Usage Rate), avg(memory utilization) of VMs


Show which VNIs my controllers are responsible for:

controller of Vxlan group by controller

Which controller is responsible for my Prod-Midtier segment?

Primary Controller of Vxlan 'Prod-Midtier'

Where is my Prod-Midtier-1 VM and what info do I want to know about it (i.e. MAC, IP, host it’s on)?

mac address, ip, vxlan, host of vm 'Prod-Midtier-1'

Show routes for Provider edge 3:

routes where vrf = 'Provider Edge 3'

Show routes of DMZ DLR:

routes where VRF = 'LDR-DMZ'

Free Ebooks

Advanced Threat Protection for Dummies

Advanced Evasion Techniques for Dummies

Agile for Dummies

Application Aware Storage for Dummies

Archiving for Dummies

Backup for Dummies

Big Data Analytics for Dummies

Cloud Architecture for Dummies

Cloud Services for Dummies

CRM for Dummies

DevOps for Dummies

Enterprise Agile for Dummies

Enterprise Cloud Infrastructure

Enterprise Mobility for Dummies

Flash Storage for Dummies

Hadoop for Dummies

HP Virtual Connect for Dummies

HP Virtual Connect for Dummies®

Hybrid Cloud for Dummies

IT Policy Compliance for Dummies

IT Security for Dummies

Modern Malware for Dummies

Network Security in Virtualized Data Centers

Next-Generation Firewalls for Dummies

Operational Decision Management for Dummies

PCI Compliance for Dummies

Process Intelligence for Dummies

Process-Driven Master Data Management for Dummies

Rapid Application Development for Dummies

SOA Adoption for Dummies

Server Virtualisation for Dummies

Service Virtualization for Dummies

Software Defined Data Centers for Dummies

Software Defined Storage for Dummies

Storage Virtualization for Dummies

Systems Engineering for Dummies

Unified Threat Management for Dummies

Unified Storage for Dummies

Virtual Learning for Dummies

Virtualization for Dummies

Vulnerability Management for Dummies

Web Application Security for Dummies

Powershell 4.0 for Newbies


Microsoft Free e-books

Microsoft Blogs for e-books

Rapid Application Development

Enterprise NoSQL

What is vRealize Network Insight ?

What is vRNI ?

vRNI is a Security planning, Network visualization & debugging tool for VMware SDDC

 Use Cases:

–Micro-segmentation Planning

–360 Visibility & Troubleshooting

–Manage and Scale NSX

Unique Features:

–Natural language search

–East-West traffic analysis(Server to Sever Internal Traffic)

–VXLAN to VLAN logical path mappings

vCloud Availability for vCloud Director service


vCloud Availability for vCloud Director is a Disaster Recovery-as-a-Service (DRaaS) solution that provides simple and secure asynchronous replication and failover for vSphere managed workloads. The service operates through a vCloud Air Network Service Provider, and each installation provides recovery for multiple tenants. The service provides the following features:

Self-service protection, failover and failback workflows per VM

Recovery point objective (RPO) from 15 minutes to 24 hours

Initial data seeding by shipping a disk

For the service provider, vCloud Availability for vCloud Director:

Integrates with existing vSphere environments

Multi-tenant support

Built-in encryption of replication traffic

Supports multiple vSphere versions

Supports multiple ESXi versions

Individual systems are isolated as virtual machine files

Full integration with vCenter web client

Automation provided through standard web service APIs

Failover from On-Premises to Cloud

Replicates data from on-premises vSphere workloads to service provider cloud environments. After the virtual machines are replicated, failover support for executing the workloads in the cloud. Recovery Point Objective (RPO) can be configured from 15 minutes to 24 hours.

Fail back to on-premises

For failover loads that have been migrated to the cloud, changes can be replicated back to the on-premise environment. Workloads can then failback for execution in the on-premise environment.

Multiple Point In Time (MPIT) Recovery

Up to 24 restore points can be created. Depending on the RPO configuration, restoration is available from any recovery point.

The architecture of the solution relies on the service provider environment that provides the replication target and the customer, or tenant, environment that employs vSphere replication to move the data to the service provider. In the service provider environment, multiple components operate together to support replication, secure communication, and storage of the replicated data. Each service provider can support recovery for multiple customer environments that can scale to handle increasing loads for each tenant, and for multiple tenants.

On the tenant side, a single VM instance is deployed in the tenant vSphere environment. This provides management service that is used to oversee the replication operation for each replicated VM. Standard vSphere Replication is used to exchange this information with the service provider infrastructure.

vCloud Availability for vCloud Director


Read the FAQ here

Download Here