AzureStack-QuickStart-Templ.../301-storage-spaces-direct
pagariyaalok ce0fb07192 Storage spaces direct template for Azure Stack (#358)
* Template added for S2D - Azure Stack

Base template taken from azure-quickstart-templates and required

* Added active-directory-new-domain-ha-2-dc for Azure Stack

Base line copy : azure-quickstart-templates
Made changes, if any, and tested on Azure stack 1804

* repoint to AzureStack git repo

repoint to AzureStack git repo

* API version updated to match Azure stack

API version updated to match Azure stack

* Align to Azure stack API version

Align to Azure stack API version

* Align to Azure stack API version

Align to Azure stack API version
2018-07-17 12:32:44 -07:00
..
dsc Storage spaces direct template for Azure Stack (#358) 2018-07-17 12:32:44 -07:00
nestedtemplates Storage spaces direct template for Azure Stack (#358) 2018-07-17 12:32:44 -07:00
.ci_skip Storage spaces direct template for Azure Stack (#358) 2018-07-17 12:32:44 -07:00
README.md Storage spaces direct template for Azure Stack (#358) 2018-07-17 12:32:44 -07:00
azuredeploy.json Storage spaces direct template for Azure Stack (#358) 2018-07-17 12:32:44 -07:00
azuredeploy.parameters.json Storage spaces direct template for Azure Stack (#358) 2018-07-17 12:32:44 -07:00
metadata.json Storage spaces direct template for Azure Stack (#358) 2018-07-17 12:32:44 -07:00

README.md

Create a Storage Spaces Direct (S2D) Scale-Out File Server (SOFS) Cluster with Windows Server 2016 on an existing VNET

This template will create a Storage Spaces Direct (S2D) Scale-Out File Server (SOFS) cluster using Windows Server 2016 in an existing VNET and Active Directory environment.

This template creates the following resources by default:

  • A Premium Storage Account for storing VM disks for each storage node
  • A Standard Storage Account for a Cloud Witness
  • A Windows Server 2016 cluster for storage nodes, provisioned for Storage Spaces Direct (S2D) and the Scale-Out File Server (SOFS) role
  • One Availability Set for the cluster nodes

To deploy the required Azure VNET and Active Directory infrastructure, if not already in place, you may use this template to deploy the prerequisite infrastructure.

Click the button below to deploy from the portal:

Notes

  • The default settings for storage are to deploy using premium storage, which is strongly recommended for S2D performance. When using Premium Storage, be sure to select a VM size (DS-series, GS-series) that supports Premium Storage.

  • The default settings deploy 2 data disks per storage node, but can be increased to up to 32 data disks per node. When increasing # of data disks, be sure to select a VM size that can support the # of data disks you specify.

  • The default settings for compute require that you have at least 2 cores of free quota to deploy.

  • The images used to create this deployment are

    • Windows Server 2016 Datacenter Edition - Latest Image
  • To successfully deploy this template, be sure that the subnet to which the storage nodes are being deployed already exists on the specified Azure virtual network, AND this subnet should be defined in Active Directory Sites and Services for the appropriate AD site in which the closest domain controllers are configured.

  • SPECIAL THANKS to @mmarch on code contributions for dynamic data disk selection nested templates!

Deploying Sample Templates

You can deploy these samples directly through the Azure Portal or by using the scripts supplied in the root of the repo.

To deploy the sammple using the Azure Portal, click the Deploy to Azure button found above.

To deploy the sample via the command line (using Azure PowerShell or the Azure CLI) you can use the scripts.

Simple execute the script and pass in the folder name of the sample you want to deploy. For example:

.\Deploy-AzureResourceGroup.ps1 -ResourceGroupLocation 'eastus' -ArtifactStagingDirectory '[foldername]'
azure-group-deploy.sh -a [foldername] -l eastus -u

If the sample has artifacts that need to be "staged" for deployment (Configuration Scripts, Nested Templates, DSC Packages) then set the upload switch on the command. You can optionally specify a storage account to use, if so the storage account must already exist within the subscription. If you don't want to specify a storage account one will be created by the script or reused if it already exists (think of this as "temp" storage for AzureRM).

.\Deploy-AzureResourceGroup.ps1 -ResourceGroupLocation 'eastus' -ArtifactStagingDirectory '301-storage-spaces-direct' -UploadArtifacts 
azure-group-deploy.sh -a '301-storage-spaces-direct' -l eastus -u

Tags: cluster, ha, storage spaces, storage spaces direct, S2D, windows server 2016, ws2016