Updating the Location of the Web Server Cache Directory

If the Web Server cache directory is corrupt or running out of available disk space, you can change the location of the Web Server cache directory to a new location on the Web Server. After the Web Server cache directory location is changed, operations such as pruning and restoring 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

About This Task

After the Web Server cache directory is moved:

  • do not modify or delete 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 and export jobs still refer to the old Web Server cache directory location

Procedure

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

  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. If there is a 32-bit proxy instance installed on the Web Server, do the following:

    • 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.

  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:

      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.

Loading...