| 1 |
.\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md |
| 2 |
.TH "ib_acme" 1 "2014-06-16" "ib_acme" "ib_acme" ib_acme |
| 3 |
.SH NAME |
| 4 |
ib_acme \- test and configuration utility for the IB ACM |
| 5 |
.SH SYNOPSIS |
| 6 |
.sp |
| 7 |
.nf |
| 8 |
\fIib_acme\fR [-f addr_format] [-s src_addr] -d dest_addr [-v] [-c] [-e] [-P] [-S svc_addr] [-C repetitions] |
| 9 |
.fi |
| 10 |
.nf |
| 11 |
\fIib_acme\fR [-A [addr_file]] [-O [opt_file]] [-D dest_dir] [-V] |
| 12 |
.fi |
| 13 |
.SH "DESCRIPTION" |
| 14 |
ib_acme provides assistance configuring and testing the ibacm service. |
| 15 |
The first usage of the service will test that the ibacm is running |
| 16 |
and operating correctly. The second usage model will automatically |
| 17 |
create address and configuration files for the ibacm service. |
| 18 |
.SH "OPTIONS" |
| 19 |
.TP |
| 20 |
\-f addr_format |
| 21 |
Specifies the format of the src_addr and dest_addr parameters. Valid |
| 22 |
address formats are: 'i' ip address, 'n' host name, 'l' lid, 'g' gid, |
| 23 |
and 'u' unspecified. If the -f option is omitted, |
| 24 |
an unspecified address format is assumed. ib_acme will use getaddrinfo or |
| 25 |
other mechanisms to determine which format the address uses. |
| 26 |
.TP |
| 27 |
\-s src_addr |
| 28 |
Specifies the local source address of the path to resolve. The source |
| 29 |
address can be an IP address, system network name, or LID, as indicated by |
| 30 |
the addr_format option. |
| 31 |
.TP |
| 32 |
\-d dest_addr |
| 33 |
Specifies the destination address of the path to resolve. The destination |
| 34 |
address can be an IP address, system network name, or LID, as indicated by |
| 35 |
the addr_format option. |
| 36 |
.TP |
| 37 |
\-v |
| 38 |
Indicates that the resolved path information should be verified with the |
| 39 |
active IB SA. Use of the -v option provides a sanity check that |
| 40 |
resolved path information is usable given the current cluster configuration. |
| 41 |
.TP |
| 42 |
\-c |
| 43 |
Instructs the ACM service to only returned information that currently resides |
| 44 |
in its local cache. |
| 45 |
.TP |
| 46 |
\-e [N] |
| 47 |
Displays one (N = 1, 2, ...) or all endpoints (N = 0 or not present). |
| 48 |
.TP |
| 49 |
\-P [opt] |
| 50 |
Queries performance data from the destination service. Valid options are: |
| 51 |
"col" for outputting combined data in column format, "N" (N = 1, 2, ...) for |
| 52 |
outputting data for a specific endpoint N, "all" for outputting data for all |
| 53 |
endpoints, and "s" for outputting data for a specific endpoint with the address |
| 54 |
given by the -s option. |
| 55 |
.TP |
| 56 |
\-S svc_addr |
| 57 |
Hostname, IPv4-address or Unix-domain socket of ACM service, default: /run/ibacm.sock |
| 58 |
.TP |
| 59 |
\-C repetitions |
| 60 |
number of repetitions to perform resolution. Used to measure |
| 61 |
performance of ACM cache lookups. Defaults to 1. |
| 62 |
.TP |
| 63 |
\-A [addr_file] |
| 64 |
With this option, the ib_acme utility automatically generates the address |
| 65 |
configuration file ibacm_addr.cfg. The generated file is |
| 66 |
constructed using the system host name. |
| 67 |
.TP |
| 68 |
\-O [opt_file] |
| 69 |
With this option, the ib_acme utility automatically generates the option |
| 70 |
configuration file ibacm_opts.cfg. The generated file is currently generated |
| 71 |
using static information. |
| 72 |
.TP |
| 73 |
\-D dest_dir |
| 74 |
Specify the destination directory for the output files. |
| 75 |
.TP |
| 76 |
\-V |
| 77 |
Enables verbose output. When combined with -A or -O options, ib_acme will |
| 78 |
display additional details, such as generated address information saved |
| 79 |
to the ibacm_addr.cfg file. |
| 80 |
.SH "NOTES" |
| 81 |
The ib_acme utility performs two main functions. With the -A and -O options, |
| 82 |
it automatically generates address or options configuration files. The |
| 83 |
generated files are text based and may be edited. These options are intended |
| 84 |
to provide a simple way to configure address and option information on all |
| 85 |
nodes on a cluster. |
| 86 |
.P |
| 87 |
The other function of the ib_acme utility is to test the ibacm service, |
| 88 |
including helping to verify that the service is usable given the current |
| 89 |
cluster configuration. The ib_acme utility can resolve IP addresses, |
| 90 |
network names, or IB LIDs into a path record. It can then compare that |
| 91 |
path record against one obtained by the SA. When used to test the |
| 92 |
ibacm service, the ib_acme utility has the side effect of loading the |
| 93 |
ibacm caches. |
| 94 |
.P |
| 95 |
Multiple, numerical destinations can be specified by adding brackets [] to |
| 96 |
the end of a base destination name or address. Users may specify a list of |
| 97 |
numerical ranges inside the brackets using the following example as a |
| 98 |
guide: node[1-3,5,7-8]. This will result in testing node1, node2, node3, |
| 99 |
node5, node7, and node8. |
| 100 |
.SH "SEE ALSO" |
| 101 |
ibacm(7), ibacm(8) |