Nutanix NCP-NS 7.5 Study Guide, Part 2: Troubleshooting Flow Virtual Networking and Flow Network Security

This is Part 2 of the Nutanix NCP-NS 7.5 study guide. Part 1 covered the two build domains. This post covers the two troubleshooting domains: Section 3, Troubleshoot Flow Virtual Networking, which walks connectivity faults, alerts and logs, and infrastructure health, and Section 4, Troubleshoot Flow Network Security, which covers undesired traffic, log analysis, and identity based policy failures. The same rule holds throughout: every claim names the source document it came from.

Study guidePart 1 · Configure / Part 2 · Troubleshoot / Part 3 · Deploy and reference

Version scope for all three parts: Flow Virtual Networking 6.0, Flow Network Security 5.2 Next-Gen, and Prism Central 7.3. Legacy Flow Network Security procedures, VLAN mode and 4.2.0, are deliberately excluded and flagged where the blueprint still cites them.

Section 3: Troubleshoot Flow Virtual Networking

Alert ID ranges: learn the range, then the alert 1302xx Atlas host configuration and memory reservation 130388 / 130403 vNIC learned IP limit · Flow gateway down 1500xx IPFIX exporter · host NIC link in NIC profile 2006xx FNS control plane, rules, mode change, PE version, Cadmus flows 8010xx / 8011xx VPN and VPN eBGP · Layer 2 subnet extension 8020xx ANC health, DNS, VPC routing policy, gateway, ERP / transit VPC 8030xx ID firewall · K8s Flow 8061xx / 8062xx BGP session · load balancer targets · network function NICs
Every alert in the reference carries the same six fields: Name, Description, Alert message, Cause, Impact, Resolution. Cause gives the diagnosis, Impact the urgency, Resolution the action. Source: the Prism Central Alert Reference 7.3, Network section.

Objective 3.1: Troubleshoot Connectivity Issues

Knowledge

A VM inside a VPC cannot reach the Internet, or cannot reach the external network

1 Default route 0.0.0.0/0 to the external subnet? Both NAT and No-NAT attached needs destination prefix routes. 2 External subnet attached at all? No external network means no SNAT IP and no egress. 3 Redirect-chassis host up? Without scale out one host failure breaks north south for up to a minute. 4 Routing policy denying or misrouting? Default policy is Priority 1 deny and is immutable. 5 Reroute target gone? Alert 802003, reroute VM missing or powered off. 6 MTU. Geneve costs 58 bytes. VMs that ignore the DHCP MTU keep sending 1500. 7 Host-level Atlas failure? 130201 configure host, 130202 reserve host memory.
External network specific additions: no SNAT/Router IP, missing return routes on the physical router, wrong destination prefix, inbound expected but only SNAT configured, or an unbound floating IP.

Transit VPC ERP alerts

AlertMeaningResolution
802006Internal route installation for VPC ERPs failed on the transit VPCRemove and reconfigure the VPC with ERPs
802007VPC ERPs are not subnets of the transit VPC’s ERPs, so they may have no north south connectivity outside itMake the transit VPC ERPs a supernet of the spoke’s ERPs
802008VPC ERPs overlap subnet CIDRs in the transit VPC. Local routes win over ERP routesRemove the overlap
802009ERPs being removed from the transit VPC are a supernet of the attached VPCs’ ERPsReconfigure so they remain supernets
Sources
Flow Virtual Networking Guide 6.0, Flow Virtual Networking Overview: Essential Concepts · Flow Virtual Networking Guide 6.0, Virtual Private Cloud Management: Creating a Policy · Flow Virtual Networking Guide 6.0, Virtual Private Cloud Management: NAT and No-NAT Gateway Scaleout · Flow Virtual Networking Guide 6.0, Virtual Private Cloud Management: Creating a Virtual Private Cloud · Flow Virtual Networking Guide 6.0, Network and Security Entities: Floating IPs · Prism Central Alert Reference 7.3, Alerts/Health checks: Network
Knowledge

Two VMs within the same VPC cannot communicate

First question Same subnet or different subnets? Policies do not apply to intra subnet traffic. If both VMs are in the same subnet, a VPC routing policy is not the cause.

Traffic type behavior inside a VPC

  • Broadcast forwarded to all guest VMs in the same subnet, regardless of host.
  • Unicast follows the configured networking policies.
  • Unknown unicast is dropped. Not transmitted to any guest VM inside or outside the source host.
  • Multicast forwarded only within a subnet, to all VMs in that subnet. No IGMP snooping in VPCs.

Also check: both VMs are actually in the same VPC (a VM sits in exactly one); the Network Controller is healthy, since an interruption can break connectivity on live migration of VMs in overlay or NC backed VLAN subnets; and alert 130388, vNIC learned IP limit reached, which makes FNS policies involving that VM behave unexpectedly.

Sources
Flow Virtual Networking Guide 6.0, Flow Virtual Networking Overview: Essential Concepts · Flow Virtual Networking Guide 6.0, Virtual Private Cloud Management: Creating a Policy · Flow Virtual Networking Guide 6.0, Requirements and Limitations of Flow Virtual Networking: Requirements and Limitations of Flow Virtual Networking · Prism Central Alert Reference 7.3, Alerts/Health checks: Network
Knowledge

The BGP neighbor is not receiving expected routes from the VPC

#CauseAlertFix
1The VPC has no ERPs. Session creation fails outright without one806104Configure externally routable IP address spaces for the VPC
2The VPC has no No-NAT external subnet, so the session ignores received routes806105Associate a No-NAT external subnet with the VPC
3Session ERPs are not a subset of the VPC’s ERPs (the Custom advertise option set wrong)806107Make session ERPs a subset of the VPC ERPs
4The session is down806106Verify gateway and session configuration; read the session error
5Route limit truncating the advertisement806101 / 806102Aggregate specific prefixes into larger prefixes. 250 routes max, FIFO install
6BGP session count does not match VPC active gateways806103Reconcile sessions to active gateways for that local/remote pair

Transit VPC case: the hub’s BGP gateway services only the hub, so every spoke ERP must be in the hub’s ERP list or alert 802007 fires. VPN based BGP has its own set: 801001 route limit, 801003 eBGP session down, 801004 invalid routes rejected.

Sources
Prism Central Alert Reference 7.3, Alerts/Health checks: Network · Flow Virtual Networking Guide 6.0, Connections Management: Border Gateway Protocol Sessions · Flow Virtual Networking Guide 6.0, Connections Management: Create BGP Session Attributes
Knowledge

Network gateway status issues, and whether a gateway VM is unhealthy

The one people miss Connectivity to NTP at time.google.com and DNS at 8.8.8.8 is mandatory for the network gateway VM to become active. Without access the gateway shows Down. Contact Nutanix Support to change those if you cannot open them.

Four documented causes of a Down gateway

  1. NTP and DNS unreachable, as above.
  2. Missing static routes to the NAT network for Prism Central, NTP, DNS and peer gateway IPs, when the VPC has both NAT and No-NAT and No-NAT is the default next hop.
  3. Alert 802005: Prism Central cannot ping the gateway, or its REST server is down.
  4. Alert 130403: the Flow gateway VM or the flow-gateway-agent service is down. Check whether the flow-gateway HA event has triggered on MCM.

