Логотип Splunk Indexer Cluster Setup

Splunk Indexer Cluster Setup

Спільнота
chambear2809
splunk-indexer-cluster-setup

Use when the user asks to bootstrap an indexer cluster, configure site_replication_factor or site_search_factor, apply or roll back a cluster bundle, perform searchable rolling restarts, take a peer offline, migrate single-site to multisite, decommission a site, or set up cluster manager redundancy. Render, preflight, apply, validate, and operate Splunk Enterprise indexer clusters: single- site and multisite bootstrap, cluster manager redundancy, bundle validate/apply/rollback, rolling restart modes, peer offline/removal, maintenance mode, site migration, non-clustered indexer migration, and indexer-discovery output snippets.

Огляд

Видавецьchambear2809
Репозиторійsplunk-cisco-skills
Назва навичкиsplunk-indexer-cluster-setup
Зірки
40
Форки
7
Файли в пакеті
7
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 7

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: chambear2809. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Splunk Indexer Cluster Setup у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-indexer-cluster-setup
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chambear2809/splunk-cisco-skills.git /tmp/splunk-cisco-skills
mkdir -p .claude/skills
cp -r /tmp/splunk-cisco-skills/skills/splunk-indexer-cluster-setup .claude/skills/splunk-indexer-cluster-setup
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Splunk Indexer Cluster Setup в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Splunk Indexer Cluster Setup, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Splunk Indexer Cluster Setup не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Splunk Indexer Cluster Setup

Before upgrading a cluster to Enterprise 10.6, follow the documented coordinated cluster procedure and confirm the required PostgreSQL ports are available between all members. Do not upgrade a single peer outside that sequence.

Prerequisites

Tool or accessPurposeVerify
Bash and Python 3Run bundled setup and validation helpersbash --version && python3 --version
Required product/platform accessInspect or configure the selected targetComplete the documented preflight
Credential files for live modesKeep secrets out of chatVerify paths only

Workflow Overview

text
┌───────────┐   ┌───────────────┐   ┌───────────────┐   ┌─────────────────┐
│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │
└───────────┘   └───────────────┘   └───────────────┘   └─────────────────┘

When to Activate

  • Bootstrap an indexer cluster, configure site_replication_factor or site_search_factor, apply or roll back a cluster bundle, perform searchable rolling restarts, take a peer offline, migrate single-site to multisite, decommission a site, or.
  • Preview and review the splunk indexer cluster setup workflow before any live apply phase.
  • Diagnose failed prerequisites, generated assets, configuration, or validation evidence.

Scope

Follow the documented read-only or render-first path whenever it is available. This skill does not imply permission to mutate live systems. Require explicit apply flags, protected credentials, and operator review for state changes.

Examples

Inspect the supported setup modes before selecting one:

bash
bash skills/splunk-indexer-cluster-setup/scripts/setup.sh --help

Expected output: usage, supported modes, and required arguments are displayed without changing the target environment.

Inspect validation modes before running completion checks:

bash
bash skills/splunk-indexer-cluster-setup/scripts/validate.sh --help

Expected output: offline, live, and completion options are displayed when the skill supports them; help exits without mutation.

Troubleshooting

IssueCauseResolution
Preflight failsA required tool or access path is missingResolve it before rendering or applying
Rendered assets are incompleteRequired non-secret inputs are absentComplete intake and render again
Apply is blockedReview, credentials, or explicit acceptance is missingUse the documented handoff
Validation is incompleteLive evidence is unavailableRecord the gap and keep completion open

This skill sits above skills/splunk-enterprise-host-setup, which still owns per-host install/upgrade. It owns multi-host orchestration of the cluster control plane and every documented cluster operation.

Architecture First

  • The host-setup skill installs Splunk Enterprise per host. This skill configures those installed hosts as a coordinated cluster (single-site or multisite).
  • Cluster manager redundancy uses two or more managers in active/standby; the skill renders the LB + DNS recipes per Splunk's documented patterns.
  • Multisite migration keeps both legacy replication_factor/search_factor AND the new site_* factors so existing buckets remain valid.

