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
| Parameter | Type | Required | Description |
|---|---|---|---|
-StoreName | string | Yes | Name of the store the nodes belong to. Position 0. |
-Name | string[] | Yes | One or more node (instance) names to restart. Position 1. |
-Managers | string[] | No | Management Service endpoints to target; when omitted the active workspace's managers are used. |
-Port | int | No | Management Service port for bare-host managers. Default 7801. |
-Token | string | No | Admin bearer token for authenticated control-plane calls. |
-TimeoutSec | int | No | Per-request timeout in seconds. Default 30. |
-FailFast | switch | No | Stop 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"