5 – Detailed Descriptions of Command LineTools
D000006-000 Rev A
5-3
Q
5.1.6
Selection of Hosts
For operations that are performed against a set of hosts, there are multiple ways
to specify the hosts on which to operate:
1. Small sets of hosts can be easily specified on the command line via the
-h
option discussed below.
2. When multiple commands are performed against the same small set of hosts,
the environment variable
HOSTS
can be used to specify a space separated lists
of hosts.
3. For groups of hosts that will be used often, a file may be created listing the
hosts. The defauilt file is
/etc/sysconfig/iba/hosts
that should list all
hosts in the cluster except the host running Fast Fabric itself. Such a file may
then be specified via the
-f
command line option or the
HOSTS_FILE
environment variable.
Within the tools the options are considered in the following order, the first item
listed below that is specified is used for the given command.
1.
-h
option
2.
HOSTS
environment variable
3.
-f
option
4.
HOSTS_FILE
environment variable
5.
/etc/sysconfig/iba/hosts
file
For example if the
-h
option is used and the
HOSTS_FILE
environment variable
is also exported, the command will operate only on hosts specified via the
-h
option.
5.1.6.1
Host List Files
The
-f
option or the
HOSTS_FILE
environment variable may be used to provide
the name of a file containing the list of hosts on which to operate. The default
is
/etc/sysconfig/iba/hosts
. In some fabrics it may be useful to create
multiple files in
/etc/sysconfig/iba
representing different subsets of the
fabric from which the user may operate. For example:
/etc/sysconfig/iba/hosts-mpi
: list of MPI hosts
/etc/sysconfig/iba/hosts-fs
: list of file server hosts
/etc/sysconfig/iba/hosts
: list of all hosts except for the Fast Fabric
node
/etc/sysconfig/iba/allhosts
: list of all hosts including the Fast Fabric
node
Summary of Contents for Fast Fabric
Page 1: ...D000006 000 Rev A Page i Q S i m p l i f y Fast Fabric Users Guide...
Page 2: ...Fast Fabric Users Guide Q Page ii D000006 000 Rev A...
Page 38: ...3 Getting Started Upgrading IB software 3 24 D000006 000 Rev A Q...
Page 148: ...6 MPI Sample Applications Pallas 6 6 D000006 000 Rev A Q...
Page 166: ...B Fast Fabric Configuration Files Port List Files B 14 D000006 000 Rev A Q...
Page 168: ...C Configuration of IPoIB Name Mapping C 2 D000006 000 Rev A Q...