opaverifyhosts(8)

opaverifyhosts8

Usage

opaverifyhosts [-kc] [-f hostfile] [-u upload_file] [-d upload_dir]

Options

--help

Produces full help text.

-k

At start and end of verification, kills any existing hostverify or xhpl jobs on the hosts.

-c

Copies hostverify.sh to hosts first, useful if you have edited it.

-f hostfile

Specifies the file with hosts in cluster.
Default is /etc/opa/hosts.

-h hosts

Specifies the list of hosts to ping.

-u upload_file

Specifies the 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.

-d upload_dir

Specifies the directory to upload result from each host to. Default is uploads.

-T timelimit

Specifies the time limit in seconds for host to complete tests. Default is 300 seconds (5 minutes).

-F filename

Specifies the filename of hostverify script to use. Default is /root/hostverify.sh.

test

Specifies one or more specific tests to run. See
/usr/share/opa/samples/hostverify.sh for a list of available tests.

Examples

opaverifyhosts -c

opaverifyhosts -h 'arwen elrond'

HOSTS='arwen elrond' opaverifyhosts

Environment

HOSTS

List of hosts, used if -h option not supplied.

HOSTS_FILE

File containing list of hosts, used in absence of -f and -h.

UPLOADS_DIR

Directory to upload to, used in absence of -d.

FF_MAX_PARALLEL

Maximum concurrent operations.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11–13

From opa-fastfabric 10.10.3.0.11-1+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.