Moving the location of the persist folder
![]()
I would like to move the location of the persist folder to a new location. This is because we now have a NAS and would like to use this instead of the nodes local disk. However, in the RAM administration -> configuration page, and also in the Infocenter it says that the persist folder should not be changed after assets have been added to the repository. Is there any reason for this?
The process I thought would work is as follows: 1. Stop RAM; 2. Copy the persist folder to the NAS; 3. Use the Setup application to point to the new location of the persist folder; 4. Start RAM. Does this plan sound sensible, or are there any hidden gotchas that I should know about? Thanks for your help. Des Drury |
2 answers
![]()
That is the basic process, but I haven't actually tried in a production
system. Be very careful of where you point in the new location. Remember the "persist" location is actually the directory that is the parent of the com.ibm.ram.persist directory (which contains the actual persist data). If instead you pointed it to the com.ibm.ram.persist directory itself then the next time you bring up RAM it will create a new com.ibm.ram.persist directory UNDER it and start creating new persist data. Just make sure you have a backup of the database that matches the persist area first (i.e. Step 2a below: Backup database). In case there is a problem and need to try again. Rich The process I thought would work is as follows: |
![]()
Thanks for your help Richard. I'll certainly make sure we backup the database first. Once I have done this work I'll update the thread with the results.
Cheers. Des |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.