vSphere and MSCS

Administration, Storage, Tips and Tricks Add comments

Many of my users out there run Microsoft Cluster Services on ESX.Β  A great questions was asked of me today: have the rules changed with running MSCS on vSphere?Β  The answer is: a little.

There are 3 scenarios of MSCS clusters and ESX: Cluster-in-a-box (both MSCS nodes are on the same physical host – great for testing), cross-host (where each of the MSCS node VMs resides on different ESX hosts), and physical-virtual (where one MSCS node is physical, one is virtual).Β  The requirements for MSCS can change, even in the minor updates, so check the documentation often.Β  Here’s my compiled list of requirements/tips for MSCS on ESX 4.0:

  • You are still limited to two-node clusters with MSCS on ESX 4.
  • From a storage perspective, you can use local storage (for cluster-in-a-box) or Fiber Channel (for cross-host or physical-virtual clusters).Β  There is still no support for NFS or iSCSI (I personally think this is because FC and local storage have more predictable performance – although iSCSI is improving on this).
  • If you are doing cross-host, both hosts must be running the same version of ESX (this just makes sense really).
  • The MSCS node VMs cannot move as part of HA or DRS.Β  (HA is being a little redundant for MSCS, DRS is because MSCS is so hyper-sensitive to network connectivity that even a ping loss could failover the MSCS cluster).
  • You cannot use MSCS with Fault ToleranceΒ  (i.e. FT VM’s can reside on the same physical ESX hosts, but MSCS node VMs cannot run as FT pairs)
  • You cannot vMotion MSCS node VM’s.Β  (Same reason as DRS).
  • You cannot use N-Port ID Virtualization (NPIV)
  • If you are using FC and using the native multipathing in ESX, you cannot use round robin as a path policy.
  • You must use VM hardware version 7 with ESX/ESXi 4.0 (if you migrated the VMs from ESX 3.5 or before, make sure to upgrade your VM hardware version)
  • Failover clustering with Windows Server 2008 is not supported with virtual compatibility mode RDM’s, for Win2008 use physical compatibility mode RDMs.
  • You cannot use thin-provisioned disks for the Windows OS vmdk’s, they have to be thick.
  • For Win2000 and Win2003 use LSI Logic Parallel as the controller type for the shared storage.Β  For Win2008 use LSI Logic SAS.
  • For physical-virtual MSCS clusters, use RDMs in physical compatibility mode (this just makes sense if you think about it)
  • You cannot run storage multipathing software in the VMs or on ESX (i.e. no PowerPath VE).
  • You cannot over-commit memory for the MSCS node VMs, set the Memory Reservation option for each of the nodes to the amount of memory assigned to the virtual machine.
  • Set the disk I/O timeout to 60 sec. or more (HKLM\System\CurrentControlSet\Services\Disk\TimeOutValue) in the registry.

You can find all the details and steps walking you thru the setup of MSCS on ESX in this article .Β  If you’re not on vSphere yet but you want to run MSCS nodes as VMs, you can find the proper docs for your version of ESX in a freshly updated KB article located here .

