This article provides answers to frequently asked questions on running custom quiescing scripts (pre-freeze and post-thaw) inside Windows and Linux virtual machines.
VMware vSphere 6.7.x
VMware vSphere ESXi 6.0
VMware vSphere ESXi 6.5
A.
Windows:
The directory location for custom quiescing scripts on Windows is by default C:\Program Files\VMware\VMware Tools\backupScripts.d.
It will be different if VMware Tools was installed somewhere other than the default location of C:\Program Files\VMware\VMware Tools.
In general, the quiescing scripts are located in the “backupScripts.d” subdirectory of the directory where VMware Tools is installed.
To know the name of VMware Tools installation directory, please check it from the below Windows Registry:
“HKLM\Software\VMware, Inc.\VMware Tools\InstallPath”.
Linux:
The directory location for custom quiescing scripts on Linux is by default /etc/vmware-tools/backupScripts.d/.
A. The backupScripts.d directory is not created or deleted automatically when VMware Tools is installed or uninstalled in Windows or Linux virtual machine. The directory has to be created manually when you want to setup custom quiescing scripts in the virtual machine. Similarly, the directory and its files have to be removed manually after uninstalling VMware Tools.
A.
VMware Tools invokes the custom quiescing scripts in the following order before quiescing/freezing the guest file systems:
VMware Tools invokes the custom quiescing scripts in the following order after thawing/unfreezing the guest file systems:
Caution: The "backupScripts.d" directory should only contain executable scripts. Storing any other type of file or non-executable scripts in this directory may cause a failure during quiescing of the virtual machine.