Forum
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

HAlizard doesnt do what it is supposed 10 years 4 weeks ago #208

  • pielala
  • pielala's Avatar Topic Author
  • Offline
  • Posts: 14
Hi,

I'm struggling with a new setup and halizard doesn't seem to do what it should.
I have set up everything correctly AFAIK and upon simulating a failure of the master - the slave does not take over the VIP, hence storage is not available, no VMs are started and the slave reboots itself.

After the reboot it complains XenAPI is not running and I see a timeout countdown overlaying the management screen with the iscsi/drbd timer, it's probably waiting for the other drbd server to come up.. it just waits and waits forever.

/var/log/messages fragment attached

Settings:
ha-cfg get
DISABLED_VAPPS=() FENCE_IPADDRESS=8.8.8.8:4.2.2.2 MAIL_FROM=root@xenserver-metaphors OP_MODE=2
ENABLE_LOGGING=1 FENCE_METHOD=POOL MAIL_ON=1 PROMOTE_SLAVE=1
FENCE_ACTION=stop FENCE_MIN_HOSTS=3 MAIL_SUBJECT="SYSTEM_ALERT-FROM_HOST:$HOSTNAME" SLAVE_HA=1
FENCE_ENABLED=1 FENCE_PASSWD= MAIL_TO=root@localhost SLAVE_VM_STAT=0
FENCE_FILE_LOC=/etc/ha-lizard/fence FENCE_QUORUM_REQUIRED=1 MONITOR_DELAY=45 XAPI_COUNT=5
FENCE_HA_ONFAIL=1 FENCE_REBOOT_LONE_HOST=0 MONITOR_KILLALL=1 XAPI_DELAY=15
FENCE_HEURISTICS_IPS=8.8.8.8:4.2.2.2 FENCE_USE_IP_HEURISTICS=1 MONITOR_MAX_STARTS=50 XC_FIELD_NAME='ha-lizard-enabled'
FENCE_HOST_FORGET=0 GLOBAL_VM_HA=0 MONITOR_SCANRATE=10 XE_TIMEOUT=10
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by pielala.

HAlizard doesnt do what it is supposed 10 years 4 weeks ago #209

In a 2 node setup - FENCE_MIN_HOSTS should be set to 2 (you have FENCE_MIN_HOSTS=3). In this case the surviving host will not have enough votes to reach FENCE_MIN_HOSTS.

Since a 2-node pool is a special case, quorum is not possible for a single surviving node, so we use the IP heuristics as an additional vote to bring the surviving host to 2 votes (itself + quorum IP).

Try setting FENCE_MIN_HOSTS=2 and let us know if that resolves your issue.

Also, your configuration has GLOBAL_VM_HA=0, which is fine, but in this mode you have to configure each VM that should have HA. This is done with the CLI command "ha-cfg set-vm-ha <vm_name> true"

Please Log in or Create an account to join the conversation.

HAlizard doesnt do what it is supposed 10 years 4 weeks ago #210

  • pielala
  • pielala's Avatar Topic Author
  • Offline
  • Posts: 14
Roger that, thanks.

Question: why is the default FENCE_MIN_HOSTS set to 3 if this software is expressly designed for a 2 server deployment? :)

Please Log in or Create an account to join the conversation.

HAlizard doesnt do what it is supposed 10 years 4 weeks ago #211

Although most installations of HA-Lizard are in 2-host deployments, the software was written to support pools with any number of hosts.

Your point is well taken though. We will tweak some of the default settings to be 2-node friendly in the next release.

Please Log in or Create an account to join the conversation.

HAlizard doesnt do what it is supposed 10 years 4 weeks ago #212

  • pielala
  • pielala's Avatar Topic Author
  • Offline
  • Posts: 14
Thank you.

Please Log in or Create an account to join the conversation.

Last edit: by Pulse Supply.
  • Page:
  • 1