Where to read status

ObjectWhereStatus values
GatewayConnectivity > Gateways list and Summary pageUp or Down. Summary adds Gateway Version and a link to the Gateway VM
BGP sessionConnectivity > BGP Sessions, plus a BGP Logs tab on the details pageEstablished / Active, Established / Down, or Up / Down depending on the page
Subnet extensionConnectivity > Subnet ExtensionsConnection Status (Connected / Disconnected), Interface Status (Connected / Not Available)

Log collection

From the Prism Central VM console:

nutanix@cvm$ logbay collect -t msp,anc

nutanix@cvm$ logbay collect -t msp,anc -O msp_pod=true,msp_systemd=true,\
  kubectl_cmds=true,persistent=true --duration=-48h0m0s
  • msp collects MSP pod and persistent log volume logs. anc collects the support bundle including database dumps and OVN state.
  • PC container logs land under /var/log/containers; ANC persistent logs under /var/log/ctrlog.
  • Bundle at /home/nutanix/data/logbay/bundles/<filename>.zip, task detail at /home/nutanix/data/logbay/taskdata/<taskID>/collection_result.txt.

Deletion order: remove all VPN or VTEP connections, BGP sessions, and subnet extensions on a gateway before deleting the gateway itself. Update rules: the Update Gateway window has the same fields as Create, but some parameters are greyed out. To change one, build a new gateway and delete the old one. Same pattern as BGP sessions.

VPN architecture,

A VPN endpoint is three things: a local VPN gateway, a remote VPN gateway, and a VPN connection. You configure a full endpoint at each site.

  • The local gateway is a VM running IKEv2 and IPSec, plus BGP and OSPF for routing.
  • The remote gateway is not a VM. It is a pointer, a database entry describing the peer. Its key content is the source IP of the remote endpoint, and the local gateway accepts IKEv2 packets only from that source IP. That is a security control, and the first thing to check when a tunnel will not come up after an IP change.
  • The VPN connection is the IPSec tunnel. One end is initiator, the other acceptor.

Gateway types: On premises Nutanix VPN Gateway, or On premises Third Party Gateway configured per that vendor’s documentation. Routing: eBGP between remote sites, optionally static, and iBGP or OSPF within a site between the Nutanix VPN appliance and the edge router.

The scope limit that decides the design A VPN connection joins exactly one endpoint to one other endpoint, and only between Nutanix VPN gateway services. It can join two VPCs in the same cluster or VPCs in different clusters at one site, and launching a VPN gateway inside a VPC stretches that VPC. To reach multiple endpoints or a third party network you need VTEP based subnet extension instead.
A printed error in the guide FVN 6.0 states “Border Gateway Protocol (BGP) works in Layer 4 (application layer). It works on top of TCP at layer 2.” That sentence is incorrect and the layer numbers are scrambled. BGP runs over TCP port 179. The surrounding point, that FVN uses BGP gateways and connections to join two clusters for purposes including disaster recovery, is fine.
Sources
Flow Virtual Networking Guide 6.0, Connections Management: Virtual Private Network Connections · Flow Virtual Networking Guide 6.0, Connections Management: VPN Workflow · Flow Virtual Networking Guide 6.0, Connections Management: Connections Management
Sources
Flow Virtual Networking Guide 6.0, Connections Management: Connections Management · Flow Virtual Networking Guide 6.0, Network and Security Entities: Gateways Summary View · Flow Virtual Networking Guide 6.0, Network and Security Entities: Gateway Details View · Flow Virtual Networking Guide 6.0, Flow Virtual Networking Configurations: Troubleshooting Tips · Prism Central Alert Reference 7.3, Alerts/Health checks: Network
Knowledge

Verify that the subnet extension is active and healthy

Connectivity > Subnet Extensions. Filters give Connection Status and Interface Status. The details page has Summary, Address Table, and Throughput tabs, with an IP Address Pools widget showing the pool range as a pie chart.

AlertConditionResolution
801101Deletion failed on the remote site; local gone, remote still shows it extendedDelete it on the remote Prism Central, Subnets page
801102ANC version does not support L2 extension. ARP and unknown unicast from the peer AZ are droppedUpgrade ANC
801103VPN gateway version does not support L2 extension. Same ARP impactUpgrade the VPN gateway
801104The associated VPN connection was deletedDelete and recreate the extension once the VPN is restored
801105Peer AZ unreachable: VPN down, or Atlas in the peer AZ down or unresponsiveFix the VPN or Atlas problem
801106The subnet was deleted. No vNICs can use that network UUIDDelete and recreate after restoring the subnet
801107CIDR of the two subnets do not matchModify one subnet
801108DHCP pools overlap, or include VPN interface IPsSeparate the pools and exclude the VPN interface IPs
801109Local VPN interface IP in use in the peer AZResolve the IP conflict. Also surfaces as L2StretchLocalIfConflict, KB-10395
801110Remote VPN interface IP in use in this AZResolve the IP conflict
801111Some IP addresses are common across the subnets involvedMake UVM addresses unique across the AZs
801112Extension is operationally down: connectivity to the remote endpoint, or remote VxLAN device availabilityFix connectivity or remote device availability
Prerequisite that prevents most of these Set up a default static route with prefix 0.0.0.0/0 and the external network next hop for the VPC used for the extension. That route is what gives the Network Gateway appliance its NTP and DNS access. Also pair the local and remote Prism Central instances, and keep IPAM address ranges in paired subnets unique.
Sources
Flow Virtual Networking Guide 6.0, Network and Security Entities: Subnet Extensions Summary View · Flow Virtual Networking Guide 6.0, Network and Security Entities: Subnet Extension Details View · Flow Virtual Networking Guide 6.0, Connections Management: Layer 2 Network Extension · Flow Virtual Networking Guide 6.0, Flow Virtual Networking Configurations: Troubleshooting Tips · Prism Central Alert Reference 7.3, Alerts/Health checks: Network
Reference cited by 3.1

PBR based tromboning in an L2 extended subnet

Default (optimal) VPC Prod-AZ1 VTEP GW 10.1.1.91 VPC Prod-AZ2 VTEP GW 10.1.1.92 each VPC egresses via its own gateway Tromboned VPC Prod-AZ1 egress gateway VPC Prod-AZ2 Forward IP = 10.1.1.91 both VPCs exit through a single egress gateway Use the Forward action, not Reroute. Forward IP is the next hop that routes to the egress gateway. Nutanix does not cover every scenario: it may be the subnet gateway, the other endpoint’s VTEP Local Gateway, or an intervening firewall VM.
Performance caveat from the same topic: an L2 extension over a VPN whose underlay uses non Nutanix appliances, between on premises subnets and AWS or Azure VPC subnets, may transfer at KBps rather than Mbps.
Sources
Flow Virtual Networking Guide 6.0, Connections Management: PBR-based Tromboning in L2 Extended Subnet
Knowledge

Traffic Mirroring: differentiate from PBR and service chaining, and configure a session

