Skip to content
Merged
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
251535c
Fresh Mahara based on https://github.com/catalyst/Azure_moodle from c…
darrinhodges May 15, 2018
a371134
Update to note that mssql is not supported by Mahara
darrinhodges May 15, 2018
a9e9f1f
Update for Mahara
darrinhodges May 15, 2018
0e4f21a
fix shell syntax errors
darrinhodges May 15, 2018
01a435e
Fix nginx html root for mahrar
darrinhodges May 15, 2018
5907c38
Fix for additional serveroot hard coding in mahara
darrinhodges May 15, 2018
099371b
Remove mssql option from other templates
darrinhodges May 15, 2018
c3b75d5
move comment down below bash init
darrinhodges May 15, 2018
5a4feb3
move comment down below bash init
darrinhodges May 15, 2018
f8336af
Remove tika and tika references
darrinhodges May 21, 2018
c610012
Update diagram and README.md
darrinhodges May 22, 2018
2e8c2da
Remove Redis as Azure supported Mahara versions do not support Redis
darrinhodges May 22, 2018
597ab35
updated for testing
darrinhodges May 22, 2018
7e7fd03
fix syntax error in network.json
darrinhodges May 22, 2018
715a7a1
Removed GDPR,office365 and azuresearch reference and configs
darrinhodges May 22, 2018
08cabcb
remove references to azuresearch
darrinhodges May 22, 2018
84b99bb
Fix syntax error in azuredploy.json
darrinhodges May 22, 2018
a72c078
Fix syntax error in azuredploy.json
darrinhodges May 22, 2018
cff5f55
Fix terminology for Mahara
darrinhodges May 22, 2018
a8e3a54
Remove all code,references and configs for mssql - Mahara does not su…
darrinhodges May 22, 2018
e02f9e2
enable selectable search functionality
darrinhodges May 22, 2018
2288ab6
add sql updates for elastic search options
darrinhodges May 22, 2018
9689daf
fix syntax error
darrinhodges May 22, 2018
0acb212
fix syntax error
darrinhodges May 22, 2018
6dbae23
fix script logic
darrinhodges May 22, 2018
cc9cc76
Update terminology for Mahara
darrinhodges May 22, 2018
82c4e88
remove references to objectfs as it requires backporting to versions …
darrinhodges May 22, 2018
20f2b8b
Fix link to RG deletion
darrinhodges May 22, 2018
df154a7
remove remaining redis references
darrinhodges May 22, 2018
be70446
update Azure content url
darrinhodges May 22, 2018
f795df4
Remove inappropriate files and documentation
darrinhodges May 24, 2018
486c604
Updates to various documents, removal of other files
darrinhodges May 25, 2018
94d75bd
Remove inappropriate documentation, update README.md to fit into quic…
darrinhodges May 25, 2018
f446bf1
update stack diagram
darrinhodges May 25, 2018
36aa24c
update azure deploy parameters template
darrinhodges May 25, 2018
3cebb15
update url content to a different value
darrinhodges May 25, 2018
00c9e06
reset default db
darrinhodges May 25, 2018
ebacf68
minor tidy
darrinhodges May 25, 2018
8753f37
fix syntax error in template
darrinhodges May 27, 2018
775feb6
add more options to gatewaysubnet var
darrinhodges May 27, 2018
ab3e27c
remove unused variable
darrinhodges May 27, 2018
a5ec5be
update metadata file
darrinhodges May 27, 2018
cb7c2cf
update api as validation command suggests
darrinhodges May 27, 2018
d467afb
Revert "update api as validation command suggests"
darrinhodges May 27, 2018
61f8686
re-edit metadata.json
darrinhodges May 27, 2018
40bd576
Updates to README.md
darrinhodges May 27, 2018
3da2ce3
Revise deploy estimate in README.md
darrinhodges May 27, 2018
5a957eb
remove env.json
darrinhodges May 28, 2018
7377a60
added autogen for dblogin
darrinhodges May 28, 2018
053d7d3
use gen-unique for db passwords
darrinhodges May 28, 2018
a990994
add variable
darrinhodges May 28, 2018
1e5b035
db passwords now autogen
darrinhodges May 28, 2018
a9c4a33
update metadata.json
darrinhodges May 28, 2018
6c0701f
remove extra comma
darrinhodges May 28, 2018
7605b14
Fix syntax
darrinhodges May 28, 2018
48ffa38
pick of another rogue comma
darrinhodges May 28, 2018
d6c4525
fix elasticsearch settings
darrinhodges May 28, 2018
4c6b07b
remove autogen passwords
darrinhodges May 28, 2018
b0a2a76
update search name value for mahara
darrinhodges May 28, 2018
df284d3
Add note on Mahara to readme.md
darrinhodges May 28, 2018
e1bba0a
reset mahara db password
darrinhodges May 28, 2018
21a67b8
reset azure db password
darrinhodges May 28, 2018
ee0df81
Add undocumented schema property to metadata.json
darrinhodges May 29, 2018
b1d2b26
Text update as per https://github.com/Azure/azure-quickstart-template…
darrinhodges Jul 16, 2018
83daa04
Text update as per https://github.com/Azure/azure-quickstart-template…
darrinhodges Jul 16, 2018
d76a6a8
Text update as per https://github.com/Azure/azure-quickstart-template…
darrinhodges Jul 16, 2018
115e943
Text update as per https://github.com/Azure/azure-quickstart-template…
darrinhodges Jul 16, 2018
6c09e74
Text update as per https://github.com/Azure/azure-quickstart-template…
darrinhodges Jul 16, 2018
789ee58
Text update as per https://github.com/Azure/azure-quickstart-template…
darrinhodges Jul 16, 2018
f18c5b0
Text update as per https://github.com/Azure/azure-quickstart-template…
darrinhodges Jul 16, 2018
8769d73
Update as per https://github.com/Azure/azure-quickstart-templates/pul…
darrinhodges Jul 16, 2018
8fb126a
update as per https://github.com/Azure/azure-quickstart-templates/pul…
darrinhodges Jul 16, 2018
466ea6d
update as per https://github.com/Azure/azure-quickstart-templates/pul…
darrinhodges Jul 16, 2018
84c6e03
Further updates to https://github.com/Azure/azure-quickstart-template…
darrinhodges Jul 16, 2018
579a073
Additional updates for https://github.com/Azure/azure-quickstart-temp…
darrinhodges Jul 17, 2018
66b6a02
Text update
darrinhodges Jul 17, 2018
48d2e62
Update api version for nested template deployment as per Travis CI me…
darrinhodges Jul 18, 2018
c8ac66a
Update generated usernames with fixed length as per Travis CI
darrinhodges Jul 18, 2018
64f1344
Remove default values as per https://github.com/Azure/azure-quickstar…
darrinhodges Jul 18, 2018
91bf572
Remove hard coded endpoint as per https://github.com/Azure/azure-quic…
darrinhodges Jul 18, 2018
1ed08bf
Altering to output lb FQDN
darrinhodges Jul 18, 2018
5f1f00a
Removing static end points
darrinhodges Jul 18, 2018
9cbdc6e
Remove static endpoint for lb fqdn.
darrinhodges Jul 18, 2018
586cd05
Fix JSON syntax error
darrinhodges Jul 18, 2018
705e8e1
replace missing variable
darrinhodges Jul 18, 2018
bbdb989
Fix issue with siteURL var
darrinhodges Jul 18, 2018
287346d
Output ssh username from parent template
darrinhodges Jul 18, 2018
f576f11
Revert "Fix issue with siteURL var"
darrinhodges Jul 18, 2018
ad3e737
Generate FQDN and pass through to scaleset and controller templates.
darrinhodges Jul 18, 2018
2654375
Add variable to deploy template
darrinhodges Jul 18, 2018
d74c9cc
Fix syntax error
darrinhodges Jul 18, 2018
96f0c6c
Fix parameters for nested templates
darrinhodges Jul 18, 2018
a5ed253
Insert missing quote character
darrinhodges Jul 18, 2018
f1ec59a
Move siteurl config into scripts as its not relevant to the Azure tem…
darrinhodges Jul 19, 2018
a163444
Fix cli parameters
darrinhodges Jul 19, 2018
bf92296
Fix cli parameters
darrinhodges Jul 19, 2018
96c616f
Fix cli parameters
darrinhodges Jul 20, 2018
ad5d47d
Resolve conflict
darrinhodges Jul 20, 2018
ab6ae1b
Text update as per https://github.com/Azure/azure-quickstart-template…
darrinhodges Jul 20, 2018
f20c4d0
remove deployment resource
bmoore-msft Aug 4, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 7 additions & 29 deletions mahara-autoscale-cache/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# *Deploy and manage a Scalable Mahara Cluster on Azure*

