SQL Server 2012 Always on Availability Groups安装Step by step 2

2012-08-20 15:3421人阅读评论(0)收藏编辑删除

Part1中我们已经配置了Cluster,Part2 我们安装SQL Server 2012 评估版(要使用64位的SQLServer, X86不支持Always On)并且配置Alaways On Group.

 

1. 以管理员身份安装

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

2.选择单机安装(不是集群安装)

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

3.SQL Server 2012的新功能,可以在安装的时候搜索最新的补丁,将补丁也以前安装(这个是可选项)

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

4.规则检测

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

5.选择安装组件

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

6.实例名:

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

7.计算需要的磁盘空间:

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

8.Service账户(域账户):

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

9.排序规则(可以根据自己需要选择):

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

10.设置权限,数据库文件备份地址已经Filestream选项:

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

11.安装后需要重新启动(可以查看安装日志):

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

12.在ConfigurationManager中对SQL Server开启Always OnHigh Availability(可以自动检测到前面我们创建的Cluster名字)

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

设置更改后需要重启Service.现在一切都具备了,我们可以配置Always On group了。

 

1.创建新的可用性组(可用性组向导,也可以用下面的选型):

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

2.输入可用性组的名字:

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

3.选择组中的数据库:

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

4.Replica 选择Node2(选择自动Failover/可读数据库):

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

5.点击下一步,Node1将会备份数据库到Share Folder然后还原到Node2做同步 (Node1为主,Node2为辅助)

 

SQL Server 2012 Always on Availability Groups安装Step by step 2

SQL Server 2012 Always on Availability Groups安装Step by step 2

 

下一步就是测试Node2数据可读已经Failover.


本文转自 lzf328 51CTO博客,原文链接:

http://blog.51cto.com/lzf328/967494