Reference #16. Traffic mirroring replicates traffic from the interfaces of the AHV hosts to the vNIC of guest VMs. Stated uses: security analysis, visibility into traffic flowing through the source ports, packet troubleshooting, and compliance.

ToolUse whenWhat happens to the packet
Policy-based routingTraffic already crosses a routed boundary between subnets inside a VPCThe original packet is forwarded to the destination VM, which decides to forward or drop
Traffic MirroringTraffic does not cross a routed boundary, or must be duplicated rather than forwardedA copy goes to a single destination VM. The original packet is not modified
Service chainingTraffic in Basic VLANs on on premises AHV hostsTransparently redirected through, or copied to, service VMs running locally on the same host
Per session Source ports or entities: 4 Destination ports or entities: 2 Source vNIC 1, destination vNIC 1 Per cluster and host Sessions per cluster: 1,000 Active sessions per host: 2 Sources: host ports, bonds, VMs MTU: 1600 to 9000 on a non default virtual switch. 1600 on vs0. Cross-host mirrored traffic is Geneve encapsulated on top of a frame that may already be full size. Inconsistent SPAN Session State Detected Destination VM NIC removed, destination VM migrated to another host, or destination VM powered off.
Traffic direction is Both (default), Ingress, or Egress, and is unavailable if the ports are not managed by a virtual switch.

Procedure

Prism Central > Application Switcher > Infrastructure > Network & Security > Network Services > Traffic Mirroring tab > Create Mirror Session. General tab takes Name, optional Description, Cluster, and the virtual switch for mirrored traffic. Source & Destination tab takes Host Ports (expand the host, tick an Ethernet port under NICs or a bonded port under Bonds) or Virtual Machines (choose the source VM and the MAC address of its Traffic Mirroring NIC), then the direction. Summary tab offers Create Session, which leaves the session disabled, or Create and Enable Session.

Prerequisite. Configure the traffic mirror type on the destination VM’s vNIC before creating the session. One Traffic Mirroring NIC on the source VM per session using Virtual Machines as source type, and one on the destination VM per session.

Non default virtual switch, only when all three hold: the session captures VM traffic, the source VM’s traffic is mirrored to a destination VM on a different host, and the destination host is reachable only through that switch. Host IPs on it must be reachable in cluster, unique in the cluster, in the same subnet, and in a subnet other than the CVM br0 management subnet.

RBAC. Two built-in roles can configure traffic mirroring: Network Infra Admin and Prism Admin. Not VPC Admin. Custom role permissions: Create, Delete, Update, View, and View Stats for Traffic Mirror, plus View Cluster, View Cluster Networking Capabilities, View Host, View Uplink Bond, and View VM.

Without Prism Central registration, configure the session on the AHV host with aCLI.

Sources
Prism Central Infrastructure Guide 7.3, Network and Security Entities: Traffic Mirroring, and Compute Entities: Adding Traffic Mirror Destination vNICs to a VM

Objective 3.2: Analyze Alerts and Logs

Knowledge

Diagnose BGP state using session logs · Determine who made a change and when

BGP reading order: Summary Properties widget for Session Status, eBGP Status, Route Priority, and both gateways’ eBGP ASNs (1 to 65534). Then the Routes tab, which opens on Advertised and also carries Received, each with next hop. Empty Advertised points at the VPC’s ERPs or the session’s Custom advertise filter; empty Received points at a missing No-NAT external subnet. Then BGP Logs. Then the 806xxx alerts.

Read the two status fields as two different things. Session Status on that widget is the overall session status, Up or Down. eBGP Status is the eBGP protocol state, Established or Active. Established corresponds to Up; Active means the network controller is still attempting to establish the session. So Active on a session that was previously up points at the peer or the underlay, not at the session configuration. See objective 1.3 for the full field breakdown and the filter pane inconsistency.

Audit trail

  • Prism Central generates audit logs for all Flow networking activity, viewable in Prism Central and forwarded to syslog.
  • On the PC VM: /home/nutanix/data/logs/consolidated_audit.log for VM operation audits, athena.* for authentication and IAM activity.
  • Timestamps are UTC (ISO 8601) from Prism 5.18. OS logs are not converted, so set server local time to UTC.
  • Networking relevant audit events include VsCreateAudit, VsUpdateAudit, VsDeleteAudit, MigrateBridgeToVirtualSwitchAudit, IPAssignmentToVMAudit, VmNicAddAudit, VmNicUpdateAudit.
  • Audit module carries UI driven changes. API Audit carries REST API changes. If a policy changed and nobody in the UI did it, look at API Audit.
Sources
Flow Virtual Networking Guide 6.0, Network and Security Entities: BGP Session Details View · Flow Virtual Networking Guide 6.0, Network and Security Entities: BGP Sessions Summary View · Flow Virtual Networking Guide 6.0, Flow Virtual Networking Configurations: Troubleshooting Tips · Prism Central Alert Reference 7.3, Alert and Event Monitoring: Prism Central Logs and Audit Log Events · Prism Central Admin Center Guide 2024.2, Syslog Modules
Knowledge

Analyze IPFIX exports · Interpret alerts and take corrective actions

IPFIX. VLAN Subnets and Overlay subnets both support the IPFIX Exporter, and AHV hosts export IPFIX data for all traffic including overlay subnets. Alert 150011 reports an exporter host update failure with the hypervisor address and error. Alert 150017 reports VM traffic impacted by a down link on a host NIC in a NIC profile, resolved by validating uplink to host NIC connectivity and running a complete NCC health check.

Sitting immediately after 150011: 150012, OVN Connection Unhealthy, “Hypervisor node is disconnected from the Network Controller”, naming the node UUID and host IP. If IPFIX export fails on a host, check whether that host is also raising 150012, because a host cut off from the Network Controller has a larger problem than its exporter.

Troubleshooting the IPFIX exporter

This gap is easy to frame wrongly as “record structure and exported fields”. That was the wrong frame. The knowledge bullet asks you to analyze IPFIX exports to identify network connectivity issues, which is a troubleshooting question, not one about packet anatomy.

Sourcing warning, and it is a strong one None of the following is in the publications folder. It came from a Nutanix support search whose citation markers cannot be resolved to specific KB numbers. Two claims in it are demonstrably wrong for the tested version and are called out below. Treat this as a troubleshooting orientation to verify, not as sourced fact.
SymptomStated causeHow to check
High latency on Prism CentralStale ANC_PolicyConfig references left after unregistering a Prism Element cluster from Prism Central/var/log/messages on the AHV hosts, looking for connection attempts every 1 to 5 seconds
Alert 150011IPFIX exporter host update failed while connecting to the Acropolis leaderThe alert itself, plus whether maintenance was running
Excessive connectionsThe same stale configuration making AHV nodes retry repeatedlynetstat -ntp on the host

The 150011 row is the only part verifiable against the product documentation, and it checks out. The rest is not.

