Mobility Network Health Check is a standalone script that checks the vMotion network health on an ESXi host with a cluster membership list.
This script is available by default on ESXi hosts that are 8.0 U3 or higher.
vMotion might fail because of network configuration and/or connectivity issues.
Script Steps
Script Output
The script output is in json format and contains information for all checks that were invoked with the checks result.
Example Script Commands
Below are a few examples for script commands.
Print help:
python -m vmware.mobility.mobility_health_checks -h
Print local network config:
python -m vmware.mobility.mobility_health_checks --dump-net-config
Check local vMotion and provisioning networks config (default):
python -m vmware.mobility.mobility_health_checks
To check config for one of the networks:
python -m vmware.mobility.mobility_health_checks --provisioning
python -m vmware.mobility.mobility_health_checks --vmotion
To check connectivity to a specific IP using a specified network:
python -m vmware.mobility.mobility_health_checks --vmotion 10.170.97.5
Optionally, add the following to run the above commands without config check: --no-config-check argument
Check for Intra-Cluster Connectivity and Mobility Network Memberships
If the host is a member of a cluster, run the below command to check for intra-cluster connectivity (i.e. connectivity to all hosts in the cluster). This check runs by default during support bundle collection.
python -m vmware.mobility.mobility_health_checks --cluster-connectivity-check
To see mobility network membership (i.e. the list of all IP addresses used for intra-cluster connectivity checks)
/bin/configstorecli config current get -c esx -g health -k mobility_network_membership
Note: This list is pushed by vCenter every 12 hours (configurable) to all hosts in the cluster.