Installing and Configuring DPDK without Internet

DPDK can be installed and configured without an internet connection.

  1. Log into the Platform Setup Application page:
    1. Select Capture Settings.
    2. Check the box in Monitoring column against each sniffing interface that you want to use for capturing the traffic.
  2. Log into the machine that hosts the probe or mediation engine and probe as a root user.
  3. (Optional) For better understanding of the network, CPU, and NUMA nodes of the server, run the system_layout.py script to display system information.
    source /opt/oracle/ocsm/ocsm_env.sh
    /opt/oracle/ocsm/usr/share/pld/rat/system_layout.py
  4. Run the following command to download the Kernel:

    Note:

    For offline installation of DPDK, check the Kernel version before downloading. The Kernel version in the Download_rpms.sh script is currently - "kernel-uek-devel-5.15.0-3.60.5.1.el8uek.x86_64.rpm". The Kernel dependency libraries are also present in the Download_rpms.sh script. The Kernel version is subject to change and hence we recommend you to check the uname -r and then download the corresponding RPM file and their dependencies from the YUM repository and place the appropriate Kernel version RPM file in the Download_rpms.sh script. Or, you can download and copy the RPM file and their dependencies to the existing offline REPO server. For more information, see Installing Session Monitor Offline.
  5. After downloading the RPM file, run this command to install the Kernel.
    yum install kernel-uek-devel-$(uname -r)
  6. Download the DPDK tar.gz file from https://fast.dpdk.org/rel into the folder /var/cache/ocsm/dpdk/.
  7. Run the below commands on a linux terminal connected to internet and download the dpdk-kmods folder:
    yum install git
    git clone http://dpdk.org/git/dpdk-kmods
  8. Copy the downloaded dpdk-kmods folder into root of the system where DPDK needs to be installed.
  9. Download the latest .whl files for the meson, ninja and pyelftools libraries from the URLs mentioned below:

    Table 6-2 Download URLs

    Item URL
    meson-X.X.X-py3-none-any.whl https://pypi.org/project/meson/#files
    ninja-1.11.1-py2.py3-none- manylinux_X_XX_x86_64.manylinux20XX_x86_64.whl https://pypi.org/project/ninja/#files
    pyelftools-X.XX-py2.py3-none-any.whl https://pypi.org/project/pyelftools/#files
  10. Run the following commands as a root user:
    source /opt/oracle/ocsm/ocsm_env.sh
    pip3 install meson-X.X.X-py3-none-any.whl --no-index
    pip3 install ninja-1.11.1-py2.py3-none-
    manylinux_X_XX_x86_64.manylinux20XX_x86_64.whl --no-index
    pip3 install pyelftools-X.XX-py2.py3-none-any.whl --no-
    index
    yum install -y gcc-toolset-11.x86_64
    scl enable gcc-toolset-11 '/opt/oracle/ocsm/usr/share/pld/rat/configure_dpdk.py'
  11. (Optional) To view all the available advanced options, run the following command:
    /opt/oracle/ocsm/usr/share/pld/rat/configure_dpdk.py -h
  12. Reboot the machine that hosts the probe or mediation engine and probe.