{"id":35830,"date":"2019-05-09T22:48:30","date_gmt":"2019-05-10T05:48:30","guid":{"rendered":"https:\/\/virtual-dba.com\/?p=35830"},"modified":"2023-08-11T09:37:42","modified_gmt":"2023-08-11T16:37:42","slug":"cant-join-server-during-creation-of-availability-group","status":"publish","type":"post","link":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/","title":{"rendered":"Can\u2019t Join a Server During the Creation of an Availability Group"},"content":{"rendered":"\n<p>I had an issue where I was trying to create a new Availability Group. During the creation process, it sits at the &#8220;<strong>Joining &#8216;DBName&#8217; to availability group &#8216;AGName&#8217; on &#8216;servername&#8217;<\/strong>&#8221; step for a very long time. You are either forced to cancel and delete the AG or wait until it errors out. You get the same results whether you add the listener portion in the creation or not. You also get the same results when you try it going the other direction where the primary is on the other server. In Active Directory, I verified the listener was disabled and the cluster had full control of the listener. You could ping each server and it resolves the name to the IP address. This was done from each server. I could connect to both instances from one server within SSMS as well. <\/p>\n\n\n\n<p><strong>The picture shows the progress of creating the AG without creating a listener and where it sort of hangs before erroring out.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"709\" height=\"590\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/creating_availability_group_1..png\" alt=\"creating availability group\" class=\"wp-image-35838\"\/><\/figure>\n\n\n\n<p><strong>The picture shows the progress of creating the AG as well as the creation of the listener and where it sort of hangs before erroring out.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"658\" height=\"557\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/creating_availability_group_wo_listener_2.png\" alt=\"creating availability group wo listener\" class=\"wp-image-35839\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Error<\/h2>\n\n\n\n<p>If you let the wizard complete without canceling it, it will show the following errors.<br><strong>The wizard finished with errors:<\/strong><br><strong>Error:<\/strong> Attempting to join the availability group resulted in an error.<br>Failed to join the database &#8216;DBName&#8217; to the availability group &#8216;AGName&#8217; on the availability replica &#8216;servername&#8217;.<br>An exception occurred while executing a Transaction-SQL statement or batch.<br>The connection to the primary replica is not active. The command cannot be processed.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"576\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/connection_primary_rep_not_active_3.png\" alt=\"connection primary rep not active\" class=\"wp-image-35837\"\/><\/figure>\n\n\n\n<p><strong>You may find some of these errors within the SQL Log:<\/strong><\/p>\n\n\n\n<p>A connection timeout has occurred while attempting to establish a connection to availability replica &#8216;Servername&#8217; with id [79C64582-852F-49A5-99AC-418E6D74B1FE]. Either a networking or firewall issue exists, or the endpoint address provided for the replica is not the database mirroring endpoint of the host server instance.<\/p>\n\n\n\n<p>The lease worker of availability group &#8216;AGName&#8217; is now sleeping the excess lease time (164828 ms) supplied during online. This is an informational message only. No user action is required.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The fix<\/h2>\n\n\n\n<p>Even though I could ping the servers when I tried running the command nslookup, it resolved one servername but not the other. This told me it could not resolve the name via DNS.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"235\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/resolve_via_DNS_4.png\" alt=\"resolve via DNS\" class=\"wp-image-35845\"\/><\/figure>\n\n\n\n<p>You need to look at the DNS Manager to make sure you can see both servers in DNS. In my case, only one server was showing (the one that resolved when I ran nslookup). Most DBAs do not have access to look at DNS so you will have to work with your system administrator. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"199\" height=\"110\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/dns_manager_5.png\" alt=\"dns manager\" class=\"wp-image-35842\"\/><\/figure>\n\n\n\n<p>The SA or someone that has permission to create records within DNS will need to add a static Host(A) entry for the missing server.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"330\" height=\"285\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/static_hosta_entry_6.png\" alt=\"static host(a) entry\" class=\"wp-image-35847\"\/><\/figure>\n\n\n\n<p>After adding a new Host(A) entry for the missing server in DNS, run <strong>nslookup<\/strong> again against the server that was just added into DNS. It should now resolve. If your environment has multiple DNS servers, it may take some time for those changes to replicate so the entry may not resolve right away.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"370\" height=\"109\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/hosta_missing_server_dns_7.png\" alt=\"hosta missing server dns\" class=\"wp-image-35843\"\/><\/figure>\n\n\n\n<p>If you did not cancel the AG creation, the AG will be created but the DB may need to be joined to the Availability Group. Or you could delete the AG and recreate it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"258\" height=\"81\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/ag_Creation_8.png\" alt=\"ag Creation\" class=\"wp-image-35836\"\/><\/figure>\n\n\n\n<p>To add the database to the AG, right click on the database that has an exclamation<strong> (!)<\/strong> mark in front of it and click &#8220;<strong>Join to Availability Group\u2026<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"450\" height=\"133\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/add_db_to_ag_join_9.png\" alt=\"add db to ag join\" class=\"wp-image-35835\"\/><\/figure>\n\n\n\n<p>The database should now be joined to the AG. If the database had lots of transactions since the issue first showed up you may need to apply transaction logs before joining it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"199\" height=\"81\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/database_joined_to_AG_10.png\" alt=\"database joined to AG\" class=\"wp-image-35840\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Adding transaction log backups to a database in Restoring State<\/h3>\n\n\n\n<p>Adding transaction log backups to a Database if the join fails. If you get an error that states the following, you need to load the transaction log backups. <strong>Error: <\/strong>The mirror database, &#8220;DBName&#8221;, has insufficient transaction log data to preserve the log backup chain of the principal database. This may happen if a log backup from the principal database has not been taken or has not been restored on the mirror database.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"770\" height=\"567\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/mirror_database_11.png\" alt=\"mirror database\" class=\"wp-image-35844\"\/><\/figure>\n\n\n\n<p>On the secondary expand Availability Groups, your AG, Availability Databases. You will see your database and it will have a Yellow <strong>(!)<\/strong> exclamation mark.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"257\" height=\"135\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/secondary_AG_12.png\" alt=\"secondary AG\" class=\"wp-image-35846\"\/><\/figure>\n\n\n\n<p>Look at your backup chain, find your transaction log backups and load them. You can script out the restore or use the GUI to load the transaction logs. Via the GUI, on the secondary, right click on the DB that shows <strong>Restoring<\/strong>, click <strong>Tasks<\/strong>, <strong>Restore<\/strong>, <strong>Transaction Log\u2026 <\/strong>Once you restored all of the transaction logs, keep the database in <strong>RESTORE IN NORECOVERY<\/strong>. The database has to be in Restoring status in order to join it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"832\" height=\"305\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/transaction_log_13.png\" alt=\"transaction log\" class=\"wp-image-35848\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"497\" height=\"67\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/db_nonop_14.png\" alt=\"db nonop\" class=\"wp-image-35841\"\/><\/figure>\n\n\n\n<p>To add the database to the AG, right click on the database that has an exclamation<strong> (!)<\/strong> mark in front of it and click &#8220;<strong>Join to Availability Group\u2026<\/strong>&#8220;.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"376\" height=\"248\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/add_db_exclam_15.png\" alt=\"add db exclam\" class=\"wp-image-35834\"\/><\/figure>\n\n\n\n<p> If you loaded all of the transaction logs, the database will join the AG successfully.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"271\" height=\"222\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/transaction_logs_loaded_16.png\" alt=\"transaction logs loaded\" class=\"wp-image-35849\"\/><\/figure>\n\n\n\n<p>So, in this instance, a missing or deleted DNS entry caused the issue of not allowing a server to be added into an Availability Group. Don&#8217;t assume because you can ping the server, a DNS record exists. NSLookup will ultimately tell you if it exists or not. Work with your SA to get that record added back. But if multiple DNS servers exist it may take a little time for those changes to replicate to each DNS server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had an issue where I was trying to create a new Availability Group. During the creation process, it sits at the &#8220;Joining &#8216;DBName&#8217; to availability group &#8216;AGName&#8217; on &#8216;servername&#8217;&#8221; step for a very long time. You are either forced to cancel and delete the AG or wait until it errors out. You get the [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":35833,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","content-type":"","footnotes":""},"categories":[4166,55],"tags":[1957,1843,60],"class_list":["post-35830","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-sql-server","tag-always-on","tag-availability-group","tag-sql-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.1 (Yoast SEO v27.1.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Can\u2019t Join a Server During the Creation of an Availability Group - Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts<\/title>\n<meta name=\"description\" content=\"Trouble Joining Availability Group? DNS Issue May Be the Cause. Learn how missing DNS entries can affect joining servers in SQL Availability Groups.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Can\u2019t Join a Server During the Creation of an Availability Group\" \/>\n<meta property=\"og:description\" content=\"Trouble Joining Availability Group? DNS Issue May Be the Cause. Learn how missing DNS entries can affect joining servers in SQL Availability Groups.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/\" \/>\n<meta property=\"og:site_name\" content=\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-10T05:48:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-11T16:37:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Can\u2019t-Join-a-Server-During-the-Creation-of-an-Availability-Group.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"557\" \/>\n\t<meta property=\"og:image:height\" content=\"291\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"XTIVIA\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:site\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"XTIVIA\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/\"},\"author\":{\"name\":\"XTIVIA\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1\"},\"headline\":\"Can\u2019t Join a Server During the Creation of an Availability Group\",\"datePublished\":\"2019-05-10T05:48:30+00:00\",\"dateModified\":\"2023-08-11T16:37:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/\"},\"wordCount\":928,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Can\u2019t-Join-a-Server-During-the-Creation-of-an-Availability-Group.jpg\",\"keywords\":[\"always on\",\"availability group\",\"sql server\"],\"articleSection\":[\"Blog\",\"SQL Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/\",\"url\":\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/\",\"name\":\"Can\u2019t Join a Server During the Creation of an Availability Group - Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Can\u2019t-Join-a-Server-During-the-Creation-of-an-Availability-Group.jpg\",\"datePublished\":\"2019-05-10T05:48:30+00:00\",\"dateModified\":\"2023-08-11T16:37:42+00:00\",\"description\":\"Trouble Joining Availability Group? DNS Issue May Be the Cause. Learn how missing DNS entries can affect joining servers in SQL Availability Groups.\",\"breadcrumb\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#primaryimage\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Can\u2019t-Join-a-Server-During-the-Creation-of-an-Availability-Group.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Can\u2019t-Join-a-Server-During-the-Creation-of-an-Availability-Group.jpg\",\"width\":557,\"height\":291,\"caption\":\"Can\u2019t Join a Server During the Creation of an Availability Group\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/virtual-dba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Can\u2019t Join a Server During the Creation of an Availability Group\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/virtual-dba.com\/#website\",\"url\":\"https:\/\/virtual-dba.com\/\",\"name\":\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\",\"description\":\"Remote Database Administration\",\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/virtual-dba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/virtual-dba.com\/#organization\",\"name\":\"Virtual-DBA: Remote DBA | Remote Database Administration\",\"alternateName\":\"Virtual-DBA powered by XTIVIA\",\"url\":\"https:\/\/virtual-dba.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"width\":557,\"height\":291,\"caption\":\"Virtual-DBA: Remote DBA | Remote Database Administration\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/virtual_dba\",\"https:\/\/www.linkedin.com\/showcase\/36220649\/\",\"https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg\"],\"description\":\"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.\",\"email\":\"info@xtivia.com\",\"telephone\":\"8886853101\",\"legalName\":\"XTIVIA, Inc\",\"foundingDate\":\"1992-05-01\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"201\",\"maxValue\":\"500\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1\",\"name\":\"XTIVIA\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g\",\"caption\":\"XTIVIA\"},\"url\":\"https:\/\/virtual-dba.com\/author\/xtivia\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Can\u2019t Join a Server During the Creation of an Availability Group - Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","description":"Trouble Joining Availability Group? DNS Issue May Be the Cause. Learn how missing DNS entries can affect joining servers in SQL Availability Groups.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/","og_locale":"en_US","og_type":"article","og_title":"Can\u2019t Join a Server During the Creation of an Availability Group","og_description":"Trouble Joining Availability Group? DNS Issue May Be the Cause. Learn how missing DNS entries can affect joining servers in SQL Availability Groups.","og_url":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/","og_site_name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","article_published_time":"2019-05-10T05:48:30+00:00","article_modified_time":"2023-08-11T16:37:42+00:00","og_image":[{"width":557,"height":291,"url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Can\u2019t-Join-a-Server-During-the-Creation-of-an-Availability-Group.jpg","type":"image\/jpeg"}],"author":"XTIVIA","twitter_card":"summary_large_image","twitter_creator":"@virtual_dba","twitter_site":"@virtual_dba","twitter_misc":{"Written by":"XTIVIA","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#article","isPartOf":{"@id":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/"},"author":{"name":"XTIVIA","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1"},"headline":"Can\u2019t Join a Server During the Creation of an Availability Group","datePublished":"2019-05-10T05:48:30+00:00","dateModified":"2023-08-11T16:37:42+00:00","mainEntityOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/"},"wordCount":928,"commentCount":0,"publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Can\u2019t-Join-a-Server-During-the-Creation-of-an-Availability-Group.jpg","keywords":["always on","availability group","sql server"],"articleSection":["Blog","SQL Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/","url":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/","name":"Can\u2019t Join a Server During the Creation of an Availability Group - Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","isPartOf":{"@id":"https:\/\/virtual-dba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#primaryimage"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Can\u2019t-Join-a-Server-During-the-Creation-of-an-Availability-Group.jpg","datePublished":"2019-05-10T05:48:30+00:00","dateModified":"2023-08-11T16:37:42+00:00","description":"Trouble Joining Availability Group? DNS Issue May Be the Cause. Learn how missing DNS entries can affect joining servers in SQL Availability Groups.","breadcrumb":{"@id":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#primaryimage","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Can\u2019t-Join-a-Server-During-the-Creation-of-an-Availability-Group.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Can\u2019t-Join-a-Server-During-the-Creation-of-an-Availability-Group.jpg","width":557,"height":291,"caption":"Can\u2019t Join a Server During the Creation of an Availability Group"},{"@type":"BreadcrumbList","@id":"https:\/\/virtual-dba.com\/blog\/cant-join-server-during-creation-of-availability-group\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/virtual-dba.com\/"},{"@type":"ListItem","position":2,"name":"Can\u2019t Join a Server During the Creation of an Availability Group"}]},{"@type":"WebSite","@id":"https:\/\/virtual-dba.com\/#website","url":"https:\/\/virtual-dba.com\/","name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","description":"Remote Database Administration","publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/virtual-dba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/virtual-dba.com\/#organization","name":"Virtual-DBA: Remote DBA | Remote Database Administration","alternateName":"Virtual-DBA powered by XTIVIA","url":"https:\/\/virtual-dba.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","width":557,"height":291,"caption":"Virtual-DBA: Remote DBA | Remote Database Administration"},"image":{"@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/virtual_dba","https:\/\/www.linkedin.com\/showcase\/36220649\/","https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg"],"description":"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.","email":"info@xtivia.com","telephone":"8886853101","legalName":"XTIVIA, Inc","foundingDate":"1992-05-01","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"201","maxValue":"500"}},{"@type":"Person","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1","name":"XTIVIA","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g","caption":"XTIVIA"},"url":"https:\/\/virtual-dba.com\/author\/xtivia\/"}]}},"_links":{"self":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/35830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/comments?post=35830"}],"version-history":[{"count":0,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/35830\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media\/35833"}],"wp:attachment":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media?parent=35830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/categories?post=35830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/tags?post=35830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}