Change NFS file datastore location

msina 25-07-2019

Hi,

Currently we have AEM 6.4 setup with primary and standby author with same file data store loaction in shared storage.

Due to some maintenance activity NFS storage will not be available so we decided to move the file data store into VM ( which we made it as NFS server).

Steps taken:

1) Created a new VM as NFS server  

2) Mount the new shared NFS location in author (primary and standby)server

3) Checked all the user permission

4) Stop AEM author and copied (rsync) all the data into new datastore location.

5) Change the configuration into this file comment the old path and restart author.

../crx-quickstart/install/install.primary/crx3/org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config

org.apache.sling.installer.configuration.persist=B"false"

path="/nfsdata/stage_datastore"

#path="/nfsstgdata"

minRecordLength=I"4096"

Did the same change in

../crx-quickstart/install/install.standby/crx3/org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config

Is there anything we need to keep in mind.

Any suggestion.

Regards

Sina

Accepted Solutions (1)

Accepted Solutions (1)

Vish_dhaliwal
Employee
25-07-2019

Hello Sina,

The steps look totally fine.

There shouldn't be any problem moving the datastore over to a VM by following these steps.

The most important step is to update the path of the datastore in the config.

As a precaution though, I recommend that you keep a backup.

Regards,

Vishu