When a datastore enters a Permanent Device Loss (PDL) state, High Availability (HA) can power off virtual machines and restart them later. VMware offers advanced options to regulate the power off and restart operations for virtual machines. In the majority of environments, default settings do not need to be changed. However, depending on your specific environment you might need to modify some of these options.

Table 1. Advanced Parameters to Regulate PDL

Parameter

Type of Parameter

Description

scsi#:#.terminateVMOnPDL

ide#:#.terminateVMOnPDL

sata#:#.terminateVMOnPDL

Advanced Virtual Machine Option.

To configure, see Edit Configuration File Parameters.

Default value is FALSE.

When TRUE, this parameter powers off the virtual machine if the specified device that backs up the virtual machine's datastore enters the PDL state. HA will not restart this virtual machine. This setting overrides disk.terminateVMOnPDLDefault.

When set to DEFAULT, disk.terminateVMonPDLDefault is used.

disk.terminateVMOnPDLDefault

Advanced Virtual Machine Option.

To configure, see Edit Configuration File Parameters.

Default value is FALSE.

When TRUE, this parameter powers off the virtual machine if any device that backs up the virtual machine's datastore enters the PDL state. HA will not restart this virtual machine. This parameter can be overridden on individual device basis by the appropriate {scsi,ide,sata}#:#.terminateVMOnPDL parameter.

When set to DEFAULT, VMkernel.Boot.terminateVMOnPDL is used.

VMkernel.Boot.terminateVMOnPDL

Advanced VMkernel Option.

To configure, see Set Advanced Host Attributes in the vSphere Web Client

Default value is FALSE.

When set to TRUE, this parameter powers off all virtual machines on the system when storage that they are using enters the PDL state. Setting can be overridden for each virtual machine by the appropriate {scsi,ide,sata}#:#.terminateVMOnPDL or disk.terminateVMOnPDLDefault parameter.

Can be set only to TRUE or FALSE.

Note:

After you make changes to VMkernel.Boot.terminateVMOnPDL, reboot the host.

das.maskCleanShutdownEnabled

HA Advanced Option.

To configure, see http://kb.vmware.com/kb/2033250.

This option is set to TRUE by default. It allows HA to restart virtual machines that were powered off while the PDL condition was in progress. When this option is set to true, HA restarts all virtual machines, including those that were intentionally powered off by a user.