Converting a Transactional Deduplication Database to a Non-Transactional Deduplication Database Procedure

You can use an SQL QScript to convert a transactional deduplication database (DDB) to a non-transactional DDB.

Before You Begin

Before you run the tool, make sure about the following:

  • The MediaAgent that hosts the DDB is upgraded to v11.

  • The DDB must be hosted on the SSD.

  • Run DDB backup. For more information, see Deduplication Database Backup.

Procedure

  1. Wait for the completion of any running jobs for storage policies that use the DDB that you plan to convert. Otherwise, to suspend the jobs, perform the following steps:

    1. Create a list of all the storage policies associated with the DDB.

    2. On the ribbon in the CommCell Console, click the Home tab, and then click Job Controller.

    3. From the Job Controller window, click the Storage Policies column to view the list of jobs that are associated with a specific storage policy.

    4. To suspend a job, right-click the job, and then click Suspend.

    5. Suspend jobs for all the storage policies in the list.

  2. If firewall is configured between the CommServe and MediaAgent, disable the firewall.

  3. Log on to the CommServe computer.

  4. Download the Qscript ResetMemDBForDDB.sqle from the Commvault Store.

  5. Copy the script to the software_installation_directory/Base folder.

  6. On the command line, go to the software_installation_directory/Base folder, and run the following command by using the following parameter.

    qscript -f ResetMemDBForDDB.sqle -i [StoreID]

    Example: qscript -f ResetMemDBForDDB.sqle -i 86

    Parameter

    Description

    -i

    The ID of the DDB.

    You can view the ID from the Deduplication Engines node in the CommCell Browser.

    ddb_id

  7. If the DDB was created prior to SP12 and a full reconstruction of the DDB was not done after SP12, then re-index the DDB. Run the following command on the MediaAgent that hosts the DDB by using the following parameters.

    Windows

    On an administrative command prompt, navigate to the software_installation_directory/Base folder, and then execute the following command:

    SIDB2.exe -reindex -in <instance_number> -cn <client_name> -i <engine_id> -split <splitnum>

    Example: SIDB2.exe -reindex -in Instance001 -cn s900e317 -i 4 -split 0

    Linux

    On an administrative command prompt, navigate to the software_installation_directory/base folder, and then execute the following command:

    ./sidb2 -reindex -in <instance_number> -cn <client_name> -i <engine_id> -split <splitnum>

    Example: ./SIDB2.exe -reindex -in Instance001 -cn s900e317 -i 4 -split 0

    Parameter

    Description

    -in

    The instance of the software that uses the tool.

    -cn

    The client name of the MediaAgent that hosts the DDB.

    -split

    The partition number of the DDB. You can view the split number by accessing the path of the DDB.

    For example, in the following location, the split number is 1.

    E:\<DDB Folder>\CV_SIDB\2\86\Split01

  8. Run DDB backup.

    For more information, see Deduplication Database Backup.

  9. Resume the suspended jobs and monitor for any issues. To resume the jobs, perform the following steps:

    1. Create a list of all the storage policies associated with the DDB.

    2. On the ribbon in the CommCell Console, click the Home tab, and then click Job Controller.

    3. From the Job Controller window, click the Storage Policies column to view the list of jobs that are associated with a specific storage policy.

    4. To resume a suspended job, right-click the job, and then click Resume.

    5. Resume jobs for all the storage policies in the list.

Loading...