Skip to main content

Restart-ZrNode

Restarts one or more named nodes of a Zaris store, reporting per-node success or failure.

Syntax

Restart-ZrNode
-StoreName <string>
-Name <string[]>
[-Managers <string[]>] [-Port <int>] [-Token <string>] [-TimeoutSec <int>] [-FailFast]

Description

Restart-ZrNode restarts the named instances of the given store on each connected manager via the Management Service, printing a per-node result. It is implemented as a stop followed by a start (the service has no dedicated restart route). Requires an active workspace or an explicit -Managers. As a write operation it refuses to fan out across a mixed-mode (supervisor + attach) workspace.

Parameters

ParameterTypeRequiredDescription
-StoreNamestringYesName of the store the nodes belong to. Position 0.
-Namestring[]YesOne or more node (instance) names to restart. Position 1.
-Managersstring[]NoManagement Service endpoints to target; when omitted the active workspace's managers are used.
-PortintNoManagement Service port for bare-host managers. Default 7801.
-TokenstringNoAdmin bearer token for authenticated control-plane calls.
-TimeoutSecintNoPer-request timeout in seconds. Default 30.
-FailFastswitchNoStop at the first manager (or node) that returns an error instead of continuing.

Examples

Restart a single node in the orders store.

Restart-ZrNode -StoreName orders -Name 10.0.0.11-n0

Restart several nodes at once.

Restart-ZrNode -StoreName orders -Name "10.0.0.11-n0","10.0.0.11-n1"