Moodle icon indicating copy to clipboard operation
Moodle copied to clipboard

Changing values in an existing deployment. DB, File System etc.

Open ChrisLopezUK opened this issue 3 years ago • 2 comments

Hi All.

I am looking at a number of ways to take a copy of my Production. This is mainly for DR and any other scenario where we might need to create a copy of our existing environment.

I am using Azure NetApp Files. So in my deployment I am choosing nfs-byo. I can take a snapshot of my existing NetApp volume and restore it to a new Volume.

To change the mount point for the controller is relatively easy. I understand I can just amend /etc/fstab. However, I am having some difficulty trying to work out how to do this for the VMSS.

I understand on creation of a new instance the VMSS creates /var/lib/cloud/instance/moodle_on_azure_configs.json with all the relevant values. However after the first deploy, where are all the values stored? How would we edit them if we needed to?

ChrisLopezUK avatar Feb 19 '21 11:02 ChrisLopezUK

@SorraTheOrc and @UmakanthOS any chance you know the answer to this? It might also play into #238 .

Let me know what you find out and I will update the docs so other people can reference them.

ChrisLopezUK avatar Mar 02 '21 11:03 ChrisLopezUK

Flagging with @naioja for a quick look.

UmakanthOS avatar Sep 08 '21 15:09 UmakanthOS