When you login the first time into VRNI you add a source to start collecting. I do recommend creating service accounts in vCenter and NSX-T if adding those sources.

Accounts

vrni-vc-svc – AD service account service (ensure vCenter in joined to the domain)

vrni-vc-svc-role – vcenter role

vrni-nsxt – AD service account (ensure nsx-t is joined to the domain)

vrni-nsxt – enterprise admin in nsxt

Click VMware vCenter

A screenshot of a computer

Description automatically generated

Select your collector.

Type in the FQDN of your vCenter

A screenshot of a computer

Description automatically generated

Some official VMware articles

Adding VMware vCenter Server to vrni including permissions

https://docs.vmware.com/en/VMware-vRealize-Network-Insight/6.9/com.vmware.vrni.install.doc/GUID-B9F6B6B4-5426-4752-B852-B307E49E86D1.html

[vRNI] Users privileges required to add vSphere component as a data source (2150385)

https://kb.vmware.com/s/article/2150385

Active directory service account for vcenter for vrni

I created an account called vrni-vc-svc set it not expire.

Ensure your vcenter is joined to the domain

A screenshot of a computer

Description automatically generated

I cloned the read only role in vCenter

A screenshot of a computer

Description automatically generated

Called the role vrni-vc-svc-role

A screenshot of a computer

Description automatically generated

Edit the role

A screenshot of a computer

Description automatically generated

Added the following permissions so it can collect IPFIX information, and enable IPFIX on your dvs

Global – settings

Distributed switch: Modify and Port configuration operation.

dvPort group: Modify and Policy operation.

A screenshot of a computer

Description automatically generated

A screenshot of a computer

Description automatically generated

A screenshot of a computer

Description automatically generated

In the global permissions in vCenter, add the service account to the role and propagate to children

A screenshot of a computer

Description automatically generated

Back to your data sources, add your service account details and click validate

A screenshot of a computer

Description automatically generated

IMPORTANT – enabling IPFIX on all vSphere hosts. Enabling IPFIX may have a performance overhead.

Some consideration below

A screenshot of a computer

Description automatically generated

Click Enable Netflow (IPFIX) on this vCenter (otherwise you wont get a complete picture of your flows)

Type a nickname and click submit.

A screenshot of a computer

Description automatically generated

Add another source.

A screenshot of a computer

Description automatically generated

Select NSX-T Manager

A screenshot of a computer

Description automatically generated

Add VMware NSX Manager source in vrni official VMware article

https://docs.vmware.com/en/VMware-vRealize-Network-Insight/6.9/com.vmware.vrni.using.doc/GUID-33C66386-C315-4791-9ED0-86144B34CA00.html

Create another service account in AD for vrni nsxt

A screenshot of a computer

Description automatically generated

Ensure your NSX-T Manager is joined to the domain

Open NSX-T Manager UI and go to User Role Assignment in User Management

Click Add and select role assignment for LDAP in User Role Assignment

A screenshot of a computer

Description automatically generated

Select active directory, select the service account and add role as a enterprise admin and click save

(I add it as enterprise admin to enable latency metric collection)

A screen shot of a computer

Description automatically generated

back on the platform UI, select your collector, enter the fqdn of your nsx-t vip, authentication as username/password, enter service account information, click validate

A screenshot of a computer

Description automatically generated

DFW must be enabled to use Enable DFW IPFIX. There should not be any other Firewall IPFIX Profile.

The enable latency metric collection collects the following latency metrics from NSX-T Manager,

• vNIC to pNIC, pNIC to vNIC, vNIC to vNIC (for each VM)

• VTEP to VTEP ,

Also please ensure that firewall rule is set to allow TCP traffic from all hosts to Operations for Networks collector port 1991

Enable flow collection from NSX intelligence is only supported with NSX-T 3.1 and above.

Also, ensure that NSX Intelligence appliance is deployed and in a healthy state.

I just enabled latency metric collection.

Type in a nickname and click submit.

A screenshot of a computer

Description automatically generated

Click I acknowledge and click continue

A screenshot of a computer error

Description automatically generated

A screenshot of a computer

Description automatically generated

By Kader