AzureStack-QuickStart-Templ.../sql-2016-ha
sumantshiv bb40f72ba5 Sql Always-On configuration deployment (#294)
* Sql Always On deployment as per Azure.

* OS disk changes for all the VMs.

* Updated Parameters name.

* Data disk sizes update.

* Update the AD DSC resources for WS2016

* Added NSG to the deployment.

* Update dependency.

* Setting nsgID on NICs.

* Update handler version.

* Updated Primary AD configuration with dns forwarders.

* Added xDNS DSC resource.

* updating resource names.

* updated variable.

* Updating Sql disk size.

* Adding public IP for witness share VM

* Updated dependency

* Undo public IP for witness changes.

* Remove Backend AD occurances.

* Increase SQL VM disk sizes to 1TB

* Updated Sql DSC resource to look for correct storage subsystem.

* Update to DSC configuration dependency chain

* Updated Sql DSC config and dependency chain.

* Update publisher name.

* Update publisher to 'MicrosoftWindowsServer'

* Sql Always on changes wrt Azure template.

* fixed syntax error in VM2 template.

* fixed syntax error in diagnostic uri.

* Fixed braces in VM2

* Drive letter updates for the Sql configuration.

* Update drive letter for Sql configuration

* Update drive letters logic for DSC configuration.

* Update drive letter variable in dsc configuration.

* Fixed the starting drive letter as f:

* Updated drive letter in DSC config to F: as thats expected everywhere.

* Multiple VMs Availability set quick start template - initial checkin.

* Add Parameters json file.

* Added Metadat json and readme files

* CR feedback addressed.

* Set defaults.

* Update DSC resource to have absolute data disk numbers.

* Updated xSqlPs DSC resource

* Using WS2012 R2 image for SQL VM because of corresponding DSC resource.

* Updated DSC resource for xSqlServerSetup

* Fixed SqlAsset location

* Parameters.json, metadata.json and readme added.

* Deffering SQL NIC creation after AD deployment.

* Removed unwanted parameter.

* Added required parameter.

* Updated NIC configuration.

* Enable public Load balancer

* Updated variable issue.

* Removed subnet from LBFE because of public IP.

* Reduced disk size from 1000GB to 128 GB.

* BugFix 12568338 - QuickStart Template<exchange-2016-non-ha> deployment has a failure on master run

* Making public IP address available to ConfigureAlwaysOn template input.

* Fix variable issues.

* Made IP Address static for Sql listener.

* Template cosmetic changes for github version.

* Update asset location.

* Updates to some variables and parameters.

* Added Standard_A2 VM size.

* Updated readme with configuration details.

* Readme update.

* Updated metadata.

* Updated Readme.

* Update asset location to Azure master

* Updated API versions.

* Update StorageAccounts API version to 2015-06-15

* Update StorageAccountsAPI version to 2016-01-01

* Add DNS names to SQL VMs.

* fixed error in variable name.

* update branch name after merge.

* Update branch name to Azure:Master

* Create public IP for the File share witness VM.

* Adding reverseFQDN property to public IPs

* Auto upgrade minor version for DSC extension set to true.

* Update DSC extesnsion autoUpgradeMinorVersion to true

* Enable Mixed mode SQL setup

* Update artifacts path

* Allow SQL service account access on FSW share

* Updates to DSC resources.

* Update resource schema mof file.

* Updated user context in the DSC resource

* Enable contained DB using DSC configuration.

* Grant share access to sqlservice account

* Revert "Grant share access to sqlservice account"

This reverts commit 77d055a5ac.

* Updated Readme Content.

* File share access custom script

* GrantFileshareAccess template

* Added step to grant access to file share

* Minor fixes related to accessing variables.

* Removed public IP address for file share VM

* Updated branch Name

* Updated readme

* Pass VM data disk size as input parameter.

* Updated readme with required DSC extesnion version.

* Setting autoUpgradeMinorVersion to true.

* Fixed xSQL dsc resource for New-HadrEndpoint cmdlet.

* Fixes in xSqlServer DSC resource

* Revert "Fixes in xSqlServer DSC resource"

This reverts commit d7d0dc7a2b.

* Revert "Fixed xSQL dsc resource for New-HadrEndpoint cmdlet."

This reverts commit b5a64dd4a9.

* Removed GrantShareAccess step for public version.

* Update readme instructions.

* Update artifacts branch location

* Use -Path option for New-SqlHaDrEndpoint cmdlet instead of pipeline input.
2017-09-05 17:55:54 -07:00
..
CreateADPDC.ps1.zip Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
CreateFailoverCluster.ps1.zip Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
CreateFileShareWitness.ps1.zip Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
PrepareAlwaysOnSqlServer.ps1.zip Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
Readme.md Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
azuredeploy.json Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
azuredeploy.parameters.json Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
configuringAlwaysOn.json Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
creatingADNIC.json Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
creatingNICS.json Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
metadata.json Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
preparingSqlServer.json Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
provisioningADVM.json Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
provisioningVM2.json Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
publicip-rdp.json Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
setupLBs-e.json Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
storageAccountVirtualNetworkPublicIP.json Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
vnet-with-dns-server.json Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00

Readme.md

Create Two SQL Server 2016 SP1 VMs in always-on mode with SQL Authentication.

This template deploys two SQL Server 2016 SP1 Enterprise/ Developer instances in the Always On Availability Group using the PowerShell DSC Extension. It creates the following resources:

  • A network security group
  • A Virtual Network
  • Four Storage Accounts (One for AD, One for SQL, One for File Share witness and One for VM diagnostic)
  • Four public IP address (One for AD, Two for each SQL VM and One for Public LB bound to SQL Always On Listener)
  • One external load balancer for SQL VMs with Public IP bound to SQL always On Listener
  • One VM (WS2016) configured as Domain Controller for a new forest with a single domain
  • Two VM (WS2016) configured as SQL Server 2016 SP1 Enterprise/ Developer and clustered.
  • One VM (WS2016) configured as File Share Witness for the cluster.

Notes

The images used to create this deployment are:

  • AD - Windows Server 2016 Image
  • SQL Server - SQL Server 2016 SP1 on Windows Server 2016 Image
  • SQL IAAS Extension 1.2.18
  • Latest DSC Extension (2.26.0 or higher)

Configuration

  • Each SQL VMs will have two 128GB data disks.
  • The template configures the SQl instances with contained database authentication set to true.
  • The DNS suffic for public IP addresses (for ASDK: azurestack.external)