On this post we will describe an issue we recently had deploying BIG-IP VE versions 11, 12 and 13 on VMware ESXi 6.5.
Problem details
F5 BIGIP VE is failing to install on VMware ESXi 6.5 with error message “Failed to deploy VM: postNFCData failed: Capacity of uploaded disk is larger than requested” and “generic system failures”. On the few occasions the VM upload was successful, BIG-IP would boot and then get into a reboot loop with Kernel Panics.
Troubleshooting
This happens when we were using a browser to connect to ESXi 6.5. VMware Sphere client is not released anymore, the last release is for ESXi 6.0, so it is not officially supported for ESXi 6.5.
After some research and reading similar complains we found out the issue was not with the F5 VE, but with ESXi 6.5 and the clients (Host Client, vSphere Client, Browser, HTML5, etc).
Solution
The suggested workaround was to use OVFTool. This tool is a CLI utility that can be installed on Windows, Linux and MAC.
The way to run ovftool and parameters is shown below:
$ ovftool [parameter] source target
Parameter | Function |
-n / –name | Target VM name |
-vf / –vmFolder | Folder for storing the VM |
–acceptAllEulas | Automatically accept EULA |
-ds / –datastore | Target datastore |
-dm / –diskMode | Disk provisioning mode (for vSphere: thin, thick or eagerZeroedThick) |
–net:NIC-name:portgroup | Network binding (portgroup is mapped to NIC name) |
–ipProtocol | IP protocoll: IPv4, IPv6 |
–prop | Assigning an OVA/OVF parameter (e.g. Root password) |
–deploymentOption | Selecting a vApp configuration (if supported by template) |
–powerOn | Turning on VM after provisioning |
The target locator needs to have a specific schema. Some examples for vSphere:
vi://myvcenter/mydatacenter/host/mycluster
vi://admin:admin@myvcenter/mydatacenter/host/mycluster
Additional examples can be found in the utility online help:
$ ovftool -h | less
$ ovftool -h locators | less
$ ovftool -h examples | less
The OVA/OVF source does not need to be stored on the local hard drive, it can also be downloaded from a web server (http://path, https://path) or FTP server (ftp://pfad).
After some try and error, we got with the right command for installing the BIG-IP VE:
ovftool –acceptAllEulas -dm=thin -n=”BIG-IP-LAB” –net:Management=”VM Network” –net:External=”VM Network” –net:Internal=”VM Network” –net:HA=”VM Network” /vmware/ISO/BIGIP-13.0.0.0.0.1645.ALL-scsi.ova vi://root@1.2.3.4
You just need to replace the OVA file name and path and IP address of your ESXi server to match your environment. You can also map the correct VMWare networks to the correct interfaces with the –net switch when you run the tool, or just assign all the interfaces to a Network and then later modify the interface settings depending on your network topology.
If you need any assistance or help installing Virtual Appliances on VMware, don’t hesitate to contact us.