Windows SERVER2008R2 Failover Clustering

Source: Internet
Author: User
Tags failover

1 First of all, planning your own environment

It's all done in VMware.

Server AA public IP 192.168.1.120

Heartbeat Private IP 10.0.0.10

Server BB public IP 192.168.1.121

Heartbeat Private IP 10.0.0.11

Domain Control server DG IP 192.168.1.130

Storage server IP 192.168.1.140

Description: The storage server was simulated with FreeNAS software.


2 Modify the two server hostname, and configure all the IP, ensure that all can ping, shut down the firewall.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/40/wKiom1SWQlWTYMFCAAEsnJIdHXw248.jpg "style=" float: none; "title=" 1.png "alt=" Wkiom1swqlwtymfcaaesnjidhxw248.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/3D/wKioL1SWQvzAUrdaAAEjn3J9k5s407.jpg "style=" float: none; "title=" 2.png "alt=" Wkiol1swqvzaurdaaaejn3j9k5s407.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/40/wKiom1SWQlXCtfasAAE90QEihaE050.jpg "style=" float: none; "title=" 3.png "alt=" Wkiom1swqlxctfasaae90qeihae050.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/40/wKiom1SWQlXwcK1LAAEWZ_i4V0c195.jpg "style=" float: none; "title=" 4.png "alt=" Wkiom1swqlxwck1laaewz_i4v0c195.jpg "/>

3 Installing the storage FreeNAS

Virtual memory 1G or more, or it will error.

Plan: HDD 1 20G, install FreeNAS

HDD 2 40G storage disk, mounted to server, used to install the SQL2008 database

The installation process is very simple, not much to say ...

Configure storage with Web Access after installation is complete http://192.168.1.140

1) Set up system basic information and open iSCSI service

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/3D/wKioL1SWSFSRE_0GAAGOTaeeZIw116.jpg "style=" float: none; "title=" 1.png "alt=" Wkiol1swsfsre_0gaagotaeeziw116.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/40/wKiom1SWR63SgF4MAAAt_8xCOy0917.jpg "style=" float: none; "title=" 2.png "alt=" Wkiom1swr63sgf4maaat_8xcoy0917.jpg "/>

2) Create a ZFS Volume Manager

3) Create Zvol

2G drive letter for the quorum disk

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/3D/wKioL1SWSiTSAY8PAADMUnceI1Y861.jpg "style=" float: none; "title=" Aa.png "alt=" Wkiol1swsitsay8paadmuncei1y861.jpg "/>

4G for installation of DTC (distributed management)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/40/wKiom1SWSX7wL-OaAAC7FBBQucU275.jpg "style=" float: none; "title=" Bb.png "alt=" Wkiom1swsx7wl-oaaac7fbbqucu275.jpg "/>

30G for installation of SQL2008R2

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/3D/wKioL1SWSiXRBCDbAAFlFcE-ec8678.jpg "style=" float: none; "title=" Vvvvv.png "alt=" Wkiol1swsixrbcdbaaflfce-ec8678.jpg "/>


4) Increase the iSCSI entry and configure

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/57/40/wKiom1SWS-ODIog9AAGrzFuDGKA045.jpg "title=" Ttttttttttt.png "alt=" Wkiom1sws-odiog9aagrzfudgka045.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/3D/wKioL1SWTXOiUddmAAEXI0mdMtk107.jpg "style=" float: none; "title=" Uuuuuuuuuuu.png "alt=" Wkiol1swtxoiuddmaaexi0mdmtk107.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/40/wKiom1SWTMyDCdqsAAGT6yBilq4991.jpg "style=" float: none; "title=" Yyyyyyyyyyyy.png "alt=" Wkiom1swtmydcdqsaagt6ybilq4991.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/3D/wKioL1SWTZXAPPyzAAEs7-0rkTk815.jpg "style=" float: none; "title=" Aaaaaaaaaaaaaaaa.png "alt=" Wkiol1swtzxappyzaaes7-0rktk815.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/40/wKiom1SWTO6hX3m7AAFnmU13fDk577.jpg "style=" float: none; "title=" Bbbbbbbbbbb.png "alt=" Wkiom1swto6hx3m7aafnmu13fdk577.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/3D/wKioL1SWTZWCsyLJAAFJ1AIR-xk397.jpg "style=" float: none; "title=" Datdtaaaaa.png "alt=" Wkiol1swtzwcsyljaafj1air-xk397.jpg "/>