Stated remediations, unverified:

  1. systemctl status conntrack_stats_collector, then service conntrack_stats_collector restart if inactive or erroring. The service name is verified from the ports CSV, where it publishes to Prism Central over TCP 9446. The restart procedure is not.
  2. manage_ovs enable_bridge_chain plus an Acropolis restart, if bridge chain was disabled while IPFIX was in use. manage_ovs is real and appears in the AHV Administration Guide, but “bridge chain” and enable_bridge_chain appear nowhere in the product documentation. The attached warning is worth repeating anyway: check cluster health first, because restarting Acropolis can cause nontrivial downtime if VM operations are in flight.
  3. logbay -o json collect -t dpm_collector for support. That tag is not in the NCC Guide’s documented tag table, consistent with the table being partial. Confirm with logbay list_tags before relying on it.
Good news for the exam, by inference The stated fixes for the stale configuration bug are AHV 20230302.103003 with AOS 6.10.1 and AHV 10 with AOS 7.0. The tested stack is AOS 7.3 with AHV 10.3, above both. So on the tested versions that bug is already fixed. A question describing high Prism Central latency after unregistering a cluster is describing pre-7.0 behaviour. That inference is mine, from comparing the fix versions to the tested stack.

Two claims in that material that are wrong for the tested version

“Supported scale for Flow Network Security is 2500 VMs.” Attributed alongside FNS 3.0.0, which is legacy generation, several releases before the tested 5.2.0. It contradicts the Configuration Maximums 5.2.0, which give 10,000 VMs per Prism Central and 2,000 VMs per category. 2500 matches neither. Do not memorize 2500.

“Nutanix Collector receiving ipfix flows more than threshold 3200.” Nutanix Collector is a different product, an infrastructure assessment and sizing tool, not the Flow IPFIX exporter. Note also that alert ID 3200 in the Prism Element reference is “Orphan VM Snapshot Check”, unrelated, so the 3200 there is a flow count and not an alert ID. Easy to conflate.

“FNS 3.0.0 with VPC: IPFIX is not supported” may be true of 3.0.0 but says nothing about 5.2.0. The sourced position for the tested stack is the FVN 6.0 statement above: VLAN and Overlay subnets both support the exporter, and AHV hosts export for all traffic.
Still genuinely undocumented What fields an IPFIX record contains and how to read one. The troubleshooting side of this bullet is now covered, with the caveats above. The payload side is not.

Worked alert: 806201, load balancer session targets unhealthy

CauseResolution
Target VMs are downPower them on and confirm they are running
The service inside the target VMs is downConfirm the application on the configured target port is running
A network security policy is blocking health check traffic to the target VM NICsConfirm no security policy blocks traffic to the target vNICs on the configured port
Target VMs have multiple NICsEnsure symmetric routing is configured in the target VMs

The third row is the cross domain one worth remembering: an FNS policy can break FVN load balancer health checks. The companion alert 806202 covers unhealthy network function vNIC pairs, from service VMs being down, the datapath engine down or blocking health checks, or the service VMs or network function vNICs having been deleted.

Sources
Flow Virtual Networking Guide 6.0, Flow Virtual Networking Configurations: Network Types · Prism Central Alert Reference 7.3, Alerts/Health checks: Network · Prism Central Alert Reference 7.3, Alert and Event Monitoring: Alert Policies

Objective 3.3: Analyze Infrastructure Health

Knowledge

Check the Network Controller’s health

Prism Central Settings → Network Controller → Health → View Details Network Controller is up NC-related services up or down Failed → lists failed subcomponents PC to all PE cluster connectivity are up PC to every managed Prism Element Failed → lists failed clusters All host networking control plane agents are up NC control plane agent on the AHV hosts Failed → table of failed hosts and their clusters Each check reads Success or Failed. Resiliency Recommendations separately suggests PC Backup and Restore, and PC scale out to three VMs.
Clusters and Compatibility on the same page lists per cluster: name, AOS version, AHV version, and Compatibility with the Network Controller version. Check for Updates opens LCM in Admin Center.

From the CLI on a Prism Element cluster, acli atlas_config.get reports enable_atlas_networking: True or False, alongside anc_domain_name_server_list, minimum_ahv_version, and the OVN certificate paths.

Sources
Flow Virtual Networking Guide 6.0, Flow Virtual Networking Configurations: Network Controller Health Checks Attributes · Flow Virtual Networking Guide 6.0, Flow Virtual Networking Configurations: Network Controller Health Failure Reasons · Flow Virtual Networking Guide 6.0, Flow Virtual Networking Configurations: Resiliency Recommendations · Flow Virtual Networking Guide 6.0, Flow Virtual Networking Configurations: Upgrading the Network Controller
Knowledge

What can and cannot be done when the Network Controller is unhealthy

BreaksKeeps working
Making network related configurations (alert 802001, ANC not healthy; 802002, ANC DNS name unresolvable from bad PC nameserver config)Data plane forwarding on already programmed VPCs and subnets
Live migration of guest VMs in overlay or NC backed VLAN subnets. Migrated VMs may become unreachable until the service and connectivity are restoredFNS policies stay applied to VMs even if the cluster temporarily loses PC connectivity. PC is needed only to create, modify, or change the mode of a policy

Blocked by design, unrelated to health

  • Cannot disable the Network Controller while external subnets or VPCs are in use.
  • Cannot unregister the Prism Element cluster hosting the FVN enabled Prism Central.
  • Without the Prism Admin role, enabling or using FVN fails with User Denied Access.
  • NC is deployed but not enabled with a compatible PC package and an incompatible AHV package, and is not enabled by default on a newly registered PE cluster with incompatible AHV.
  • NC upgrade fails after the pre check if any FVN enabled cluster runs an incompatible AHV version.

To exclude a cluster: <atlas> config.add_to_excluded_clusters <cluster uuid>. The prompt states how many external subnets will lose connectivity. Reverse with config.remove_from_excluded_clusters.

Sources
Prism Central Alert Reference 7.3, Alerts/Health checks: Network · Flow Virtual Networking Guide 6.0, Requirements and Limitations of Flow Virtual Networking: Requirements and Limitations of Flow Virtual Networking · Flow Virtual Networking Guide 6.0, Flow Virtual Networking Configurations: Upgrading the Network Controller · Flow Network Security Guide 5.2.0, Security Policy Model: Security Policy Model
Knowledge

Interpret Flow Network Security control plane alerts

AlertMeaningKey detail
200337Prism Central categories threshold alert (new )Total category count hit its threshold. Resolution: delete unused categories
200343Prism Central Total categories association threshold alert (new )Category associations hit the threshold, a different counter from 200337. High association counts cause performance and stability issues
200601Flow rule failed. VMs will not be protected by that ruleCheck PC microsegmentation service, PE acropolis service, PC to PE and PE to AHV connections
200602Control plane failed. No new or updated policies can be madeCauses include low memory on the host, since additional memory is needed to enable the service
200606Mode change failed. Flow runs in default mode and traffic hitting policies is not logged by AHVRequires the AHV host to have more than 4 GB memory available
200610Atlas unreachable to apply a Flow ruleCheck Atlas service, Microseg service, and the Microseg to Atlas connection in PC
200611Rule update failed in Atlas, invalid arguments. Policies not enforced for the affected VMsCheck Atlas and Microseg services in PC
200612Rule update failed in Atlas, parameter not found. VMs in the policy unprotectedCheck Microseg and Atlas services in PC
200614FNS version too low on a registered PE clusterLCM inventory of FNS PE on each attached AHV cluster, upgrade those below minimum. KB14262
200615High Cadmus service flows. Additional flows past the limit are not shown in the UIReduce policies or flows per policy, or upgrade the Microsegmentation Memory Allocation (S/M/L/XL)

