Q-Logic IB0056101-00 G manual Configuring the IPoIB Network Interface

Page 59

A

5 – Software Installation OpenFabrics Drivers and Services Configuration and Startup

Configuring the IPoIB Network Interface

The following instructions show you how to manually configure your OpenFabrics IPoIB network interface. This example assumes that you are using sh or bash as your shell, all required InfiniPath and OpenFabrics RPMs are installed, and your startup scripts have been run (either manually or at system boot).

For this example, the IPoIB network is 10.1.17.0 (one of the networks reserved for private use, and thus not routable on the Internet), with a /8 host portion, and therefore requires that the netmask be specified.

This example assumes that no hosts files exist, the host being configured has the IP address 10.1.17.3, and DHCP is not used.

NOTE:

Instructions are only for this static IP address case. Configuration methods for using DHCP will be supplied in a later release.

1.Type the following commands (as root):

#ifconfig ib0 10.1.17.3 netmask 0xffffff00

2.To verify the configuration, type:

#ifconfig ib0

The output from this command will be similar to this:

ib0 Link encap:InfiniBand HWaddr 00:00:00:02:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00 inet addr:10.1.17.3 Bcast:10.1.17.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:4096 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:128

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

3.Type:

# ping -c 2 -b 10.1.17.255

The output of the ping command will be similar to the following, with a line for each host already configured and connected:

WARNING: pinging broadcast address

PING 10.1.17.255 (10.1.17.255) 517(84) bytes of data.

174 bytes from 10.1.17.3: icmp_seq=0 ttl=174 time=0.022 ms

64 bytes from 10.1.17.1: icmp_seq=0 ttl=64 time=0.070 ms (DUP!)

64 bytes from 10.1.17.7: icmp_seq=0 ttl=64 time=0.073 ms (DUP!)

The IPoIB network interface is now configured.

IB0056101-00 G

5-17

