How To Setup Distributed Availability Group in SQL Server 2022

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • Download Script:
    www.mediafire....

ความคิดเห็น • 42

  • @HanumathKumarVedantham
    @HanumathKumarVedantham 8 วันที่ผ่านมา

    Excellent video, very informative. Thanks a lot Harsha.

  • @ssv91952
    @ssv91952 ปีที่แล้ว

    Very we'll explained in simple way.
    kudos to your Dedication towards each topic🎉

  • @srinuyadav1629
    @srinuyadav1629 2 หลายเดือนก่อน

    Thanks for recording video on DAG....❤

  • @umakantkesgire7720
    @umakantkesgire7720 8 หลายเดือนก่อน

    Very useful information. Thanks a lot brother

  • @amarmedhakar
    @amarmedhakar 3 หลายเดือนก่อน

    Thank you 👌😊

  • @chilkaswami
    @chilkaswami ปีที่แล้ว

    Nice Bro!!! Keep going.

  • @kishoreevani5813
    @kishoreevani5813 ปีที่แล้ว

    Excellent video.. never seen this DAG setup in TH-cam.. Awesome.. can we create DAG enable through gui instead of script?
    Can we enable this DAG only primary to primary?

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  ปีที่แล้ว

      Thanks for your comments. Coming to your query we can configure
      DAG only through T SQL for now. May be in newer versions will see Microsoft may add it through GUI.
      Thanks
      MS SQL DBA Tech Support

  • @muralipujari1015
    @muralipujari1015 5 หลายเดือนก่อน

    Sir, thank you, For understanding would have show listener details by expanding...

  • @atchimule
    @atchimule ปีที่แล้ว

    Thanks for the excellent video .. I have one question .. to configure DAG we need to take the backup and restore into all the servers manually or would it automatically sync into DataCenter 2 Servers ?

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  ปีที่แล้ว

      No need and it automatically sync into DataCenter 2

    • @atchimule
      @atchimule ปีที่แล้ว

      Thanks for clearing the doubt Can we configure Dag with different domains ?.. let say we have datacenter 1 with abc domain and datacenter 2 with xyz.. can we configure between abc and xyz domains ?.. if yes , what kind of rules we have to check before configuring? 0:26

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  8 หลายเดือนก่อน

      As of now i haven't tested this scenario ... however i will say yes first we need to configure two way trust from windows then we can configure Dag.again this is very high level test scenario need very lot of time for R&D and windows team help as well.

  • @mahendrakilari4347
    @mahendrakilari4347 5 หลายเดือนก่อน

    great explain

  • @propertyguru6414
    @propertyguru6414 ปีที่แล้ว

    nice explanation

  • @sibonelodlamini9784
    @sibonelodlamini9784 ปีที่แล้ว

    Short yet so clear! Thank you!
    am I then able to write data to node 1 only or this is supported also from the forwarding AG (node3)?

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  ปีที่แล้ว

      No. All forwarders are read only. once u fail over the DAG then only the forwarder will get ability to write.
      after fail over Forwarder will become global primary
      Global primary will become forwarder.
      I hope you got the answer.
      Thanks & Regards
      MS SQL DBA Tech Support

  • @syedahmadnajmisyedmdnasir803
    @syedahmadnajmisyedmdnasir803 14 วันที่ผ่านมา

    Is this suitable for Active-Active HQ DC and Cloud DC where the users can access the application from both DC.

  • @azuredevops1650
    @azuredevops1650 ปีที่แล้ว

    Thank you bro

  • @andrejordan9798
    @andrejordan9798 ปีที่แล้ว

    Hi, i have created the same test env. all is working okay ... but when i shutdown all nodes down from custer1 then all secondarys from cluster2 are not synchronizing... primary node from cluster2 are synchronizing... How can i solve this ?
    Thanks Andre

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  ปีที่แล้ว

      You are linking the always on availability groups. when the global primary went down all nodes from second cluster will be synchronizing only.
      To avoid this u need to bring nodes online from cluster 1
      or
      u need to force fail over to forwarder to take global primary
      or
      u can break the DAG.
      Test the Scenarios and let me know the outcome.
      Thanks & Regards
      MS SQL DBA TECH SUPPORT

  • @pravin_1410
    @pravin_1410 11 หลายเดือนก่อน

    Sir can please make a video for how to configure link server in always on and cluster

  • @user-eb5kr7ey8v
    @user-eb5kr7ey8v 10 หลายเดือนก่อน

    Hi bro, please reply.. i am working with a client and their whole set up is on DAG, which was done by a very experience previous dba, he is not working for them now, and i am new to that project as only dba and DAG concept is something new to me. i am having one AG ON Data Center for primary and secondary server with two db in a cluster on this with a domain account.. and i am having a DR server on a different network, and DR server is joined to that primary in AG using DAG, but the thing is your node 3 and 4 and synced from ag1 primary, while on my production. my DR shows asynch. why is that , if you can explain me well

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  10 หลายเดือนก่อน

      Hi Raghav Singh
      In a distributed availability group, the synchronization status between the two availability groups depends on the availability mode of both replicas.
      It makes sense that the asynchronous commit mode in the Distributed Availability Group (DAG) is causing the synchronization status to show as asynchronous.
      The choice of the availability mode in the DAG depends on your specific requirements and network conditions. Asynchronous commit mode can be appropriate for a disaster recovery scenario to minimize the impact on the primary server's performance.There could be another reasons as well however you need to explore since its your environment and let us know if you find anything new that might help us and other fellow DBAs
      Thanks & Regards
      MS SQL DBA TECH SUPPORT

    • @user-eb5kr7ey8v
      @user-eb5kr7ey8v 10 หลายเดือนก่อน

      @@MSSQLDBATechSupport See , in DC primary and secondry is there in one AG, in second AG only DR is there, So Is it possible to create AG without secondry, because whatever study i have gone through showing two replicas in second AG also. but in my environment only DR in second AG. Thanks

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  10 หลายเดือนก่อน

      Yes it is possible. you just type dag sql server in google image search then you will get so many possible setup.

  • @thangamuhtuk2850
    @thangamuhtuk2850 2 หลายเดือนก่อน

    I am getting secondary dag disconnect after dag setup. Can I help

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  2 หลายเดือนก่อน

      Kindly check error log and permissions

    • @thangamuhtuk2850
      @thangamuhtuk2850 2 หลายเดือนก่อน

      All permission available. Service account has sysadmin permission. The thing is these are azure servers and have LB configured in prod and DR botg

    • @MSSQLDBATechSupport
      @MSSQLDBATechSupport  2 หลายเดือนก่อน

      okay