How to Change High Availability Timeout Settings

How to Change High Availability Timeout Settings

book

Article ID: CTX139166

calendar_today

Updated On:

Description

This article describes how to increase High Availability (HA) timeout, for pools in danger of fencing with, because of existing timeout values.

Requirements

  • Licensed XenServer Pool with three or more hosts
  • A dedicated HA storage repository

Background

By default, the timeout settings for HA are configured between 30-75 seconds depending on the XenServer version. The timeout warning can be validated in the /var/log/xha.log on hosts. The data is seen on network based storage repositories. It is recommended to start configuring the setting at 90 seconds, and move higher.

Instructions

Complete the following steps to change the settings:
  1. Disable HA in the pool using CLI or XenCenter.

  2. Find the HA heartbeat SR and its UUID.

  3. Find and delete HA files from HA heartbeat SR (the heartbeat and metadata for HA).

  4. From command line, run the following command:
    xe pool-ha-enable heartbeat-sr-uuids=<SR-UUID> ha-config:timeout=90

  5. Monitor /var/log/xha.log to see timeout warnings.

Issue/Introduction

This article describes how to change HA timeout on Citrix Hypervisor