User guide

AFastFabric Configuration Files
Port List File
IB0054607-01 A A-17
Port List File
The /etc/sysconfig/iba/ports file is used to specify the local HCA ports (i.e.,
subnets) that FastFabric will use for assorted commands (such as
iba_reports,
fabric_info, iba_switch_admin, fabric_analysis, all_analysis) for fabric
access.
Alternate filenames may be specified in
fastfabric.conf, using environment
variables or on the command line. Refer to FastFabric Command Line Interface
Reference Guide for more information.
The following is a sample port list file:
# [ICS VERSION STRING: @(#) ./fastfabric/ib_tools/ports
x_x_x_x_x [MM/DD/YY hh:mm]
# This file defines the local HCA ports to use to access the fabric(s)
#
# specify one line per HCA port of the form hca:port such as:
# 0:0 = 1st active port in system
# 0:y = port y within system
# x:0 = 1st active port on HCA x
# x:y = HCA x, port y
# The first HCA in the system is 1. The first port on an HCA is 1.
0:0
Each line of the port list file may specify a single port, a comment or another port
list file to include.
Ports are specified as
hca:port. No spaces are permitted. The first Host Channel
Adapter is 1 and the first port is 1. The special value 0 for Host Channel Adapter
or port has special meaning. The allowed formats are shown in the previous
sample.
Files to be included may be specified using an
include directive followed by a file
name. File names specified should generally be absolute path names. If relative
path names are used, they will be searched for within the current directory then
/etc/sysconfig/iba.
Comments may be placed on any line. By using a
# to precede the comment. On
lines with a port or include directive, the
# must be white-space separated from
any preceding port or included file name.