Installing and Configuring DPDK without Internet
DPDK can be installed and configured without an internet connection.
- Log into the Platform Setup
Application page:
- Select Capture Settings.
- Check the box in Monitoring column against each sniffing interface that you want to use for capturing the traffic.
- Log into the machine that hosts the probe or mediation engine and probe as a root user.
- (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
- Run the following command to
download the Kernel:
Note:
For offline installation of DPDK, check the Kernel version before downloading. The Kernel version in theDownload_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 theDownload_rpms.sh
script. The Kernel version is subject to change and hence we recommend you to check theuname -r
and then download the corresponding RPM file and their dependencies from the YUM repository and place the appropriate Kernel version RPM file in theDownload_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 in an Offline Mode - Using the MOS Website. - After downloading the RPM file, run this command to install the Kernel.
yum install kernel-uek-devel-$(uname -r)
- Download the DPDK tar.gz file
from https://fast.dpdk.org/rel into the folder
/var/cache/ocsm/dpdk/
. - 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
- Copy the downloaded
dpdk-kmods
folder into root of the system where DPDK needs to be installed. - 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 - 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'
- (Optional) To view all the
available advanced options, run the following command:
/opt/oracle/ocsm/usr/share/pld/rat/configure_dpdk.py -h
- Reboot the machine that hosts the probe or mediation engine and probe.