8/22/2021

Vmware Windows Cluster Shared Diskclevervia

48
Vmware Windows Cluster Shared Diskclevervia

Virtual — if you want to share a virtual disk between VMs on the same ESXi host; Physical — used when you need to share vmdk file between VMs on different ESXi hosts (if you have multiple ESXi hosts in VMWare vSphere cluster then you must select this bus sharing mode). None mode is used only for not clustering Multi-writer drives. A shared disk is required as a quorum disk. In a cluster of virtual machines across physical hosts, the shared disk must be on a Fibre Channel (FC) SAN, FCoE or iSCSI. A quorum disk must have a homogenous set of disks. This means that if the configuration is done with FC SAN, then all of the cluster disks should be FC SAN only. For testing purposes, per ESXi host, a Windows 10 VM which is connected to a dedicated vhd, and a shared vhd via a separate SCSI adapter, which has bus sharing set to Physical; Each Win10 VM has VMWare Tools, and so also all proper drivers installed, and disk cache disabled; Now I have the following issue.

Vmware Windows Cluster Shared Disk

NOTE: The content of the Knowledge Base Article has been changed significantly. This new content completely replaces the old revision of the KB.
VMware provides customers flexibility and choice in architecting high-availability solutions using Windows Server as a guest operating systems (OS). VMware vSphere supports Windows Server Failover Cluster (WSFC) with shared disk by transparently passing to the underlying storage SCSI-3 Persistent Reservations (SCSI3-PRs) SCSI commands, required for WSFC node (VM participating in a WSFC, further references as VM node) to arbitrate an access to a shared disk. It is a general best practice to ensure that each node participating in WSFC has the same configuration.
The information in this article is applicable to configurations when VMs hosting nodes of a WSFC (VM nodes) are located on different ESXi hosts – known as “Cluster-across-box (CAB)” in VMware official documentation. CAB provides high availability (HA) both from the in-guest and vSphere environment perspective. We do not recommend a configuration where all VM nodes are placed on a single ESXi host (so called “cluster-in-a-box”, or CIB). The CIB solution should not be used for any production implementations – if a single ESXi host will fail, all cluster nodes will be powered off and, as the result, an application will experience downtime.
This KB assumes that all components underneath the WSFC-based VMs are architected to provide the proper availability and conform to Microsoft’s supportability as it relates to the in-guest configuration.
NOTE: A single WSFC consisting of both physical nodes and virtual machine is supported by both Microsoft and VMware. For more information, select your version from https://kb.vmware.com/s/article/1004617 and review the 'Cluster Physical and Virtual Machines' section in the Setup for Failover Clustering and Microsoft Cluster Service Guide.

Learning has never been so easy!

This is simple step by step for adding shared storage to virtual machine on VMware ESXi using vCenter.
I am doing this for Creating a MS SQL cluster for MS SharePoint 2013.

11 Steps total

Step 1: Edit Settings of first vm click add.

Step 2: Select Hard Disk, select create new virtual disk

Step 3: Modify Disk size and select think provisioned Eager Zeroed and select a datastore with browse

Step 4: Change the Virtual device node to SCSI (1:0) or higher you cannot use (0:1)

Vmware Failover Cluster Shared Disk

Step 5: Then click finish to create the disk.

Step 6: You then need to shut the machine down to modify the SCSI controller options

Set them as required for you matching VM type

Windows Server 2003 SP1 and SP2 LSI Logic Parallel
Windows Server 2008 SP2 and above LSI Logic SAS

You need to change the SCSI Bus Sharing to Virtual and click okay.

Step 7: Adding the same disk to second server. Add HDD again but on select a disk choose the Use an existing disk option

Step 8: Click browse to select the same disk you created in stage 1 it will be in a folder with the same name as the first server.

Step 9: Change the SCSI option to match the number on the disk SCSI (1:0)

Step 10: Check the SCSI controller is set up in the same way as step 6 and step 7

Vmware Cluster Setup

Step 11: Repeat with all additional disks but increase SCSI numbers ie (1:1) (1:2) etc

There is much more info and more complex guides on the VMware website
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1037959

4 Comments

Vmware Linux Cluster Shared Disk

  • Jalapeno
    seshathriswamy Sep 23, 2014 at 08:44pm

    Useful update. i also worked on this thanks for the posting.

  • Cayenne
    jim.mcneil Feb 4, 2015 at 12:10pm

    Like finding things like this for reference. thanks for posting.

  • Anaheim
    Ken4869 Nov 13, 2015 at 05:44pm

    The end of the VMware KB mentioned in the conclusion has links to what I found as the most helpful article. For VMware/ESXi 5.5 Update 2: http://pubs.vmware.com/vsphere-55/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-552-setup-mscs.pdf

  • Pimiento
    xyllywyt Mar 1, 2017 at 01:08am

    Were there any special attributes on the disk inside windows itself. EG, marking it as shared or did Windows auto detect it ? Max dirt bikefree flash games.