Web Server Hardware Refresh: Setting Up the New Web Server

Updated

After the Web Server is shut down on the old hardware, set up the Web Server database on the new hardware.

Procedure

  1. Log on to the new computer and ensure that the network details (computer name and IP settings) are properly set.

  2. Install the Web Server on the new computer.

    See Installing the Web Server to review the installation steps.

  3. Copy the contents of the old Web Server cache directory to the new Web Server cache directory. These are the contents you saved during the Shutting Down the old Web Server steps.

    To retrieve the location of the new Web Server cache directory, check the value of the szCacheDataFilesPath registry key. To locate the registry key, open the Registry Editor window, and then go to the following location: HKEY_LOCAL_MACHINE\SOFTWARE\CommVault Systems\Galaxy\Instance001\DM2WebSearchServer\szCacheDataFilesPath

    Note

    The path of the new cache directory should be identical to the old cache directory.

  4. Verify that there are full permissions for Network Service on the new Web Server cache directory folder.

  5. Copy the backup file (DM2.bak) to the local drive. This is the backup file you saved during the Shutting Down the old Web Server steps.

  6. Stop the Commvault Services on the new Web Server.

    For instructions, see Controlling Commvault Services on Clients.

  7. Restore the Web Server database using the overwrite option in Microsoft SQL Server Management Studio:

    1. In the Microsoft SQL Server Management Studio software, go to server_instance > Databases.

    2. Right-click the DM2 database, point to Tasks > Restore, and then click Database.

      The Restore Database - DM2 dialog box appears.

    3. In the Destination for restore area, make sure that DM2 is selected in the To Database box.

    4. In the Source for restore area, select From device, and then click [...].

      The Specify Backup dialog box appears.

    5. Click Add.

      The Locate Backup File dialog box appears.

    6. Locate the backup file, and then click OK.

    7. Click OK to close the Specify Backup dialog box.

    8. Click OK to restore the database.

    9. Optional: On the Files page, in the Data file folder and Log file folder fields, you can provide alternate file paths for database data and log files.

  8. If the Web Server database is from an older service pack, use the Database Upgrade tool to upgrade the database to the latest version. For instructions, see Upgrading Server Packages Using the Database Upgrade Tool.

    For example, if the Web Server database is from a service pack 12 installation, but service pack 14 is installed on the new computer, you must use the Database Upgrade tool.

  9. Start the Commvault Services on the new Web Server.

    For instructions, see Controlling Commvault Services on Clients.

  10. Reconfigure the Index Server associated with the Web Server.

  11. Stop the Commvault services on the Web Server.

  12. Replace the content inside the Index Server directory with the content of the Index Server directory you backed up in step 3 while shutting down the old web server. To retrieve the location of the Index Server directory, check the value of the analyticsDataDir registry key. To locate the registry key, open the Registry Editor window, and then go to the following location: HKEY_LOCAL_MACHINE\SOFTWARE\CommVault Systems\Galaxy\Instance001\Analytics.

  13. Start the Commvault services on the Web Server.

  14. On the Web Server computer, run the following QScript:

    qoperation execscript -dbn DM2 -c '<New Web Server Client Name>' -sn UpdateSettingValue -si 'CommClientName' -si '<New Web Server Client Name>'

  15. If the new Web Server is installed on a different instance than the old Web Server, update the new instance name by running the following QScript on the new Web Server computer:

    qoperation execscript -dbn DM2 -c '<New Web Server Client Name>' -sn UpdateSettingValue -si 'INSTANCE_NAME' -si '<New Web Server Instance>'

  16. Open the CommCell Console and verify the new Web Server client computer.

  17. If the old Web Server was the default Web Server, select a different Web Server to be the default value:

    1. From the CommCell Console ribbon, on theHome tab, clickControl Panel.

      TheControl Panel dialog box appears.

    2. UnderUser, clickBrowse/Search/Recovery Options.

      TheBrowse/Search/Recovery Options dialog box appears.

    3. From theDefault Web Server for Search list, select a Web Server.

    4. ClickOK.

What to Do Next

If the Web Server supported Web Console or Compliance Search, associate the clients where Web Console and Compliance Search are installed with the new Web Server. To change the Web Server associated with the clients where Web Console and Compliance Search are installed, see Changing the Web Server at the Client Level.

Was this page helpful?