Azure-based VMware Cloud Director Availability VM protection task fails with Error:"Fails to activate NFC Host for datastore"
search cancel

Azure-based VMware Cloud Director Availability VM protection task fails with Error:"Fails to activate NFC Host for datastore"

book

Article ID: 441522

calendar_today

Updated On:

Products

VMware Cloud Director Availability - Disaster Recovery 4.x

Issue/Introduction

Virtual machine protection tasks fail when initiated from VMware Cloud Director Availability with Error: "Fails to activate NFC Host for datastore" 


Below error observed in Destination Replicator Logs( Destination VCDA Replicator (/opt/vmware/hbrsrv/log/hbrsrv.log)
<date and time>0 ERROR - [Host ID] [pc-host-monitor-4] c.v.h.r.monitoring.host.NfcHostEnabler: Failed to enable nfc host host-## in ###-####-###-#####

com.vmware.vim.binding.vim.fault.NoPermission: Permission to perform this operation was denied.

com.vmware.vim.binding.hbr.replica.fault.HbrRuntimeFault: Error for (hostIP: "ESXI IP"), (flags: retriable): Error connecting to host.; Set error flag: retriable; Failed to create NFC connection to ESXI IP, 902 via ip Any: Failed to connect to server ESXI IP:902
        at jdk.internal.reflect.GeneratedConstructorAccessor463.newInstance(Unknown Source)

Environment

VMware Cloud Director Availability 4.7.3
Microsoft Azure infrastructure

Cause

This issue occurs because an account with insufficient privileges attempted to repair the replication task, leading to a permission denial when trying to establish the NFC connection to the ESXi host.

Resolution

1) Ensure you are logged in or executing commands with a user account that has the proper administrative privileges.
2) Open your PowerShell console.
3) Execute the Repair-LocalReplicator command, specifying the individual VM names of the replicator appliances.

Reference Article for VMware Cloud Director Availability Run command glossary: https://techdocs.broadcom.com/us/en/vmware-cis/live-recovery/cloud-director-availability/4-7/availability-in-avs-4-7/availability-run-commands-in-avs/installing.html