V11 SP8
Loading...

Moving the Web Server Cache Directory

If the Web Server cache directory is corrupt or running out of available disk space, you can move the Web Server cache directory to a new location on the Web Server. Once the Web Server cache directory is moved, operations such as pruning and restoring will only apply to the new directory.

Before You Begin

Select a path for the new Web Server cache directory with the following requirements:
  • a UNC path is not supported
  • give full permissions for "Network Service" on the new Web Server cache directory folder

Procedure

  1. From the CommCell console, kill all jobs running on the Web Server.

    For instructions, refer to Killing a Job in the Job Controller.

  2. On the Web Server, update the registry key with the new path for the Web Server cache directory:
    1. On the Web Server, open the registry editor and click:

      HKEY_LOCAL_MACHINE\SOFTWARE\CommVault Systems\Galaxy\<instance>\DM2WebSearchServer

      where <instance> is the installation instance of the Web Server.
    2. Right-click the sZCACHEDATAFILESPATH registry key and click Modify.
    3. In the Value Data box, type the full path of the new Web Server cache directory.
  3. Proceed as follows:
    If... Then...
    there is a 32-bit proxy instance installed on the Web Server Update the registry key for the proxy instance:
    1. In the registry editor, click:

      HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\CommVault Systems\Galaxy\<instance>\DM2WebSearchServer

      where <instance> is the installation instance of the Web Server 32-bit proxy.
    2. Right-click the sZCACHEDATAFILESPATH registry key and click Modify.
    3. In the Value Data box, type the full path of the new Web Server cache directory.

    Update the physical path of the EDRMXmlView application on the Web Server client:

    1. On the Web Server client, open IIS and expand client > Sites > Consoles.
    2. Click EDRMXmlView.
    3. In the right pane, click Basic Settings.
    4. In Physical Path, enter the new path of the Web Server cache directory.
    5. Proceed with step 4.
    there is no 32-bit proxy instance
  4. Update the Web Server cache directory location on the DM2 database with a qscript:
    1. Open a Command Prompt window as an administrator.
    2. Go to the <software installation path>\Base folder.
    3. Run the following qscript (for instructions, refer to Running QScripts):

      qoperation execscript -dbn DM2 -c '<WebServerClientName>' -sn UpdateSettingValue -si 'RestorePath' -si '<NewCacheDirectory>'

      where <WebServerClientName> is the name of the Web Server client as it appears in the CommCell console and <NewCacheDirectory> is the full path of the new Web Server cache directory.

  5. Restart IIS services on the Web Server:
    1. In the Command Prompt window, type iisreset.
    2. Press Enter.

Once the Web Server cache directory is moved:

  • do not modify the old Web Server cache directory
  • pruning cycles will be applied to the new location and pruning of the old location will stop
  • the new Web Server Cache directory will only apply to new jobs
  • old restore jobs will still refer to the old Web Server cache directory location