Recent Posts

Archive

Tags

No tags yet.

Building Hybrid Datacenters With Azure and Azure Stack in Minutes!

Below are some examples of how to build

Hybrid Datacenters. Where indicated, certain features are for Azure only.

Simply right click on each icon below (Google Chrome) for either a deployment to cloud or visualization of the targeted infrastructure to Azure or Azure Stack.

You will require a valid Azure Subscription to test these deployments. You will also be requested to enter parameters for each deployment.

These deployments will automatically configure a private network, install the servers and make the appropriate configurations as requested without further input. A total end to end experience.

Active directory + domain joined file server.

This template deploys a network with a new active directory forest and a domain joined file server. The private network sits behind a firewall. Click on the visualize button below for the network design.

Simply right click on each icon below and open in new tab. (Google Chrome)






Active directory + backup dc + domain joined file server.

This template deploys a new active directory forest with 2 domain controllers of the same domain. A file server is also domain joined to this network which is protected behind a firewall. Click on the visualize button below for the network design.

Simply right click on each icon below and open in new tab. (Google Chrome)

Active directory + file + web servers.

This template deploys a active directory forest with multiple domain controllers. It also includes 2 domain joined web servers. Click on the visualize button below for the network design.

Simply right click on each icon below and open in new tab. (Google Chrome)

StartFragmentFile Server + Custom Shares using DSCEndFragment

This templates creates a active directory forest with a file server and automatically creates a custom share.

Simply right click on each icon below and open in new tab. (Google Chrome)

File server + additional user created using DSC

This template in addition to creating an active directory forest with a file server, it automatically assigns a custom user to the local users and groups.

Simply right click on each icon below and open in new tab. (Google Chrome)

Backup vault + policy added to single vm deployment.

This template in addition to creating a virtual machine, will auto create a backup vault and a custom backup policy. The following define the mandatory backup policy parameters, note that syntax for the arrays need to be exact and enclosed with square brackets.

Simply right click on each icon below and open in new tab. (Google Chrome)




"vaultName": "vmbackupvault" "policyName":"MyPolicy" "scheduleRunDays": ["Monday"] "scheduleRunTimes": ["2016-09-12T09:00:00.000Z"] "weeklyRetentionDurationCount": 2 "daysOfTheWeekForMontlyRetention": ["First"] "weeksOfTheMonthForMonthlyRetention": ["First"] "monthlyRetentionDurationCount": 3 "monthsOfYear": ["January"] "daysOfTheWeekForYearlyRetention": ["Monday"] "weeksOfTheMonthForYearlyRetention": ["Monday"] "yearlyRetentionDurationCount": 2 "skuName": "Standard"



Automatic backup added to single vm

This template in addition to creating a virtual machine, will auto create a backup vault a custom backup policy and will automatically enable data protection. The following define the mandatory backup policy parameters, note that syntax for the arrays need to be exact and enclosed with square brackets.

Simply right click on each icon below and open in new tab. (Google Chrome)





Parameters


Vault & Policy


Mandatory parameters required to auto configure the backup vault and policy. change the parameters to match whether policy is daily, weekly or other.


"vaultName": "vmbackupvault" "policyName":"MyPolicy" "scheduleRunDays": ["Monday"] "scheduleRunTimes": ["2016-09-12T09:00:00.000Z"] "weeklyRetentionDurationCount": 2 "daysOfTheWeekForMontlyRetention": ["First"] "weeksOfTheMonthForMonthlyRetention": ["First"] "monthlyRetentionDurationCount": 3 "monthsOfYear": ["January"] "daysOfTheWeekForYearlyRetention": ["Monday"] "weeksOfTheMonthForYearlyRetention": ["Monday"] "yearlyRetentionDurationCount": 2 "skuName": "Standard"


Auto Protect


Mandatory parameters required to automatically configure the backup of the VM. use these as parameters or variables.


protection container iaasvmcontainer;iaasvmcontainerv2;my-resource-group;my-arm-vm protectable item vm;iaasvmcontainerv2;my-resource-group;my-arm-vm resource ids /subscriptions/subscriptionid/resourceGroups/resourceGroupName/p roviders/Microsoft.Compute/virtualMachines/vmName


Data protection vault + policy added to multi-server deployment

This template will build a small datacentre, comprising of 2 domain controllers, file server and web servers with a backup vault and the associated policies. DSC configuration does the automation of each tier.

Simply right click on each icon below and open in new tab. (Google Chrome)



The following define the mandatory backup policy parameters, note that syntax for the arrays need to be exact and enclosed with square brackets.

Vault & Policy

