For result interpretation
Key Points
'Perftest' provides measurements of available bandwidth for HCX tunnels.
HCX
Initial Setup Validation
Migration Planning
Performance Troubleshooting
Network Changes
Capacity Planning
Regular Health Checks
Multi-site Comparisons
Vendor SLA Verification
Application-Specific Requirements
Disaster Recovery Testing
Running a perftest helps administrators gather concrete data on HCX tunnel performance, enabling informed decision-making and ensuring optimal hybrid cloud operations.
The `perftest` command in VMware HCX allows testing to be performed between HCX appliances. This guide will walk you through the process of accessing the HCX Command Line Interface (CLI) and running different perftest commands.
Prerequisites
Access the HCX Manager
Enter the HCX CLI (CCLI)
Once logged in as root, enter the following command to access the HCX CLI:
ccli
The prompt will appear
ccli>
List Deployed Appliances
To see a list of all deployed HCX appliances, use the following command:
list
This will display a table with information about each appliance, including their IDs, names, and IP addresses.
Select an Appliance
Choose the appliance to run the perftest on. Note its ID from the list.
Use the `go` command followed by the appliance ID to select it:
go <appliance_id>
For example
go 0
The prompt should change to indicate control of the selected appliance similar to
[admin@hcx:SM_7719b17e_b6bac65e-IX-I1]
Now that an appliance is selected perftest can be ran. Here are some examples:
Basic site-to-site performance test
perftest site
Run a site-to-site test with multiple flows
perftest site -P <num_of_flows>
Replace `<num_of_flows>` with the desired number of parallel flows.
Test IPsec tunnel performance
perftest ipsec
Test uplink performance
perftest uplink
Check reachability between appliances
perftest reachability
Run WAN optimization performance test
perftest wanopt
Run all performance tests
perftest all
After running a perftest command, there will be a detailed output including:
Pay attention to the "Bandwidth" column in the results, as it shows the achieved throughput for each direction of the test.
Remember to use these tests responsibly and in accordance with organizational policies and network management practices.