9 Responses to “vSphere and MSCS”

  1. Duncan Says:

    disk time out is set to 60 by VMware tools by the way by default.

  2. Steven Says:

    Why can thin-provisioned disks not be used for the Windows OS vmdk’s??

  3. Erik Larson Says:

    You state to use physical compatibility mode for Win2008. I assume you should also use physical mode for win2003 cluster across a box?

  4. Rick Says:

    Your first item on the list states that we are limited to 2-node clusters on ESX 4. What is the limitation? what would keep you from adding more nodes?

    I am currenty running a 3-node Windows 2008/SQL 2008 cluster on 3 ESXi 4 hosts, so I don’t think your statement is valid…

  5. Himuraken Says:

    I second Steven’s comment, why can’t a thin provisioned OS disk be used?

    Thanks for the compilation of note BTW.

  6. The VMguy Says:

    You can run more than two nodes. Only two node MSCS clusters are supported from VMware. For thin provisioned disks, I believe it’s the hyper sensitivity of the clustering that’s the issue. If you read this: http://www.vmware.com/pdf/vsphere4/r40/vsp_40_mscs.pdf and do a search for eagerzeroedthick you’ll see that support mandates that disks are created this way. Extending of the thin disks can cause a pause in the storage writes while the extension happens. MSCS is too sensitive to allow for this pause.

  7. Svertikall Says:

    ΠŸΡ€ΠΈΠ²Π΅Ρ‚. ΠŸΠΎΠ΄ΡΠΊΠ°ΠΆΠΈΡ‚Π΅, ΠΊΠ°ΠΊ пСрСвСсти Π±Π»ΠΎΠ³ с бСсплатного хостинга, Π²ΠΎΡ‚ ΠΌΠΎΠΉ Π±Π»ΠΎΠ³ Тизнь
    Π’Ρ€ΠΎΠ΄Π΅ ΠΊΠ°ΠΊ wordpress обязан с Π»Π΅Π³ΠΊΠΎΡΡ‚ΡŒΡŽ Π΄Π²ΠΈΠ³Π°Ρ‚ΡŒΡΡ Π½Π° Π½ΠΎΠ²ΡƒΡŽ ΠΏΠ»ΠΎΡ‰Π°Π΄ΠΊΡƒ, Π½ΠΎ Ρƒ мСня всС врСмя ΠΏΡ€ΠΎΠΌΠ°Ρ…ΠΈ Π² Π±Π°Π·Π΅ Π΄Π°Π½Π½Ρ‹Ρ…. Π― глянул Ρ‚Π°ΠΌ, хотя Π² php Π½ΠΈΡ‡Π΅Π³ΠΎ Π½Π΅ понимаю Π²ΠΎΠΎΠ±Ρ‰Π΅ ΠΈ ΠΏΡ€ΠΈΠ²Π»Π΅ΠΊΠ°Ρ‚ΡŒ сторонних Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚Ρ‡ΠΈΠΊΠΎΠ² ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния Ρ‚ΠΎ вСдь Π½Π΅ хочСтся. Π˜ΠΌΠ΅Π΅Ρ‚ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡ‚ΡŒ подскаТитС, ΠΊΠ°ΠΊ Π½Π΅Π±ΠΎΠ»Π΅Π·Π½Π΅Π½Π½ΠΎ пСрСнСсти Π±Π»ΠΎΠ³?

  8. Rick Says:

    Huh!? I don’t read/speak Russian…

  9. Sterlimastiv Says:

    ΠŸΡ€ΠΈΠ²Π΅Ρ‚. Π’ΠΎΠ·Π½ΠΈΠΊΠ»Π° ΠΏΡ€ΠΎΠ±Π»Π΅ΠΌΠ° – ΠΊΡƒΠΏΠΈΠ» я ΡΠ»Π΅ΠΊΡ‚Ρ€ΠΎΠ΄Ρ€Π΅Π»ΡŒ Π½Π° ΠΌΠ°Π³Π°Π·ΠΈΠ½ Ρ€Ρƒ
    А ΠΎΠ½Π° сломалась Ρƒ мСня Π² Ρ‚ΠΎΡ‚ вСдь дСнь – Π³Π°Ρ€Π°Π½Ρ‚ΠΈΠΈ практичСски Π½ΠΈΠΊΠ°ΠΊΠΎΠΉ Π½Π΅ Π΄Π°Π»ΠΈ. ΠŸΡ€ΠΎΡΡ‚ΠΎ ΠΏΠΎΡ‡Ρ‚Π° ΠΏΡ€ΠΈΡˆΠ»Π° с ΠΊΠΎΡ€ΠΎΠ±ΠΊΠΎΠΉ, Π° Ρ‚Π°ΠΌ всС Π½Π° китайском. Написал Π² ΠΌΠ°Π³Π°Π·ΠΈΠ½ Π΄Π°Π½Π½Ρ‹ΠΉ, ΠΎΡ‚Π²Π΅Ρ‚ΠΈΠ»ΠΈ, Ρ‡Ρ‚ΠΎ ΠΎΠ±Ρ€Π°Ρ‰Π°ΠΉΡ‚Π΅ΡΡŒ Π² сСрвис Ρ†Π΅Π½Ρ‚Ρ€, хотя Ρƒ мСня Π½ΠΈ Π΄ΠΎΠΊΡƒΠΌΠ΅Π½Ρ‚ΠΎΠ² Π½Π° Ρ€ΡƒΠΊΠ°Ρ… Π½Π΅Ρ‚, Π½ΠΈΡ‡Π΅Π³ΠΎ. Как Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΠΏΡ€ΠΈΡΡ‚Ρ€ΡƒΠ½ΠΈΡ‚ΡŒ Π΄Π°Π½Π½Ρ‹ΠΉ ΠΈΠ½Ρ‚Π΅Ρ€Π½Π΅Ρ‚ ΠΌΠ°Π³Π°Π·ΠΈΠ½? Π•ΡΡ‚ΡŒ Π»ΠΈ Π½Π΅ΠΊΠΈΠ΅ ΠΊΠΎΠΌΠΏΠ΅Ρ‚Π΅Π½Ρ‚Π½Ρ‹Π΅ ΠΎΡ€Π³Π°Π½Ρ‹, Ρ‡Ρ‚ΠΎ ΠΏΠΈΡΠ°Ρ‚ΡŒ. ΠšΡƒΠ΄Π° ΠΏΠΈΡΠ°Ρ‚ΡŒ, ΠΊΠΎΠΌΡƒ ΠΏΠΈΡΠ°Ρ‚ΡŒ. Ошибся, Π΄Π°, Π½Π°Π΄ΠΎ Π±Ρ‹Π»ΠΎ Π² Ρ‚ΠΎΡ€Π³ΠΎΠ²ΠΎΠΌ Ρ†Π΅Π½Ρ‚Ρ€Π΅ Π½ΠΎΡ€ΠΌΠ°Π»ΡŒΠ½ΠΎΠΌ ΠΏΡ€ΠΈΠΊΡƒΠΏΠΈΡ‚ΡŒ, хотя Π½ΡƒΠΆΠ½ΠΎΠΉ ΠΌΠ½Π΅ ΠΌΠΎΠ΄Π΅Π»ΠΈ просто Π½Π΅ Π±Ρ‹Π»ΠΎ, Π΄Π° ΠΈ дСшСвлС Π² ΠΈΠ½Ρ‚Π΅Ρ€Π½Π΅Ρ‚-ΠΌΠ°Π³Π°Π·ΠΈΠ½Π΅. А Π²ΠΎΡ‚ ΠΈ ΡƒΠΆΠ΅ сиТу Ρƒ Ρ€Π°Π·Π±ΠΈΡ‚ΠΎΠ³ΠΎ ΠΊΠΎΡ€Ρ‹Ρ‚Π°. ΠŸΠΎΠ΄ΡΠΊΠ°ΠΆΠΈΡ‚Π΅, Ρ‡Ρ‚ΠΎ Π΄Π΅Π»Π°Ρ‚ΡŒ.

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in