vos_eachvl - Iterate Location Service servers
vos eachvl [-format <format string>] [-execute] [-quitonerror [<yes|no>]] [-cell <cell name>] [-noauth] [-auth] [-localauth] [-encrypt [<yes|no>]] [-verbose] [-noresolve] [-config <configuration file>] [-help]
vos eachvl enumerates servers used to provide the Location Service and, for each, will expand a user-specified format string. Optionally, the result of expansion may be interpreted as a shell command and invoked (see -execute).
Describe how to print each iterated location server. The format string is a C-style %-escaped string with the following escapes available:
As is typical of %-escaped strings,
%% will be rendered as a single
% in the output.
The server's endpoint.
Server endpoints may be modified by specifying one or more of the following flags between the
Determine the first-responding address of an endpoint; useful mostly for multi-homed servers. If a server is non-responsive, this flag will trigger an error.
but fall back to the first registered endpoint if none of the endpoints are responsive rather than raising an error.
Print only the host component of an endpoint, rather than host and port.
Do not attempt to resolve the server's address back to a hostname,
-noresolve had been specified.
Print only the port component of an endpoint, rather than host and port.
Interpret the format string as a command to be run.
If it starts with the string
the command will be run within the existing process,
otherwise it will be passed to a shell.
When quit on error mode is enabled, -execute command iteration will halt on non-zero exit status.
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see vos(1).
Assigns the unprivileged identity
anonymous to the issuer.
Do not combine this flag with the -localauth flag.
For more details,
Obtains an authentication token using the server encryption key with the highest key version number in the local /etc/yfs/server/KeyFileExt file. The resulting token never expires and has Super User privileges. Do not combine this flag with the -cell argument or -noauth flag. For more details, see vos(1).
Use the calling user's tokens from the kernel or as obtained using the active Kerberos ticket granting ticket to communicate with the Volume Server and Location Service. This is the default if neither -localauth nor -noauth is given.
Since this option is the default, it is usually not useful for running single command line operations. However, it can be useful when running commands via vos_interactive(1) or vos_source(1), since otherwise it would be impossible to switch from, for example, -localauth back to using regular tokens during a bulk operation.
Produces on the standard output stream a detailed trace of the command's execution. If this argument is omitted, only warnings and error messages appear.
Enables or disables encrytion for the command so that the operation's results are not transmitted across the network in clear text.
Shows all servers as IP addresses instead of the reverse DNS lookup hostname.
-noresolve useful when troubleshooting
no such volume and
volume moved errors.
Set the location of the configuration file to be used. The default file is /etc/yfs/yfs-client.conf.
Prints the online help for this command. All other valid options are ignored.
vos eachvl -format 'Location Service at %hs (%nhs)'
Enumerate all Location Service servers, printing the DNS and IP address of each.
vos eachvl -format 'rxdebug -version -rxpeer %ns' -execute
Interrogate each Location Service server for its version using rx debug packets.
vos(1), vos_listfs(1), vos_eachvol(1), vos_eachfs(1)
Copyright AuriStor, Inc. 2014-2020. https://www.auristor.com/ All Rights Reserved.
"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)
"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)
The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).
"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).
"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.