mirror of
https://github.com/xcat2/confluent.git
synced 2026-12-01 06:42:17 +00:00
64470862f9
A <file> entry in an imgutil package list or a syncfiles file includes another file, relative to the including file unless absolute. Describe this in the imgutil and nodeapply man pages and add commented examples to the default pkglist and syncfiles files.
33 lines
1.2 KiB
Markdown
33 lines
1.2 KiB
Markdown
nodeapply(8) -- Execute command on many nodes in a noderange through ssh
|
|
=========================================================================
|
|
|
|
## SYNOPSIS
|
|
|
|
`nodeapply [options] <noderange>`
|
|
|
|
## DESCRIPTION
|
|
|
|
Provides shortcut access to a number of common operations against deployed
|
|
nodes. These operations include refreshing ssh certificates and configuration,
|
|
rerunning syncfiles, and executing specified postscripts.
|
|
|
|
## OPTIONS
|
|
|
|
* `-k`, `--security`
|
|
Refresh SSH configuration (hosts.equiv and node SSH certificates)
|
|
|
|
* `-F`, `--sync`
|
|
Rerun syncfiles from deployed profile. A `<file>` line in syncfiles includes
|
|
another file, relative to the including file unless absolute. Its entries go to
|
|
the current section, and the section in effect before the include is restored after it.
|
|
|
|
* `-P SCRIPTS`, `--scripts=SCRIPTS`
|
|
Re-run specified scripts, with full path under scripts specified, e.g. post.d/scriptname,firstboot.d/otherscriptname
|
|
|
|
* `-c COUNT`, `-f COUNT`, `--count=COUNT`
|
|
Specify the maximum number of instances to run concurrently
|
|
|
|
* `-m MAXNODES`, `--maxnodes=MAXNODES`
|
|
Specify a maximum number of nodes to run remote ssh command to, prompting
|
|
if over the threshold
|