AgentSkillsCN

ignite-cluster-setup

只需通过命令即可搭建并管理本地 Apache Ignite 3 集群。当用户要求搭建集群、启动节点、重建集群、初始化集群,或检查集群状态时,此技能将为您提供支持。

SKILL.md
--- frontmatter
name: ignite-cluster-setup
description: Set up and manage a local Apache Ignite 3 cluster using just commands. Use when asked to setup cluster, start nodes, rebuild, initialize cluster, or check status.
allowed-tools: Bash(just:*)

Ignite Cluster Setup

This skill manages a local Apache Ignite 3 cluster for development using just commands.

Available Commands

CommandDescription
just setupFull rebuild: build distributions, create node dirs in w/
just setup_cliRebuild CLI only (fast)
just start 1Start node 1 (use 1, 2, or 3)
just start_allStart all 3 nodes
just stop 1Stop node 1
just stop_allStop all nodes
just initInitialize cluster (after nodes started)
just statusCheck status of all nodes
just cliLaunch CLI REPL
just setup_clusterFull setup: build + start all + init

Common Workflows

Fresh Setup (First Time or After Code Changes)

bash
just setup          # Build everything, create node directories
just start 1        # Start node 1 (or start_all for all nodes)
just init           # Initialize the cluster

Rebuild CLI Only (After CLI Code Changes)

bash
just setup_cli      # Fast rebuild of CLI only

Quick Restart (No Code Changes)

bash
just start 1        # Start node
just status         # Verify running

Full Automated Setup

bash
just setup_cluster  # Does: setup + start_all + init

Notes

  • Nodes run in w/ignite3-db-{1,2,3}/
  • CLI is in w/ignite3-cli/
  • Use just status to check which nodes are running
  • If nodes fail with RocksDB errors, run just setup to rebuild fresh