Correlate the PCIe slot locations and interface names - R840 servers
Gather and correlate PCIe slot locations and interface names in order to build a table with the relevant interface names
for the Linux nodes.
About this task
RHEL 7.x does not use the 70-persistent-net.rules file for Ethernet persistency. Instead, in RHEL 7.x nodes,
the interface names are in the following format: enXXX (for example: enp6s0f0 or eno3).
Other nodes (such as SLES) interface names may be in the following format: ethX (for example: eth0 or eth4).
Note: In the following procedure, the commands are being run on a RHEL 7.x node, so the example outputs include
interface names in the format enXXX.
Procedure
1. Find the correlation between physical slot names and interface names so that you can discover the correlation
between PCIe slot locations and interface names in the operating system:
Note: For each of the following commands, record the output and set it aside for use later in this task:
a. Correlate the physical PCIe slot to a logical bus address:
dmidecode -t slot |egrep "Designation|Current Usage|Bus Address"
This command displays the PCIe location of each PCIe card. In the following example output, the logical bus
address in the last three lines is "0000:05:00.0," which is shown as Current Usage: In Use and
correlates to physical PCIe card slot location "PCIe Slot 6."
In this case, the 10GB PCIe NIC is presented on slot 6, and the logical bus address of its ports is 5:0 and 5:1.
(See the figure in this topic, "Correlating physical slot and Ethernet network names", in which the correlation
between PCIe slot and the logical bus address is highlighted in yellow.)
        Designation: PCIe Slot 1
        Current Usage: Available
        Designation: PCIe Slot 2
        Current Usage: Available
        Designation: PCIe Slot 3
        Current Usage: Available
        Designation: PCIe Slot 4
        Current Usage: Available
        Designation: PCIe Slot 5
        Current Usage: Available
        Designation: PCIe Slot 6
        Current Usage: In Use
        Bus Address: 0000:05:00.0
b. Correlate the onboard device name (NIC1 to NIC4) to a logical bus address:
dmidecode -t baseboard | sed -n -e '/NIC/,/Bus Address/p' | egrep "NIC|Bus Address" 
This command displays the onboard location of each network port. In the following example output, the
logical bus address in the first two lines is "0000:01:00.0," which correlates to physical NIC Integrated
NIC 1.
        Reference Designation: Integrated NIC 1
        Bus Address: 0000:01:00.0
        Reference Designation: Integrated NIC 2
Configuring network ports on Linux servers
VxFlex Ready Node Operating System Installation Guide for Linux 47