Change NFS file datastore location | Community
Skip to main content
msina
Level 3
July 25, 2019
Solved

Change NFS file datastore location

  • July 25, 2019
  • 4 replies
  • 2774 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vish.dhaliwal

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

4 replies

vish.dhaliwalAdobe EmployeeAccepted solution
Adobe Employee
July 25, 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

msina
msinaAuthor
Level 3
July 26, 2019

Thanks.

This is the only configuration file i found

org.apache.jackrabbit.oak.plugins.blob.data store.FileDataStore.config

Is there anything/anywhere else need to do change?

Adobe Employee
July 26, 2019

Hey,

Right, this is the "org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore"

config.

Regards,

Vishu

msina
msinaAuthor
Level 3
July 26, 2019

Thanks.