วันเสาร์ที่ 11 มิถุนายน พ.ศ. 2554

Advanced Configuration options for VMware High Availability


Purpose


In the majority of environments, VMware High Availability (HA) default settings do not need to be changed. However, depending on your specific environment you may need to modify some HA options. This article describes the different configuration options available and how to apply them. 

Resolution

Note: Not all configuration variables work in all versions of VirtualCenter/vCenter Server. As new variables are introduced in newer releases, they remain throughout later versions.

Applying a VMware HA customization

To access the various customizations available:
  1. Login to vCenter Server with VMware Infrastructure/vSphere Client as an administrator.
  2. Right-click the Cluster in the Inventory.
  3. Click VMware HA.
  4. Click the Advanced Options button.
  5. Enter Option and Value fields as appropriate (see below).
  6. Click OK.
  7. Click OK again.
  8. Wait for the Reconfigure Cluster task to complete and then right-click the Cluster again from the Inventory.
  9. Click Properties.
  10. Disable VMware HA and wait for the Reconfiguration Cluster task(s) to complete.
  11. Right-click the cluster and Enable VMware HA to have the settings take effect.

VMware High Availability Advanced options

These settings are available in VirtualCenter 2.0.0 and above:
  • das.defaultfailoverhost = 
    This option/value pair is used to set a preferred failover host, where  represents the short name of the preferred host. The host specified is used as the first choice in case of a failure. However, if there is insufficient capacity VMware HA automatically selects an alternate host.
  • das.isolationaddress = 
    This option/value pair changes the default isolation address, where  represents the IP address that is to be used as the isolation address. By default the address used is the Default Gateway address for the ESX host because it is a highly available address. This address is queried as one of the items in determining if an isolation response has occurred on the host, thus if this parameter is changed be sure to use a reliable, highly available IP address with as few failure points between it and the ESX host as possible.
These settings are available in VirtualCenter 2.0.2 and above:
  • das.failuredetectiontime = 
    This option/value pair changes the default failure detection timeout, where  represents the failure time in milliseconds. VMware HA uses this timeout in declaring an isolation response, and does not declare a host as isolated until this timeout has been reached without any heartbeats received. By default the default failure detection time is 15 seconds (15000 ms). However, another common alternative is 60 seconds (60000 ms).
  • das.usedefaultisolationaddress =  

    This option/value pair disables the use of the default gateway as an isolation address, where  is either true or false. By default this value is set to true. This parameter is generally used in conjunction with thedas.isolationaddress1 to das.isolationaddress10 parameter(s) listed below.
  • das.isolationaddress1 to das.isolationaddress10 = 
    These option/value pair(s) specify more than one alternate isolation address for VMware HA to use, where represents the IP address to be used for isolation detection. When using more than one isolation address it is recommended that the das.failuredetectiontime parameter be increased to ensure proper failover detection can occur. Also, although up to 10 different isolation addresses can be specified one or two addresses should be sufficient for proper failover detection. For more information on setting multiple isolation addresses, see Setting Multiple Isolation Response Addresses for VMware High Availability (1002117).

    Note: The 
    das.isolationaddress parameter is still supported if you are not using more than one alternative isolation address.
These settings are available in VirtualCenter 2.5.0 and above:
  • das.powerOffOnIsolation = 

    T
    his option/value pair overrides the default isolation response setting to shutdown all the virtual machines when an isolation response occurs, where  is either true or false. By default this value is set to true. If changed to false all virtual machines will remain powered on in case of isolation.
  • das.vmMemoryMinMB = 

    T
    his option/value pair overrides the default memory slot size value used for admission control for VMware HA, where  is the amount of RAM in MB to be used for the calculation if there are no larger memory reservations. By default this value is set to 0MB.
  • das.vmCpuMinMHz = 
    This option/value pair overrides the default CPU slot size value used for admission control for VMware HA, where is the amount of CPU in MHz to be used for the calculation if there are no larger CPU reservations. By default this value is set to 256MHz.
These settings are available in VirtualCenter 2.5.0 Update 2 and above:
  • das.conservativeCpuSlot =

    This option/value pair reverts how conservative VMware HA is in regards to vCPU when calculating slot size for admission control, where  represents either a value of true or false. By default in VirtualCenter 2.5.0 Update 2 this option is false to make the admission control less conservative. If set to true it reverts to the behavior of admission control as it was VirtualCenter 2.5.0, and VirtualCenter 2.5.0 Update 1.
  • das.allowvMotionNetworks =

    This option/value pair allows vMotion networks to be considered for VMware HA usage, where  represents a value of true or false. This parameter enables a host that only has one Network card configured for management and vMotion combined to be properly configured for VMware HA. By default this value is false, and any vMotion network is ignored.
  • das.allowNetwork[...]

    This option enables the use of port group names to control the networks used for HA. You can set the value to be "Service Console 2" or "Management Network" to use those port group names in the networking configuration.

Additional Information

For a list of supported advanced options, see Customizing VMware HA Behavior in the VMware vSphere 4.0 Availability Guide.

Tags

ha-advanced-options

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น