Also: alert 130389, an Advanced Networking subnet not recovered from a Prism Central recovery point, where the resolution is to delete the VM vNICs associated with that subnet.

Sources
Prism Central Alert Reference 7.3, Alerts/Health checks: Network · Flow Virtual Networking Guide 6.0, Flow Virtual Networking Configurations: Network Controller Health Failure Reasons · Flow Virtual Networking Guide 6.0, Flow Virtual Networking Configurations: Resiliency Recommendations
Knowledge

Prism Element alerts and health checks

Reference #62 resolves to the Prism Element Alerts Reference 7.6, the guide Web Console 7.3 topic Prism Central Infrastructure Guide 7.3, Alerts and Events pointed at in a single sentence.

Version caveat. v7.6 against a tested Prism Central 7.3 and AOS 7.5. Alert IDs are generally stable across releases, but wording and the check list may differ. Spot check any ID you plan to memorize.

Health dashboard and Manage Checks

Select Health from the pull down list on the left of the main menu. Three columns: the left lists tabs per entity type (VMs, hosts, disks, storage pools, storage containers, cluster services, and when configured protection domains and remote sites), each showing the entity total and the count in each health state; the middle shows detail for the selection; the right shows the rest.

Actions > Manage Checks. Left column lists the health checks. Middle column describes what the check does plus its run schedule and history. Right column describes cause, resolution, and impact. Run Check runs one on demand. Turn Check Off and Turn Check On toggle one.

Silent failure mode worth remembering. If the Cluster Health service status is DOWN for more than 15 minutes, an alert email is sent by the AOS cluster to configured addresses and Nutanix Support if selected, and no alert is generated in the Prism Element web console. The email is sent once per 24 hours. Run cluster_services_down_check to see the service status.

Network alerts in the Prism Element reference that are not in the Prism Central reference

AlertNameWhy it matters here
3070AHV Secondary IP Ping Check from NodeChecks whether each AHV host can ping the secondary IP of all other hosts. Impact: advanced networking may encounter issues if enabled and configured to use the corresponding virtual switch. This is the check behind VPC east west segregation onto a non default virtual switch, objective 5.4
103101Inconsistent Bridge/vSwitch configurationBridge or vSwitch config on a host differs from other hosts or from the zeus configuration. Cause: config modified during cluster lifetime without restarting genesis. KB 8018
103106Bond uplink VLAN config checkVLAN misconfiguration on uplink ports in a bond. Hosts, CVM or user VMs can lose connectivity if the active uplink changes. Requires link layer unicast with an IPv4 payload, including link local 169.254.0.0/24, to pass
103107Bond uplink connectivity checkAt least two uplinks in the bond must be connected, or network redundancy is lost
103103IPv6 Config checkManual IPv6 configuration on CVM interfaces. Relevant because FNS blocks IPv6 by default
150018Address Translation Services not enabled on PCIe passthrough NICATS not enabled in the NIC profile. A reboot is required
3064, 3065, 3067, 103094, 6202CVM Connectivity Failure, Host IP Not Reachable, NIC Link Down, CVM NIC Link Down, CVM Host Subnet MismatchGeneral reachability
6404, 6405, 103104, 103105Transmit packet drop check, NIC RX packet drop rate high, corrupted packets reaching the CVM, malformed eth0 config fileThroughput rather than reachability

Flow alerts that appear in both references, so the ID is safe either way: 130201, 130202, 130388, 150011, 200601, 200602, 200606, 801106, 803003, 803005.

The Prism Element reference uses the same six fields as the Prism Central reference: Name, Description, Alert message, Cause, Impact, Resolution. The same alert can appear under more than one entity section. 200613 appears under both Controller VM and Network, 130201 under Node and Network, 130202 under Cluster and Network.

Sources
Prism Element Alerts Reference 7.6, Alerts and Health Checks: Cluster, Controller VM, Node and Network sections · Prism Web Console Guide 7.3, Health Monitoring

Memorize: section 3

  • Gateway VMs need NTP time.google.com and DNS 8.8.8.8.
  • logbay collect -t msp,anc. Bundle in /home/nutanix/data/logbay/bundles/.
  • Unknown unicast dropped in a VPC. No IGMP snooping. Policies never touch intra subnet traffic.
  • BGP: 250 routes, FIFO install, session ERPs must be a subset of VPC ERPs.
  • Alert ranges: 1302xx Atlas host, 1500xx IPFIX/NIC, 2006xx FNS control plane, 8010xx VPN, 8011xx L2 extension, 8020xx ANC and VPC, 8030xx ID firewall, 8061xx BGP, 8062xx load balancer and network function.
  • Three NC health checks and their three failure dropdowns.
  • acli atlas_config.getenable_atlas_networking.
  • Alert 200606 needs more than 4 GB free on the AHV host.
  • Tromboning uses Forward, not Reroute. VxLAN UDP port 4789, do not change.
  • Remote gateway eBGP ASN: pick from 1 to 65000 if you have no BGP environment.
  • Traffic mirroring: 4 source and 2 destination entities per session, 1,000 sessions per cluster, 2 active per host. MTU 1600 to 9000 on a non default virtual switch, 1600 on vs0. Alert title Inconsistent SPAN Session State Detected. Network Infra Admin and Prism Admin only.
  • Alert 3070 AHV Secondary IP Ping Check from Node backs advanced networking on a non default virtual switch. 103101 inconsistent bridge config, KB 8018. 103107 needs two connected uplinks.
  • cluster_services_down_check. Cluster Health down over 15 minutes emails once per 24 hours and raises no web console alert.

Section 4: Troubleshoot Flow Network Security

Objective 4.1: Troubleshoot Undesired Network Communication

Knowledge

Determine if desired traffic is being prevented by a security policy

  1. Mode. Enforce blocks what is not allowed. Monitor blocks nothing.
  2. Priority. The traffic may be matching a different policy. A monitor mode match allows and stops all further processing.
  3. Discovered traffic. In enforce mode the engine shows what it denied, on the policy details page under Inbounds and Outbounds.
  4. IPv6. Rules are IPv4 only and all IPv6 is blocked by default. Left blocked, it stays blocked even in monitoring mode. This is the usual “monitor mode is still dropping traffic” answer.
  5. Layer 2. Application policies do not block ARP or layer 2 broadcast. Isolation policies do, dropping ingress and egress broadcast, unknown unicast, and multicast at the destination group.
  6. Intra tier. Default is allow all inside a secured entity. A configured rule limits VM to VM traffic to a specific service group, port, and protocol.
  7. Scope. A VLAN only policy does not touch VPC entities and vice versa.
