A

Configuring Drivers and Services OpenFabrics Drivers and Services Configuration and Startup

2.Create the VNIC interfaces using the configuration file:

/etc/infiniband/qlgc_vnic.cfg.

Look at the qlgc_vnic.cfg.sample file to see how VNIC configuration files are written. It can be found with the OFED documentation, or in the qlgc_vnictools subdirectory of the QLogicIB_Basic download. You can use this configuration file as the basis for creating a configuration file by replacing the Destination Global Identifier (DGID), IOCGUID, and IOCSTRING values with those of the EVIC/VEx IOCs present on your fabric.

QLogic recommends using the DGID of the EVIC/VEx IOC, as it ensures the quickest startup of the VNIC service. When DGID is specified, the IOCGUID must also be specified. For more details, see the qlgc_vnic.cfg sample file.

3.Edit the VirtualNIC configuration file,

/etc/infiniband/qlgc vnic.cfg. For each IOC connection, add a CREATE block to the file using the following format:

{CREATE; NAME="eioc2"; PRIMARY={IOCGUID=0x66A0130000105; INSTANCE=0; PORT=1; } SECONDARY={IOCGUID=0x66A013000010C; INSTANCE=0; PORT=2;}

}

NOTE:

The qlgc vnic.cfg file is case and format sensitive.

a.Format 1: Defining an IOC using the IOCGUID. Use the following format to allow the host to connect to a specific VIO hardware card, regardless of which chassis and/or slot the VIO hardware card resides:

{CREATE;

NAME="eioc1";

IOCGUID=0x66A0137FFFFE7;}

The following is an example of VIO hardware failover: {CREATE; NAME="eioc1"; PRIMARY={IOCGUID=0x66a01de000003; INSTANCE=1; PORT=1; }

SECONDARY={IOCGUID=0x66a02de000003; INSTANCE=1; PORT=1;}

}

IB0056101-00 G.02

Preliminary

6-9

Page 81
Image 81
Q-Logic IB0056101-00 G.02, OFED manual Create the Vnic interfaces using the configuration file, Etc/infiniband/qlgcvnic.cfg