scorehosts displays the names of hosts that are available in a
cluster. The shell environment variable SCBDSERV must be set
to the hostname where scoreboard cluster database server is running.
hostgroup can be the name of hostgroup sepcified in
the scorehosts.db(5)
cluster configuration file used by
scoreboard(8), or one
of the hostname specified in the scorehosts.db file. Further,
multiple hostgroups and/or hostnames can be specified when they are
separated with the plus (+) symbole. If the name of hostgroup or host
is preceded by tilde (~), then the host(group) is excluded from the
host list preceded by the tilde (~).
The scorehosts program is used to expand the hostgroup
specification in
scout,
rsh-all,
kill-all and
sceptic programs.
The options available for scorehosts:
- -i
-
When specified, scorehosts outputs the host list ignoring
the defected host list specified with the sorehosts.db file.
- -r
-
When specified, defected host(s) are replaced with the spare host(s)
specified int the sorehosts.db file.
- -s
-
When specified, scorehosts outputs the host list specified in
the comand argument and the spare host(s) associated with the
specified host list.
- -d
-
When specified, scorehosts outputs only the defected host
list.
- -l
-
When specified, the output host list is separated with newline
(\n). In default, hosts are separated with a space (blank) character.
- -q
-
In default, scorehosts outputs the number of hosts at the
end of the host list. When this option is specified, the number
message will not be output.