Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3254385
  • 博文数量: 515
  • 博客积分: 5116
  • 博客等级: 大校
  • 技术积分: 4137
  • 用 户 组: 普通用户
  • 注册时间: 2006-09-30 11:24
个人简介

黑马王子就是我! 技术认证:系统分析师,网络规划设计师,网络工程师,信息系统监理师,系统集成项目管理师,初级程序员,MCSE,MCDBA,CCNA 目前主攻虚拟化技术,VPN,系统架构,集群和高可用性等。

文章分类

全部博文(515)

文章存档

2023年(11)

2022年(17)

2021年(19)

2020年(28)

2019年(42)

2018年(53)

2017年(41)

2016年(33)

2015年(43)

2014年(25)

2013年(13)

2011年(6)

2010年(28)

2009年(47)

2008年(55)

2007年(26)

2006年(28)

分类: SQLServer

2016-05-24 16:41:31

创建侦听器的时候,或许你会遇到下面的异常信息:

TITLE: Microsoft SQL Server Management Studio
------------------------------

Create failed for Availability Group Listener 'listenerASRS'.   (Microsoft.SqlServer.Smo)

For help, click:

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch.  (Microsoft.SqlServer.ConnectionInfo)

------------------------------

The Windows Server Failover Clustering  (WSFC) resource control API returned error code 5057.  The WSFC  service may not be running or may not be accessible in its current state, or the  specified arguments are invalid.  For information about this error code,  see "System Error Codes" in the Windows Development documentation.
The  attempt to create the network name and IP address for the listener failed. The  WSFC service may not be running or may be inaccessible in its current state, or  the values provided for the network name and IP address may be incorrect. Check  the state of the WSFC cluster and validate the network name and IP address with  the network administrator.
The attempt to create the network name and IP  address for the listener failed. The WSFC service may not be running or may be  inaccessible in its current state, or the values provided for the network name  and IP address may be incorrect. Check the state of the WSFC cluster and  validate the network name and IP address with the network administrator. (Microsoft SQL Server, Error: 41009)

For help, click:

------------------------------
BUTTONS:

OK
------------------------------


这是为什么呢?经过测试,我发现原因是你指定的IP在当前的网段已经被占用。例如,我当前建Cluster的3个Node的IP分别是172.20.160.22、  172.20.160.23、 172.20.160.55,群集的IP是172.20.160.12。   那么你创建侦听器的时候是不能指定这些已用的IP,如上面截图所示,当你指定为172.20.160.22时就会遇到题目所说的异常。知道原因后,就好解决了。当我重新建的时候,我指定了IP  172.20.160.13,这个IP未被占用,PING不通。这个时候,就可以成功地创建侦听器。


PS:要想成功创建侦听器,还必须根据cluster的名称,在OU里对其指定Create/Delete Computer Object的权限。
转自:http://blog.csdn.net/burgess_liu

阅读(2314) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~