{"id":551,"date":"2011-07-08T21:52:55","date_gmt":"2011-07-09T04:52:55","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=551"},"modified":"2011-07-08T21:52:55","modified_gmt":"2011-07-09T04:52:55","slug":"vmware-esxi-and-windows-2008-r2-cluster-in-a-box","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=551","title":{"rendered":"VMware ESXi and Windows 2008 R2 Cluster in a box"},"content":{"rendered":"<p>Software: VMware ESXi 4.1 Update 1, Windows 2008 R2.<br \/>\nCluster Members: VMCLMEM01, VMCLMEM02.<br \/>\nCluster Name: CL01.<\/p>\n<p>In the vSphere client, you need to create a virutal network to support the cluster heartbeat communication.<br \/>\nClick on your ESXi host, and then the Configuration tab.<br \/>\nSelect Networking under Hardware.<br \/>\nThen Add Networking&#8230;<br \/>\nConnection Type: Virtual Machine<br \/>\nCreate a virtual switch.<br \/>\nNetwork Label: Private<\/p>\n<p>Create new virtual machine from the vSphere Client:<br \/>\nOptions:<br \/>\nTypical<br \/>\nName: VMCLMEM01<br \/>\nDatastore<br \/>\nGuest Operating System: Windows 2008 R2<br \/>\nCreate a Disk:<br \/>\nDisk Size: 20GB<br \/>\nDisk Provisioning: &#8220;Support clustering features such as Fault Tolerance.&#8221;<br \/>\nCheck &#8220;Edit the virtual machine settings before completion.&#8221;<br \/>\nAdd&#8230;<br \/>\nHard Disk (For the cluster quorum disk)<br \/>\n&#8220;Create a new virtual disk&#8221;<br \/>\nDisk Size: 2GB.<br \/>\nDisk Provisioning:<br \/>\n&#8220;Support clustering features such as Fault Tolerance.&#8221;<br \/>\nVirtual Device Node:<br \/>\nSCSI (1:0) # You need to chose a different SCSI controller than the one you used for the system disk (My system disk in on SCSI (0:0).<br \/>\nSelect the newly added SCSI controller, and select &#8220;Virtual&#8221;<br \/>\nAdd&#8230;<br \/>\nEthernet Adapter<br \/>\nE100<br \/>\nNetwork label: Private<br \/>\nConnect at power on<br \/>\nRemove the Floppy.<br \/>\nConfigure CD to connect to the installation source (I used an ISO stored in one of my datastores.).<\/p>\n<p>Create the second cluster member from the vSphere Client:<br \/>\nOptions:<br \/>\nTypical<br \/>\nName: VMCLMEM02<br \/>\nDatastore<br \/>\nGuest Operating System: Windows 2008 R2<br \/>\nCreate a Disk:<br \/>\nDisk Size: 20GB<br \/>\nDisk Provisioning: &#8220;Support clustering features such as Fault Tolerance.&#8221;<br \/>\nCheck &#8220;Edit the virtual machine settings before completion.&#8221;<br \/>\nAdd&#8230;<br \/>\nHard Disk (For the cluster quorum disk)<br \/>\n&#8220;Use an existing virtual disk.&#8221;<br \/>\nBrowse the 2GB virtual disk you created for VMCLMEM01 and select it.<br \/>\nVirtual Device Node:<br \/>\nSCSI (1:0) # You need to chose a different SCSI controller than the one you used for the system disk (My system disk in on SCSI (0:0).<br \/>\nSelect the newly added SCSI controller, and select &#8220;Virtual&#8221;<br \/>\nAdd&#8230;<br \/>\nEthernet Adapter<br \/>\nE100<br \/>\nNetwork label: Private<br \/>\nConnect at power on<br \/>\nRemove the Floppy.<br \/>\nConfigure CD to connect to the installation source (I used an ISO stored in one of my datastores.  Make sure you check &#8220;Connect at power on.&#8221;).<\/p>\n<p>Install the Windows Server 2008 R2 Enterprise Full in VMCLMEM01 on the 20GB virtual disk.  The 2GB disk will not be used until the cluster software is install and configured.  Do not start the VMCLMEM02 installation yet.  Complete the installation (network, name, time synchronization screen resolution of at least 1024\/x768, and join the domain).  Don&#8217;t forget to assign an IP address to the second interface (I used 10.1.1.1 and 10.1.1.2, and I renamed the interfaces to Private.).  The cluster members need to be joined to a domain.  I believe the same domain.<\/p>\n<p>Shutdown down VMCLMEM01, and install Windows Server 2008 R2 Enterprise Full on VMCLMEM02 as you did on VMCLMEM01.<\/p>\n<p>Once Windows is installed and the cluster members joined to the domain, all logins will be using the domain Administrator account.<\/p>\n<p>Once Windows is installed and configured on both future cluster members, shutdown down VMCLMEM02 and boot VMCLMEM01 and login with domain Administrator account.<\/p>\n<p>Bring quorum disk (2GB) online:<br \/>\nStart a command prompt by right mouse clicking on &#8220;Command Prompt&#8221; and selecting &#8220;Run As Administrator.&#8221;<br \/>\nDISKPART<br \/>\nSELECT DISK 1  # See my post on DISKPART for more information.<br \/>\nSAN POLICY=ONLINEALL<br \/>\nATTRIBUTES DISK CLEAR READONLY<br \/>\nONLINE DISK<\/p>\n<p>Bring up Computer Management, and click on Disk Manager:<br \/>\nClick on Ok to initialize Disk1.<br \/>\nNTFS Format Disk 1, and assign it a drive letter (I chose M.) and label QuorumDisk.<br \/>\nAdd the &#8220;Failover Clustering&#8221; Feature from Server Manager.<\/p>\n<p>Boot the second cluster member, and add the &#8220;Failover Clustering&#8221; Feature from Server Manager.<\/p>\n<p>Bring up &#8220;Failover Cluster Manager&#8221;on VMCLMEM01.<br \/>\nRight mouse click on &#8220;Failover Cluster Manager&#8221; and choose &#8220;Create Cluster.&#8221;<br \/>\nAdd VMCLMEM01.<br \/>\nAdd VMCLMEM02.<br \/>\nRun validation test.<br \/>\nRun all tests.<br \/>\nEnter your cluster name (CL01), and IP address for the cluster.<\/p>\n<p>This will get you virtual Windows 2008 R2 cluster running on one ESXi host.  Now you can add any supported cluster services and applications.  I set up file and print services, as well as IIS which I will document later.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Software: VMware ESXi 4.1 Update 1, Windows 2008 R2. Cluster Members: VMCLMEM01, VMCLMEM02. Cluster Name: CL01. In the vSphere client, you need to create a virutal network to support the cluster heartbeat communication. Click on your ESXi host, and then the Configuration tab. Select Networking under Hardware. Then Add Networking&#8230; Connection Type: Virtual Machine Create [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[192,153,191],"class_list":["post-551","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-cluster","tag-esxi","tag-windows-2008-r2"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=551"}],"version-history":[{"count":11,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/551\/revisions"}],"predecessor-version":[{"id":563,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/551\/revisions\/563"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}