Host Vsan Health System Vsan Host Query Run Iperf Server
Run the network performance test server side program to act as the receiver to receive the packet from sender.
Required privileges: System.Read
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case HostVsanHealthSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"VsanHostQueryRunIperfServerRequestType Object"
True to test mutlicast network performance. False to test unicast network performance.
The server IP binding to in the test
The duration of the network performance test. Default is 15 seconds if not set.
The network performance test result
"VsanNetworkLoadTestResult Object"
The host name
The host network load test status.
For multicast, the status will be in red if the speed is less than 20 MB/s, the status will be yellow if the speed is between 20MB/s and 50MB/s and it's green if the speed is larger than 50MB/s; For unicast, the status will be red if the speed is 0 Mb/s, and yellow if the speed is less than 850 Mb/s, the status will be green if the speed is larger than or equal to 850 Mb/s.
True indicates the host will act as the sender to send the network packets to other host(s) in the network performance test
If the host acts as the sender, it's the value for the maximum achievable bandwidth and if the host acts as the receiver, it's the value for the actual network bandwidth in byte per second in the test
The total received or sent packet bytes in the network performance test
The number of lost datagrams in the network performance test.
This value will only be set for the host acting as receiver
The percentage for the lost datagrams in the network performance test.
This value will only be set for the host acting as receiver
The total number of sending datagrams in the network performance test.
This value will only be set for the host acting as receiver
The network packet jitter in millisecond in the network performance test.
It shows the average packet latency between sender and receiver. This value will only be set for the host acting as receiver
Failure
"MethodFault Object"
Fault which is the cause of this fault.
Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/HostVsanHealthSystem/{moId}/VsanHostQueryRunIperfServer