This article provides a standalone script and procedure to automate the enablement or disablement of Enhanced DataPath (EDP) for NSX clusters that do not utilize Transport Node Profiles (TNP). This tool is intended for environments where manual host configuration is not feasible due to scale.
For clusters utilizing TNP, refer to Enabling EDP Standard in Active Environments for the appropriate scripts.
VMware NSX 4.2.x
The standard NSX Manager UI and API workflows for EDP adoption typically rely on Transport Node Profiles. For clusters managed individually and without a global TNP, a standalone automation script is required to coordinate maintenance mode and host-switch configuration.
WARNING: This script and procedure only applies to 4.2.x. It is not for 9.x.
uens-enable-425-v2.tgz package attached to this article.uens-enable-425-v2.tgz archive to the /tmp directory of an NSX Manager.root via SSH.config.json file. Refer to the README file in the same directory for the required schema to construct the file.config.json:"switch_to_enhanced_datapath_mode": true."switch_to_enhanced_datapath_mode": false.tnp_id_to_apply field empty.Note: This script execution time varies based on the number of hosts in the cluster. Verify the switch mode in the NSX UI once execution completes.