`````````````````````````````````````````````
2.1 First Login
-```````````````
+'''''''''''''''
Example:
::
ping 8.8.8.8
2.3 Login the server through SSH
-````````````````````````````````
+''''''''''''''''''''''''''''''''
2.4 Prepare the localhost.yml for bootstrap
-```````````````````````````````````````````
+'''''''''''''''''''''''''''''''''''''''''''
Example:
docker_https_proxy: https://xxx.xxx.xxx.xxx:8080
2.5 Run the bootstrap
-`````````````````````
+'''''''''''''''''''''
Use the following command:
localhost : ok=256 changed=135 unreachable=0 failed=0 skipped=220 rescued=0 ignored=0
2.6 Configure the OAM network
-`````````````````````````````
+'''''''''''''''''''''''''''''
Example:
+--------------+--------------------------------------+--------+--------------+
2.7 Configure the NTP server
-````````````````````````````
+''''''''''''''''''''''''''''
Example:
+--------------+--------------------------------------+
2.8 Configure the Storage by using the second hard drive as ceph backend
-````````````````````````````````````````````````````````````````````````
+''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Example:
+--------------------------------------+----------+-------+-----------------------+--------------------------------------+-------------------------------------------------------+--------------+------------------+-----------+
2.9 Configure the SR-IOV enabled network
-````````````````````````````````````````
-It need :
+''''''''''''''''''''''''''''''''''''''''
+
+It needs :
- assign the label of SR-IOV
- change the CPU policy to static
- change the hugepage setting
+------------------+--------------------------------------+
2.10 Unlock the server
-``````````````````````
+''''''''''''''''''''''
Example:
````````````````````````````
3.1 After controller-0 is rebooted and up running, download the DPDK
-````````````````````````````````````````````````````````````````````
+''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
::
sudo ln -s dpdk-stable-17.11.10 dpdk-stable
-3.1 Prepare the yaml file for the network assignment container
-``````````````````````````````````````````````````````````````
+3.2 Prepare the yaml file for the network assignment container
+''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
The following the exmaple of the yaml file:
> }'
> EOF
-3.2 Run the network assignent container for the 2 VFs
-`````````````````````````````````````````````````````
+3.3 Run the network assignent container for the 2 VFs
+'''''''''''''''''''''''''''''''''''''''''''''''''''''
::
networkattachmentdefinition.k8s.cni.cncf.io/sriov-data-dpdk-0 created
networkattachmentdefinition.k8s.cni.cncf.io/sriov-data-dpdk-1 created
-3.3 Prepare the VF container yaml file
-``````````````````````````````````````
+3.4 Prepare the VF container yaml file
+''''''''''''''''''''''''''''''''''''''
::
> path: /usr/src/
> EOF
-3.4 Run the VF container
-````````````````````````
+3.5 Run the VF container
+''''''''''''''''''''''''
Start the VF container.
Press enter to continue ...
Check the VF PCI information:
+
::
root@pod-with-dpdk-vfs-0:/usr/src/dpdk# printenv | grep PCIDEVICE_INTEL_COM
PCIDEVICE_INTEL_COM_PCI_SRIOV_NET_PHYSNET0=0000:05:11.0
Exit from pod back to host to find which VFs are assigned to this pod by check the pci address:
+
::
[root@controller-0 sysadmin(keystone_admin)]# ls -l /sys/class/net/ens2f0/device/virtfn*
- `StarlingX`_
.. _`StarlingX`: https://docs.starlingx.io/
-
\ No newline at end of file
+