服务器官方技术文章【转载】
取消
显示结果 
搜索替代 
您的意思是: 

How to Configure High Availability Feature in XenServer

cicong
兼职投稿人

How to Configure High Availability Feature in XenServer

High Availability (HA) is a set of automatic features designed manage a XenServer pool resources in the event a XenServer host becomes unreachable. This article describes the requirements for using HA within a XenServer pool, how to configure HA, and how to disable HA.

For more information regarding HA, please refer to the XenServer Administrator's Guide:
Requirements
  • A minimum of three XenServer hosts in a pool
  • XenServer versions 6.2 SP1, 6.2, 6.1, 6.0.2, or 6.0 must be installed and fully patched
  • Bonded Networking
  • Shared, Multipath Storage
  • iSCSI, NFS or Fibre Channel LUN with 356MiB (or greater) to be the Heartbeat Storage Repository (SR)
Note: For NetApp or EqualLogic SRs, manually provision an iSCSI LUN on the array (356 MiB or greater) to be used for the Heartbeat SR.
Instructions

Complete the following procedure to enable and disable HA on your XenServer pool:

  1. To enable HA for your XenServer pool (with three or more hosts), select the Pool Name/Resource Icon:
    User-added image

  2. Right-click the Pool Name/Resource Icon and select High Availability...
    User-added image

  3. Alternatively, with the Pool Name/Resource Icon highlighted, select the HA tab and select Configure HA…
    User-added image

  4. The Configure HA dialog box appears. Read the requirements before selecting Next.
    User-added image

  5. The configuration wizard scans the pool for a Hearbeat SR. If no suitable SR is found, the wizard will exit and one must establish the High Availability Heartbeat Storage Repository (per requirements).
    User-added image

  6. When an appropriate SR is found, select it and press Next.
    User-added image

  7. The configuration will present all VMs that are currently in the pool. It is from this configuration dialog will allow one or multiple VMs to be selected as to specify:

    1. The HA restart priority that defines if VMs should be – with enough resources available in the pool – Restarted,Restarted if Possible, and Do Not Restart
    2. The Restart Order - 0 being the highest - that specifies the priority of a VM (or VMs) to be started under a fail-over condition
    3. The Attempt to start next VM delay that specifies how much time should pass before starting the next priority-based VM (or group of VMs).  This is to ensure pool resources are not overwhelmed when recovering from a fail-over condition
User-added image
  1. When the HA conditions are specified, selecting Next presents a review of the HA config. Pressing Finish confirms the configuration and apply it to the pool.
    User-added image
  2. With the successful application of the HA configuration across the pool, the HA tab should show the following:
    User-added image

  3. To begin the process of disabling HA for your XenServer pool (with three or more hosts), select the Pool Name/Resource Icon:
    User-added image

  4. With the Pool Name/Resource icon highlighted, select the HA tab and select Disable HA…
    User-added image

  5. When prompted to disable HA, select YES.
    User-added image
    The HA is disabled across the pool (for each member).