Azure / Moodle

Tooling and guidance on deploying Scalable Moodle Clusters on Azure.
MIT License
157 stars 166 forks source link

Migration compatibility for WorkloadBuilder service #245

Closed venu-sivanadham closed 3 years ago

venu-sivanadham commented 3 years ago

Workload builder service can migrate(lift & shift) Moodle application running on on-premises VMWare infrastructure to Azure. Workload builder service uses ARM templates from this Moodle repo to prepare the infra in Azure. Below changes are made in this repo to support migration flow:

  1. Added migration specific entry-point/wrapper template which will invoke main template with appropriate parameters.
  2. Added another wrapper template to create file-share storage account. In migration flow, the Moodle code/config/data will be migration from on-prem to azure file-share as 1st step before creating complete infrastructure.
  3. Added few parameters to azuredeploy template to support migration flow.
  4. Changes to install_moodle.sh to skip fresh Moodle installation commands. And also added couple of helper functions to update Moodle config settings in the migrated config file.