{"id":54198,"date":"2018-10-30T09:00:21","date_gmt":"2018-10-30T09:00:21","guid":{"rendered":"http:\/\/content.n4stack.io\/?p=54198"},"modified":"2019-10-08T14:45:25","modified_gmt":"2019-10-08T13:45:25","slug":"checklist-sql-always-on-config","status":"publish","type":"post","link":"http:\/\/content.n4stack.io\/2018\/10\/30\/checklist-sql-always-on-config\/","title":{"rendered":"Checklist for SQL Server Always On Availability Groups"},"content":{"rendered":"
[et_pb_section bb_built=”1″ module_id=”introduction” _builder_version=”3.12.2″ custom_padding=”0|0px|22px|0px|false|false” next_background_color=”#ededed” inner_width=”auto” inner_max_width=”1080px”][et_pb_row custom_padding=”27px|0px|13px|0px|false|false” _builder_version=”3.0.48″ background_size=”initial” background_position=”top_left” background_repeat=”repeat” width=”80%” max_width=”1080px”][et_pb_column type=”1_4″ custom_padding__hover=”|||” custom_padding=”|||”][et_pb_blurb title=”General Architecture Planning” url=”#generalarchitectureplanning” _builder_version=”3.12.2″ header_text_align=”center” header_text_color=”#e05206″ border_radii=”on|15px|15px|15px|15px” border_width_all=”5px” border_color_all=”#e05206″ custom_padding=”15px|15px|10px|15px” \/][\/et_pb_column][et_pb_column type=”1_4″ custom_padding__hover=”|||” custom_padding=”|||”][et_pb_blurb title=”Network” url=”#network” _builder_version=”3.12.2″ header_text_align=”center” header_text_color=”#e05206″ border_radii=”on|15px|15px|15px|15px” border_width_all=”5px” border_color_all=”#e05206″ custom_padding=”15px|15px|10px|15px” \/][\/et_pb_column][et_pb_column type=”1_4″ custom_padding__hover=”|||” custom_padding=”|||”][et_pb_blurb title=”Service Accounts” url=”#serviceaccounts” _builder_version=”3.12.2″ header_text_align=”center” header_text_color=”#e05206″ border_radii=”on|15px|15px|15px|15px” border_width_all=”5px” border_color_all=”#e05206″ custom_padding=”15px|15px|10px|15px” \/][\/et_pb_column][et_pb_column type=”1_4″ custom_padding__hover=”|||” custom_padding=”|||”][et_pb_blurb title=”Server Admin Accounts” url=”#installation” _builder_version=”3.12.2″ header_text_align=”center” header_text_color=”#e05206″ border_radii=”on|15px|15px|15px|15px” border_width_all=”5px” border_color_all=”#e05206″ custom_padding=”15px|15px|10px|15px” \/][\/et_pb_column][\/et_pb_row][et_pb_row custom_padding=”0|0px|27px|0px|false|false” _builder_version=”3.0.48″ background_size=”initial” background_position=”top_left” background_repeat=”repeat” width=”80%” max_width=”1080px”][et_pb_column type=”1_3″ custom_padding__hover=”|||” custom_padding=”|||”][et_pb_blurb title=”Servers” url=”#servers” _builder_version=”3.12.2″ header_text_align=”center” header_text_color=”#e05206″ border_radii=”on|15px|15px|15px|15px” border_width_all=”5″ border_color_all=”#e05206″ custom_padding=”15px|15px|10px|15px” \/][\/et_pb_column][et_pb_column type=”1_3″ custom_padding__hover=”|||” custom_padding=”|||”][et_pb_blurb title=”Failover Cluster” url=”#failovercluster” _builder_version=”3.12.2″ header_text_align=”center” header_text_color=”#e05206″ border_radii=”on|15px|15px|15px|15px” border_width_all=”5px” border_color_all=”#e05206″ custom_padding=”15px|15px|10px|15px” \/][\/et_pb_column][et_pb_column type=”1_3″ custom_padding__hover=”|||” custom_padding=”|||”][et_pb_blurb title=”Storage (Disks)” url=”#storage” _builder_version=”3.12.2″ header_text_align=”center” header_text_color=”#e05206″ border_radii=”on|15px|15px|15px|15px” border_width_all=”5px” border_color_all=”#e05206″ custom_padding=”15px|15px|10px|15px” \/][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section bb_built=”1″ module_id=”generalarchitectureplanning” _builder_version=”3.12.2″ background_color=”#ededed” custom_padding=”0|0px|0|0px|false|false” prev_background_color=”#ffffff” next_background_color=”#ffffff” inner_width=”auto” inner_max_width=”1080px”][et_pb_row _builder_version=”3.0.48″ background_size=”initial” background_position=”top_left” background_repeat=”repeat” width=”80%” max_width=”1080px”][et_pb_column type=”4_4″ custom_padding__hover=”|||” custom_padding=”|||”][et_pb_text _builder_version=”3.12.2″ header_text_color=”#e05206″ text_orientation=”left”]<\/p>\n
\nAs a Senior Database Consultant with over 20 years experience I’ve configured Always On more times than I can count and I find myself making the same recommendations over and over again. So, I did the sensible thing – I wrote myself an Always On checklist, and I’d like to share that checklist with you today. If you are in a hurry and you want to check a specific section, please click the anchor buttons above.<\/p>\n
[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section bb_built=”1″ module_id=”network” _builder_version=”3.12.2″ custom_padding=”0|0px|0|0px|false|false” prev_background_color=”#ededed” next_background_color=”#ededed” inner_width=”auto” inner_max_width=”1080px”][et_pb_row custom_padding=”27px|0px|0|0px|false|false” _builder_version=”3.0.48″ background_size=”initial” background_position=”top_left” background_repeat=”repeat” width=”80%” max_width=”1080px”][et_pb_column type=”4_4″ custom_padding__hover=”|||” custom_padding=”|||”][et_pb_text ul_item_indent=”15px” _builder_version=”3.12.2″ header_2_text_color=”#e05206″ text_orientation=”left”]<\/p>\n
As with everything in life, you’ve got to have a plan in place before you configure anything. I always find it best to ask the following questions in the first instance. These particular questions will help determine whether asynchronous or synchronous replication is best suited to your business needs.<\/p>\n
[\/et_pb_text][et_pb_text _builder_version=”3.17.6″ text_orientation=”left”]<\/p>\n
\nFirst things first, replicas<\/strong>:<\/p>\n Next, nodes<\/strong>:<\/p>\n And finally, databases<\/strong>:<\/p>\n [\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section bb_built=”1″ module_id=”serviceaccounts” _builder_version=”3.12.2″ background_color=”#ededed” custom_padding=”0|0px|0|0px|false|false” prev_background_color=”#ffffff” next_background_color=”#ffffff” inner_width=”auto” inner_max_width=”1080px”][et_pb_row _builder_version=”3.0.48″ background_size=”initial” background_position=”top_left” background_repeat=”repeat” width=”80%” max_width=”1080px”][et_pb_column type=”4_4″ custom_padding__hover=”|||” custom_padding=”|||”][et_pb_text ol_item_indent=”5px” _builder_version=”3.17.6″ header_2_text_color=”#e05206″ header_6_text_color=”#0078d4″ text_orientation=”left”]<\/p>\n Here are the key requirements to send over and discuss with the network team:<\/p>\n For each\u00a0SQL Server Always On Availability Group (AAG) you’ll also need:<\/p>\n All ticked off? Great, let’s have a look at DNS and IP addresses next.<\/p>\n <\/p>\n [\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section bb_built=”1″ module_id=”installation” _builder_version=”3.12.2″ custom_padding=”0|0px|0|0px|false|false” prev_background_color=”#ededed” next_background_color=”#ededed” inner_width=”auto” inner_max_width=”1080px”][et_pb_row _builder_version=”3.0.48″ background_size=”initial” background_position=”top_left” background_repeat=”repeat” width=”80%” max_width=”1080px”][et_pb_column type=”4_4″ custom_padding__hover=”|||” custom_padding=”|||”][et_pb_text _builder_version=”3.17.6″ header_2_text_color=”#e05206″ text_orientation=”left”]<\/p>\n Quick reminder as we move onto service accounts \u2013 the account that runs SQL Services\u00a0must<\/strong>\u00a0be a domain account, not the local machine service account, as it needs to be able to access every replica. Also, this account must belong to the administrators group on each of the replicas. So, for my service account checklist:<\/p>\n Before we jump to our next step I\u2019ve got a question for you \u2013 have you installed any SSIS, SSAS or SSRS service accounts? If \u2018yes\u2019 you\u2019ll need to create additional SQL service accounts for each one.<\/p>\n [\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section bb_built=”1″ module_id=”servers” _builder_version=”3.12.2″ background_color=”#ededed” custom_padding=”0|0px|0|0px|false|false” prev_background_color=”#ffffff” next_background_color=”#ffffff” inner_width=”auto” inner_max_width=”1080px”][et_pb_row _builder_version=”3.0.48″ background_size=”initial” background_position=”top_left” background_repeat=”repeat” width=”80%” max_width=”1080px”][et_pb_column type=”4_4″ custom_padding__hover=”|||” custom_padding=”|||”][et_pb_text ul_item_indent=”5px” ol_item_indent=”5px” _builder_version=”3.12.2″ header_2_text_color=”#e05206″ header_6_text_color=”#e05206″ text_orientation=”left”]<\/p>\n Now let’s take a look at the admin accounts, you\u2019ll need a:<\/p>\n Once installed you\u2019ll need to set permissions for your failover cluster account in AS on the folder containing the failover cluster computer object:<\/p>\n If the above two permissions aren\u2019t set, an error will pop up when generating the Always On listener: Create failed for Availability Group Listener.<\/em><\/p>\n <\/p>\n Source: Microsoft<\/a><\/em><\/p>\n Here\u2019s where I give you two options \u2013 there\u2019s no right or wrong way to generate the listener, so opt for whichever makes the most sense to you.<\/p>\n\n
\n
\n
\n
#2. NETWORK<\/h2>\n
\n
\n
#3. SERVICE ACCOUNTS<\/h2>\n
\n
#4. INSTALLATION & SERVER ADMINISTRATION ACCOUNTS<\/h2>\n
\n
\n
You can pre-stage the listener:<\/h6>\n
\n
Or you can allow the cluster to create the listener itself:<\/h6>\n
\n