"vaultName": "vmbackupvault" "policyName":"MyPolicy" "scheduleRunDays": ["Monday"] "scheduleRunTimes": ["2016-09-12T09:00:00.000Z"] "weeklyRetentionDurationCount": 2 "daysOfTheWeekForMontlyRetention": ["First"] "weeksOfTheMonthForMonthlyRetention": ["First"] "monthlyRetentionDurationCount": 3 "monthsOfYear": ["January"] "daysOfTheWeekForYearlyRetention": ["Monday"] "weeksOfTheMonthForYearlyRetention": ["Monday"] "yearlyRetentionDurationCount": 2 "skuName": "Standard"

Automatic backup added to each server in a multi-server deployment.

This template will add to the template above by adding automatic data protection to the attached VMs. DSC configuration does the automation of each tier.

Simply right click on each icon below and open in new tab. (Google Chrome)




Parameters


Vault & Policy (Agent only features for Azure Stack Workloads)


Mandatory parameters required to auto configure the backup vault and policy. change the parameters to match whether policy is daily, weekly or other.


"vaultName": "vmbackupvault" "policyName":"MyPolicy" "scheduleRunDays": ["Monday"] "scheduleRunTimes": ["2016-09-12T09:00:00.000Z"] "weeklyRetentionDurationCount": 2 "daysOfTheWeekForMontlyRetention": ["First"] "weeksOfTheMonthForMonthlyRetention": ["First"] "monthlyRetentionDurationCount": 3 "monthsOfYear": ["January"] "daysOfTheWeekForYearlyRetention": ["Monday"] "weeksOfTheMonthForYearlyRetention": ["Monday"] "yearlyRetentionDurationCount": 2 "skuName": "Standard"


Auto Protect


Mandatory parameters required to automatically configure the backup of the VMs being protected. use these as parameters or variables. These


protection container iaasvmcontainer;iaasvmcontainerv2;my-resource-group;my-arm-vm protectable item vm;iaasvmcontainerv2;my-resource-group;my-arm-vm resource ids /subscriptions/subscriptionid/resourceGroups/resourceGroupName/p roviders/Microsoft.Compute/virtualMachines/my-arm-vm

#Derivcodev13 "60" minute datacenter build

That is 6 servers + 1 firewall + 1 load-balancer + different classification of storage + the operating systems + 2 domain controllers fully configured. + 2 web servers + code +2 file servers + shares + distributed name space + backup vault + backup policy + automatic protection + performance monitoring + site to site connectivity.

Simply right click on each icon below and open in new tab. (Google Chrome)

Parameters

When requested to enter parameters to start the build, take notice to enter them carefully using examples below. Failure to do so will result in a failed build. The following will build a backup vault in Azure and not Azure Stack.

location: West Europe

adminUsername: lawrance

sharedKey: "enteranything" vaultName: myvault policyName: mypolicy scheduleRunDays: ["Monday"] scheduleRunTimes: ["2016-09-12T09:00:00.000Z"] weeklyRetentionDurationCount: 3 daysOfTheWeekForMontlyRetention: ["First"] weeksOfTheMonthForMonthlyRetention: ["First"] monthlyRetentionDurationCount: 3 monthsOfYear: ["January"] daysOfTheWeekForYearlyRetention: ["Monday"] weeksOfTheMonthForYearlyRetention: ["Monday"] yearlyRetentionDurationCount: 3 skuName: Standard numberOfwebInstances: 2 virtualNetworkName: lawnet adminPassword: "Enter secure password" domainName: contoso.com dnsNameForPublicIP: "Public IP for domain controller" dnsNameForLB: "LoadBalancer for Web Site" windowsOSVersion: 2012-R2-Datacenter bdcName: bdc01 fileserver2Name: fileserver2 fileserver3Name: fileserver3 workspaceId: "Enter Your OMS Workspace ID" workspaceKey: "Enter Your OMS Workspace Primary"

After completion, go to your web browser and enter the full FQDN of the "dnsNameforPublicIP"" into your browser and it will bring up the website.

eg. lawranceweb.westeurope.cloudapp.net

OMS Log Analytics Integration

The following is required for Azure Stack or Azure workloads needing OMS Log Analytic integration into an OMS workspace. The Workspace ID and Workspace Key is required to integrate workloads into Azure OMS.

OMS backend is only possible with Azure and therefore these workloads will integrate into an existing OMS workspace.

{ "name": "Microsoft.EnterpriseCloud.Monitoring", "type": "extensions", "settings": { "workspaceId": "[parameters('workspaceId')]" }, "protectedSettings": { "workspaceKey": "[parameters('workspaceKey')]"