How do I change the directory location for performance cubes?

Document ID : KB000055228
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

With a default installation, performance cubes will be stored in the %CASP_PATH%\PerfData directory of the Performance Manager Server. The following steps can be used to change this path after installation. The path needs to be updated in the caftenv.cfg and in the system registry.

Solution:

IMPORTANT: This article contains information about modifying the registry.
Before you modify the registry, make sure to create back up of the registry and ensure that you understand how to restore the registry if a problem may occur.
For more information about how to back up, restore, and edit the registry, please review the relevant Microsoft Knowledge Base articles on support.microsoft.com.

To change the directory location for performance cubes

  1. Create new directories for performance and summary cubes.

  2. On the Performance Manager machine stop the Unicenter Configuration Distribution Server and Unicenter Configuration Domain Server services.
    Stop them from the Windows Services Manager or in r11 stop them by issuing the commands:
    configserver stop (To stop the Performance Distribution Server)
    profileserver stop (To stop the Performance Domain Server)

    Note:
    The performance distribution server starts two processes, configserver.exe and capmpde.exe. The capmpde.exe processes the performance cubes and puts the resource information into the index.bin so that anything accessing the performance data grid can quickly get a list of available resources. This process is also responsible for responding to any request from an application needing to access the data in the performance cubes. If capmpde.exe is still running in the task manager after stopping the configserver, then the values in caftenv.cfg may revert back to the old location. So ensure that capmpde.exe process is stopped before making changes in the caftenv.cfg.

  3. Stop the agents, services and CA Messaging (CAM) by running the following commands:
    awservices stop
    caftabrt
    camclose

  4. Move data from the old location to the new location.

  5. Open a Windows Explorer in the directory where file caftenv.cfg is located by running:
    explorer %CAI_MSQ%

  6. Make a backup copy of caftenv.cfg.

  7. Edit the following lines in the file caftenv.cfg, depending on the release number:

    1. Changes to the caftenv.cfg in NSM 3.1:

      Modify the following lines to point to the new directory location:
      CAIHPAD11
      CAIHPAD12
      CAIHPAD13

      Example:

      Before:
      CAIHPAD11=C:\NSM\PERFDATA\performance_cubes
      CAIHPAD12=C:\NSM\PERFDATA\summary_csvs
      CAIHPAD13=C:\NSM\PERFDATA\performance_cubes\<hostname>
      After:
      CAIHPAD11=E:\NSMPERF\PERFDATA\performance_cubes
      CAIHPAD12=E:\NSMPERF\PERFDATA\summary_csvs
      CAIHPAD13=E:\NSMPERF\PERFDATA\performance_cubes\<hostname>

    2. Changes to the caftenv.cfg in NSM R11.x:

      Modify the following lines to point to the new directory location:
      CAIHPAD10
      CAIHPAD11
      CAIHPAD12
      CAIHPAD13

      Example:
      Before:
      CAIHPAD10=C:\Program Files\CA\Unicenter NSM\PerfData
      CAIHPAD11=C:\Program Files\CA\Unicenter NSM\PerfData\performance_cubes
      CAIHPAD12=C:\Program Files\CA\Unicenter NSM\PerfData\summary_csvs
      CAIHPAD13=C:\Program Files\CA\Unicenter NSM\PerfData\performance_cubes\<hostname>
      After:
      CAIHPAD10= E:\NSMPERF\PERFDATA
      CAIHPAD11= E:\NSMPERF\PERFDATA\performance_cubes
      CAIHPAD12= E:\NSMPERF\PERFDATA\summary_csvs
      CAIHPAD13= E:\NSMPERF\PERFDATA\performance_cubes\<hostname>

  8. Save and close caftenv.cfg file

  9. Change the system registry entry:

    1. Open the Registry Editor by running the command:
      regedit

    2. Changes to the registry in NSM 3.1:

      • Find the registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\UnicenterPerformance\Historical\Data

      • Update this value to point to the new cube store

        Example:
        Data = E:\NSMPERF\PERFDATA

    3. Changes to the registry in NSM R11.x:

      • Find the registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\Unicenter NSM\Historical\Data

      • Update this value to point to the new cube store:
        Data = E:\NSMPERF\PERFDATA

  10. Change CASP_DATA system variable (for NSM 11.x) Right click on My Computer, select Properties
    In System Properties, go to the Advanced tab and click on the Environment Variables button.
    In the System variable section, select CASP_DATA and click Edit button.
    Now change the value to the new cube store directory.

  11. Restart CAM, the agents, and services by running the commands:
    cam start
    awservices start

  12. Start Unicenter Configuration Domain Server and Unicenter Configuration Distribution Server services.