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

TOPIC:

Best Way to Test HA? 7 years 4 months ago #1093

  • tyh-chris
  • tyh-chris's Avatar Topic Author
  • Offline
  • Posts: 21
Hi,

I've finally got HA-Lizard 2.1.0 installed correctly on my 2-node XenServer 7.0 pool. I've transferred my VMs to the new HA iSCSI volume, I've set global_vm_ha to 0 and have specified which of my VMs I'd like to have high availability.

What is the best way to emulate a scenario where my primary server fails?
Could I just pull the ethernet cables at the back?
What would be the procedure to get it back online afterwards?

Thanks

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

Best Way to Test HA? 7 years 4 months ago #1101

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
Running through test scenarios is best done on a test pool.

Attached are some of the basic scenarios we test and the expected results.
Attachments:
The following user(s) said Thank You: tyh-chris

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

Best Way to Test HA? 7 years 3 months ago #1102

  • tyh-chris
  • tyh-chris's Avatar Topic Author
  • Offline
  • Posts: 21
Great test data, thank you.

If I lose the master temporarily, and the slave becomes the new master and starts hosting the VMs, what happens when I eventually get the old master back online? Will it take on the role of slave automatically? Is there a best practice for this scenario?

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

Best Way to Test HA? 7 years 3 months ago #1105

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
The old master will rejoin the pool as a slave in this scenario.

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

Best Way to Test HA? 6 years 11 months ago #1320

Hi, how did you solve your problem generated by converting local storage to iSCSI ?
Seems i have the same errors like you.
I also found that solution to manually forget the local storage and then appear that HA-Lizard installed correctly and now the first sync is running.

The only problem i have is "No LUN's were found on 10.10.10.3"

Thanks

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

Best Way to Test HA? 6 years 10 months ago #1331

To reasing LUN use

tgt-admin --dump | grep -o "backing-store \(.*\)" | sed -e "s/^backing-store \(.*\)$/\1/"

and nothing on replay


tgt-admin --update ALL
service tgtd restart

to see if running
tgt-admin --dump | grep -o "backing-store \(.*\)" | sed -e "s/^backing-store \(.*\)$/\1/"

will echo

/dev/drbd1

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

  • Page:
  • 1