search cancel

How to move the ICDx data archive

book

Article ID: 201287

calendar_today

Updated On:

Products

ICDx

Issue/Introduction

In some cases it may be necessary to move the location of the ICDx data archive to a larger file system if the desired data retention results in more disk usage than expected.

Resolution

To move the ICDx local data archive, perform the following steps. In this example, the archive is being moved from /data/symantec/icdx to /mnt/icdx but the destination directory can be on any local filesystem.

In the steps below /mnt/icdx can be replaced with any local directory path on the system.

  1. Log into the ICDx server command line.
  2. Stop the running ICDx services.
    sudo systemctl stop launcher_dx.service nginx rabbitmq-server.service
  3. Move the existing archive to the new location.
    sudo mv /data/symantec/icdx /mnt/icdx
  4. Edit the /etc/environment file to point the $SYMC_DATA environment variable to the new path.
    sudo vi /etc/environment
  5. Edit the /opt/symantec/icdx/etc/archives.json file to point the "home" key to the new archive path.
    sudo vi /opt/symantec/icdx/etc/archives.json
  6. Restart the ICDx server.

Changes applied to /etc/environment file

Before

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
SYMC_HOME=/opt/symantec/icdx
SYMC_DATA=/data/symantec/icdx
SYMC_LOG=/var/log/symantec/icdx

After

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
SYMC_HOME=/opt/symantec/icdx
SYMC_DATA=/mnt/icdx
SYMC_LOG=/var/log/symantec/icdx

Changes applied to the /opt/symantec/icdx/etc/archives.json

Before

{"home":"/data/symantec/icdx/archives"}

After

{"home":"/mnt/icdx/archives"}