Skip to main content

PowerShell CLI

Clustron Zaris ships a PowerShell command-line interface for managing and interacting with Zaris stores. It is designed for both administrators automating cluster operations and developers working with a running store from scripts or a terminal.

Modules

The CLI is split into two modules.

AdminShell

Clustron.Zaris.AdminShell is for cluster administrators managing Zaris stores and nodes. Typical operations:

  • Creating distributed stores
  • Starting and stopping stores and instances
  • Scaling the server set
  • Monitoring cluster metrics
New-ZrStore -Name orders -ReplicationFactor 2 -BaseClusterPort 7811 -BaseClientPort 7861
Start-ZrStore -Name orders
Get-ZrStore -Name orders
Watch-ZrStoreMetrics -StoreName orders

See the Admin cmdlets overview.

ClientShell

Clustron.Zaris.ClientShell is for developers and application operators interacting with a running store. Typical operations:

  • Connecting to a store
  • Reading and writing key-value data
  • Managing counters and leases
  • Watching keys and prefixes
  • Running performance tests
Connect-ZrStore
Get-ZrItem
Set-ZrItem
Test-ZrThroughput

See the Client cmdlets overview.

Why the PowerShell CLI

Because the CLI is PowerShell-based, it integrates naturally with Windows administration tooling, CI/CD pipelines, and infrastructure automation. It is useful for:

  • Scriptable cluster automation and DevOps integration
  • Inspecting live data in a running store
  • Testing distributed coordination primitives
  • Benchmarking cluster performance
  • Debugging and troubleshooting

Next steps