Previous Topic: Upgrade CA Anomaly DetectorNext Topic: Uninstall CA Anomaly Detector


Enable the Views

If you plan to use CA Anomaly Detector with CA Performance Center, you must enable the views before you can display them for the first time. This topic describes how to enable the CA Anomaly Detector for display in the CA Performance Center Console.

Note: If you plan to use CA Anomaly Detector with CA NetQoS Performance Center, the views are already enabled. Skip this task and go to the post installation tasks.

The views become available and useful when the following conditions are met:

Note: The steps in this topic are written with the expectation that you have already installed or upgraded CA Network Flow Analysis and CA Performance Center.

Follow these steps:

  1. Copy the required files from the CA Anomaly Detector server to the CA Performance Center server. For example, you can use SCP to copy the files into the target directory in a single operation.
    1. If you are performing the copy from the CA Performance Center server, log in as root or log in to an account that has sudo privileges.
    2. Copy the following two files from the NQAD/setup directory on the CA Anomaly Detector server:
      • anomalydetector_capc_addins.tar.gz: Definitions for the CA Anomaly Detector views
      • anomalydetector_capc_integration.sh: Script to unpack and load the view definitions
    3. Put the two .tar.gz and .sh files in the following directory on the CA Performance Center server: <install_path>/PerformanceCenter/SQL/plugins.

      where

      <install_path> is the root installation directory for CA Performance Center. The default root path is /opt/CA/.

  2. Verify that the .tar.gz and .sh files are in the correct location:
    1. Navigate to the plugins directory:
      cd <install_path>/PerformanceCenter/SQL/plugins
      

      where

      <install_path> is the root installation directory for CA Performance Center. The default root path is /opt/CA/.

    2. List the contents of the plugin directory:
      ls -l
      

      The return text should include the two files:

      anomalydetector_capc_addins.tar.gz
      anomalydetector_capc_integration.sh
      
  3. Prepare the script file:
    1. Make the script user-executable:
      chmod u+x anomalydetector_capc_integration.sh
      
    2. (Optional) Display the permissions to verify that the file is executable:
      ls -al
      
  4. Run the script:
    ./anomalydetector_capc_integration.sh
    

    The script unpacks the .tar.gz file, loads the view definitions into CA Performance Center, then restarts two services to initiate the change. The following phrase in the return text reports that the view definitions have been uploaded:

    Completed loading package; com.ca.im.plugin.anomalydetector
    

    The last section of the return text reports the Performance Center and Performance Center Console services being stopped and restarted.

    The views now are enabled. As soon as CA Anomaly Detector is registered and begins monitoring data, the views are available in the CA Performance Center Console.

Next: Complete the post installation tasks.