After deploying, these templates will provide you with a new Mahara site with caching for speed and scaling frontends to handle PHP load. The filesystem behind it is mirrored for high availability. Filesystem permissions and options have been tuned to make Mahara more secure than the default install
After deploying, these templates will provide you with a new Mahara site with caching for speed and scaling frontends to handle PHP load. The filesystem behind it is mirrored for high availability. Filesystem permissions and options have been tuned to make Mahara more secure than the default install.

[![Deploy to Azure Minimally](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com/Azure/azure-quickstart-templates/master/mahara-autoscale-cache/azuredeploy.json) [![Visualize](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/visualizebutton.png)](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com/Azure/azure-quickstart-templates/master/mahara-autoscale-cache/azuredeploy.json)

Expand All @@ -18,41 +18,19 @@ This template set deploys the following infrastructure:
- Three Elasticsearch VMs for search indexing in Mahara (optional)*
- Dual Gluster nodes for high availability access to Mahara files

* Note: You will need to login into Mahara as 'admin' and configure the artefacts you want indexed after the installation has completed.
* Note: You will need to login into Mahara as 'admin' and configure the artifacts you want indexed after the installation has completed.

![network_diagram](images/stack_diagram.png "Diagram of deployed stack")

## *Deployment steps*

You can click the "deploy to Azure" button at the beginning of this document or alternatively perform a deploy from the command line:


### *Command line deploys*

Once you've checked out the templates from git, you'll want to use the [Azure CLI tool](https://docs.microsoft.com/en-us/cli/azure/overview?view=azure-cli-latest) to deploy them. First off you'll want to create a group with these:

`az group create --name <stackname> --location <location>`

Note that some location in Azure might not support features or certain VM tiers.

Next you'll want to either deploy and enter in all the parameters manually:

`az group deployment create --name mahara-autoscale --resource-group <stackname> --template-file azuredeploy.json`

Alternatively, you can configure all of your variables in the "azuredeploy.parameters.json" file and run:

`az group deployment create --name mahara-autoscale --resource-group <stackname> --template-file azuredeploy.json --parameters azuredeploy.parameters.json`


Note that `siteURL` is a special case in the `azuredeploy.parameters.json` files. If you do not define a value for `siteURL` or if you leave it as the default "www.example.org" this value will be overwritten by the template to be a calculated value for the public load balancers of your deployment. This allows you to experiment with this Mahara template without configuring a new domain name whilst still enabling Mahara to be configured with a production URL when appropriate. See the next section for instructions on retrieving the generated DNS name if necesary

Depending on what tiers you selected for VMs and the database you will be looking at roughly 1 to 2 hours for a full deploy. See below for selectable parameters.
You can click the "deploy to Azure" button at the beginning of this document.

## *Using the created stack*

In testing, stacks typically took between 1 and 1 and a half hours to finish, depending on spec. Once this is done, you will receive JSON data with outputs needed to continue setup. You can also retrieve these from the portal or the CLI, more information below. The available parameters are:

- siteURL: If you provided a `siteURL' parameter when deploying this will be set to the supplied value. Otherwise it will be the same as the loadBalancerDNS, see below.
- siteURL: If you provided a `siteURL` parameter when deploying this will be set to the supplied value. Otherwise it will be the same as the loadBalancerDNS, see below.
- loadBalancerDNS: This is the address of your load balancer. If you provided a `siteURL` parameter when deploying you'll need to add a DNS entry CNAMEs to this.
- maharaAdminPassword: The password for the "admin" user in your Mahara install.
- controllerinstanceIP: This is the address of the controller. You will need to SSH into this to make changes to your Mahara code or view logs.
Expand Down Expand Up @@ -139,13 +117,13 @@ As of the time of writing, Azure supports "Basic" and "Standard" tiers for datab

This value also limits the maximum number of connections, as defined here: https://docs.microsoft.com/en-us/azure/mysql/concepts-limits

As the Mahara database will handle cron processes as well as the website, any public facing websites with than 10 users will likely require upgrading to 100. Once the site reaches 30+ user it will require upgrading to Standard for more compute units. This depends entirely on the individual site. As MySQL databases cannot change (or be restored to a different tier) once deployed it is a good idea to slightly overspec your database.
As the Mahara database will handle cron processes as well as the website, any public facing websites with than 10 users will likely require upgrading to 100. Once the site reaches 30+ users it will require upgrading to Standard for more compute units. This depends entirely on the individual site. As MySQL databases cannot change (or be restored to a different tier) once deployed it is a good idea to slightly overspec your database.

Standard instances have a minimum storage requirement of 128000MB. All database storage, regardless of tier, has a hard upper limit of 1 terrabyte. After 128GB you gain additional iops for each GB, so if you're expecting a heavy amount of traffic you will want to oversize your storage. The current maximum iops with a 1TB disk is 3000.
Standard instances have a minimum storage requirement of 128GB. All database storage, regardless of tier, has a hard upper limit of 1 terrabyte. After 128GB you gain additional iops for each GB, so if you're expecting a heavy amount of traffic you will want to oversize your storage. The current maximum iops with a 1TB disk is 3000.

### *Controller instance sizing*

The controller handles both syslog and cron duties. Depending on how big you Mahara cron runs are this may not be sufficent. If cron jobs are very delayed and cron processess are building up on the controller then an upgrade in tier is needed.
The controller handles both syslog and cron duties. Depending on how big you Mahara cron runs are this may not be sufficent. If cron jobs are delayed and cron processess are building up on the controller then an upgrade in tier is needed.

### *Frontend instances*

Expand Down
47 changes: 31 additions & 16 deletions mahara-autoscale-cache/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
},
"type": "bool"
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "Location for all resources"
}
},
"azureBackupSwitch": {
"defaultValue": false,
"metadata": {
Expand Down Expand Up @@ -80,7 +87,6 @@
"type": "string"
},
"sshUsername": {
"defaultValue": "azureadmin",
"metadata": {
"description": "ssh user name"
},
Expand Down Expand Up @@ -130,7 +136,6 @@
"type": "string"
},
"dbLogin": {
"defaultValue": "dbadmin",
"metadata": {
"description": "Database admin username"
},
Expand Down Expand Up @@ -223,7 +228,7 @@
"nfs"
],
"metadata": {
"description": "File server type: GlusterFS, NFS--not yet highly available"
"description": "File server type: GlusterFS, NFS--not yet highly available. Gluster uses premium managed disks therefore premium skus are required."
},
"type": "string"
},
Expand Down Expand Up @@ -360,7 +365,7 @@
"resources": [
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2017-05-10",
"apiVersion": "2016-09-01",
"name": "pid-738e3eec-68d4-4667-8377-c05c77c21f1b",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rgardler - is this correct?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rgardler - is this correct?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this is not correct. This has been copied from a different template and should be removed from here. Thanks.

"properties": {
"mode": "Incremental",
Expand All @@ -373,7 +378,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2017-05-10",
"apiVersion": "2016-09-01",
"dependsOn": [
"Microsoft.Resources/deployments/networkTemplate"
],
Expand All @@ -399,7 +404,7 @@
{
"condition": "[parameters('azureBackupSwitch')]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2017-05-10",
"apiVersion": "2016-09-01",
"name": "recoveryTemplate",
"properties": {
"mode": "Incremental",
Expand All @@ -415,7 +420,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2017-05-10",
"apiVersion": "2016-09-01",
"name": "networkTemplate",
"properties": {
"mode": "Incremental",
Expand All @@ -431,7 +436,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2017-05-10",
"apiVersion": "2016-09-01",
"dependsOn": [
"Microsoft.Resources/deployments/networkTemplate",
"Microsoft.Resources/deployments/recoveryTemplate"
Expand All @@ -452,7 +457,7 @@
{
"condition": "[equals(parameters('fileServerType'),'gluster')]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2017-05-10",
"apiVersion": "2016-09-01",
"dependsOn": [
"Microsoft.Resources/deployments/networkTemplate",
"Microsoft.Resources/deployments/recoveryTemplate"
Expand All @@ -472,7 +477,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2017-05-10",
"apiVersion": "2016-09-01",
"dependsOn": [
"Microsoft.Resources/deployments/glusterTemplate",
"Microsoft.Resources/deployments/recoveryTemplate",
Expand All @@ -490,6 +495,9 @@
},
"ctlrPubIpId": {
"value": "[reference('networkTemplate').outputs.ctlrPubIpId.value]"
},
"siteFQDN": {
"value": "[reference('networkTemplate').outputs.siteFQDN.value]"
}
},
"templateLink": {
Expand All @@ -499,7 +507,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2017-05-10",
"apiVersion": "2016-09-01",
"dependsOn": [
"Microsoft.Resources/deployments/controllerTemplate",
"Microsoft.Resources/deployments/networkTemplate",
Expand All @@ -511,6 +519,9 @@
"parameters": {
"maharaCommon": {
"value": "[variables('maharaCommon')]"
},
"siteFQDN": {
"value": "[reference('networkTemplate').outputs.siteFQDN.value]"
}
},
"templateLink": {
Expand All @@ -520,7 +531,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2017-05-10",
"apiVersion": "2016-09-01",
"name": "storageAccountTemplate",
"properties": {
"mode": "Incremental",
Expand All @@ -538,7 +549,7 @@
"outputs": {
"siteURL": {
"type": "string",
"value": "[variables('maharaCommon').siteURL]"
"value": "[if(equals(variables('maharaCommon').siteURL,'www.example.org'),reference('networkTemplate').outputs.siteFQDN.value,'www.example.org')]"
},
"controllerInstanceIP": {
"type": "string",
Expand Down Expand Up @@ -572,9 +583,13 @@
"type": "string",
"value": "[variables('maharaCommon').maharaDbPass]"
},
"sshUsername": {
"type": "string",
"value": "[variables('maharaCommon').sshUsername]"
},
"loadBalancerDNS": {
"type": "string",
"value": "[variables('maharaCommon').lbDns]"
"value": "[reference('networkTemplate').outputs.siteFQDN.value]"
}
},
"variables": {
Expand All @@ -589,6 +604,7 @@
"documentation09": " controller - creates a controller VM and deploys code",
"documentation10": "GlusterFS Sizing guidance",
"maharaCommon": {
"location": "[parameters('location')]",
"baseTemplateUrl": "[concat(parameters('_artifactsLocation'), 'nested/')]",
"scriptLocation": "[concat(parameters('_artifactsLocation'), 'scripts/')]",
"artifactsSasToken": "[parameters('_artifactsLocationSasToken')]",
Expand Down Expand Up @@ -643,7 +659,6 @@
"ctlrPipName": "[concat('controller-pubip-',variables('resourceprefix'))]",
"ctlrVmName": "[concat('controller-vm-',variables('resourceprefix'))]",
"ctlrVmSecrets": "[take(variables('ctlrVmSecretsArray'), if(empty(parameters('keyVaultResourceId')), 0, 1))]",
"lbDns": "[concat('lb-',variables('resourceprefix'),'.',resourceGroup().location,'.cloudapp.azure.com')]",
"lbName": "[concat('lb-',variables('resourceprefix'))]",
"lbPipName": "[concat('lb-pubip-',variables('resourceprefix'))]",
"maharaAdminPass": "[concat(toUpper('xl'), substring(uniqueString(resourceGroup().id, deployment().name), 6, 7),',1*8')]",
Expand All @@ -670,7 +685,7 @@
"resourcesPrefix": "[variables('resourceprefix')]",
"searchType": "[parameters('searchType')]",
"serverName": "[concat(parameters('dbServerType'), '-',variables('resourceprefix'))]",
"siteURL": "[if(or(empty(parameters('siteURL')), equals(parameters('siteURL'), 'www.example.org')), concat('lb-',variables('resourceprefix'),'.',resourceGroup().location,'.cloudapp.azure.com'), parameters('siteURL'))]",
"siteURL": "[parameters('siteURL')]",
"sshPublicKey": "[parameters('sshPublicKey')]",
"sshUsername": "[parameters('sshUsername')]",
"sslEnforcement": "[parameters('sslEnforcement')]",
Expand Down
8 changes: 3 additions & 5 deletions mahara-autoscale-cache/azuredeploy.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"contentVersion": "1.0.0.0",
"parameters": {
"sshPublicKey": { "value": "GEN-SSH-PUB-KEY" },
"dbServerType": { "value": "mysql" },
"fileServerDiskCount": { "value": 2 },
"fileServerDiskSize": { "value": 32 }
}

"sshUsername": { "value": "GEN-UNIQUE-8"},
"dbLogin": { "value": "GEN-UNIQUE-8"}
}
}
25 changes: 18 additions & 7 deletions mahara-autoscale-cache/nested/controller.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,20 @@
"description": "Resource ID of the controller VM public IP address"
},
"type": "string"
}
},
"siteFQDN": {
"metadata": {
"description": "FQDN of public IP address"
},
"type": "string"
}
},

"resources": [
{
"type": "Microsoft.Network/networkSecurityGroups",
"apiVersion": "2017-10-01",
"location": "[resourceGroup().location]",
"location": "[parameters('maharaCommon').location]",
"name": "[parameters('maharaCommon').ctlrNsgName]",
"properties": {
"securityRules": [
Expand Down Expand Up @@ -61,7 +68,7 @@
"dependsOn": [
"[concat('Microsoft.Network/networkSecurityGroups/', parameters('maharaCommon').ctlrNsgName)]"
],
"location": "[resourceGroup().location]",
"location": "[parameters('maharaCommon').location]",
"name": "[parameters('maharaCommon').ctlrNicName]",
"properties": {
"networkSecurityGroup": {
Expand Down Expand Up @@ -92,7 +99,7 @@
"dependsOn": [
"[concat('Microsoft.Network/networkInterfaces/', parameters('maharaCommon').ctlrNicName)]"
],
"location": "[resourceGroup().location]",
"location": "[parameters('maharaCommon').location]",
"name": "[parameters('maharaCommon').ctlrVmName]",
"properties": {
"hardwareProfile": {
Expand Down Expand Up @@ -140,7 +147,7 @@
{
"condition": "[parameters('maharaCommon').applyScriptsSwitch]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2017-05-10",
"apiVersion": "2016-09-01",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', parameters('maharaCommon').ctlrVmName)]"
],
Expand All @@ -150,8 +157,12 @@
"parameters": {
"maharaCommon": {
"value": "[parameters('maharaCommon')]"
}
},
"siteFQDN": {
"value": "[parameters('siteFQDN')]"
}
},

"templateLink": {
"uri": "[concat(parameters('maharaCommon').baseTemplateUrl, 'controllerconfig.json', parameters('maharaCommon').artifactsSasToken)]"
}
Expand All @@ -160,7 +171,7 @@
{
"condition": "[parameters('maharaCommon').azureBackupSwitch]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2017-05-10",
"apiVersion": "2016-09-01",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/',parameters('maharaCommon').ctlrVmName)]"
],
Expand Down
Loading