Agent Behavior — Credentials

Never paste secrets into chat.

  • Use template.example for the non-secret intake worksheet (manager URI, peer/SH lists, factors, sites).
  • Keep secrets in temporary files only:
bash
bash skills/shared/scripts/write_secret_file.sh /tmp/splunk_admin_password
bash skills/shared/scripts/write_secret_file.sh /tmp/splunk_idxc_secret

The cluster pass4SymmKey is distinct from the license manager pass4SymmKey and any SHC pass4SymmKey.

Quick Start

Single-site bootstrap (3 peers, 1 SH, 1 manager):

bash
bash skills/splunk-indexer-cluster-setup/scripts/setup.sh \
  --phase render \
  --cluster-mode single-site \
  --cluster-label prod \
  --cluster-manager-uri https://cm01.example.com:8089 \
  --manager-hosts cm01.example.com \
  --replication-factor 3 \
  --search-factor 2 \
  --peer-hosts idx01.example.com,idx02.example.com,idx03.example.com \
  --sh-hosts sh01.example.com

Multisite bootstrap with explicit per-site factors:

bash
bash skills/splunk-indexer-cluster-setup/scripts/setup.sh \
  --phase render \
  --cluster-mode multisite \
  --cluster-label prod \
  --cluster-manager-uri https://cm01.example.com:8089 \
  --manager-hosts cm01.example.com \
  --available-sites site1,site2 \
  --site-replication-factor "origin:2,total:3" \
  --site-search-factor "origin:1,total:2" \
  --peer-hosts "idx01.example.com=site1,idx02.example.com=site2" \
  --sh-hosts "sh01.example.com=site1"

Apply a cluster bundle (validates, then applies):

bash
bash skills/splunk-indexer-cluster-setup/scripts/setup.sh \
  --phase bundle-apply \
  --cluster-manager-uri https://cm01.example.com:8089 \
  --admin-password-file /tmp/splunk_admin_password

Searchable rolling restart with health check:

bash
bash skills/splunk-indexer-cluster-setup/scripts/setup.sh \
  --phase rolling-restart \
  --rolling-restart-mode searchable \
  --cluster-manager-uri https://cm01.example.com:8089 \
  --admin-password-file /tmp/splunk_admin_password

Take a peer offline (fast):

bash
bash skills/splunk-indexer-cluster-setup/scripts/setup.sh \
  --phase peer-offline \
  --peer-offline-mode fast \
  --peer-host idx02.example.com \
  --admin-password-file /tmp/splunk_admin_password

Migrate a single-site cluster to multisite:

bash
bash skills/splunk-indexer-cluster-setup/scripts/setup.sh \
  --phase migrate-to-multisite \
  --cluster-manager-uri https://cm01.example.com:8089 \
  --available-sites site1,site2 \
  --site-replication-factor "origin:2,total:3" \
  --site-search-factor "origin:1,total:2" \
  --site-mappings "default_mapping:site1"

Run targeted migration/recovery operations through the wrapper:

bash
bash skills/splunk-indexer-cluster-setup/scripts/setup.sh \
  --phase replace-manager \
  --cluster-manager-uri https://cm01.example.com:8089 \
  --new-manager-uri https://cm02.example.com:8089 \
  --idxc-secret-file /tmp/splunk_idxc_secret \
  --admin-password-file /tmp/splunk_admin_password

bash skills/splunk-indexer-cluster-setup/scripts/setup.sh \
  --phase decommission-site \
  --cluster-manager-uri https://cm01.example.com:8089 \
  --site site2 \
  --accept-site-decommission \
  --admin-password-file /tmp/splunk_admin_password

bash skills/splunk-indexer-cluster-setup/scripts/setup.sh \
  --phase move-peer-to-site \
  --cluster-manager-uri https://cm01.example.com:8089 \
  --peer-host idx02.example.com \
  --new-site site2 \
  --admin-password-file /tmp/splunk_admin_password

