Change NFS file datastore location | Community
Skip to main content
msina
Level 3
Jul 25, 2019 9:42 PM UTC
Solved

Change NFS file datastore location

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.
vish.dhaliwalAccepted solution
Employee
Jul 25, 2019 11:29 PM UTC

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

msina
msinaAuthor
Level 3
Jul 26, 2019 3:46 PM UTC

Thanks.

Translate
Employee
Jul 26, 2019 3:38 PM UTC

Hey,

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

config.

Regards,

Vishu

Translate
msina
msinaAuthor
Level 3
Jul 26, 2019 2:13 PM UTC

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?

Translate
vish.dhaliwalAccepted solution
Employee
Jul 25, 2019 11:29 PM UTC

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

Translate