Page History
...
The following procedure instructs users on upgrading DOCA local repo package for host.
Software Prerequisites
Removing Previously Installed DOCA Runtime Packages
Ubuntu |
| |||||
---|---|---|---|---|---|---|
CentOS/RHEL |
|
Anchor | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Installing Local Repo Package for Host Dependencies
Ubuntu | N/A | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CentOS/RHEL 7.6 |
| |||||||||||||||||||||||||
CentOS 8.x |
| |||||||||||||||||||||||||
RHEL 8.x |
|
Upgrade Procedure
For Ubuntu
Download the appropriate local repo package for host for your Ubuntu OS from "Updating Repo Package on Host SideDownloading DOCA Runtime Packages".
Code Block language text wget <Download Link>
Unpack the deb repo. Run:
Code Block language text dpkg -i <repo_file>
Perform apt update. Run:
Code Block language text apt-get update
Run apt-install for DOCA SDK, DOCA runtime, DOCA tools:
Code Block language text sudo apt install doca-runtime sudo apt install doca-sdk sudo apt install doca-tools
(Optional) If you choose not to install DOCA Runtime, you must install RShim.
Code Block language text sudo dpkg --force-all -i rshim-<version>.deb
Note Download the
.deb
RShim package from the URL provided in the BlueField Drivers for Host downloader under the "Download/Documentation" column on this page.
For CentOS/RHEL
Download the appropriate local repo package for host for your OS from "Updating Repo Package on Host SideDownloading DOCA Runtime Packages".
Code Block language text wget <Download Link>
Run:
Code Block language text yum autoremove
Unpack the deb repo. Run:
Code Block language text rpm -Uvh <repo_file>.rpm
Run:
Code Block language text yum makecache
Run apt-install for DOCA SDK, DOCA runtime, DOCA tools:
Code Block language text sudo yum install doca-runtime sudo yum install doca-sdk sudo yum install doca-tools
(Optional) If you choose not to install DOCA Runtime, you must install RShim.
Code Block language text sudo rpm -Uhv rshim-<version>.rpm
Note Download the
.rpm
RShim package from the URL provided in the BlueField Drivers for Host downloader under the "Download/Documentation" column on this page.Assign a static IP to tmfifo_net0 (RShim host interface) on the x86 host.
Ubuntu Edit the file
/etc/netplan/01-netcfg.yaml
by adding the last 3 lines presented in the following example:Code Block language text sudo cat /etc/netplan/01-netcfg.yaml # This file describes the network interfaces available on your system # For more information, see netplan(5). network: version: 2 renderer: networkd ethernets: eno1: dhcp4: yes tmfifo_net0: addresses: [192.168.100.1/24] dhcp4: false
Note tmfifo_net0
is not supported by NetworkManager. Interface configuration must be rendered withnetworkd
.Debian - Create the file
/etc/network/interfaces.d/tmfifo
. Set the following lines:
Code Block language text auto tmfifo_net0 iface tmfifo_net0 inet static address 192.168.100.1/24
CentOS/RHEL - Create the file
/etc/sysconfig/network-scripts/ifcfg-tmfifo_net0
. Set the following lines:
Code Block language text DEVICE=tmfifo_net0 BOOTPROTO=none ONBOOT=yes PREFIX=24 IPADDR=192.168.100.1 NM_CONTROLLED=no
- Create the file
Load network configuration.
Ubuntu Code Block language text sudo netplan apply
Debian Code Block language text sudo systemctl restart networking
CentOS/RHEL Code Block language text systemctl restart NetworkManager.service
If the network configuration restart does not load the new interface, try rebooting the host.
Verify that RShim is active.
Code Block language text sudo systemctl status rshim
This command is expected to display "
active (running)
". If RShim service does not launch automatically, run:Code Block language text sudo systemctl enable rshim sudo systemctl start rshim