Please provide your feedback in this short Flings' survey.

Comment thread started by Tom on Storage Performance Tester

Full comments
Dec 01, 2020

Is there any progress in this tool here? So many comments with problems but no solution can be found. Please help!

Dec 01, 2020

1. modify at line 95:
- proc.communicate(input=self._passwd)
+ proc.communicate(input=self._passwd.encode())
2. If you found that the ovftool return errors like 'Unsupported hardware family vmx-##'.
Please modify vmx-17 at line 30 in ovftemplates/sperfVMv2.ovf to the right vmx version (etc, to test on ESXi6.7 U2, change it to vmx15). And then delete ovftemplates/
18 ESXi 7.0 u1
17 ESXi 7.0 (7.0.0)
15 ESXi 6.7 U2
14 ESXi 6.7
13 ESXi 6.5

I run it in a new Linux environment. The output as below.
If you meet errors I'll help you out quickly.
haitao@haitao:~/StoragePerformanceTester/sperf$ ./ -d nhpsa_datastore
2020-12-01 13:48:03,468 - - INFO - Using primary log sperf.log.
2020-12-01 13:48:03,469 - - INFO - The test results will be put into /home/haitao/StoragePerformanceTester/sperf/results/14
Please enter the root password for
2020-12-01 13:48:05,548 - - INFO - Copy to the host.
Warning: Permanently added '' (RSA) to the list of known hosts.
2020-12-01 13:48:06,071 - - INFO - Geting basic info on
2020-12-01 13:48:14,601 - - INFO - The sperf workloads will run on stack Plugin:NMP LS:0milliseconds Driver:nhpsa Disk:ATA ST2000LM003 HN-M 0001
2020-12-01 13:48:14,602 - - INFO - Check if the VM (nhpsa_datastore_sperfVMv1) has been deployed.
2020-12-01 13:48:15,870 - - INFO - Host doesn't have a VM named nhpsa_datastore_sperfVMv1.
2020-12-01 13:48:15,871 - - WARNING - This connect is insecure. please try to add --nosslverify 0 in your tests.
2020-12-01 13:48:15,871 - - INFO - /home/haitao/StoragePerformanceTester/sperf/ovftool/ovftool --noSSLVerify -dm=thin --powerOn --X:waitForIp -ds=nhpsa_datastore --name='nhpsa_datastore_sperfVMv1' ./ovftemplates/sperfVMv2.ovf 'vi://root:ca$hc0w@'
Opening OVF source: ./ovftemplates/sperfVMv2.ovf
Opening VI target: vi://root@
- Line 178: Unable to parse 'tools.syncTimeWithHostAllowed' for attribute 'key' on element 'Config'.
Deploying to VI: vi://root@
Transfer Completed
Powering on VM: nhpsa_datastore_sperfVMv1
Task Completed
Received IP address:
- No manifest file found.
- No supported manifest(sha1, sha256, sha512) entry found for: 'sperfVMv2-disk1.vmdk'.
- No supported manifest(sha1, sha256, sha512) entry found for: 'sperfVMv2-file1.nvram'.
Completed successfully
2020-12-01 13:51:38,672 - - INFO - Deploy VM on nhpsa_datastore Complete.
2020-12-01 13:51:38,673 - - INFO - SetupVM: running command vmkfstools --createvirtualdisk 2G --diskformat eagerzeroedthick /vmfs/volumes/nhpsa_datastore/nhpsa_datastore_sperfVMv1/nhpsa_datastore_sperfVMv1_2.vmdk on the host

Dec 01, 2020

Thank you for your reply but my problem is network related:

tom@SPT:~/sperf$ ./ovftool/ovftool --noSSLVerify -dm=thin --powerOn --X:waitForIp -ds=PROD-01_Vol_03 --name='PROD-01_Vol_03_sperfVMv1' ./ovftemplates/sperfVMv2.ovf 'vi://root:PASSWD@ESXi-Host'
Opening OVF source: ./ovftemplates/sperfVMv2.ovf
The manifest validates
Opening VI target: vi://root@ESXi-Host:443/
Error: No network mapping specified. OVF networks: VM Network. Target networks:
Completed with errors

Dec 01, 2020

What are your Target Networks? Did the ovftool show that?
If you setup the network with other name other than "VM Network".
Please add --network="VM Network" while running the ovftool.

Dec 01, 2020

If you don't know the name, you can go to directory of one VM on your target server. And check what is the network name by check its vmx file.
#grep -i network CoreOs3.vmx
ethernet0.networkName = "VM Network"

or you can use the below command, but I don't know if it was same as that ovftool are going to deploy.
#esxcfg-vswitch -l

Dec 01, 2020

Yes, the ovftool reported this.

We are using distributed switches. So the VM uses a distributed port group.

The ofvtool tells me the following error using the port-group ("VM_Client_VLAN_60"):

Error: Invalid target name (VM_Client_VLAN_60) specified in net mapping. OVF networks: VM Network. Target networks:
Completed with errors

Dec 04, 2020

It seems like a network setup related issue. Would you please try to run the ovftool command?
#./ovftool/ovftool -nw="VM_Client_VLAN_60" --noSSLVerify -dm=thin --powerOn --X:waitForIp -ds=NVMD1 --name='NVMD1_sperfVMv4' ./ovftemplates/ubuntuSPerfv2.ovf 'vi://root:password@Yourserver'

If it failed, please share the output of esxcfg-vswitch -l .
By the way, please make sure you are using root/password or other identities that have the authority to deploy VMs on your target.
Looking forward to your reply.

Dec 08, 2020

I have chaned the template name to "./ovftemplates/sperfVMv2.ovf" and the datstore name to "PROD-01_Vol_03" ...

I get the same error like before!

Dec 08, 2020

Hi Tom,
I don't think this is related to the datastore name.
You may find out what is your network name. You may need to run esxcfg-vswitch -l finding out what is your network port name.

The ovftool command need to add -nw="the name" if the network port name is not "VM Network" (default).


Dec 16, 2020

I know that it is not related to the datastore name.

To repeat: we are using distributed port groups and no standard vSwitches (!!!) and I see all port-groups in vCenter (22 port-groups) and I have choosen the correct name.
So, why you are asking for the output of "esxcfg-vswitch -l"?? It gives you only the "DVS Name" and other not usefull information.