Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Installing and Configuring Data Learning Engine for Network Director

    Data Learning Engine (DLE) enables Network Director to collect and analyze high-frequency statistics and sFlow data for devices that are managed by Network Director. Only the QFX Series devices support the analytics feature that is required for generating high-frequency statistics data. Network Director uses high-frequency statistics data to create network heat maps and to monitor latency in QFX devices and sFlow data to monitor network traffic in EX and QFX devices.

    This topic contains the following sections:

    Installing DLE

    DLE runs on a dedicated CentOS server. You can install DLE either directly on a CentOS server or on a virtual machine (VM) that runs CentOS. Following are the system requirements to install DLE:

    • The server or the VM on which you install DLE must have:
      • CentOs version 6.5, 64 bit
      • 16 GB RAM
      • 8 CPUs
      • 100 GB of hard disk space
    • The Network Director server, the DLE server, and all the devices that are to be monitored using the analytics feature must be connected over a network, and have the following system time configurations:
      • Configured with the same time zone.
      • System clocks synchronized with a Network Time Protocol (NTP) server.

    Before you install DLE make sure you have:

    • Verified that CentOS version 6.5 is installed on the server as shown in the following example:
      [root@user ~]# rpm --query centos-release
      centos-release-6-5.el6.centos.11.1.x86_64

      Or

      [root@user ~]# lsb_release -d
      Description: CentOS release 6.5 (Final)
    • Synchronized the time on the DLE server, Network Director server, and the devices using a common NTP server as shown in the following example:
      [root@user log]# ntpdate –u ntp.example.net
       13 Jan 12:51:02 ntpdate[11386]: adjust time server 192.0.2.1 offset -0.101819 sec

      Note: You can either specify the domain name/host name or IP address of the server.

      Note: Juniper Networks recommends that you use an NTP server to synchronize the time between DLE, Network Director, and devices. However, if you do not use an NTP server, you need to synchronize the time manually.

    • Verified that the network ports 8080, 4242, 50005, 8282, 8081, 50006, 50009, 9160, 7000, and 9042 are in listening mode by entering the netstat -anp |grep <port number> command as shown in the following example:
      [root@user] # netstat -anp | grep 8282
      tcp        0      0 0.0.0.0:8282                0.0.0.0:*                   LISTEN      1839/java

      Alternatively, you can disable firewall on the DLE server to make sure that all the network ports are accessible as shown in the following example:

      [root@user log]# service iptables stop
      iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
      iptables: Flushing firewall rules: [ OK ]
      iptables: Unloading modules: [ OK ]
    • Noted down the CentOS server IP address for configuring DLE in Network Director.

    To install DLE:

    1. Download the DLE RPM package version 14.1X53-D30 or later from the Cloud Analytics Engine software download page to your CentOS server.

      The RPM file name has the following format:
      dle-all-release-identifier.x86_64.rpm—for example, dle-all-14.1X53-D30.1.x86_64.rpm

    2. Install the DLE RPM package on the CentOS server.

      If you have downloaded the DLE RPM package to the tmp folder and you are installing the DLE package from the same (tmp) location, enter the command as shown in the following example:

      [root@user tmp]# rpm -ivh dle-all-14.1X53-D30.1.x86_64.rpm

      If you have downloaded the DLE RPM package to the tmp folder and you are installing the DLE package from a different location, enter the command as shown in the following example:

      [root@user]# rpm -ivh /tmp/dle-all-14.1X53-D30.1.x86_64.rpm

      A successful installation displays the output as shown in the following example:

      warning: dle-all-14.1X53-D30.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID dc466ab6:
      NOKEY
      Preparing... ########################################### [100%]
      1:dle-all ########################################### [100%]
      Starting Cassandra DB: [ OK ]
      Starting KairosDB: [ OK ]
      Starting Data Learning Engine: [ OK ]
      Starting cae monitor [ OK ]
    3. Verify the status of DLE and the database processes by entering the service status commands as shown in the following example:
      • [root@user]# service cassandra status
        cassandra (pid  1483) is running...
      • [root@user]# service kairosdb status
        kairosdb (pid  1779) is running...
      • [root@user]# service dle status
        dle (pid  1862) is running...
    4. Verify the DLE version installed on the CentOS server as shown in the following example:
      [root@user]# rpm -qa |grep dle
      dle-all-14.1X53-D30.1.x86_64

      Note: You can view the DLE log file at /opt/cae/dle/log/dle.log file.

      You can run the following commands to view the DLE log file:

      [root@user tmp]# cd /opt/cae/dle/log
      [root@user log]# tail -f dle.log

    What to Do Next

    After you have installed DLE on the CentOS server, you must perform the following operations to identify the applications that contribute to the traffic, traffic statistics, and the top applications:

    Modified: 2018-02-27