Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Change NFS file datastore location

msina
Level 4
Level 4

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

1 Accepted Solution
Vish_dhaliwal
Correct answer by
Employee
Employee

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

View solution in original post

4 Replies
Vish_dhaliwal
Correct answer by
Employee
Employee

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

View solution in original post

msina
Level 4
Level 4

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?

Vish_dhaliwal
Employee
Employee

Hey,

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

config.

Regards,

Vishu