Restore the 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.
You can restore the data aggregator files that you have backed up. If the data repository remains intact, you can restore only the data aggregator component.
The data aggregator can remain running while you restore the backup. You can drop the files that are backed up in the desired directories while the data aggregator is running.
Back up and restore into the same
DX NetOps Performance Management
version.
Prerequisite:
You have root or sudo privileges.
Follow these steps:
  1. Open a command prompt.
  2. (Optional) If the data aggregator karaf service is not running, uninstall the existing data aggregator and reinstall it.
    For more information, see Uninstall the Data Aggregator.
  3. Issue the following commands:
    cp -r
    DA_Backup
    /deploy_backup/*
    <installation_directory>
    /IMDataAggregator/
    apache-karaf-*
    /deploy/
    cp -r
    DA_Backup
    /cert_backup/*
    <installation_directory>
    /data/certifications
    cp -r
    DA_Backup
    /MIBDepot_backup/*
    <installation_directory>
    /IMDataAggregator/
    apache-karaf-*
    /MIBDepot/
    cp
    DA_Backup
    /CustomDeviceType_backup/DeviceTypes.xml
    DA_install_directory
    /
    data
    /custom/devicetypes/
    cp -r
    DA_Backup/
    etc
    <installation_directory>
    /IMDataAggregator/
    apache-karaf-*
    /
    cp -r
    DA_Backup
    /data/log
    <installation_directory>
    /IMDataAggregator/
    apache-karaf-*
    /data/
    • DA_Backup
      Specifies the directory path and name of the backup directory.
    • installation_directory
      The installation directory of the data aggregator.
      Default:
      /opt
    • apache-karaf-*
      The installation directory for Apache Karaf.
      Example:
      apache-karaf-4.2.6
    If prompted, overwrite the existing file.
    In a fault-tolerant environment, a shared data directory (example:
    /DASharedRepo
    ) is defined to help limit data loss. Therefore, in a fault-tolerant environment, the
    certifications
    and
    devicetype
    files are 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 the data aggregator to synchronize automatically with
    NetOps Portal
    . When the connections between the data aggregator and the data collector hosts are established, the data collector hosts resume polling.
    To restore the data collector to a previous state, uninstall and reinstall it.
    For more information, see Uninstall the Data Collector.
The data aggregator is restored.