Migrating the data directory to a new location

The data directory is the location where a Data Insight server stores the product data. You specify the location of the data directory during the Data Insight installation. You can find out the current location of the data directory by reading the datadir.conf file that is located at C:\Program Files\Symantec\DataInsight\.

To move the data directory from its current location

  1. Stop all the Data Insight services that are running on the server.
  2. Navigate to C:\Program Files\Symantec\DataInsight\ and open the file datadir.conf in a text editor. Note the current location of the data directory. For example, matrix.datadir=C:/DataInsight/data.
  3. Edit the value for the parameter matrix.datadir to indicate the new location of the data directory. For example, matrix.datadir=E:/DataInsight/data.
  4. Copy the folder,$DATADIR/data, from the old location to the new location. For example, copy the folder from the original location C:/DataInsight to the new location E:/DataInsight.

    Note:

    If you choose to rename the data directory, do not use any space in the filename. Doing so will prevent the Data Insight services from starting.

  5. Navigate to C:\Program Files\Symantec\DataInsight\bin using the command prompt. Execute the following command:

    configdb -c

  6. Verify that the command output points to the new data directory location.
  7. Execute the command configdb -p -T node.

    Verify that the command output lists all the Data Insight servers that are in your deployment.

  8. Start the Data Insight services on the server.
  9. After all Data Insight services start successfully, delete the original data directory.