When attempting to put a vSAN Host in Maintenance Mode you will see the error:
Error massage :---General vSAN error. Failed to enter maintenance mode due to one or more candidate objects for migration being currently inaccessible. Retry operation in a different vSAN data migration mode.
Validation steps:
# esxcli vsan network list Interface VmkNic Name: vmk2 >> vSAN dedicated VMkernel port IP Protocol: IPv4 Interface UUID: efb99451-xxxx-xxxx-xxxx-005056011508 Agent Group Multicast Address: 224.2.3.4 Agent Group Multicast Port: 23451 Master Group Multicast Address: 224.1.2.3 Master Group Multicast Port: 12345 Multicast TTL: 5
esxcli vsan debug object health summary getHealth Status Number Of Objects--------------------------------------------------------- -----------------remoteAccessible 0inaccessible 100reduced-availability-with-no-rebuild 0reduced-availability-with-no-rebuild-delay-timer 0reducedavailabilitywithpolicypending 0reducedavailabilitywithpolicypendingfailed 0reduced-availability-with-active-rebuild 0reducedavailabilitywithpausedrebuild 0data-move 0nonavailability-related-reconfig 0nonavailabilityrelatedincompliancewithpolicypending 0nonavailabilityrelatedincompliancewithpolicypendingfailed 0nonavailability-related-incompliance 0nonavailabilityrelatedincompliancewithpausedrebuild 0healthy 0vSAN 7.x
vSAN 8.x
vmkping -I <vmk-VSAN> -d -s 1472 <IP address of the VMK vSAN of other node(s) in cluster>PING <IP address> (IP Address): 1472 data bytesrequest timed out.request timed out.request timed out.request timed out.
ping statistics for <IP Address> :Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Network Investigation in a vSAN Cluster:
Verify ICMP Connectivity:
Perform an ICMP ping test across all vSAN nodes to ensure network connectivity is stable and consistent.
Check for any packet loss or latency issues that could affect performance.
Ensure Proper Port Availability:
Confirm that all required ports for vSAN VMkernel are open and not being blocked by firewalls or other network security devices.
For the specific ports required for vSAN VMkernel traffic, refer to the official documentation https://ports.broadcom.com/home/vSAN
Network Health Check:
Check network configuration on each host to ensure they are correctly set up for vSAN, including VLAN settings, MTU (Jumbo Frames), and redundancy.
Validate the physical network devices (NICs, switches) to confirm they are configured and functioning properly.
vmkping -I vmk2 -d -s 1472 <IP address of the vSAN VMK of other node in cluster>PING <IP address> (IP Address): 1472 data bytes1480 bytes from <IP Address> : icmp_seq=0 ttl=255 time=0.304 ms1480 bytes from <IP Address> : icmp_seq=1 ttl=255 time=0.341 ms1480 bytes from <IP Address> : icmp_seq=2 ttl=255 time=0.259 ms
vmkping -I vmk2 -d -s 8972 <IP address of the vSAN VMK of other node in cluster>PING <IP address> (IP Address): 1472 data bytes1480 bytes from <IP Address> : icmp_seq=0 ttl=255 time=0.304 ms1480 bytes from <IP Address> : icmp_seq=1 ttl=255 time=0.341 ms1480 bytes from <IP Address> : icmp_seq=2 ttl=255 time=0.259 ms
pktcap-uw --vmk vmk2 --dir 2 --dstip < Destination vSAN VMkernel IP > -o - | tcpdump-uw -ner - ( capture the output in a file of the putty session ) nc -uvz < Destination vSAN VMkernel IP > 12321Connection to < Destination vSAN VMkernel IP > 12321 port [udp/*] succeeded!