5 – Detailed Descriptions of Command LineTools
File Management Tools
5-24
D000006-000 Rev A
Q
5.3.4
Simplified Editing of Node-Specific Files
(Linux)
: The combination of
uploadall
and
downloadall
provide a powerful
yet simple to use mechanism for reviewing and/or editing node-specific files
without the need to login to each node.
This is best explained with an example.
Assume the file
/etc./sysconfig/network-scripts/ifcfg-ib1
needs
to be reviewed and possibly edited for each host. This file would typically contain
the IP configuration information for IPoIB and may contain a unique IP address
per host.
To upload the file from all the hosts:
uploadall /etc/sysconfig/network-scripts/ifcfg-ib1 ifcfg-ib1
Now edit the uploaded files with an editor, such as
vi
:
vi uploads/*/ifcfg-ib1
If via the editor the file was changed for some or all of the hosts, it can then be
downloaded to all the hosts:
downloadall -d uploads ifcfg-ib1 /etc/sysconfig/network-scripts/ifcfg-ib1
Alternatively, if there was no need to download the file to all hosts, a subset of
hosts can be specified using the
-h
option or by creating an alternate host list file:
downloadall -d uploads -h 'host1 host32' ifcfg-ib1 /etc/sysconfig/network-scripts/ifcfg-ib1
NOTE:
When downloading to a subset of hosts, make sure that only the hosts
uploaded from are specified.
5.3.5
Simplified Setup of Node-Generic Files
(Linux)
: In contrast
scpall
can provide a powerful yet simple to use mechanism
for transferring files to all nodes that are generic (i.e., not node-specific).
For example, if all nodes in the cluster will use the same DNS server and TCP/IP
name resolution, they may be quickly set as follows:
Create an appropriate local file with the desired information. For example:
vi resolv.conf
Now copy the file to all hosts:
scpall resolv.conf /etc/resolv.conf
Содержание Fast Fabric
Страница 1: ...D000006 000 Rev A Page i Q S i m p l i f y Fast Fabric Users Guide...
Страница 2: ...Fast Fabric Users Guide Q Page ii D000006 000 Rev A...
Страница 38: ...3 Getting Started Upgrading IB software 3 24 D000006 000 Rev A Q...
Страница 148: ...6 MPI Sample Applications Pallas 6 6 D000006 000 Rev A Q...
Страница 159: ...B Fast Fabric Configuration Files D000006 000 Rev A B 7 Q NOTE Do not edit etc sysconfig iba iba_mon conf sample...
Страница 166: ...B Fast Fabric Configuration Files Port List Files B 14 D000006 000 Rev A Q...
Страница 168: ...C Configuration of IPoIB Name Mapping C 2 D000006 000 Rev A Q...