Angels Technology

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, October 24, 2012

Which esxi host will be my HA master?

Posted on 3:10 PM by Unknown

    Want to predict which host will become your high availability master?

    According to Duncan Epping's deep dive here

     The host that is participating in the election with the greatest number of connected datastores will be elected master. If two or more hosts have the same number of datastores connected, the one with the highest Managed Object Id will be chosen. This however is done lexically; meaning that 99 beats 100 as 9 is larger than 1

    Pasted from <http://www.yellow-bricks.com/vmware-high-availability-deepdiv/>


    So the host with the most datastores should win
    And if they have equal stores
    The host with the highest moid should win.


    Test A
    Here I have 4 hosts.
    Host 3 has 4 datastores every other host has 1
    Host3 should become the ha master

    Currently there is no HA master as it is off






    Turning on HA
    It installed on host 1 first so it came up first so it was the master.



    This is after it finished




    So the first host to have ha installed is the one that gets to be the master

    TestB
    What if we bump that one off?
    Will  #3 then become the master?








    Yes. As predicted #3 is the master


    TestC

    Now the other 3 hosts have the same number of datastores.
    So if we bump off 3 then when one will be the master?
    Lets look at the MOID
    Host 1 should be the master since it has a moid of 98.  remember lexically 94 > 103
    Host 3 moid 98 is already the master so it doesn’t count in our guess of who the master will be.






    Bump off #3

    Number 1 is the master



    Yes. As predicted #1 is the master


Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in esx, esxi, HA, vmware, vsphere | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Copy and paste clipboard items to and from your vsphere virtual machines and your pc
    Wanted to copy and paste text between your pc and a vm? Now you can. Power off your VM. Go to the vm properties->Options->Advanced-...
  • Interesting look at Win cpu usage vs Vmware CPU usage
    I came across this scenario: The windows task manager shows the cpu of the vm pegged at 100%. The vmware performance monitor says that ...
  • Storage comparison
    One of Cormac Hogan s posts provides a good basis for compares of different storage types for vmware Vsphere and how they stack up. He dis...
  • E1000 vs e1000e in vmware : notes
    Performance difference " The performance should be about the same, the reason for the change is that Intel is not longer supporting the...
  • vCenter and Hosts Disconnected -- Reason: Cannot verify the SSL thumbprint
    Just saw this over on the forums, but if your hosts are getting this error: Cannot syncronize the host <hostname.fqdn>, Reason: Cannot...
  • Vmware esxi : Intel Pro/1000 ET quad port adapter and ISCSI
    I've seen issues pop up with intel quad ports here and there on the forums so I thought it would be good to note down what worked here...
  • Vmware DRS anti affinity rules wont let you enter maintenance mode for a esxi host
    You have a DRS rule that specifies that 2 vms need to be kept apart: In this case: 250-FT and 250sql3 For larger clusters with multiple...
  • Snapshot creation /reversion/ deletion/ listing with vim-cmd
    Here we are going to use the command line on a esxi host to create, revert, and delete snapshots. First ssh into your host. Important thi...
  • shutdown your esxi host using powercli
    if you want to shutdown a host using powercli: Set-VMhost -VMhost HOSTNAME -State Maintenance get-vmhost HOSTNAME | Foreach {Get-View $_.ID}...
  • Setting your esxi host to restart automatically after crash or purple screen aka psod
    The default and recommended setting is to leave the purple screen of death up to help you notice that het host has died and also leave t...

Categories

  • 5.1
  • backup
  • cloud
  • cluster
  • command line
  • console
  • converter
  • cpu
  • datacenter
  • datastore
  • datastore. rdm
  • DCUI
  • dell
  • disaster recovery
  • display
  • DR
  • e1000
  • e1000e
  • ec2
  • esx
  • esxi
  • esxtop
  • extent
  • Good for enterprise
  • HA
  • hcl
  • host
  • HP
  • ibm
  • iometer
  • iscsi
  • iso
  • linked mode
  • logs
  • MAC
  • memory
  • NFS
  • NIC
  • NTP
  • ova
  • ovf
  • p2v
  • pcie
  • performance
  • phone
  • powercli
  • powershell
  • PSOD
  • raid
  • RDM
  • resource pool
  • rvtools
  • scsi
  • sddc
  • snapshots
  • SQL
  • SRM
  • ssh
  • storage
  • svmotion
  • syslog collector
  • v2v
  • vapp
  • vcenter
  • vcloud
  • vcp
  • veeam
  • VI console
  • vm
  • vmdk
  • VMFS
  • vmkfstools
  • vmotion
  • VMUG
  • vmware
  • vmware tools
  • vmware.esxi
  • vmxnet3
  • vsphere
  • vum
  • web client
  • windows

Blog Archive

  • ►  2013 (28)
    • ►  October (2)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (14)
    • ►  May (1)
    • ►  April (1)
    • ►  March (5)
    • ►  February (1)
    • ►  January (1)
  • ▼  2012 (138)
    • ►  December (2)
    • ►  November (13)
    • ▼  October (26)
      • Storage comparison
      • shutdown your esxi host using powercli
      • Esxi : Ping vs vmkping : same thing
      • Vmware esxi : Intel Pro/1000 ET quad port adapter ...
      • Check if a datastore is part of a datastore clust...
      • Which esxi host will be my HA master?
      • Get vm ips via powercli
      • notes: HA responses to storage failure
      • notes: Check VAAI status with VCLI and VAAI hardw...
      • Suppress esxi shell and ssh warnings for your esxi...
      • Vmware Converter : P2V : which controller to selec...
      • Find your esxi High availability (HA) Master
      • VM stuck while powering on? Have a raw disk?
      • Powercli : get list of powered off virtual machine...
      • Powercli script to check vmotion compatibility to ...
      • someone else's Pros and Cons for NFS vs iSCSI for ...
      • VMs with snapshots boot faster than without snaps
      • Get all the ips , mac addresses, and other network...
      • How to tell if your cpu and bios is Intel VT or AM...
      • How to get a drive in windows larger than 2tb when...
      • Localized language settings for vsphere web client
      • Getting error 29113 while trying to upgrade to Vce...
      • VM script : To Get the VM data with Snapshot, Data...
      • Using powercli to commit snapshots to your virtual...
      • Setting your esxi host to restart automatically af...
      • Dell 5.1 esxi iso for vmware
    • ►  September (19)
    • ►  August (35)
    • ►  July (34)
    • ►  June (9)
Powered by Blogger.

About Me

Unknown
View my complete profile