Changing Data Directory Location

The data directory is the instance of the index. You can move the data directory, if required.

The index/data files do not support NFS. The low-level file handling required in the index does not support shared network drives. There are a few binary executables in the data folder (for example, in the data/bin folder), but the data folder mostly contains the index files. The executables located in the data folder are the startup points for CloudView and are required.

To change the location of the data directory:

See Also
Controlling Disk Space
Backing up and Restoring Data
High Availability Scenarios
  1. Stop the CloudView server.
  2. Move the data folder to the new location, for example:

    mv PATH\<OS>\cv\data PATH\<OS>\cv\data2

  3. Update the paths to the new data folder, for example:

    On UNIX/Linux:
    Edit the startup scripts startXLAdvancedSearchServer.sh and stopXLAdvancedSearchServer.sh to reference the new data2/ directory.
    On Windows:
    1. Unregister the Windows service:
      PATH\<OS>\cv\data2\bin>unregisterservice.exe -name AdvancedSearchXL
    2. Register the Windows service again in the new data directory:
      PATH\<OS>\cv\data2\bin>registerservice.exe -name AdvancedSearchXL

  4. Restart the CloudView server.