{"id":1048,"date":"2013-11-03T17:13:51","date_gmt":"2013-11-04T00:13:51","guid":{"rendered":"https:\/\/mmman.itgroove.net\/?p=1048"},"modified":"2023-02-24T21:48:37","modified_gmt":"2023-02-24T21:48:37","slug":"setting-up-a-sql-server-alias-with-sharepoint-server-2013","status":"publish","type":"post","link":"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/","title":{"rendered":"Setting Up a SQL Server Alias with SharePoint Server 2013"},"content":{"rendered":"<p>I made a <a href=\"https:\/\/mmman.itgroove.net\/2012\/07\/setting-up-a-sql-server-alias-with-sharepoint-server-2010\/\">similar post<\/a> about this for SharePoint 2010, but I wanted to update it (and make it more clear) for 2013.&nbsp; <\/p>\n<p>Using a SQL Server alias, you\u2019ll be able to change the database server in your SharePoint farm behind the scenes, without anyone in your SharePoint universe even knowing you\u2019ve made a change.&nbsp; In addition, setting an alias should really be a best practice for most new farm builds.&nbsp; This technique is useful when moving or virtualising your database server, setting up a test environment, or especially when migrating from SQL Server 2005 \/ 2008 \/ 2008 R2 to SQL Server 2012 \/ 2014.<\/p>\n<p>Repeat the following steps for all your SharePoint Frontend <u>and<\/u> Application Servers. <\/p>\n<p><em><u>Important<\/u><\/em>: Only do this on the SharePoint Servers. Don\u2019t do this on the SQL Server!<\/p>\n<p>The steps we\u2019re going to run include the following:<\/p>\n<p>1. Setup the alias using 32-bit config tool.<\/p>\n<p>2. Setup the (same) alias using 64-bit config tool.<\/p>\n<p>Let\u2019s begin\u2026<\/p>\n<h3>1. Run the 32-bit SQL tool.&nbsp; Run the following application, \u201cC:&#092;windows&#092;<font style=\"font-weight: bold\">system32<\/font>&#092;cliconfg.exe\u201d<\/h3>\n<p>Select the tab \u201cAlias\u201d and click the button \u201cAdd\u201d.<\/p>\n<p><a href=\"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2012\/07\/image.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2012\/07\/image_thumb.png\" width=\"536\" height=\"344\"><\/a><\/p>\n<p>Next (as seen in the graphic below), (1) Select \u201cTCP\/IP\u201d and define your alias (2). Next, fill in the original server name (3) of your database server and unselect the \u201cDynamically determine port\u201d checkbox (4) \u2013 finally, define the port (5). After that click \u201cOK\u201d.<\/p>\n<p>Note 1: If you know the port (typically 1433), you will need to uncheck the \u201cDynamically determine port\u201d checkbox, and set the fixed value.<\/p>\n<p>Note 2: If your new (or old) server is using an instance, be sure to include that, for example, something like itgrooveSQLServer&#092;INSTANCENAME&nbsp; (ex. itgrooveSQLServer&#092;SharePoint2013)<\/p>\n<p>Note 3: If you have an existing SQL server without an Alias and are migrating that to a new machine and setting up an alias, the \u201cServer Alias\u201d value should be the name of the existing SQL server (2), and the Server name (3) should be the name of your new SQL server. <\/p>\n<p><a href=\"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2013\/11\/image1.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2013\/11\/image_thumb1.png\" width=\"592\" height=\"311\"><\/a><\/p>\n<p>Now you have defined your SQL alias name. Click \u201cOK\u201d.<\/p>\n<p><a href=\"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2013\/11\/SNAGHTML1bfa81a.png\"><img loading=\"lazy\" decoding=\"async\" title=\"SNAGHTML1bfa81a\" style=\"border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px\" border=\"0\" alt=\"SNAGHTML1bfa81a\" src=\"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2013\/11\/SNAGHTML1bfa81a_thumb.png\" width=\"550\" height=\"355\"><\/a><\/p>\n<p>Note: It\u2019s recommended that you should setup an alias for the server name itself, as well as it\u2019s fully qualified name \u2013 for example, setup an alias for \u201citgrooveSQLServer\u201d, as well as \u201citgrooveSQLServer.domain.com\u201d.<\/p>\n<h3>2. Run the 64-bit SQL tool. Run the following application, \u201cC:&#092;windows&#092;<font style=\"font-weight: bold\">syswow64<\/font>&#092;cliconfg.exe\u201d<\/h3>\n<p>Using the 64bit tool, repeat all the same steps you did above.<\/p>\n<p>After you\u2019ve completed steps (1) and (2) <strong>on each SharePoint Server<\/strong>, you can either create your new farm or restart your existing farm, and it should be working again with your new alias.<\/p>\n<p>Original Source: <a title=\"http:\/\/splog.cairo.ag\/2011\/02\/22\/using-sql-server-alias-names-with-sharepoint-server-2010\/\" href=\"http:\/\/splog.cairo.ag\/2011\/02\/22\/using-sql-server-alias-names-with-sharepoint-server-2010\/\">http:\/\/splog.cairo.ag\/2011\/02\/22\/using-sql-server-alias-names-with-sharepoint-server-2010\/<\/a> \u2013 Many thanks!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I made a similar post about this for SharePoint 2010, but I wanted to update it (and make it more clear) for 2013.&nbsp; Using a SQL Server alias, you\u2019ll be able to change the database server in your SharePoint farm behind the scenes, without anyone in your SharePoint universe even knowing you\u2019ve made a change.&nbsp; &hellip; <a href=\"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/\"><\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[24,7,32,33],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Setting Up a SQL Server Alias with SharePoint Server 2013 - Archive<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting Up a SQL Server Alias with SharePoint Server 2013 - Archive\" \/>\n<meta property=\"og:description\" content=\"I made a similar post about this for SharePoint 2010, but I wanted to update it (and make it more clear) for 2013.&nbsp; Using a SQL Server alias, you\u2019ll be able to change the database server in your SharePoint farm behind the scenes, without anyone in your SharePoint universe even knowing you\u2019ve made a change.&nbsp; &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/\" \/>\n<meta property=\"og:site_name\" content=\"Archive\" \/>\n<meta property=\"article:published_time\" content=\"2013-11-04T00:13:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-24T21:48:37+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2012\/07\/image_thumb.png\" \/>\n<meta name=\"author\" content=\"Colin Phillips (Alumni)\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Colin Phillips (Alumni)\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/\",\"url\":\"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/\",\"name\":\"Setting Up a SQL Server Alias with SharePoint Server 2013 - Archive\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/archive\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2012\/07\/image_thumb.png\",\"datePublished\":\"2013-11-04T00:13:51+00:00\",\"dateModified\":\"2023-02-24T21:48:37+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/adeb0df1cc7a862160be620ca7eace1b\"},\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/#primaryimage\",\"url\":\"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2012\/07\/image_thumb.png\",\"contentUrl\":\"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2012\/07\/image_thumb.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog Archive\",\"item\":\"https:\/\/regroove.ca\/archive\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setting Up a SQL Server Alias with SharePoint Server 2013\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/archive\/#website\",\"url\":\"https:\/\/regroove.ca\/archive\/\",\"name\":\"Archive\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/archive\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/adeb0df1cc7a862160be620ca7eace1b\",\"name\":\"Colin Phillips (Alumni)\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/14eeab0d377e9630e0983d9c08911979?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/14eeab0d377e9630e0983d9c08911979?s=96&d=mm&r=g\",\"caption\":\"Colin Phillips (Alumni)\"},\"url\":\"https:\/\/regroove.ca\/archive\/author\/cphillips\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Setting Up a SQL Server Alias with SharePoint Server 2013 - Archive","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:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/","og_locale":"en_US","og_type":"article","og_title":"Setting Up a SQL Server Alias with SharePoint Server 2013 - Archive","og_description":"I made a similar post about this for SharePoint 2010, but I wanted to update it (and make it more clear) for 2013.&nbsp; Using a SQL Server alias, you\u2019ll be able to change the database server in your SharePoint farm behind the scenes, without anyone in your SharePoint universe even knowing you\u2019ve made a change.&nbsp; &hellip;","og_url":"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/","og_site_name":"Archive","article_published_time":"2013-11-04T00:13:51+00:00","article_modified_time":"2023-02-24T21:48:37+00:00","og_image":[{"url":"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2012\/07\/image_thumb.png"}],"author":"Colin Phillips (Alumni)","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Colin Phillips (Alumni)","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/","url":"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/","name":"Setting Up a SQL Server Alias with SharePoint Server 2013 - Archive","isPartOf":{"@id":"https:\/\/regroove.ca\/archive\/#website"},"primaryImageOfPage":{"@id":"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/#primaryimage"},"image":{"@id":"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/#primaryimage"},"thumbnailUrl":"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2012\/07\/image_thumb.png","datePublished":"2013-11-04T00:13:51+00:00","dateModified":"2023-02-24T21:48:37+00:00","author":{"@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/adeb0df1cc7a862160be620ca7eace1b"},"breadcrumb":{"@id":"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/#primaryimage","url":"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2012\/07\/image_thumb.png","contentUrl":"http:\/\/mmman.itgroove.net\/wp-content\/uploads\/mmman\/2012\/07\/image_thumb.png"},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/archive\/2013\/11\/03\/setting-up-a-sql-server-alias-with-sharepoint-server-2013\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Archive","item":"https:\/\/regroove.ca\/archive\/"},{"@type":"ListItem","position":2,"name":"Setting Up a SQL Server Alias with SharePoint Server 2013"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/archive\/#website","url":"https:\/\/regroove.ca\/archive\/","name":"Archive","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/archive\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/adeb0df1cc7a862160be620ca7eace1b","name":"Colin Phillips (Alumni)","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/14eeab0d377e9630e0983d9c08911979?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/14eeab0d377e9630e0983d9c08911979?s=96&d=mm&r=g","caption":"Colin Phillips (Alumni)"},"url":"https:\/\/regroove.ca\/archive\/author\/cphillips\/"}]}},"_links":{"self":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/1048"}],"collection":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/comments?post=1048"}],"version-history":[{"count":1,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/1048\/revisions"}],"predecessor-version":[{"id":1898,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/1048\/revisions\/1898"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/media?parent=1048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/categories?post=1048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/tags?post=1048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}