Commit Graph

5 Commits

Author SHA1 Message Date
Michel Peterson e3cd52f00d hack: add migration script for PCS group to constraints
Adds a script to migrate existing iSCSI Pacemaker resources from group
membership to standalone resources with colocation/ordering constraints.

The script:
- Discovers all iSCSI resources in the configured group
- Adds colocation and ordering constraints first (non-disruptive)
- Then removes resources from the group (they keep running)
- Detects orphaned targets (targets without matching LUNs)
- Supports --dry-run mode for safe preview
- Is idempotent (safe to run multiple times)

Anchors (e.g., ZFS pool, VIP) remain in the group as colocation targets.

Refs #547

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-31 10:08:35 +03:00
Michel Peterson 822889ed1d make build_push.sh executable 2026-01-03 19:28:00 +02:00
Michel Peterson 0f04c77330 small typo 2026-01-03 19:27:59 +02:00
Michel Peterson 0c74b90e01 Add build_push.sh 2026-01-03 19:27:59 +02:00
Michel Peterson 536f0d487f CR fixes 2026-01-03 19:27:59 +02:00