Sources
Flow Network Security Guide 5.2.0, Security Policy Model: Security Policy Model · Flow Network Security Guide 5.2.0, Policy Consumption and Visualization: Allowing Discovered Traffic · Flow Network Security Guide 5.2.0, Application Policy Configuration: Creating an Application Policy · Flow Network Security Guide 5.2.0, Intra-Tier Traffic Rule Customization: Intra-Tier Traffic Rule Customization · Flow Network Security Guide 5.2.0, Isolation Environment Policy: Creating an Isolation Environment Policy · TN-2094 Flow Network Security tech note, VM Traffic Considerations with Flow Network Security
Knowledge

Verify VM membership in a policy component

Why membership can look right and still fail FNS learns the IP addresses associated with categorised VMs, and those learned lists drive the rules in the hypervisor virtual switch. With AHV IPAM on a managed network, AHV knows the address before the VM powers on. With static IPs or an external DHCP server, the hypervisor must learn the address by DHCP and ARP snooping, and during that delay the policy does not yet protect the VM.
  • Common VM count on isolation entity circles, and in the entity side window, shows exactly how many VMs the policy protects.
  • Entity groups protect the intersection of their categories.
  • vNIC scope: subnet category alone hits every vNIC in that subnet category; an entity group of VM category plus subnet category narrows to one vNIC; adding a VPC category narrows further.
  • AppType exclusion: VMs with an AppType category cannot be categorised by ID Based Security.
  • Alert 130388: the vNIC hit its learned IP ceiling and will learn no more.
Sources
TN-2094 Flow Network Security tech note, VM Traffic Considerations with Flow Network Security · Flow Network Security Guide 5.2.0, Security Policies: Security Policies · Flow Network Security Guide 5.2.0, Security Policy Model: Entity Groups · Flow Network Security Guide 5.2.0, Security Policy Model: vNIC Specific Policy using Subnet Categorization · Flow Network Security Guide 5.2.0, Isolation Environment Policy: Monitoring an Isolation Environment Policy (Visualizing Network Flows)
Knowledge

Assess policy hit logs · Identify priority conflicts

Five conditions that suppress or alter hit logs

  1. Not generated when both source and destination are in an inbound or outbound category.
  2. For isolation policies, generated only in monitor mode.
  3. For multi isolation policies, the direction shows as outbound instead of source and destination.
  4. Not synchronized in multi Prism Central DR, along with visualization.
  5. If Flow is in default mode after a failed mode change (alert 200606), AHV logs nothing at all.

The three priority conflicts

ConflictWinnerConsequence
Shared service vs isolationShared serviceEven with isolation blocking two entities, the shared service policy permits the traffic. That is why the type exists
Quarantine vs isolationQuarantineA quarantine forensic policy allowing communication means traffic is not dropped despite the isolation policy
Isolation vs applicationIsolationEnforce blocks all traffic to the app including what the app policy allows. Monitor allows all traffic including what the app policy disallows
Intra tier versus inbound and outbound Intra tier governs VM to VM traffic within a secured entity while it exists. The guide is explicit that only after removing the intra tier rule (available from 5.2.1) do inbound or outbound rules control VM to VM communication for that tier or category.
Sources
TN-2094 Flow Network Security tech note, Flow Network Security Logs and Audits with Syslog · Flow Network Security Guide 5.2.0, Security Policy Model: Security Policy Model · Flow Network Security Guide 5.2.0, Intra-Tier Traffic Rule Customization: Intra-Tier Traffic Rule Customization · Flow Network Security Guide 5.2.0, Shared Service Policy: Shared Service Policy · Flow Network Security Guide 5.2.0, Isolation Environment Policy: Creating an Isolation Environment Policy · Flow Network Security Guide 5.2.0, Application Policy Configuration: Creating an Application Policy
Knowledge

Packet loss with service insertion · Routes present but north south broken (MTU)

Most service insertion packet loss is a scope violation. Check the envelope first: application policies only, Network Controller managed VLAN policies only, VLAN environments only, AHV clusters only, IPv4 unicast only, and no monitor mode. Version floors: AOS/PE 7.3, PC 7.3, AHV 10.3, ANC 6.0.0, FNS 5.2.0, NCC 5.2.0. Then alert 806202 for unhealthy network function vNIC pairs. Note also that FNS Next-Gen does not support Network Function Chain in a VPC, and does not support asymmetric routing in either environment.

Encapsulation overhead subtracted from a 1500-byte network MTU VPC: Geneve 1442 −58 Geneve + Subnet Extension: Geneve + VXLAN 1392 −58 −50 + VPN: Geneve + IPsec 1356 −58 −86 + VTEP + VPN: Geneve + VXLAN + IPsec 1306 −58 −86 −50 Some VMs ignore the DHCP MTU advertisement and keep sending 1500. That is why routes look fine and traffic stalls. Fix by raising vs0 to 9000 with jumbo frames end to end (physical switch around 9216), or by lowering every VM in the VPC to 1442. Never the CVM.
vs0 configurable range is 1500 to 9000; outside it Prism Central errors and the change fails to apply. AHV supports 9000 or less. Migration or maintenance mode can stick if br0 or the default virtual switch exceeds 9000.
Sources
Flow Network Security Guide 5.2.0, Service Insertion: Service Insertion, Software Requirements and Limitations · Flow Network Security Guide 5.2.0, Enabling Microsegmentation: Limitations · Flow Virtual Networking Guide 6.0, Requirements and Limitations of Flow Virtual Networking: Requirements and Limitations of Flow Virtual Networking · Nutanix KB-3529, Enabling Jumbo MTU on AHV for UVMs · AHV Administration Guide 6.10, Virtual Switch Limitations

Objective 4.2: Analyze Logs

Knowledge

Pipe FNS hit logs to an external syslog server

Two halves, both required. Per policy: Define Policy > Advanced Configuration > Policy Hit Logs > Enabled. In Prism Central: configure the remote syslog server with port and protocol, then select modules and severity on the Data Sources tab. Hit logs are redirected only once the syslog server is configured with the hit log module.

ModuleSeverityContent
API Audit0-7REST API endpoints called and who called them, PC and PE. All levels send the same content. Configure at INFO
Audit0-7VM, category, and security policy create/update/delete, plus IAM activity including logins. Configure at INFO
Security Policy Hit LogsfixedThe policy hit log. Severity cannot be modified
Flow Service Logsn/aFlow process logs. Only at the direction of Nutanix Support
Two operational cautions Prism Central sends audit logs; each AHV host sends policy hit logs directly. The collector must expect both sources. And configuring modules in the web console overwrites the configuration of other modules set with nCLI.
Sources
TN-2094 Flow Network Security tech note, Flow Network Security Logs and Audits with Syslog · Flow Network Security Guide 5.2.0, Application Policy Configuration: Creating an Application Policy · Flow Network Security Guide 5.2.0, Quarantine Policy Configuration: Configuring the Quarantine Policy · Prism Central Admin Center Guide 2024.2, Syslog Modules
Knowledge

Conntrack table status through NCC health checks

There is no NCC check catalogue to find The NCC Guide 6.0 settles this. Nutanix does not publish a check catalogue. The guide says so: “The Nutanix support portal includes a series of Knowledge Base articles describing most NCC health checks run by the ncc health_checks command. These articles are updated regularly.

