democratic-csi/hack
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
..
build_push.sh make build_push.sh executable 2026-01-03 19:28:00 +02:00
migrate-pcs-group-to-constraints.sh hack: add migration script for PCS group to constraints 2026-03-31 10:08:35 +03:00
run.sh