Recent projects need to establish cluster services for SQL Server, multiple SQL Server databases, and provide a unique URL access address. When the primary node loses power, the network is disconnected, the message is passed to the standby node through the heartbeat line, and the standby node takes over the database access task within 3 seconds to realize the dual-machine hot standby.
Because the desktop is in place for 2 days, 2 sets of Windows Server R2 systems are installed on the virtual machine to simulate the cluster creation process. About SQL Server set up a cluster of articles, online is a controversy, for a novice, can be described as overwhelmed. However, the creation of the quorum disk and the shared disk in the cluster is necessary for each cluster, where I put the virtual machine cluster quorum disk and the data sharing disk creation process and share with you, hoping to help everyone.
1. Create a folder on the local computer Sharedisks, such as my: D:\sharedisks,sharedisks folder is used to save the following two operations created by the virtual quorum disk and data shared disk files;
2. Create the quorum disk. In the DOS window enter the VMware Workstation software installation directory, such as my installation directory is: E:\VM, enter the following command in the DOS window: vmware-vdiskmanager.exe-c-S 500mb-a lsilogic-t 4 "d:\ Sharedisks "\QUORUM.VMDK. As follows:
3. Create a data-sharing disk. enter VMware in a DOS window Workstation Software Installation directory, such as my installation directory is: E:\VM, enter the following command in the DOS window: vmware-vdiskmanager.exe-c-S 1gb-a lsilogic-t 4 "D:\ShareDisks" \SHAREDISK.VMDK. as follows:
4. Verify that the shared disk was created successfully, open the Sharedisks folder under D disk as follows:
5. The attachment quorum disk and the data share disk to the virtual machine. Locate the virtual system installation directory for Node 1 (not the virtual machine Software installation directory), such as I am E:\VM\Server2008R2-A, find the *.vmx (VMware Config file), open with Notepad, and add the following record:
as follows:
6. Restart the VMware Workstation, and the result proves that the creation was successful.
7. Mounting a new disk to a virtual machine system may cause the system to reverse the order of the boot disks. " pxe-mof:exiting Intel PXE ROM operating system not found Span style= "LINE-HEIGHT:25PX; Orphans:2; Widows:2; font-family:kaiti_gb2312; FONT-SIZE:18PX ">" error, you will need to reset the boot disk of the system in the virtual machine BIOS. To do this: append bios.forcesetuponce = "TRUE" to the *.vmx file found in step 5, so that the boot system enters the BIOS page and the system boot disk is reset in BIOS boot to start the system normally.
This explains the creation process for the VMware Workstation cluster quorum disk and the data-sharing disk. However, the virtual machine is a virtual machine, many places can not imitate. When the desktops arrive, and when the concealing of the various clusters are available, I begin to real thing the experiment on the desktop.
I hope you can pay attention to my follow-up blog on cluster creation, thank you.
VMware Workstation cluster quorum disk and data-sharing disk creation