Selection Of Hosts - Qlogic Fast Fabric User Manual

Table of Contents

Advertisement

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
D000006-000 Rev A
5 – Detailed Descriptions of Command LineTools
5-3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Fast Fabric and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents