windows2012 + sqlserver2017 always on nodes and domain structures summarized bis

First, prepare the environment 

important! ! !

WINDOWS2012 operating system, which must take all the important patches all marked WINDOWS, updated constantly repeat testing, installation, restart, and then check for updates, install, restart, did not know until the patch, I was probably played more than 180 patches


1, the installation package ready

windows operating system installation package can go where I tell you to download, key words, ah, sort themselves out

The same SQLSERVER

If you need to install all the features, you have to go ORACLE official download a jdk7


2, IP address

Physical IP address of two servers

192.168.100.19

192.168.100.20

Failed cluster IP

192.168.100.180

Listening IP

192.168.100.181

Domain Control

192.168.100.3

Second, add domain

The servers 2 and domain respectively

Plus domain Note

Set DNS IP address is the IP address of the domain controller server 

For example, 192.168.100.3


Then is added to the domain, the computer name changes, it can be one, simple, not repeat them here.



Third, configure failover cluster

Why do this step first, because it is a painful lesson, not to mention, anyway, to do this.


Here at configuration time, encounter some problems, such as

You can not access the remote registry. Make sure that the Remote Registry service is running and enabled for remote management

Report this error, you'll have to check under your server WINDOWS operating system patches whether to update a whole.

Check that there are two DNS server IP address are set to the domain controller.

Specific configuration is very simple and do not write.


Fourth, a single instance of the installation SQLSERVER

Two servers were installed SQLSERVER single instance, I have here is the installation of SQLSERVER2017 version, in fact, the same as 2016 and installation.

If no special requirements, only need to install the basic features on it


Five, ALWAYSON configuration

After installing good here SQLSERVER single instance, you can start configuring the ALWAYSON,

Before configuration, should pay attention to first SQLSERVER Configuration Manager SQLSERVER main services and agency services, instead domain login account login.

管理工具----服务,这里的 SQLSERVER主服务和代理服务, 登陆用户改为域账号登陆。

这些服务登陆用户更改均要重启服务。

域控  用户与计算机   设置  创建子

按图里进入属性——“安全”页——添加Windows群集的虚拟计算机名——勾上“创建所有子对象”

ALWAYSON可用性组配置

注意配置仅连接,主副本备份首选模式。自动故障转移全都选择,可读写全都选择。

配置好侦听为静态IP地址。


操作系统防火墙可以选择全关闭,其他没有需要注意的地方了。

郑州妇科医院×××:http://yyk.familydoctor.com.cn/sysdfkyy/


注意:

ALWAYSON 做维护计划备份时,必须勾选以下设置,否则无法正常备份成功。


Guess you like

Origin blog.51cto.com/14337216/2423586