The NCC Guide is an operations manual: install, upgrade, run, schedule, collect logs. The word “conntrack” appears zero times in it, as do “flow”, “microseg”, “IPFIX” and “Atlas”.

The two documented routes to a check’s documentation: the support portal (Knowledge Base > Nutanix KB Articles filter > search NCC Health Check), and the UI (Health dashboard > Actions > Manage Checks > select a check > click the link to the Knowledge Base article).

So the procedure half is fully answerable (the component is conntrack_stats_collector on the AHV host over TCP 9446), and a specific conntrack check name is not obtainable from Nutanix product documentation at all. There is no missing document here. No further download will change it.

Version caveat: the NCC Guide is v6.0, requiring AOS 7.6 and PC 7.6, two trains ahead of the tested stack. Its operational content is long stable; do not quote its compatibility numbers.

The five NCC status types

Each plugin completes independently with one of these, and the result may carry a link to a support portal KB article.

StatusMeaning
PASSHealthy, no action required. Also returned when a check is not applicable
FAILNot healthy. Requires immediate action. Otherwise the cluster might become unavailable or need Support intervention
WARNUnexpected value that you must investigate. Resolve as soon as possible
INFOAn expected value that cannot be graded PASS or FAIL. Returns information, and sometimes a Nutanix recommendation to implement soon
ERRThe plugin failed to execute. An error with the check, not necessarily with the cluster entity

ERR is the one people misread: the check broke, not the cluster. And this explains why alert A200613, the 40 GB PE CVM memory recommendation, is severity INFO: an expected value that cannot be graded, carrying a recommendation. Textbook INFO.

Modules, plugins, and the intrusive check default

A plugin is a component specific code block inside a module, commonly called a check. A module is a logical group of plugins or of modules. NCC is cluster resident, runs hundreds of checks, and depending on the issue raises an alert or automatically creates a Nutanix Support case. It runs as long as the individual nodes are up, regardless of cluster state.

nutanix@cvm$ ncc ncc-flags module sub-module [...] plugin plugin-flags
# default output: /home/nutanix/data/logs/ncc-output-latest.log

Typing ncc with no arguments lists the modules. The Type column shows M (module) or P (plugin), and the Impact tag marks a plugin intrusive or non intrusive.

By default, only non intrusive checks are used if a module is run with the run_all plugin. So run_all is safe by default.

Modules in the guide’s example output: cassandra_tools, fix_failures, hardware_info, health_checks, help_opts, log_collector, performance_checks, pulsehd_collectors.

How to run NCC and how to find a check name

It is easy to conclude that the Flow documentation carries no NCC content. Four Prism Web Console Guide 7.3 topics cover it.

WhereHow
Prism Element clustersHealth dashboard of the web console, or log on to a Controller VM and run NCC from the command line
Prism Central clustersSSH to the Prism Central VM and use the ncc command line. The NCC Guide states “You cannot run NCC from the Prism Central web console”, but also documents Help > Troubleshooting > Run Cluster Checks in that console. See the note below
In the Prism Element web console, you cannot run NCC checks and collect the logs at the same time.
Reading the NCC guide correctly NCC runs from the Prism Element GUI, the Prism Central GUI, or any of the command lines. A tempting reading is that the two sentences describe different targets, NCC against Prism Central itself versus checks against managed clusters. That is an over reading. The sentence “you cannot run NCC from the Prism Central web console” belongs to the pre upgrade instruction immediately before it, which tells you to SSH to the Prism Central VM and use the ncc command line before any upgrade. It reads as leftover text from before the Run Cluster Checks feature existed, kept in place when the procedure below it was added.

The version is what matters for the exam. Run Cluster Checks through Prism Central requires AOS 7.3 with Prism Central pc.7.5. The tested stack is pc.7.3, so that path does not exist yet, and the Prism Central Guide 7.3 contains no run checks content at all, which is consistent. On the tested stack: Prism Element GUI yes, Prism Central GUI no, command line yes.

The procedure itself, for completeness: Help icon > Troubleshooting > Run Cluster Checks opens Run All Checks on Cluster(s). Select clusters, optionally add Additional Recipients for the report email, click Run Check(s), track it in Recent Tasks. By default the report goes to the alert email address; with no alert email configured you must supply a recipient or no report is generated.

Web console: Health dashboard > Actions > Run NCC Checks, scoped to All checks, Only Failed and Warning Checks, or Specific Checks (type the name, the field auto populates, the Added Checks box lists the selection). There is a Send the cluster check report in the email checkbox, which needs alert email notification already configured. The Tasks dashboard shows succeeded or aborted. Event triggered checks are marked passed by default.

Command line:

nutanix@cvm$ ncc health_checks run_all      # run everything
nutanix@cvm$ ncc health_checks              # list the available check categories
nutanix@cvm$ ncc health_checks hypervisor_checks   # drill into one category

hypervisor_checks is the guide’s own example and the only category name stated anywhere in the documentation. Anything other than INFO or PASS must be resolved before proceeding with an upgrade.

From the UI: Actions > Manage Checks, select a check, then click the link to the Knowledge Base article for that check. That plus ncc health_checks are the two documented ways to find a check name on a live cluster.

Logbay, the log collection half of this objective

Discovery, the same pattern as NCC: logbay list_tags lists every available tag on a live cluster. The documented tag table is partial (it omits msp and anc, which the FVN guide uses), which is exactly why the command exists.

Defaults. logbay collect with no options collects all tags for the last 4 hours, and stores individual bundles per Controller VM locally, not aggregated.
OptionBehavior
-t, --tagsCollect from the named tag. By default -t collects all tags
-x, --exclude_tagsExclude tagged logs, e.g. logbay collect -t cvm_logs -x stargate. -x always takes priority over -t
--aggregate=0|1Aggregate bundles from all nodes onto the current node
--dst=(file|ftp|sftp)://username@host/path or container:/container_name

Documented tags: cvm_config, cvm_logs, cvm_kernel, alerts, ahv_config / esx_config / hyperv_config, ahv_logs / esx_logs / hyperv_logs, and vpn_logs, which is directly relevant to VPN gateway troubleshooting in objective 3.1.

Retrieving the bundle: Tasks dashboard, find the log bundle task, click the Succeeded link in the Status column. The last two runs are available, and a browser pop up blocker will stop the download.

Scheduling NCC

Disabled by default. Health dashboard > Actions > Set NCC Frequency: Every 4 hours, Every Day with a Start Time, Every Week with On days and a Start Time, or Remove Schedule (shown only once a schedule exists). Results email to whoever is configured for alert emails, and the schedule survives AOS and NCC upgrades. Emailed NCC results do not automatically create support cases, unlike proactive NCC, which can.

What the documentation does have, adjacent to this

  • TCP port 9446 from AHV hosts to the Prism Central VMs carries connection tracking data, which Prism Central uses to show network flows. This is the one FNS port number the documentation actually gives.
  • The flow_data Kafka container is created automatically on the cluster hosting Prism Central when microsegmentation is enabled, and stores data essential for Flow visualization. Do not delete it.
  • Alert 200615, high Cadmus service flows, where flows means traffic reaching a secured entity. Additional flows past the limit are not shown in the UI. Fix by reducing policies or flows per policy, or upgrading the Microsegmentation Memory Allocation (S/M/L/XL).
