mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-24 18:41:55 +00:00
31 lines
993 B
Markdown
31 lines
993 B
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 syncflies, and executing specified postscripts.
|
|
|
|
## OPTIONS
|
|
|
|
* `-k`, `--security`
|
|
Refresh SSH configuration (hosts.equiv and node SSH certificates)
|
|
|
|
* `-F`, `--sync`
|
|
Rerun syncfiles from deployed profile
|
|
|
|
* `-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
|