Install sql server cluster

Main Reference URL:
https://blog.51cto.com/leozhang2016/1764357
installation of three windows server2008 R2 virtual machine under 1.vmware, respectively, to three virtual machines to set ip 192.168.1.5; 192.168.1.6; 192.168.1.7 ; and turn off the firewall.
And the effect of three machines need to add functions are:
. 1) 192.168.1.5 (PC1) needed to install this server "domain controller, iscsi disk" (see details above mounting operation URL)
2) 192.168.1.6 (PC2 ) need this server to add "DTC (name: myclusterDTC, virtual ip192.168.1.10)" and "sqlserver cluster (virtual ip192.168.1.12)";
3) 192.168.1.7 (PC3) required on this machine adding "failover cluster (Title: virtual mycluster, ip192.168.1.8)";
the sequence of operations of:
mounting the domain controller ①PC1
upper ②PC1 by adding three iscsi virtual disk (disk arbitration, DTC disk, sql data disk)
③PC2 and PC3 by iscsi on initiator, also found that three virtual disks, and online visibility and other operations (see detailed installation operating over the URL)
④PC2 and PC3 should be joined to the domain
⑤PC2 PC3 are added and the failover clustering feature
⑥ in Add a failover cluster PC3
⑦ added DTC on PC2
NOTE: step 6 and step 7 regardless of the order, the DTC failover cluster and were added to the two machines
When this step, basic environment to support failover clustering has been completed, the next start installing sql server.
8, mounted on a sql server PC2, selected at installation "new sql server failover cluster installations", according to the installation step
9, the PC3 sql server installation, the installation is selected, "sql server proceeds to failure add cluster nodes "in accordance with the installation steps.
10, all of the mounting operation is completed, the local SQL Server attempts to connect, to be successfully connected. Then sql server remote connection, may be connected successfully, sql server and can be remotely connected, ip sql server connected to the IP cluster, as shown:
Here Insert Picture DescriptionThe following screenshot recording functions present on the three machines:
192.168.1.5 (PC1)
Here Insert Picture Description
(PC2) 192.168.1.6
Here Insert Picture Description192.168.1.7 (PC3)
Here Insert Picture Descriptionproblems encountered during installation:
1. beginning in accordance with sql server2012 version of the installation guide, install sql server2008, but the user interface and installation of content are very different, in the end can not proceed, reinstall the virtual machine, the operation carried out in accordance sql server2008 version of the installation guide.
2. There is no clear role in the failover cluster, beginning on PC1 also adds failover clustering feature, but added the cluster, but can not verify the configuration, can not find the virtual disk, virtual disk is in PC2 and PC3 on, you can not add the failover clustering feature on all PC1. However, when you log PC2 and PC3 with the administrator user, failover problem cluster prompt account permissions, and later find out the reasons, the login account does not switch to: domain name + administrator, password is password administrator under PC1 (one step PC1 before administrator to set a password, where both WHdata1234), the configuration can be validated, the cluster add other operations. Accounts is very important, after PC2 and PC3 are using this account to log in, so the failover clustering feature can be installed on a two-node server, no need to install the Failover Clustering feature on a domain controller server
virtual storage disk 3 it is important, this step is required to confirm all existing virtual disks simultaneously on three PC2 and PC3, otherwise it will lead to verification can not be created when the cluster and DTC.
4. Finally, ping each other three virtual ip, you can ping no problem.
5. PC2 and PC3 are necessary to join the domain created on the PC1, as shown:
192.168.1.6
Here Insert Picture Description
192.168.1.7:
Here Insert Picture Description

6.sql server installation process will encounter some problems, such as: .net.frmework not installed in advance, this tutorial can be installed via the Internet; WMI is set to start automatically; you can see if the firewall on or off after installation status.

Other Reference URL:
http://bbs.51cto.com/thread-978959-1.html

https://blog.51cto.com/xiaoayu/1844056

https://blog.51cto.com/543925535/1179319

Published 19 original articles · won praise 0 · Views 3263

Guess you like

Origin blog.csdn.net/Betteryun/article/details/89401918