Sources
Prism Web Console Guide 7.3, Cluster Management: Nutanix Cluster Check (NCC), Running NCC, and Displaying NCC Help · Flow Network Security Guide 5.2.0, Enabling Microsegmentation: Limitations · Prism Central Alert Reference 7.3, Alerts/Health checks: Network
Knowledge

Interpret FNS audit logs to diagnose an issue

Audit logs cover changes to security policy configuration and VM to category mappings: when a policy was changed or applied, and who changed it. Enabled by default, viewable in Prism Central and sent to syslog. The Audit module carries Prism Central changes; the API Audit module carries changes made directly through the REST API endpoint.

The diagnostic pairing: audit logs tell you what changed and who changed it; policy hit logs tell you what the traffic did as a result. Note that hit logs and visualization are not synchronized in multi Prism Central DR, so on a remote Prism Central a synced policy has an audit trail but no hit logs.

Complementary PC VM logs under /home/nutanix/data/logs: alert_manager.*, aplos.out and aplos_engine.out for the v3 API gateway and engine, catalina.out, genesis.out, and cron_time_check.log which checks time difference across PC VMs on a multi VM instance every minute.

Sources
TN-2094 Flow Network Security tech note, Flow Network Security Logs and Audits with Syslog · Prism Central Alert Reference 7.3, Alert and Event Monitoring: Prism Central Logs and Audit Log Events · Flow Network Security Guide 5.2.0, Flow Network Security and Disaster Recovery: FNS Next-Gen Support for Multi-Prism Central Disaster Recovery

Objective 4.3: Identity-Based Policy Failures

ID firewall categorisation flow, and where it breaks User logs on to a VDI VM Domain controller writes a logon event Prism Central reads it over WMI / LDAP VM placed in ADGroup categories 1   The DC is not in the list. Every domain controller must be added manually, one at a time. 2   Credential caching. Cached logon with an unreachable DC generates no event at all. 3   The VM has an AppType category. ID based security will not categorise it. 4   VM inclusion criteria filtered it out by VM name. 5   Wrong group type. Security Groups only. Distribution Groups are not supported. 6   DC connectivity or service account: alerts 803003 and 803007. And remember there is no logoff detection. The policy persists until the next logon.
A user in several ADGroups puts the VM in several categories at once. That is correct behavior, and the applied policy is the union of inbound and outbound rules across all of them.
Knowledge

Verify AD configuration · Enable and manage referenced AD groups

AlertSaysFix
803003Lost connectivity to a domain controller: not reachable and accepting LDAP or WMI; permissions issue; or DC not running or fully bootedCheck network connectivity from PC to the DC; check the DC accepts WMI and LDAP; check the service account is active with both WMI and LDAP permissions and the right password. KB-10219
803005Did not recover state after reconnecting. Either too much time passed, or the DC event log rolled overAll active Nutanix VDI VM users log out and log back in. KB-10220
803007Service account invalid: password changed, or account deletedUpdate the password in Prism, or confirm the account exists

Configuration to check, at Prism Central Settings > ID Based Security

  • Directory URL is the LDAP address including the port number.
  • Service Account Username in user_name@domain.com format. Never the Domain Admin account.
  • Every domain controller added manually, by IP or host name. DNS on Prism Central is required for host names to work.
  • Prerequisites: microsegmentation enabled; WMI access from PC to all DCs through both the network and AD firewalls; AD functional level Windows Server 2008 R2 minimum; Security Groups only; NTP on both AD and Prism Central; AOS 5.17 and PC 5.17 minimum.
  • Service account permissions on every DC: Distributed COM Users and Event Log Readers; Local Access and Remote Access on WMI in DCOM Config; Enable Account and Remote Enable on Root\CIMV2, applied to this namespace and subnamespaces; then net stop winmgmt and net start winmgmt.
Sources
Flow Network Security Guide 5.2.0, VDI Policy Configuration: VDI Policy Configuration · Flow Network Security Guide 5.2.0, VDI Policy Configuration: Configuring Active Directory Domain Services · Flow Network Security Guide 5.2.0, VDI Policy Configuration: Configure Service Account for ID Firewall · Flow Network Security Guide 5.2.0, Enabling Microsegmentation: Enabling Microsegmentation · Prism Central Alert Reference 7.3, Alerts/Health checks: Network
Knowledge

Validate that group memberships have been applied to a policy

  1. Policy type. Must be Application Secure Entities with Secure VDI Groups only selected. Without it, ADGroup categories are not driving it.
  2. Scope. FNS does not support VDI policy for a VPC scope. You can attach a VDI VM to a VPC or overlay network, but a VDI policy with VPC scope does not protect the VDI VMs. A VDI policy that silently does nothing is very often this.
  3. Default policy. ADGroup:Default applies rules before anyone logs on. If VMs are protected before logon but not after, or the reverse, check this.
  4. No visualization. VDI policies do not support it, so verification comes from the configuration, the category on the VM, and the policy hit logs.
  5. The union rule. A policy that looks too permissive may be correct: another ADGroup the user belongs to is contributing rules.
Role mapping is a different mechanism The Configuring a Role Mapping reference documents the Prism Element directory role mapping workflow (roles Viewer, User Admin, Cluster Admin, Backup Admin; values case sensitive, comma separated, no spaces, no domain suffix). Note that when role mapping is not defined for an authorized service directory, all users in that directory receive full administrator permissions, and with multiple maps the most specific rule wins. VDI and ID firewall configuration is a Prism Central workflow, not this one.
Sources
Flow Network Security Guide 5.2.0, VDI Policy Configuration: VDI Policy Configuration and Creating a VDI Policy · Flow Network Security Guide 5.2.0, Enabling Microsegmentation: Limitations · Nutanix Security Guide 7.3, Security Management Using Prism Element: Role Mapping, Configuring a Role Mapping, Editing a Role Mapping

Memorize: section 4

  • IPv6 blocked by default and stays blocked in monitor mode if left blocked.
  • Application policies do not block ARP or L2 broadcast. Isolation policies do.
  • Use AHV IPAM with security policies; otherwise DHCP and ARP snooping introduce a protection gap.
  • Hit logs: off by default, per policy, AHV host sourced, not generated when both source and destination are in an inbound or outbound category, isolation only in monitor mode.
  • TCP 9446 for connection tracking data. flow_data Kafka container, do not delete.
  • Service insertion: enforce only, application policies only, NC managed VLAN only, IPv4 unicast only.
  • MTU 1442 / 1392 / 1356 / 1306. vs0 1500 to 9000. Physical switch around 9216. Never the CVM.
  • ID firewall alerts 803003 (KB-10219), 803005 (KB-10220, log out and back in), 803007.
  • AD 2008 R2 minimum, Security Groups only, no logoff detection, one user per desktop VM.
  • VDI: no VPC scope, no visualization, ADGroup key, ADGroup:Default for pre logon, union of rules.

Comments

Leave a Reply

Discover more from VWannabe

Subscribe now to keep reading and get access to the full archive.

Continue reading