Restore Data Aggregator

You can restore the Data Aggregator files that you backed up. If Data Repository remains intact, you can restore only the Data Aggregator component.
capm360
You can restore the Data Aggregator files that you backed up. If Data Repository remains intact, you can restore only the Data Aggregator component.
Data Aggregator can remain running while you restore the backup. The files that are backed up can be dropped in the desired directories while Data Aggregator is running.
Backup and restore into the same product version.
You must have root or sudo privileges to perform this task.
Follow these steps:
  1. Open a command prompt.
  2. (Optional) In the situations where the Data Aggregator karaf service is not running, uninstall the existing Data Aggregator and reinstall it.
  3. Run all of the following commands:
    cp -r
    DA_Backup
    /deploy_backup/*
    DA_install_directory
    /apache-karaf-
    version
    /deploy/
    cp -r
    DA_Backup
    /cert_backup/*
    DA_install_directory
    /data/
    cp -r
    DA_Backup
    /MIBDepot_backup/*
    DA_install_directory
    /apache-karaf-
    version
    /MIBDepot/
    cp
    DA_Backup
    /CustomDeviceType_backup/DeviceTypes.xml
    DA_install_directory
    /
    data
    /custom/devicetypes/
    cp -r
    DA_Backup/
    etc
    DA_install_directory
    /apache-karaf-
    version
    /
    cp -r
    DA_Backup
    /data/log
    DA_install_directory
    /apache-karaf-
    version
    /data/
    If prompted, overwrite the existing file.
    • DA_Backup
      Specifies the directory path and name of the backup directory.
    • DA_install_directory
      Specifies the Data Aggregator install directory.
      Default:
      /opt/IMDataAggregator
    In a fault tolerant environment, a shared directory (example:
    /DASharedRepo
    ) is defined to help limit data loss. Therefore, in a fault tolerant environment the
    certifications
    and
    devicetype
    files would be located in the following directories:
    DASharedRepo
    /certifications
    DASharedRepo
    /custom/devicetypes/DeviceTypes.xml
    For more information, see Fault Tolerance.
  4. Wait for a few minutes for Data Aggregator to synchronize automatically with CA
    CA Performance Center
    . When the connections between the Data Aggregator and the Data Collector hosts are established, the Data Collector hosts resume polling.
    Data Aggregator is restored.
    If you must restore Data Collector to a previous state, you can uninstall and reinstall Data Collector.