Chapter 14. Maintenance 427
14.8.3 Replacing the staging volume for Windows
The directory for the staging volume is in the Resource Manager database table
(RMSTAGING). Follow these steps to replace the staging volumes:
1. Change the permissions on the new staging directory to match those of your
Resource Manager ID or what is currently in place for the existing staging
directory.
2. If all files in the existing staging directory are currently read-writeable, you can
skip this step because these files have been destaged already; otherwise,
copy all existing files to the new staging volume:
copy -rp current_staging_directory new_staging_directory
3. Update the location of your staging volume in the Resource Manager
database. Open a DB2 command prompt and enter the following commands,
each on a new line:
db2 "connect to <RM db> user <user ID> using <password>"
db2 "update rmstaging set sta_path=<staging path>"
<RM db> is the Resource Manager database (in our scenario, it is rmdb).
<user ID> is the user ID (in our scenario, icmadmin) used to connect to the
Resource Manager database.
<password> is the password for the user ID.
<staging path> is the location of the staging directory, as an absolute path
with the trailing slash.
14.8.4 Replacing the storage volume for Windows
If you replace or repartition the hard disk that contains the LBOSDATA directory,
you need to identify the new configuration to your system:
1. Stop the Resource Manager.
2. Restore the LBOSDATA directory to the new disk or partition.
3. Open a DB2 command prompt.
4. Manually edit the volumes table to change the following columns to zero for
the volume that has been changed. Enter each command on a new line:
update rmvolumes set vol_size=0 where vol_volumeid=<ID>
update rmvolumes set vol_freespace=0 where vol_volumeid=<ID>
<ID> is the volume ID.

Get Performance Tuning for Content Manager now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.