We have developed a VAAI NAS (NFS) plugin in the form of a .vib file and installed it on a ESXI host. We have implemented full file clone primitive. After initiating a clone operation from VMware cVsphere Client, clone operation from VMWARE stack is getting executed first and then call is going to VAAI NAS Plugin’s clone operation. When clone is initiated from vCentre , Destination directory & vmdk files are getting created by VMware stack clone process at Destination Path. After this call is going to the REST call from Plugin which is returning an error “Directory already present” as those files are created by VMWARE native clone calls. In the VMware vSphere Client and on the host, the “Hardware Acceleration” column shows “Supported”.
Is there any way to call only clone call from the VAAI NAS plugin instead of using the VMWARE stack clone process? Or any way to bypass the VMWARE stack clone process ?
#VMWARE #VAAI #NAS #NFS #PLUGIN #VSPHERE #CLIENT #stact #native #clone #REST #ESXI #HOST
Please reach out to me for any other further queries on my personal email. ([email protected])
We tried to do the below configuration setting on ESXI
Example Commands to Enable VAAI (if supported)
Enable VAAI:
esxcli storage core device vaai status set –type clone –status enable
esxcli storage core device vaai status set –type ats –status enable
esxcli storage core device vaai status set –type zero –status enable
esxcli storage core device vaai status set –type delete –status enable
esxcli storage core device vaai status set –type exclone –status enable
Also we execute below commands for Hardware Acceleration
esxcfg-advcfg -s 1 /VMFS3/HardwareAcceleratedLocking
esxcfg-advcfg -s 1 /DataMover/HardwareAcceleratedLock
esxcfg-advcfg -s 1 /DataMover/HardwareAcceleratedMove
And also esxcli storage nfs list will show below output with Hardware Acceleration Supported
Volume Name Host Share Vmknic Accessible Mounted Connections Read-Only isPE Hardware Acceleration
testvastclone 8vips.tmphx-20.vastdata.lab /calvastclone None true true 1 false false Supported
CalCloneTest 8vips.tmphx-20.vastdata.lab /calsoftclonetesting None true true 1 false false Supported
TMPHX20-vmw-calsoft(Physical) 8vips.tmphx-20.vastdata.lab /vmw-calsoft None true true 1 false false Supported
RohanPatil is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.