Jump to content

Calling SQL server DBA experts


CuteDesiGal

Recommended Posts

1 minute ago, CuteDesiGal said:

Always on questions unnai please help

 

1 minute ago, CuteDesiGal said:

Always on questions unnai please help

please post ...will try to help ..

Link to comment
Share on other sites

Cluster with 4 nodes undi, sql 1, sql2, sql3, sql4. Aoag configured sql1&2 are synchronous and 3&4 asynchronous.

1 is for read write and couple of apps

2 is for read and one app

3 & 4 are for couple of apps (read only)

the apps connected to 2, 3, 4 are directly connected means they are using the server name not the listner name.

now my question is if 2 or 3 or 4 went out of sync then how the apps can automatically switch the nodes? Is there a way? Can we create multiple listners and reroute the traffic?

Link to comment
Share on other sites

18 minutes ago, CuteDesiGal said:

Cluster with 4 nodes undi, sql 1, sql2, sql3, sql4. Aoag configured sql1&2 are synchronous and 3&4 asynchronous.

1 is for read write and couple of apps

2 is for read and one app

3 & 4 are for couple of apps (read only)

the apps connected to 2, 3, 4 are directly connected means they are using the server name not the listner name.

now my question is if 2 or 3 or 4 went out of sync then how the apps can automatically switch the nodes? Is there a way? Can we create multiple listners and reroute the traffic?

SQL Server Group Listener..?

https://learn.microsoft.com/en-us/sql/database-engine/availability-groups/windows/create-or-configure-an-availability-group-listener-sql-server?view=sql-server-ver15

 

10 years back work chesa...ee tech paina...so i am out of touch...i am curious to know other people answers here...

Link to comment
Share on other sites

1 hour ago, CuteDesiGal said:

Sure bro oka 10mins lo all questions post chestha

Cute girl antaavu? bro ani pilichaavu?  Inkem answers isthadu vaadu...jump jilani anthe..

  • Haha 1
Link to comment
Share on other sites

2 hours ago, BattalaSathi said:

Cute girl antaavu? bro ani pilichaavu?  Inkem answers isthadu vaadu...jump jilani anthe..

Lol girl kaadu baa, ee id evaro long time back icharu when i was banned so adhe continuing .

Link to comment
Share on other sites

2 hours ago, BattalaSathi said:

Cute girl antaavu? bro ani pilichaavu?  Inkem answers isthadu vaadu...jump jilani anthe..

Bhayya. I am a fan. Nee sense of humor next level. Movies ki script writing try chey..

  • Thanks 1
Link to comment
Share on other sites

3 hours ago, CuteDesiGal said:

Cluster with 4 nodes undi, sql 1, sql2, sql3, sql4. Aoag configured sql1&2 are synchronous and 3&4 asynchronous.

1 is for read write and couple of apps

2 is for read and one app

3 & 4 are for couple of apps (read only)

the apps connected to 2, 3, 4 are directly connected means they are using the server name not the listner name.

now my question is if 2 or 3 or 4 went out of sync then how the apps can automatically switch the nodes? Is there a way? Can we create multiple listners and reroute the traffic?

I might be wrong.

But you always give only listener to others.

Configure read only routing for 2,3 and 4 and the application should use ApplicationIntent=ReadOnly; in the connection string

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...