Installing XLIO Binary Manually
XLIO can be installed from a dedicated XLIO RPM or a Debian package. In this case, please make sure that the MLXN Driver is already installed and that MLNX Driver and XLIO versions match so that XLIO functions correctly.
This option is suitable for users who receive an OEM XLIO version, or a Fast Update Release XLIO version which is newer than the installed XLIO version.
This section addresses both RPM and DEB (Ubuntu OS) installations.
XLIO includes the following packages which should be saved on your local drive:
The libxlio package which contains the binary library shared object file (.so), configuration and documentation files
The libxlio-utils package which contains utilities such as xlio_stats to monitor xlio traffic and statistics
The libxlio-devel package which contains XLIO’s extra API header files, for extra functionality not provided by the socket API
Before you begin, please verify the following prerequisites:
Check whether XLIO is installed:
For RPM packages, run:#rpm -qil libxlio
For DEB packages, run:
#dpkg –s libxlio
If the XLIO packages are not installed, an appropriate message is displayed.
If the XLIO packages are installed, the RPM or the DEB logs the XLIO package information and the installed file list.
Uninstall the current XLIO:
For RPM packages, run:#rpm -e libxlio
For DEB packages:
#apt-get remove libxlio
Installing the XLIO Binary Package
Go to the location where the libxlio package was saved.
Run the command below to start installation:
For RPM packages:#rpm -i libxlio-X.Y.Z-R.<arch>.rpm
For DEB packages:
#dpkg -i libxlio_X.Y.Z-R_<arch>.deb
During the installation process the:
• XLIO library is copied to standard library location (e.g. /usr/lib64/libxlio.so). In addition XLIO debug library is copied under the same location (e.g. /usr/lib64/libxlio-debug.so)
• README is installed at /usr/share/doc/libxlio-X.Y.Z/
• XLIO installs its configuration file, libxlio.conf, to the following location: /etc/libxlio.conf
• The xliod service utility is copied into /sbin
• The script xlio is installed under /etc/init.d/ for systems with SysV. This script can be used to load and unload the XLIO service utility.
Install the XLIO utils Package
Go to the location where the utils package was saved.
Run the command below to start installation:
For RPM packages:#rpm -i libxlio-utils-X.Y.Z-R.<arch>.rpm
For DEB packages:
#dpkg -i libxlio-utils_X.Y.Z-R_<arch>.deb
During the installation process, the XLIO monitoring utility is installed at /usr/bin/xlio_stats.
Installing the XLIO devel Package
Go to the location where the devel package was saved.
Run the command below to start installation:
For RPM packages:#rpm -i libxlio-devel-X.Y.Z-R.<arch>.rpm
For DEB packages:
#dpkg -i libxlio-dev_X.Y.Z-R_<arch>.deb
During the installation process the XLIO extra header file is installed at /usr/include/mellanox/xlio_extra.h.
For further information, please refer to Running XLIO.