Image 59
Contents QLogic HCA and InfiniPath→ Software Install Guide Document Revision History QLogic HCA and InfiniPath→ Software Install Guide VersionTable of Contents Software Installation Installation Troubleshooting Configuration Files RPM Descriptions List of Figures Page How this Guide is Organized Who Should Read this GuideOverview Convention Meaning InteroperabilityConventions Used in this Guide Typographical ConventionsDocumentation Support Headquarters Contact InformationIntroduction Contact Information IB0056101-00 G Description What’s New in this ReleaseQLogic Adapter Model Numbers QLogic Model Description New FeaturesDistribution InfiniPath/OpenFabrics Supported Supported Distributions and KernelsInfiniPath/OpenFabrics Supported Distributions Kernels Distribution InfiniPath/OpenFabrics Supported Kernels Compiler SupportSoftware Components „ Ofed SRP Feature Overview Software Components Hardware Installation Step-by-Step Installation ChecklistInstalling Software Using Rocks on Software InstallationStep-by-Step Installation Checklist Software Installation Page QLogic Platform Plugs Into Hardware Installation RequirementsHardware Adapter Models and Related PlatformsForm Factors Product Number Description Cabling and SwitchesQLogic InfiniBand Cables Optical Fibre Option Configuring the BiosUnpacking Information Safety with ElectricityVerify the Package Contents List of the Package ContentsHardware Installation Unpacking Information QLogic QLE7280 with IBA7220 Asic Asic Unpacking the QLogic AdapterInstallation Steps Dual Adapter InstallationPCIe Slot in a Typical Motherboard QLogic PCIe HCA Assembly with Riser Card Assembled PCIe HCA with Riser Hardware Installation for QHT7140 with HTX RiserHTX Slot QLogic QHT7140 Adapter with Riser Card Assembled QHT7140 with Riser Hardware Installation for the QHT7140 Without an HTX Riser Cabling the Adapter to the InfiniBand Switch Switch Configuration and MonitoringCompleting the Installation Types of Nodes in a Cluster Environment Cluster SetupInfiniPath/OpenFabrics Supported Distributions and Kernels Setting Up Your EnvironmentSupported Linux Distributions Package Description Comments Choosing the Appropriate Download FilesAvailable Packages Unpacking the InfiniPath tar File Libibverbs-2.2-xxx.11.yyy.x8664.rpm Check for Missing Files or RPMsSles10 Installing the InfiniPath and OpenFabrics RPMsDistribution Used On Rhel4If you want to Then install Choosing the RPMs to InstallRpms to Install Preparing Using rpm to Install InfiniPath and OpenFabricsInstalled Layout Starting the InfiniPath Service InfiniPath and OpenFabrics Driver Overview Configuring the InfiniPath DriversIpathether Configuration on Red Hat Configuring the ibipath DriverConfiguring the ipathether Network Interface # QLogic Interconnect Ethernet DEVICE=eth2 BOOTPROTO=static Etc/sysconfig/network-scripts/ifcfg-eth200117504e011 Ipathether Configuration on SlesMODULE=ipathether STARTMODE=auto Etc/sysconfig/hardware/hwcfg-eth-id-$MACEtc/sysconfig/network/ifcfg-eth2 Etc/udev/rules.d/30-netpersistentnames.rulesOpenFabrics Drivers and Services Configuration and Startup Output from this command will be similar to this Configuring the IPoIB Network Interface00066a0130000001 Configuring and Administering the Vnic InterfaceEtc/sysconfig/infinipath. Change this line to Etc/infiniband/qlgcvnic.cfg Service 1 1000066a00000101 InfiniNIC.InfiniConSys.Data01# HEARTBEAT=100 NAME=eioc1 IOCGUID=0x66A0137FFFFE7This example uses DGID, Iocguid and Iocstring # /etc/init.d/qlgcvnic stop # /etc/init.d/infinipath start # /etc/init.d/qlgcvnic startEtc/init.d/opensmd OpenSM# ibqlgcvnicinfo 21000001ff040bf6 Using Ofed SRP# mkdir /mnt/targetname # mount /dev/sde1 /mnt/targetname # ibsrpdm -cMPI over uDAPL Other Configuration Changing the MTU SizeStarting and Stopping the InfiniPath Software To check the configuration state, use the command Rebuilding or Reinstalling Drivers After a Kernel Upgrade LED States Indication Further Information on Configuring and Loading DriversLED Link and Data Indicators LED Link and Data IndicatorsOff Adapter SettingsHostname1 Hostname2 Customer Acceptance UtilityIpathcheckout Options Command MeaningRemoving Software Packages Additional Installation InstructionsUninstalling InfiniPath and OpenFabrics RPMs Uninstalling Ofed 1.3 SoftwareInstalling QLogic MPI in an Alternate Location Installing Lustre/etc/redhat-release file or the /etc/SuSE-release file Installing on an Unsupported DistributionUsr/src/infinipath/drivers/build-guards.sh Managing and Installing Software Using RocksInstalling Rocks and InfiniPath RPMs Use the following contents Software Installation Additional Installation Instructions Home/install/contrib/4.2.1/x8664/RPMS Further Information on Rocks and kickstart Page Some HTX Motherboards May Need Two or More CPUs in Use Hardware IssuesBios Settings Node Spontaneously RebootsMtrr Mapping Discrete Edit Bios Settings to Fix Mtrr IssuesMtrr Mapping and Write Combining Use the ipathmtrr Script to Fix Mtrr Issues Software Installation IssuesIssue with Supermicro H8DCE-HTe and QHT7040 Rpm no packages given for erase Version Number Conflict with opensm-*on RHEL5 SystemsOpenFabrics Dependencies OpenFabrics Library DependenciesMissing Kernel RPM Errors Libgcc-3.4.3-9.EL4.i386.rpm Mpirun Installation Requires 32-bit SupportResolving Conflicts Eth3 device QLogic Corp Unknown device 0010 rev Lockable Memory Error on Initial Installation of InfiniPathIfup on ipathether on Sles 10 Reports unknown device Glibc-2.3.4-2.i686.rpm or glibc-2.3.4-2.i386.rpmPage Configuration File Name Description Table B-1. Configuration FilesSample and Template Files Description Infinipath-2.2-33597.832rhel4qlc.x8664.rpm InfiniPath and OpenFabrics RPMsDifferent Nodes May Use Different RPMs RPM Version Numbers and IdentifiersRPM Name Front End Compute Development RPM OrganizationDocumentation and InfiniPath RPMs Table C-1. InfiniPath Documentation/RPMsContains ipathcheckout Ipathbug-helpera Table C-2. InfiniPath/RPMsTable C-3. InfiniPath-Devel/RPMs RPM Name Comments OpenFabrics RPMsTable C-4. InfiniPath-MPI/RPMs Table C-5. OpenFabrics Documentation/RPMsIbutils-2.2-xxx.12.yyy.x8664.rpm Dapl-utils-2.2-xxx.207.yyy.x8664.rpmIb-bonding-2.2-xxx.090.yyy.x8664.rpm Ibsim-2.2-xxx.04.yyy.x8664.rpmLibrdmacm-2.2-xxx.106.yyy.x8664.rpm Libibverbs-2.2-xxx.111.yyy.x8664.rpmLibibverbs-utils-2.2-xxx.111.yyy.x8664.rpm Libipathverbs-2.2-xxx.11.yyy.x8664.rpmTable C-7. OpenFabrics-Devel/RPMs Table C-9. Other HCAs/RPMs Table C-8. OpenSM/RPMsEnd Table C-10. Other HCAs-Devel/RPMsTable C-11. OtherMPIs/RPMs RPM Name Front ComputRPM Name Front Comput Developme End Qlogic-mpi-regis Openmpiintel-2.2-xxx.125.yyy.x8Openmpipathscale-2.2-xxx.125.yy Openmpipgi-2.2-xxx.125.yyy.x86RPM Descriptions OpenFabrics RPMs IB0056101-00 G Index Help Openssh Openssh-server 5-3 Optical media converters No packages given for erase warning message A-4 Verbose Page Page Camberley Surrey, GU16 7ER UK +44 0 1276 804