Performs single node verification. The actual verification is performed using the FF_HOSTVERIFY_DIR/hostverify.sh file.
A sample file is provided in /opt/opa/samples/hostverify.sh. You can review and edit the sample file to set appropriate configuration and performance expectations and select which tests to run by default. See /opt/opa/samples/hostverify.sh for more information.
FF_HOSTVERIFY_DIR configures both the location of hostverify.sh and the destination of the hostverify.res output file.
FF_HOSTVERIFY_DIR is configured in the /etc/sysconfig/opa/opafastfabric.conf configuration file.
opaverifyhosts [-kc] [-f hostfile] [-u upload_file] [-d upload_dir] [-h hosts] [-T timelimit] [test ...]
or
opaverifyhosts --help
Produces full help text.
At start and end of verification, kills any existing hostverify or xhpl jobs on the hosts.
Copies hostverify.sh to hosts first, useful if you have edited it.
File with hosts in cluster. Default is /etc/sysconfig/opa/hosts.
List of hosts to ping.
Filename to upload hostverify.res to after verification to allow backup and review of the detailed results for each node. The default upload destination file is hostverify.res. If -u '' is specified, no upload occurs.
Directory to upload result from each host to. Default is uploads.
Time limit in seconds for host to complete tests. Default is 300 seconds (5 minutes).
One or more specific tests to run. (See /opt/opa/samples/hostverify.sh for a list of available tests.) This verifies basic node configuration and performance by running /root/hostverify.sh on all specified hosts.
Prior to using the test option, edit /opt/opa/samples/hostverify.sh to set proper expectations for node configuration and performance. Then be sure to use the -c option on first run for a given node so that /opt/opa/samples/hostverify.sh gets copied to each node as /root/hostverify.sh.
A summary of results is appended to FF_RESULT_DIR/verifyhosts.res. A punch list of failures is also appended to FF_RESULT_DIR/punchlist.csv. Only failures are shown on stdout.