Note: Not all configuration variables work in all versions of vCenter Server. As new variables are introduced in newer releases, they remain throughout later versions.
Applying a VMware HA customization
Using the vSphere Web Client
There are three types of HA advanced options and each is set in a different way.
Version |
Name |
Description |
Reconfiguration |
Type of Option |
Cluster Configuration |
||||
5.0, 5.1, 5.5 |
das.allowNetworkX |
Allows you to specify the specific management networks used by HA, where X is a number between 0 and 9. For example if you set a value to ʺManagement Networkʺ, only the networks associated with port groups having this name are used. Ensure that all hosts are configured with the named port group and the networks are compatible. In 5.5, this option is ignored if vSAN is enabled for the cluster. |
Yes. Reconfigure HA on all hosts to have the specification take effect. |
Cluster |
5.0, 5.1, 5.5 |
das.ignoreRedundantNetWarning |
HA will report a config issue on a host if the host is not configured with redundant networks for the networks used by HA. Prior to 5.5, HA only uses management networks, while in 5.5, if vSAN is enabled, HA will use the networks configured for vSAN. Valid values are true/false. Set to true to suppress the config issue. False is assumed if the option is not set. |
Yes. Reconfigure HA on a host to have the config issue for that host cleared. |
Cluster |
5.0, 5.1, 5.5, 6.0 |
das.heartbeatDsPerHost |
HA chooses by default 2 heartbeat datastores for each host in an HA cluster. This option can be used to increase the number to a value in the range of 2 to 5 inclusive. |
Yes. Reconfigure HA on all hosts in the cluster. |
Cluster |
5.0, 5.1, 5.5, 6.0 |
das.ignoreInsufficientHbDatastore |
HA will report a host config issue if it was not able to select the required number of datastores for a host given by das.heartbeatDsPerHost. Set this option to true to suppress this warning, and false to enable it. A value of false is assumed if the option is not set. |
Yes. Reconfigure HA on all hosts in the cluster. |
Cluster |
5.0, 5.1, 5.5 |
das.includeFTcomplianceChecks |
Whether to check the cluster for compliance with Fault Tolerance as part of the cluster profile compliance check. Set this option to false if you don't plan to use FT in the cluster. A value of true enables the checks. If unset, a value of true is assumed. |
No |
Cluster |
5.5 U3 6.0 |
vpxd.das.fdmWaitForUpdatesTimeoutSec config.vpxd.das.fdmWaitForUpdatesTimeoutSec |
Timeout period for which HA waits for a response from the FDM primary node. Note: This setting needs to be applied from the vCenter Server Advanced Settings. For more information. see the Configure Advanced Settings in the vSphere Web Client section of the vCenter Server and Host Management guide. |
Yes, vCenter Server needs to be restarted. | VC |
Admission Control |
||||
5.0, 5.1, 5.5,6.0,
6.5
|
das.vmmemoryminmb
|
Value in MB to use for the memory reservation of a virtual machine if no non-zero memory reservation is set by a user. 0 is assumed if the option is not set. |
Yes |
Cluster |
5.0, 5.1, 5.5,6.0,
6.5
|
das.vmcpuminmhz |
Value in MHz to use for the CPU reservation of a virtual machine if no non-zero CPU reservation are set by a user. 32 is assumed if the option is not set. |
Yes |
Cluster |
5.0, 5.1, 5.5, 6.0 |
das.slotCpuInMHz |
Maximum value in MHz to use for CPU component of the slot size. No limit is imposed if the option is not set. In 5.1, the CPU component of the slot size can be exactly specified in the UI and the API (see the vim.cluster.slotPolicy object). Note that this option and the UI/API behave differently -- this option sets a max while the UI/API sets the exact value. If a slot policy is defined and this option is specified, the value specified by this option is ignored. |
No |
Cluster |
5.0, 5.1, 5.5, 6.0 |
das.slotMemInMB |
Maximum value in MB to use for memory component of the slot size. No limit is imposed if the option is not set. In 5.1, the memory component of the slot size can be exactly specified in the UI and the API (see the vim.cluster.slotPolicy object). Note that this option and the UI/API behave differently -- this option sets a max while the UI/API sets the exact value. If a slot policy is defined and this option is specified, the value specified by this option is ignored. |
No |
Cluster |
6.0 | das.config.fdm.memreservationmb | By default vSphere HA agents run with a configured memory limit of 250 MB. A host might not allow this reservation if it runs out of reservable capacity. You can use this advanced option to lower the memory limit to avoid this issue. Only integers greater than 100, which is the minimum value, can be specified. Conversely, to prevent problems during primary agent elections in a large cluster (containing 6,000 to 8,000 VMs) you should raise this limit to 325 MB. Note: Once this limit is changed, for all hosts in the cluster you must run the Reconfigure HA task. Also, when a new host is added to the cluster or an existing host is rebooted, this task should be performed on those hosts in order to update this memory setting. |
No | Cluster |
Restarting virtual machines |
||||
5.0, 5.1, 5.5 |
das.maxvmrestartcount |
The maximum number of times a FDM primary node will try to restart a virtual machine before giving up. Five attempts are made if this option is unset. This limit only applies if the time since the first restart attempt was made is less than das.maxvmrestartperiod. Note that FT secondary virtual machine restarts are governed by the separate parameter, das.maxftvmrestartcount.
Warning: Setting this value to a very high number creates a large amount of extra logging which can have an impact on your system log directories.
|
No |
Cluster |
6.0, 6.5 |
das.maxvmrestartcount |
The maximum number of times an FDM primary node will try to restart a virtual machine before giving up. Six attempts are made if this option is unset. This limit only applies if the time since the first restart attempt was made is less than das.maxvmrestartperiod. Note that FT secondary virtual machine restarts are governed by the separate parameter, das.maxftvmrestartcount.
Warning: Setting this value to a very high number creates a large amount of extra logging which can have an impact on your system log directories.
|
No |
Cluster |
5.0, 5.1, 5.5 |
das.maxvmrestartperiod |
The maximum amount of time (in seconds) during which a FDM primary node will attempt to restart a virtual machine after the first restart attempt failed. The time is measured from when the FDM primary node first tried to restart the virtual machine. This time limit takes precedence over das.maxvmrestartcount. No time limit is imposed if this option is unset. |
No |
Cluster |
5.0, 5.1, 5.5 |
das.maxftvmrestartcount |
The maximum number of times an FDM primary node will try to start a secondary virtual machine for an FT virtual machine pair before giving up. Five attempts are made if this option is unset.
Warning: Setting this value to a very high number creates a large amount of extra logging which can have an impact on your system log directories |
No |
Cluster |
5.0U1, 5.1, 5.5 |
das.maskCleanShutdownEnabled |
When a virtual machine powers off and its home datastore is not accessible, HA cannot determine whether the virtual machine should be restarted. So, it must make a decision. If this option is set to false, the responding FDM primary node will assume the virtual machine should not be restarted, while if this option is set to true, the responding FDM will assume the virtual machine should be restarted. If the option is unset in 5.0U1, a value of false is assumed, whereas in ESXi 5.1 and later, a value of true is assumed. |
No |
Cluster |
5.5, 6.0 | das.respectVmVmAntiAffinityRules | Respect vm-vm anti-affinity rules when restarting virtual machines after a failure. The valid values are "false" (default) and "true" | No | Cluster |
6.0 | das.maxresets | The maximum number of reset attempts made by VMCP. If a reset operation on a virtual machine affected by an APD situation fails, VMCP retries the reset this many times before giving up. | No | Cluster |
6.0 | das.maxterminates | The maximum number of retries made by VMCP for virtual machine termination. | No | Cluster |
6.0 | das.terminateretryintervalsec | If VMCP fails to terminate a virtual machine, this is the number of seconds the system waits before it retries a terminate attempt. | No | Cluster |
6.0 U3, 6.5, 6.7, 7.0 | das.reregisterRestartDisabledVMs | When vSphere HA is disabled on a specific virtual machine this option ensures that the virtual machine is registered on another host after a failure. This allows you to power-on that virtual machine without needing to re-register it manually. Note: When this option is used, vSphere HA does not power on the virtual machine, but only registers it. |
No | Cluster |
Isolation Response |
||||
5.0, 5.1, 5.5, 6.0 |
das.isolationAddressX |
IP addresses an FDM agent uses to check for isolation when no agent network traffic is observed on the network(*) used by HA, where X = 0-9. HA will use the default management-network gateway as an isolation address by default plus those specified by this advanced option as additional addresses to check. We recommend adding an isolation address for each management network used by HA.(*) Prior to 5.5, HA uses only the management network, but in 5.5 when vSAN is also enabled on the cluster, HA will use the vSAN network for inter-agent communication. |
No |
Cluster |
5.0, 5.1, 5.5, 6.0 |
das.useDefaultIsolationAddress |
Whether the default isolation address (gateway of management network) should be used when determining if a host is network isolated. Valid values are true/false. By default, the management network default gateway is used. If the default gateway is a non-pingable address, set the “das.isolationaddressX” to a pingable address and disable the usage of the default gateway by setting this option to “false”. |
No |
Cluster |
5.1, 5.5, 6.0 |
das.config.fdm.isolationPolicyDelaySec |
The number of seconds an FDM agent waits before executing the isolation policy once it has determined that the host is isolated. The minimum value is 30. If set to a value less than 30, the delay is 30 seconds. |
No |
Cluster |
5.0, 5.1, 5.5, 6.0 |
das.isolationShutdownTimeout |
The number of seconds an FDM waits for a virtual machine to power off after initiating a guest shutdown before the FDM issues a power off. If the option is unset, 300s is used. |
No |
Cluster |
6.0 | das.config.fdm.reportfailoverfailevent | When set to 1, enables generation of a detailed per-VM event when an attempt by vSphere HA to restart a virtual machine is unsuccessful. Default value is 0. In versions earlier than vSphere 6.0, this event is generated by default. | No | Cluster |
Virtual machine/App Monitoring |
||||
5.0, 5.1, 5.5, 6.0 |
das.iostatsInterval |
If an FDM detects that a sufficient number of VMtools heartbeats are missing to trigger a virtual machine's configured virtual machine/App monitoring policy, the FDM checks if any I/O have been issued in the last ioStatsInterval, and will only reset the virtual machine if no I/O occurred in this interval. Values of 0 or greater are valid. 120s is assumed if the option is unset. |
No |
Cluster |
Fault Tolerance |
||||
5.0, 5.1, 5.5 |
das.maxFtVmsPerHost |
Specifies the number of Fault Tolerance virtual machines that can be run on a host at one time. If unset, a value of 4 is used. A value of -1 or 0 disables the limit. The limit is enforced by vCenter Server when executing user initiated power ons and vmotions, and by DRS when doing initial placement and load balancing. HA does not enforce this limit to maximize uptime. DRS does not correct any violations of this limit. |
No |
Cluster |
Logging |
||||
5.0, 5.1, 5.5 |
das.config.log.maxFileNum |
Controls the number of FDM log-file rotations retained by the FDM file-based logger. The file-based logger is used by default only by the FDM when running on ESX versions earlier than ESX 5.0. If you wish to change the number of log-file rotations maintained for a pre ESX 5.0 host, set this option to the desired number of log files. For ESX 5.0 and later hosts, the FDM logs to syslog by default and so you need to use the syslog configuration mechanism to change the amount of retained logging history. However, it is possible to enable the file-based logger for ESXi 5.0 and later hosts hosts also. To do so, set this option to a valid value. If you are using vSphere 5.0 Update 1 or later, you must also set the option das.config.log.outputToFiles to true. For all ESX versions, setting the option das.config.log.maxFileNum to 1 will disable the log-file rotations. The location of log files can be changed using the option das.config.log.directory. |
Yes |
Cluster |
5.0, 5.1, 5.5 |
das.config.log.maxFileSize |
Controls the size of each log file written out by the FDM file-based logger. Files are 1 MB in size unless this option is specified. This option is used in conjunction with das.config.log.maxFileNum to control the log history. |
Yes |
Cluster |
5.0, 5.1, 5.5 |
das.config.log.level |
Controls the amount of information recorded in the logs based on severity levels None, Warning, Info, Verbose, and Trivia. |
Yes |
Cluster |
Caution: These options have a range of subtle effects and should not be used in production environments unless directed by VMware Support.
Version |
Name |
Description |
Reconfiguration |
Type of Option |
Cluster Configuration |
||||
5.0, 5.1, 5.5 |
vpxd.das.aamMemoryLimit |
Memory limit in MB for the resource pool used by HA (the aam resource pool). If unspecified, 100 MB is used. Value applies to all clusters in the vCenter Server inventory. |
Yes. HA must be reconfigured on all hosts for which the change is required. |
VC |
5.0, 5.1, 5.5 |
vpxd.das.electionWaitTimeSec |
How long does vCenter Server wait in seconds after sending the host list to a new host for vCenter Server to learn the outcome of the election. A timeout exception is thrown if the host is not connected to a primary or secondary node by the timeout. If not specified, a value of 120 seconds is used. The value can not exceed 2000 as it causes failures of HA. |
No. Applied the next time a FDM is configured. |
VC |
5.0, 5.1, 5.5 |
fdm.nodeGoodness |
When a primary agent election is held, the FDMs exchange a goodness value, and the FDM with the largest goodness value is elected as primary. Ties are broken using the host IDs assigned by vCenter Server. This parameter can be used to override the computed goodness value for a given FDM. To force a specific host to be elected as primary each time an election is held and the host is active, set this option to a large positive value. This option should not be specified at the cluster level. |
No. The new goodness value is used in the next election. |
fdm |
5.0, 5.1, 5.5, 6.0, 6.5 |
vpxd.das.sendProtectListIntervalSec |
Minimum time (in seconds) between consecutive calls by vCenter Server to the HA primary agent (it is in contact with) to request that it protect a new virtual machine. If not specified, 60s is used. This option also controls how frequently vCenter Server sends the primary node updates to the virtual machine to host compatibility information for virtual machines that are powered on when their compatibility with hosts changes. |
Yes. vCenter Server needs to be restarted after setting this option. |
VC |
5.5 |
fdm.cluster.vsanDatastoreLockDelay |
The delay (in seconds) before the vsan datastore object is "acquired". Failover of virtual machines on a datastore do not take place until the vSAN datastore has been acquired by the primary node. The delay gives time for the isolated or partitioned secondary node to communicate its powered on virtual machines to avoid duplicate power ons. The default is to wait 30 seconds, and only if there are heartbeat datastores defined. |
No. The value is read when the primary node is elected. |
fdm |
Admission Control |
||||
5.0, 5.1, 5.5 |
vpxd.das.slotMemMinMB |
vCenter Server-wide default value in MB to use for memory reservation if no memory reservation is specified for a virtual machine. Setting the cluster option das.vmMemoryMinMB for a cluster will override this value for that cluster. If this option is not set, a value of zero is assumed unless overridden by das.vmMemoryMinMB. |
No. The value is taken into account the next time admission control is done. |
VC |
5.0, 5.1, 5.5 |
vpxd.das.slotCpuMinMHz |
vCenter Server-wide default value in MHz to use for cpureservation if no CPU reservation is specified for a virtual machine. Setting the cluster option das.vmCPUinMHz for a cluster will override this value for that cluster. If this option is not set, a value of 32 is assumed unless overridden by das.vmCPUinMHz. |
No. The value is taken into account the next time admission control is done. |
VC |
6.0 |
vpxd.das.completemetadataupdateintervalsec |
The period of time (seconds) after a VM-Host affinity rule is set during which vSphere HA can restart a VM in a DRSdisabled cluster, overriding the rule. Default value is 300 seconds. |
No |
VC |
Detecting Failures |
||||
5.0, 5.1, 5.5 |
das.config.fdm.hostTimeout |
Controls the time in seconds a primary FDM waits in seconds for a secondary FDM to respond to a heartbeat before declaring the secondary host is not connected and initiating the work flow to determine whether the host is dead, isolated, or partitioned. If not specified, 10s is used. |
Yes. Reconfigure HA on all hosts. |
Cluster |
5.0, 5.1, 5.5 |
fdm.deadIcmpPingInterval |
ICPM pings are used to determine whether a secondary host is network accessible when the FDM on that host is not connected to the primary node. This option controls the interval (expressed in seconds) between pings. If not specified, 10s is used. |
In ESXi 5.0, after making a change, HA must be reconfigured on all hosts in the cluster. In 5.1 and later, No |
Cluster |
5.0, 5.1, 5.5 |
das.config.fdm.icmpPingTimeout |
Defines the time an FDM waits in seconds for an ICMP ping reply before assuming the host being pinged is not network accessible. If not specified, 5s is used. |
In ESXi 5.0, after making a change, HA must be reconfigured on all hosts in the cluster. In 5.1 and later, No |
Cluster |
5.0, 5.1, 5.5 |
vpxd.das.heartbeatPanicMaxTimeout |
This option impacts how long it takes for a host impacted by a PSOD to release file locks and hence allow HA to restart virtual machines that were running on it. If not specified, 60s is used. HA sets the host Misc.HeartbeatPanicTimeout advanced option to the value of this HA option. The HA option is in seconds. |
Yes, after setting the option, HA needs to be reconfigured on all hosts in all HA clusters. |
VC |
Restarting virtual machines |
||||
5.0, 5.1, 5.5,6.0 | das.config.fdm.policy.unknownStateMonitorPeriod Note: For vCenter Server 7.0 Update 1 till vCenter Server 8.0 Update 1, the Property name for fdm.policy.unknownStateMonitorPeriod has changed to fdm.unknownStateMonitorPeriod. Starting from vCenter Server 8.0 Update 2 onwards, the Property name has been reverted back to original fdm.policy.unknownStateMonitorPeriod |
Defines the number of seconds the HA primary agent waits after it detects that a virtual machine has failed before it attempts to restart the virtual machine. If not specified, 10s is used. | No | Cluster |
5.0, 5.1, 5.5, 6.0, 6.5 | das.perHostConcurrentFailoversLimit | The number of concurrent failovers a given FDM will have in progress at one time. Setting a larger value will allow more virtual machines to be restarted concurrently but will also increase the average latency of the Power On task. Note that for most workloads, the majority of load happens after the task completes so changing the number usually only results in a marginal change of start-to-end boot time. The default value is 32. This value was determined empirically to provide the minimum overall latency. | No | Cluster |
Virtual machine operation coordination |
||||
5.0, 5.1, 5.5 | das.config.fdm.ft.CleanupTimeout Note: Starting with vCenter Server 7.0 Update 1, the Property name for fdm.ft.CleanupTimeout has changed to fdm.ftCleanupTimeout. |
When a vSphere Fault Tolerance virtual machine is powered on by vCenter Server, vCenter Server informs the HA primary agent that it is doing so. This option controls how many seconds the HA primary agent waits for the power on of the secondary virtual machine to succeed. If the power on takes longer than this time (most likely because vCenter Server has lost contact with the host or has failed), the primary agent will attempt to power on the secondary virtual machine. If the option is not specified, 900s is used. | No | Cluster |
5.0, 5.1, 5.5 | das.config.fdm.storageVmotionCleanupTimeout | When a storage vmotion is done in an HA enabled cluster using pre 5.0 hosts and the home datastore of the virtual machine is being moved, HA may interpret the completion of the storage vmotion as a failure, and may attempt to restart the source virtual machine. To avoid this issue, the HA primary agent waits the specified number of seconds for a storage vmotion to complete or fail. When the storage vmotion completes or the timer expires, the primary node will assess whether a failure occurred. If the option is not specified, 900s is used for the timeout. | No | Cluster |
Reporting |
||||
5.0, 5.1, 5.5 | das.config.log.outputToFiles | Enable the FDM file-based logger for ESXi 5.0 and later hosts. 5.0 host log to the ESX syslog and so file-based logging is not enabled by default. This option has no affect on pre-5.0 hosts. To enable the file-based logger, set das.config.log.outputToFiles to true and das.config.log.maxFileNum to a number greater than 2. To disable file-based logging, set this option to false. | Yes | Cluster |
5.0, 5.1, 5.5 | das.config.log.directory | Sets the directory used by the FDM file-based logger. If not specified, files are written into /var/log/vmware/fdm. See the option das.config.log.maxFileNum for more information. | Yes | Cluster |
5.0, 5.1, 5.5 | das.config.fdm.stateLogInterval | Frequency in seconds a FDM logs a summary of the cluster state. If not specified, 600s (10 min) is used. | In ESXi 5.0 - Yes, HA must be reconfigured on all hosts. In ESXi 5.1 and later - No | Cluster |
5.0, 5.1, 5.5 | das.config.fdm.event.maxMasterEvents For vCenter Server 7.0 Update 1 till vCenter Server 8.0 Update 1, the Property name for das.config.fdm.event.maxMasterEvents has changed to fdm.maxMasterEvents. Starting from vCenter Server 8.0 Update 2 onwards, the Property name has been reverted back to original das.config.fdm.event.maxMasterEvents |
Defines the maximum number of events cached by the primary node. If not specified, 1000 are cached. | In ESXi 5.0 - Yes, HA must be reconfigured on all hosts. In ESXi 5.1 and later, No | Cluster |
5.0, 5.1, 5.5 | das.config.fdm.event.maxSlaveEvents Note: For vCenter Server 7.0 Update 1 till vCenter Server 8.0 Update 1, the Property name for das.config.fdm.event.maxSlaveEvents has changed to fdm.maxSlaveEvents. Starting from vCenter Server 8.0 Update 2 onwards, the Property name has been reverted back to original das.config.fdm.event.maxSlaveEvents |
Defines the maximum number of events cached by a secondary node. If not specified, 600 are cached. | In ESXi 5.0 - Yes, HA must be reconfigured on all hosts. In 5.1 and later - No | Cluster |
5.0, 5.1, 5.5 | vpxd.das.reportNoMasterSec | A vCenter Server parameter that determines how long to wait in seconds before issuing a cluster config issue to report that vCenter Server was unable to locate the HA primary agent for the corresponding cluster. If not specified, 120s is used. | Yes, vCenter Server needs to be restarted. | VC |
Note: The das.config can be prefixed to these properties, which when completed can apply to all the hosts in the cluster.