![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I've set up our first sql2k8 cluster on w2k8 r2 and it works as expected. Now I got a funny experience with the firewall. As I want it the firewall is started and the proper ports is open. For a reason on helping a co-worker I stopped the windows firewall service on one node and what is happening is that the opened ports is disabled and no SQL (1433), RDP (3389) or ICMP traffic is allowed. That's fine but as I can't connect to my instance my wonder is, should it not initiate a failover? I can manually move the group between the nodes and where the firewall service is on I can connect. I also moved the cluster group back and forward, I get it that the heartbeat is working even with the firewall service stopped and that's why the groups not fail. Of course I will keep the firewall service running, but shouldn't there not be a failover if the firewall service of any reason stops? /Peter |
#3
| |||
| |||
|
|
Windows 2008 (and R2) doesn't open specific ports. It allows applications to access network resources. Thesea pplications correspond to specific, signed binaries. Here is an enumeration of the binaries for SQL Server 2005. SQL 2008 binaries are similarly located but with "100" instead of "90" in the path. http://weblogs.sqlteam.com/geoffh/ar...-Unusable.aspx -- Geoff N. Hiten Principal SQL Infrastructure Consultant Microsoft SQL Server MVP "Peter Lindberg" <plTAKE (AT) AWAYlg (DOT) se> wrote in message news:4b716dc4.101967250 (AT) msnews (DOT) microsoft.com... I've set up our first sql2k8 cluster on w2k8 r2 and it works as expected. Now I got a funny experience with the firewall. As I want it the firewall is started and the proper ports is open. For a reason on helping a co-worker I stopped the windows firewall service on one node and what is happening is that the opened ports is disabled and no SQL (1433), RDP (3389) or ICMP traffic is allowed. That's fine but as I can't connect to my instance my wonder is, should it not initiate a failover? I can manually move the group between the nodes and where the firewall service is on I can connect. I also moved the cluster group back and forward, I get it that the heartbeat is working even with the firewall service stopped and that's why the groups not fail. Of course I will keep the firewall service running, but shouldn't there not be a failover if the firewall service of any reason stops? /Peter |
#4
| |||
| |||
|
|
Geoff, I'm sorry but I don't understand your answer. OK, I opened ports due to http://support.microsoft.com/kb/968872. Is it a better practice to setup a rule for for sqlservr.exe and sqlbrowser.exe instead of that KB? What I still don't get is why I don't get a group fail of the sqlserver group when the sqlserver is not availibale because the firewall service is stopped? For this to be recreated it doesn't mather wich way I chose to open the firewall. Here is what I expect to get and also get: I get a fail if I lose the public network I get no fail if I lose the heartbeat network. (internal thru public) I get a fail if the server reboots or BSOD. But if the windows firewall service has failed or been stopped I just get an unaccessable SQL instance. Why can't the cluster identify it as an error and fail the group? /Peter On Tue, 9 Feb 2010 11:10:14 -0500, "Geoff N. Hiten" SQLCraftsman (AT) gmail (DOT) com> wrotc: Windows 2008 (and R2) doesn't open specific ports. It allows applications to access network resources. Thesea pplications correspond to specific, signed binaries. Here is an enumeration of the binaries for SQL Server 2005. SQL 2008 binaries are similarly located but with "100" instead of "90" in the path. http://weblogs.sqlteam.com/geoffh/ar...-Unusable.aspx -- Geoff N. Hiten Principal SQL Infrastructure Consultant Microsoft SQL Server MVP "Peter Lindberg" <plTAKE (AT) AWAYlg (DOT) se> wrote in message news:4b716dc4.101967250 (AT) msnews (DOT) microsoft.com... I've set up our first sql2k8 cluster on w2k8 r2 and it works as expected. Now I got a funny experience with the firewall. As I want it the firewall is started and the proper ports is open. For a reason on helping a co-worker I stopped the windows firewall service on one node and what is happening is that the opened ports is disabled and no SQL (1433), RDP (3389) or ICMP traffic is allowed. That's fine but as I can't connect to my instance my wonder is, should it not initiate a failover? I can manually move the group between the nodes and where the firewall service is on I can connect. I also moved the cluster group back and forward, I get it that the heartbeat is working even with the firewall service stopped and that's why the groups not fail. Of course I will keep the firewall service running, but shouldn't there not be a failover if the firewall service of any reason stops? /Peter |
#5
| |||
| |||
|
|
Stopping the Windows firewall service often breaks windows networking. You can set the firewall to OFF and it will work. No network means no IP address, which is one of the SQL dependencies so SQL will not come online. In addition, something breaks hte network resource DLL so it doesn't recognize the failure correctly. You cannot turn off the firewall service, you must either set specific ports or turn off the firewall via control panel/computer manager. Windows firewall does not work like an external firewall. External firewalls block ports and IP addresses. Windows firewall allows (or denies) access to the network for specific signed executables. The blog post shows how to add the the key SQL Executables to the allowed list. -- Geoff N. Hiten Principal SQL Infrastructure Consultant Microsoft SQL Server MVP "Peter Lindberg" <plTAKE (AT) AWAYlg (DOT) se> wrote in message news:4b75c98e.191001125 (AT) msnews (DOT) microsoft.com... Geoff, I'm sorry but I don't understand your answer. OK, I opened ports due to http://support.microsoft.com/kb/968872. Is it a better practice to setup a rule for for sqlservr.exe and sqlbrowser.exe instead of that KB? What I still don't get is why I don't get a group fail of the sqlserver group when the sqlserver is not availibale because the firewall service is stopped? For this to be recreated it doesn't mather wich way I chose to open the firewall. Here is what I expect to get and also get: I get a fail if I lose the public network I get no fail if I lose the heartbeat network. (internal thru public) I get a fail if the server reboots or BSOD. But if the windows firewall service has failed or been stopped I just get an unaccessable SQL instance. Why can't the cluster identify it as an error and fail the group? /Peter On Tue, 9 Feb 2010 11:10:14 -0500, "Geoff N. Hiten" SQLCraftsman (AT) gmail (DOT) com> wrotc: Windows 2008 (and R2) doesn't open specific ports. It allows applications to access network resources. Thesea pplications correspond to specific, signed binaries. Here is an enumeration of the binaries for SQL Server 2005. SQL 2008 binaries are similarly located but with "100" instead of "90" in the path. http://weblogs.sqlteam.com/geoffh/ar...-Unusable.aspx -- Geoff N. Hiten Principal SQL Infrastructure Consultant Microsoft SQL Server MVP "Peter Lindberg" <plTAKE (AT) AWAYlg (DOT) se> wrote in message news:4b716dc4.101967250 (AT) msnews (DOT) microsoft.com... I've set up our first sql2k8 cluster on w2k8 r2 and it works as expected. Now I got a funny experience with the firewall. As I want it the firewall is started and the proper ports is open. For a reason on helping a co-worker I stopped the windows firewall service on one node and what is happening is that the opened ports is disabled and no SQL (1433), RDP (3389) or ICMP traffic is allowed. That's fine but as I can't connect to my instance my wonder is, should it not initiate a failover? I can manually move the group between the nodes and where the firewall service is on I can connect. I also moved the cluster group back and forward, I get it that the heartbeat is working even with the firewall service stopped and that's why the groups not fail. Of course I will keep the firewall service running, but shouldn't there not be a failover if the firewall service of any reason stops? /Peter |
![]() |
| Thread Tools | |
| Display Modes | |
| |