bash skills/splunk-indexer-cluster-setup/scripts/setup.sh \
  --phase migrate-non-clustered \
  --cluster-manager-uri https://cm01.example.com:8089 \
  --indexer-host idx03.example.com \
  --idxc-secret-file /tmp/splunk_idxc_secret \
  --admin-password-file /tmp/splunk_admin_password

What It Renders

Under splunk-indexer-cluster-rendered/cluster/:

  • manager/<host>/server.conf — primary + (optional) standby manager configs.
  • peer-<host>/server.conf — per-peer config with site assignment.
  • sh-<host>/server.conf — per-SH config with multisite/affinity.
  • bootstrap/sequenced-bootstrap.sh — manager → peers (RF gate) → SHs.
  • bundle/{validate.sh, status.sh, apply.sh, apply-skip-validation.sh, rollback.sh}.
  • restart/{rolling-restart.sh, searchable-rolling-restart.sh, force-searchable.sh}.
  • maintenance/{enable.sh, disable.sh}.
  • peer-ops/{offline-fast.sh, offline-enforce-counts.sh, remove-peer.sh, extend-restart-timeout.sh}.
  • redundancy/{lb-haproxy.cfg, dns-record-template.txt, ha-health-check.sh} (when redundancy enabled).
  • migration/{single-to-multisite.sh, replace-manager.sh, decommission-site.sh, move-peer-to-site.sh, migrate-non-clustered.sh}.
  • forwarder-outputs/<host>/outputs.conf — indexer-discovery snippets for HF/UF.
  • validate.sh — REST cluster-manager audit snapshot (info/health/peers/sites/buckets/generation/status + bundle status) saved under audit/<timestamp>/, then gates on the /services/cluster/manager/info preflight_check_passed field (PASS/FAIL).

Hand-off Contracts

  • Assumes hosts are installed by splunk-enterprise-host-setup --phase install.
  • Emits a LICENSE_PEERS[] stub at splunk-indexer-cluster-rendered/cluster/handoffs/license-peers.txt so splunk-license-manager-setup can wire up the license peer config.
  • Warns when bundle apps include SmartStore-aware files and points to skills/splunk-index-lifecycle-smartstore-setup for indexes.conf rendering.
  • For Search Head Cluster setup (deployer, SHC members, rolling restarts, captain transfer, KV Store), see splunk-search-head-cluster-setup.

Out of Scope

  • Cluster pass4SymmKey rotation: rendered server.conf files contain pass4SymmKey = $IDXC_SECRET so the operator can manage the secret out of band (env var, secrets manager, splunk hash-passwd). Rotating the secret cluster-wide remains a manual rolling restart with the new value; this skill does not orchestrate that rolling rotation.
  • Manager DR backup / restore: backup/restore of master-apps/ and manager state is operator-owned. The redundancy templates render active/standby manager pairs but do not snapshot or replay manager state.
  • Splunk Cloud indexer clusters: Splunk-managed; this skill targets self-managed Splunk Enterprise only.

References

  • reference.md for full multisite semantics, redundancy topologies, bundle reload-vs-restart classification, and rolling-restart health-check details.
  • template.example for the non-secret intake worksheet.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Splunk Indexer Cluster Setup?

Use when the user asks to bootstrap an indexer cluster, configure site_replication_factor or site_search_factor, apply or roll back a cluster bundle, perform searchable rolling restarts, take a peer offline, migrate single-site to multisite, decommission a site, or set up cluster manager redundancy. Render, preflight, apply, validate, and operate Splunk Enterprise indexer clusters: single- site and multisite bootstrap, cluster manager redundancy, bundle validate/apply/rollback, rolling restart modes, peer offline/removal, maintenance mode, site migration, non-clustered indexer migration, an...

Навіщо використовувати Splunk Indexer Cluster Setup у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Splunk Indexer Cluster Setup — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Splunk Indexer Cluster Setup у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-indexer-cluster-setup. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Splunk Indexer Cluster Setup?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Splunk Indexer Cluster Setup?

Зі скількома забажаєте. У TypingMind ви можете використовувати Splunk Indexer Cluster Setup із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Splunk Indexer Cluster Setup?

Так. На GitHub цю навичку публікує chambear2809 за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