Last associated targets

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/40/wKiom1SWTWvjTKezAAEGdhr5Lh0593.jpg "title=" 00000. PNG "alt=" wkiom1swtwvjtkezaaegdhr5lh0593.jpg "/>



4 Install the domain controller on the 3rd Windows SERVER2008R2 Server, and both server AA and server BB are joined to the domain. After joining the domain, restart it to log on as a domain user. Because the 2008R2 cluster must be a domain environment.


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/40/wKiom1SWU6aDneicAADbuuw0J-k485.jpg "style=" float: none; "title=" 77777777777.png "alt=" Wkiom1swu6adneicaadbuuw0j-k485.jpg "/>


Last start-run-dcpromo-installation ends

5 server AA,BB domain joined separately

Restart Login-Amd.com\administrator

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/3E/wKioL1SWWEjC9_4zAADV6ECw_LQ898.jpg "title=" Tttyyyyyyyggggggggggg.png "alt=" Wkiol1swwejc9_4zaadv6ecw_lq898.jpg "/>


6 Next, Discover the storage drive with iSCSI initiator on two servers in the domain environment

After discovery, assign a good letter, online, initialize, new simple volume ... Ensure the size of the two server hard disks, the letter name, the order is identical.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/3D/wKioL1SWT_mAKZ6OAAGNugqKh2A898.jpg "title=" 11.png "Style=" Float:none; "alt=" wkiol1swt_makz6oaagnugqkh2a898.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/40/wKiom1SWT1KAtebOAAEpg9Ck_q4641.jpg "title=" 22.png "Style=" Float:none; "alt=" wkiom1swt1kateboaaepg9ck_q4641.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/3D/wKioL1SWT_mQrCEdAAHXH-R0MgU852.jpg "title=" 33.png "Style=" Float:none; "alt=" wkiol1swt_mqrcedaahxh-r0mgu852.jpg "/>



7 failover clusters are installed on the server AA,BB, and operations are performed only on AA

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/42/wKiom1SWguLi3YJQAADkMhXRTr0889.jpg "style=" float: none; "title=" 11.png "alt=" Wkiom1swguli3yjqaadkmhxrtr0889.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/3F/wKioL1SWg4nAB7PPAAEmxYAyzz4860.jpg "style=" float: none; "title=" 222.png "alt=" Wkiol1swg4nab7ppaaemxyayzz4860.jpg "/>

Configure Quorum

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/42/wKiom1SWg22ipffrAAFz6O92p2E472.jpg "title=" 333. PNG "alt=" wkiom1swg22ipffraafz6o92p2e472.jpg "/>


Test. Ping 192.168.1.125

When the server AA is hung off, the BB server automatically takes over.


8 Installing SQL2008R2 on the server AA

The DTC is installed first on the server AA for easy management.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/42/wKiom1SWhtuzuLrDAABSvxp9WYw192.jpg "style=" float: none; "title=" Aa.png "alt=" Wkiom1swhtuzulrdaabsvxp9wyw192.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/3F/wKioL1SWh9mhbSUkAAAzL262Du0601.jpg "style=" float: none; "title=" 22.png "alt=" Wkiol1swh9mhbsukaaazl262du0601.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/42/wKiom1SWhzKCsY8NAADI278nM3w013.jpg "style=" float: none; "title=" Ccc.png "alt=" Wkiom1swhzkcsy8naadi278nm3w013.jpg "/>


Install SQL on AA

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/42/wKiom1SWifCQK3QQAABEYRDEdGo273.jpg "title=" Qq20141221165055.png "alt=" Wkiom1swifcqk3qqaabeyrdedgo273.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/57/42/wKiom1SWjJrT5PotAAB3Vu3q9HM328.jpg "title=" Mmmmmmmmmmmmmmmm.png "alt=" Wkiom1swjjrt5potaab3vu3q9hm328.jpg "/>

Omitted later.


Installing on the server bb

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/57/42/wKiom1SWl2HDrBroAABOmAEjUDg031.jpg "title=" Mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn.png "alt=" Wkiom1swl2hdrbroaabomaejudg031.jpg "/>


After the installation is complete:


Finally verify that regardless of the server hangs up, SQL2008 can be connected, indicating that the cluster is successful.











































This article from "Linux operation and Maintenance beginner" blog, declined reprint!

Windows SERVER2008R2 Failover Clustering

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.