Moving the content store
You can change the location of the content store used by the Activities application from the location defined at installation time. You might want to change the location of the content store if you augment your infrastructure and there is a new drive with more disk space available, for example.
Before you begin
To edit configuration files, you must use the wsadmin client. See Starting the wsadmin client for details.
About this task
The Activities content store is used to store files and other content that users add to their
activities. If you want to change the location of the content store after installing Activities, you
can do so by performing the steps in this procedure. If you want to maintain the existing content
store, you can create a new content store in addition to the existing one. See Defining
multiple content stores for more information.
Note: Do not copy the network path
shared_content_store/provision directory. This folder contains program binary
files only. It does not contain user content.
To move the content store, complete the following steps:
Procedure
- The location of the content store is defined in the oa-config.xml
file using one of the following formats:
- File path to a network share directory in Universal Naming Convention
(UNC) format. For example:
\\server_name\share_name
. Specify the same directory on each node to which Activities is installed. - WebSphere Application Server environment variable which contains
the file path information. For example:
${ACTIVITIES_CONTENT_DIR}
- File path to a network share directory in Universal Naming Convention
(UNC) format. For example:
- If the file path is defined in UNC format only:
You must edit the oa-config.xml configuration file. Use the wsadmin
client to access and check out the configuration files.
- If the file path is defined using a WebSphere® Application Server environment
variable: Edit the value of the variable by completing the following
steps:
- Using an administrator ID, log into the WebSphere® Application Server Integrated Console associated with the profile to which you installed Activities.
- Expand Environment, and then click WebSphere Variables.
- Find the ACTIVITIES_CONTENT_DIR environment variable from the list, and then edit its value.
- Save, and then apply your changes
- Copy the content store data from the old content store location to the new location.
- Restart the Activities application.
- After restarting the Activities server, review the WebSphere® Application Server SystemOut.log file to ensure that the Activities application was able to initialize with the modified configuration.
- After the content store is successfully copied to the new location, you can remove the original content store.