Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

AlwaysOn - use an Availability group listner or just point to the Cluster name Expand / Collapse
Author
Message
Posted Tuesday, May 6, 2014 2:57 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 9:54 AM
Points: 904, Visits: 1,862
I have MasterDataServices installed on a server and the database is in an AlwaysOn Availability Group.

The MDM front end currently is set up incorrectly and is referencing NodeA (primary node) for its database.
I want to fix this but im unsure if i should:

-point the MDM front end to the cluster name, so it wont matter what server the databsae is on?
-create an Availability Group Listner, which would also decoupple the database referenced from a particular server.


(note im using MDM here, but that could be any website referencing a database that is in an AlwaysOn Availability Group).

Thanks,
Post #1567837
Posted Tuesday, May 6, 2014 7:10 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 11:50 PM
Points: 6,319, Visits: 13,625
winston Smith (5/6/2014)
The always on front end currently is set up incorrectly and is referencing NodeA (primary node) for its database.
I want to fix this but im unsure if i should:

What front end?
Fix what?


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

"Ya can't make an omelette without breaking just a few eggs"
Post #1567922
Posted Tuesday, May 6, 2014 9:59 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 9:54 AM
Points: 904, Visits: 1,862
crap, typo, meant to say the MDM front end. ive updated the original post.
Post #1568057
Posted Tuesday, May 6, 2014 4:40 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 11:50 PM
Points: 6,319, Visits: 13,625
winston Smith (5/6/2014)
I have MasterDataServices installed on a server and the database is in an AlwaysOn Availability Group.

The MDM front end currently is set up incorrectly and is referencing NodeA (primary node) for its database.
I want to fix this but im unsure if i should:

Pointing the web app at the current Primary instance will produce issues if there is an AlwaysOn group failover.



winston Smith (5/6/2014)
-point the MDM front end to the cluster name, so it wont matter what server the databsae is on?

What cluster name are you referring to?


winston Smith (5/6/2014)

-create an Availability Group Listner, which would also decoupple the database referenced from a particular server.


(note im using MDM here, but that could be any website referencing a database that is in an AlwaysOn Availability Group).

Thanks,

A listener should be used to provide centralised access to the AlwaysOn availability group so that the moving of the primary role does not present any issues.


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

"Ya can't make an omelette without breaking just a few eggs"
Post #1568224
Posted Wednesday, May 7, 2014 1:14 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 9:54 AM
Points: 904, Visits: 1,862
Pointing the web app at the current Primary instance will produce issues if there is an AlwaysOn group failover.

Yep, thats the crux of the post, i want to resolve this

What cluster name are you referring to?

so there is nodeA & nodeB in the cluster. The cluster name is Clust1. I can open SSMS, type in Clust1 in the connection properties and connect to the cluster. I was wondering if in MDM i should referr to this as the instance name, or if i should create an AG Listener.

A listener should be used to provide centralised access to the AlwaysOn availability group so that the moving of the primary role does not present any issues.

And that answers my last question!

New question, whats the benefit of using the AG Listener over the cluster name? after a node failure and failover, the database should still be accessable by either, right?
Post #1568304
Posted Wednesday, May 7, 2014 3:34 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 11:50 PM
Points: 6,319, Visits: 13,625
winston Smith (5/7/2014)
Yep, thats the crux of the post, i want to resolve this

ok, so create a listener for your AlwaysOn group



winston Smith (5/7/2014)
so there is nodeA & nodeB in the cluster. The cluster name is Clust1. I can open SSMS, type in Clust1 in the connection properties and connect to the cluster. I was wondering if in MDM i should referr to this as the instance name, or if i should create an AG Listener.

You're connecting to the Windows Cluster Client Access Point right?
This is a really bad idea, quite apart from the fact that this CAP is meant for Cluster management access only!!
Create a dedicated listener for your AlwaysOn group.



winston Smith (5/7/2014)
And that answers my last question!

Good, so get cracking then



winston Smith (5/7/2014)
New question, whats the benefit of using the AG Listener over the cluster name? after a node failure and failover, the database should still be accessable by either, right?

There is no benefit, do not use the Windows Cluster CAP to access the SQL instances, period!


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

"Ya can't make an omelette without breaking just a few eggs"
Post #1568341
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse