Cisco InfiniBand 4x User's Guide Page 60

  • Download
  • Add to my manuals
  • Print
  • Page
    / 174
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 59
46 Implementing Cisco InfiniBand on IBM BladeCenter
To create virtual network interfaces on a Linux blade server, complete the following steps.
1. Get the IO Controller (IOC) numbers for the Ethernet bridge ports by running the
command shown in Figure 4-7.
Figure 4-7 InfiniBand Ethernet Bridge IOCs
Each IOC represents a physical port on the Ethernet bridge module.
2. Open the VNIC config file /etc/sysconfig/ics_inic.cfg in a text editor.
3. Uncomment the lines in the ics_inic.cfg file as shown in Figure 4-8 (at the bottom) and
update the information based on your desired configuration.
Figure 4-8 The ics_inic.cfg file
This creates a virtual NIC on your system that communicates through the specified port on
your Ethernet bridge module based on the port IOC that you designated. The parameters
have the following meanings:
NAME: The name of the virtual interface.
PRIMARY: The primary settings for the virtual interface.
SECONDARY: The backup settings for the virtual interface.
IOCGUID: The GUID of the Ethernet port on the bridge that you want to use for this
interface.
INSTANCE: The HCA adapter that you want to use. 0 represents the 1st HCA on the
PCI bus.
PORT: The HCA port that you want to use. 1 represents the 1st port on the HCA. In a
BladeCenter environment each port will only communicate with one switch module. For
example, in a BCH chassis InfiniBand HCA port 1 will communicate with an InfiniBand
switch module in bay 7.
4. Create an interface profile by creating a file ifcfg-eiocX, where X is the virtual interface
number that you want to use. The easiest way to do create this file is to copy and modify
and existing interface profile for eth0 or eth1. See Figure 4-9.
Figure 4-9 Copy eth0 config file
[root@localhost ~]# cat /proc/driver/ics_inic/iocs
0x66a01e1000147 BC2GE in Chassis 0x0000000000000000, Slot 5, Ioc 1
0x66a02e1000147 BC2GE in Chassis 0x0000000000000000, Slot 5, Ioc 2
0x66a03e1000147 BC2GE in Chassis 0x0000000000000000, Slot 5, Ioc 3
0x66a04e1000147 BC2GE in Chassis 0x0000000000000000, Slot 5, Ioc 4
0x66a05e1000147 BC2GE in Chassis 0x0000000000000000, Slot 5, Ioc 5
0x66a06e1000147 BC2GE in Chassis 0x0000000000000000, Slot 5, Ioc 6
[root@localhost ~]#
{CREATE; NAME="eioc2";
PRIMARY={IOCGUID=0x66A02E1000104; INSTANCE=0; PORT=1; }
SECONDARY={IOCGUID=0x66A013000010C; INSTANCE=0; PORT=2;}
}
[root@localhost ~]# cd /etc/sysconfig/network-scripts/
[root@localhost network-scripts]# cp ifcfg-eth0 ifcfg-eioc1
Page view 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 173 174

Comments to this Manuals

No comments