Home
%3CLINGO-SUB%20id%3D%22lingo-sub-383399%22%20slang%3D%22en-US%22%3ETroubleshooting%20SQL%20Server%20Cluster%20Installations%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-383399%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20MSDN%20on%20Jun%2016%2C%202008%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3EOn%20a%20Windows%20Cluster%20it%20is%20possible%20to%20install%20a%20SQL%20Server%20Cluster%2C%20which%26nbsp%3Bwill%20be%26nbsp%3Ba%20separate%20entity%20with%20disctinct%26nbsp%3BVirtual%20Server%20Name%2C%20IP%20address%2C%20and%20pipe%20name.%20The%20nodes%20of%20the%20SQL%20Cluster%26nbsp%3Bmust%20be%20able%20to%20communicate%20with%20one%20another.%20This%20communication%20may%20fail%20if%20the%20TCP%20port%20on%20which%20SQL%20Server%20is%20listening%20is%20not%20excepted%20from%20firewalls%20on%20the%20machines.%20This%20port%20can%20be%20found%20by%20using%20the%20Configuration%20Manager%20utility%20by%20viewing%20the%20properties%20of%20the%20TCP%20protocol%20or%20by%20checking%20the%20SQL%20Server%20errorlog%2C%20typically%20located%20at%20%22Program%20FilesMicrosoft%20SQL%20ServerMSSQL.xMSSQLLOG%22.%20Here%20MSSQL.x%20is%20the%20instance%20ID%20of%20the%20clustered%20instance%20in%20question.%3C%2FP%3E%0A%20%20%3CP%3EIf%20the%20Cluster%20instance%20being%20installed%20is%20a%20named%20instance%2C%20a%20service%20called%20SQL%20Browser%20is%20used%20in%20order%20to%20figure%20out%20the%20port%20or%20pipe%20SQL%20Server%20is%20listening%20on.%20For%20SQL%20Server%20Cluster%20installations%2C%20this%20service%20is%20running%20by%20default.%20If%20this%20service%20is%20not%20running%2C%20it%20will%20not%20be%20possible%20to%20communicate%20with%20the%20remote%20nodes.%20To%20manipulate%20this%20service%2C%20open%20services.msc%2C%20find%20SQL%20Browser%2C%20and%20make%20sure%20its%20state%20is%20Automatic%20and%20Running.%20SQL%20Browser%20listens%20on%20a%20UDP%20port%2C%20which%20must%20also%20be%20excepted%20from%20firewalls%20on%20the%20machines.%20Even%20if%20SQL%20Browser%20is%20running%2C%20in%20case%20any%20of%20the%20nodes%20has%20firewall%20ON%2C%20it%20is%20necessary%20to%20add%20exceptions%20for%20UDP%20port%201434.%3C%2FP%3E%0A%20%20%3CP%3EThese%20issues%20with%20SQL%20Browser%20(service%20not%20running%20or%20TCP%20and%20UDP%20port%20not%20excepted%20from%20firewall)%20can%20also%20block%20remote%20connectivity%20to%20non-clustered%20instances.%3C%2FP%3E%0A%20%20%3CP%3EMore%20about%20Windows%20Firewall%20impact%20on%20APIs%20for%20SQL%20Server%20enumeration%20can%20be%20read%20at%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fsql_protocols%2Farchive%2F2005%2F09%2F24%2F473502.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.msdn.com%2Fsql_protocols%2Farchive%2F2005%2F09%2F24%2F473502.aspx%20%3C%2FA%3E%20.%20More%20about%20Firewall%20impact%20on%20SQL%20Server%20Cluster%20can%20be%20found%20at%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fsql_protocols%2Farchive%2F2006%2F02%2F27%2Funable-to-connect-to-a-sql-server-named-instance-on-a-cluster.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.msdn.com%2Fsql_protocols%2Farchive%2F2006%2F02%2F27%2Funable-to-connect-to-a-sql-server-named-instance-on-a-cluster.aspx%20%3C%2FA%3E%20.%3C%2FP%3E%0A%20%20%3CP%3EStoyko%20Kostov%2C%20SQL%20Server%20Protocols%20%3CBR%20%2F%3E%20Disclaimer%3A%20This%20posting%20is%20provided%20%22AS%20IS%22%20with%20no%20warranties%2C%20and%20confers%20no%20rights%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-383399%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20MSDN%20on%20Jun%2016%2C%202008%20On%20a%20Windows%20Cluster%20it%20is%20possible%20to%20install%20a%20SQL%20Server%20Cluster%2C%20which%26nbsp%3Bwill%20be%26nbsp%3Ba%20separate%20entity%20with%20disctinct%26nbsp%3BVirtual%20Server%20Name%2C%20IP%20address%2C%20and%20pipe%20name.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-383399%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESQLServerProtocols%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft
First published on MSDN on Jun 16, 2008

On a Windows Cluster it is possible to install a SQL Server Cluster, which will be a separate entity with disctinct Virtual Server Name, IP address, and pipe name. The nodes of the SQL Cluster must be able to communicate with one another. This communication may fail if the TCP port on which SQL Server is listening is not excepted from firewalls on the machines. This port can be found by using the Configuration Manager utility by viewing the properties of the TCP protocol or by checking the SQL Server errorlog, typically located at "Program FilesMicrosoft SQL ServerMSSQL.xMSSQLLOG". Here MSSQL.x is the instance ID of the clustered instance in question.

If the Cluster instance being installed is a named instance, a service called SQL Browser is used in order to figure out the port or pipe SQL Server is listening on. For SQL Server Cluster installations, this service is running by default. If this service is not running, it will not be possible to communicate with the remote nodes. To manipulate this service, open services.msc, find SQL Browser, and make sure its state is Automatic and Running. SQL Browser listens on a UDP port, which must also be excepted from firewalls on the machines. Even if SQL Browser is running, in case any of the nodes has firewall ON, it is necessary to add exceptions for UDP port 1434.

These issues with SQL Browser (service not running or TCP and UDP port not excepted from firewall) can also block remote connectivity to non-clustered instances.

More about Windows Firewall impact on APIs for SQL Server enumeration can be read at http://blogs.msdn.com/sql_protocols/archive/2005/09/24/473502.aspx . More about Firewall impact on SQL Server Cluster can be found at http://blogs.msdn.com/sql_protocols/archive/2006/02/27/unable-to-connect-to-a-sql-server-named-... .

Stoyko Kostov, SQL Server Protocols
Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights