/azure-sap-automation:sdaf-control-plane-bootstrapfrom azure-sap-automation
Deploys the SDAF control plane locally: prepares DEPLOYER and LIBRARY tfvars, reviews the plan, runs deploy_controlplane.sh, and validates the deployer, library, and state hand-off.
Ships in azure-sap-automation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Action-loop skill. Deploys the control plane strictly per
docs/local/03-00-control-plane.md for local execution. On ADO / GitHub
surfaces, defer stage mechanics to the surface bootstrap plugin — this skill
covers the shared control-plane semantics.
Trigger on: "deploy the SDAF control plane", "run deploy_controlplane.sh", "install the deployer", "create the SAP library", "bootstrap SDAF from empty".
Do NOT trigger on: workload zone, SAP system, software download, install, removal, or state repair.
sdaf-readiness-check has passed
(docs/local/02-00-prepare-execution-environment.md § Readiness verification;
docs/local/03-00-control-plane.md § Before you begin).WORKSPACES layout — see sdaf-workspace-and-tfvars
(§ Configuration preparation, § Inputs).docs/local/troubleshooting.md § A required export is missing):
SAP_AUTOMATION_REPO_PATH, CONFIG_REPO_PATH, ARM_SUBSCRIPTION_ID.Re-read the DEPLOYER and LIBRARY tfvars once
(docs/local/03-00-control-plane.md § Review before execution). Confirm
naming matches docs/region-codes.md § Where the region code appears.
Docs require an explicit review before every state-changing step
(docs/local/03-00-control-plane.md § Review before execution; § Run).
From CONFIG_REPO_PATH, exactly per
docs/local/03-00-control-plane.md § Run:
set -e
cd "$CONFIG_REPO_PATH/WORKSPACES"
"$SAP_AUTOMATION_REPO_PATH/deploy/scripts/deploy_controlplane.sh" \
--deployer_parameter_file \
"$CONFIG_REPO_PATH/WORKSPACES/DEPLOYER/<CONTROL_PLANE>-INFRASTRUCTURE/<CONTROL_PLANE>-INFRASTRUCTURE.tfvars" \
--library_parameter_file \
"$CONFIG_REPO_PATH/WORKSPACES/LIBRARY/<ENVIRONMENT>-<LOCATION>-SAP_LIBRARY/<ENVIRONMENT>-<LOCATION>-SAP_LIBRARY.tfvars" \
--subscription "$ARM_SUBSCRIPTION_ID" || {
rc=$?
echo "control-plane exit=$rc — route to sdaf-failure-triage"
exit "$rc"
}
Do not claim success unless the exit code is 0 AND the validation checks
in Step 5 pass. Treat exit 2 as a validation-gate failure that must not be
silenced.
docs/local/01-00-prerequisites.md § Pin versions.
docs/local/03-00-control-plane.md § Validate and § Outcome:
tfstate
container) — see § What the automation does..sap_deployment_automation metadata populated (§ What the automation does, § Validate).§ Outcome).Route to sdaf-failure-triage. It walks
docs/local/troubleshooting.md and hands back the specific documented
anchor. Stage-owned preventive checks (that belong here rather than in
triage):
docs/local/troubleshooting.md § A parameter file is not found).--recover — do so only after the
state agrees
(docs/local/troubleshooting.md § A control-plane run stopped partway through).--help, do not describe it.--auto-approve for reviewed local deployment
(docs/local/03-00-control-plane.md § Review before execution).--force casually
(docs/local/03-00-control-plane.md § Safe retry).terraform fmt and follow the
Terraform / Ansible / Python guidance in
.github/copilot-instructions.md.sdaf-workspace-and-tfvars, sdaf-readiness-check,
sdaf-workload-zone, sdaf-sap-system, sdaf-safe-removal,
sdaf-sovereign-cloud, sdaf-failure-triage.docs/local/03-00-control-plane.md, docs/local/troubleshooting.md,
.github/copilot-instructions.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sap, sap-deployment-automation-framework, control-plane, azure
npx claudepluginhub azure/sap-automation --plugin azure-sap-automation18 skills in this plugin
/sdaf-bom-selectionPick the right SDAF BOM for a target SAP product / release / DB platform / version / kernel / topology. Explains where BOMs live in the samples repo (`SAP/` for whole products, `BOM/` for components), decodes the `ms`, `v####`, and `latest` suffix conventions, points at the compatibility guardrails (`supportedPlatforms`, `supportedDBVersions`, `supportedKernels`), and reminds the operator that the download flow needs four explicit BOM keys in `sap-parameters.yaml`. Use when a user says "which BOM do I use", "product BOM vs component BOM", "SAP samples BOM catalog", "BOM_CATALOG", "S4/2023 BOM", "HANA BOM", or "how do I pick a BOM for HANA/Oracle/DB2/ASE". Do NOT use to author a new BOM, to acquire media (`sdaf-media-acquisition`), or to troubleshoot a checksum / 404 (`sdaf-media-diagnostics`).
/sdaf-failure-triageTriage a failed or suspicious SDAF run: distinguish a real failure from a green no-op or a clean plan reported as failure, map the observed symptom to a documented cause in `docs/local/troubleshooting.md`, and hand off to the stage-owning skill for retry. Use when a user says "SDAF run failed", "my deploy exited non-zero", "the plan was clean but exit 1", "the run said success but nothing was deployed", "state lock error", "unexpected replacement", "control plane stopped partway", "generated hosts.yaml missing", "workload-zone private endpoint failure", "workload-zone subnet policy failure", or "SDAF exit 2". Do NOT use to actually deploy or to redesign the workspace layout.
/sdaf-ha-diagnosticsDiagnose a live or recently failed SDAF high-availability cluster without changing cluster state. Start read-first: capture `crm status full` or `pcs status --full`, inspect SBD or fencing evidence, confirm current resource placement, and reuse existing quality-assurance or HCMT artifacts. Grounded in `docs/local/07-10-quality-assurance.md`, the shipped Pacemaker role vars/tasks, and the SAP Automation QA setup role. Use when a user says "diagnose my HANA failover", "crm status", "pcs status", "check fencing", "why is the SCS/ERS cluster unhealthy", "offline_validation/cib", or "review an HCMT result zip". Do NOT use for pre-deploy topology or design choices (see `sdaf-ha-topology`), fresh installation/deploy, or disruptive failover/fencing exercises (see `sdaf-quality-assurance`).
/sdaf-ha-topologyChoose the documented SDAF high-availability design before SAP-system deployment. Use when a user asks which HA topology to deploy, whether to use AFA or SBD, AFS or ANF, HANA scale-up or scale-out, whether ANGI is allowed, or which HA inputs must be set before deployment. Ground answers in the current support matrix, Ansible roles, sample tfvars, and validation logic. Do NOT use for live cluster diagnosis (sdaf-ha-diagnostics) or for running the installers (sdaf-sap-installation).
/sdaf-media-acquisitionAcquire approved SAP media into the SDAF library after SAP-system infrastructure exists. Drives local `deploy/ansible/download_menu.sh` per `docs/local/06-00-software-and-installation.md § Download software`, enforces the documented `BOM_CATALOG` root and the four required `sap-parameters.yaml` BOM keys (`application_bom_name`, `database_bom_name`, `sap_kernel_bom_name`, `save_bom_as`), and explains the documented download and validation flow. Use for "download SAP media", "run download_menu.sh", "acquire software into the library", "BOM Downloader", "BOM_CATALOG", or "assemble application/database/kernel BOMs for download". Do NOT use to choose a BOM, troubleshoot a failed download, or run installation playbooks.
/sdaf-media-diagnosticsDiagnose SDAF software-download and BOM-processing failures after a BOM is already selected. Covers the documented local media path, SAP download, storage-account upload/download, checksum validation, and `SAPCAR` / `.EXE` extraction. Use when a user says "download_menu failed", "BOM downloader 404", "missing archive", "checksum mismatch", "SAPCAR failed", "bom-processing-done missing", or "my SPS07 media run can't find a file". Do NOT use to choose a BOM (see `sdaf-bom-selection`), to run a clean first-time media download with no failure, or to diagnose a later non-media install failure.
Other plugins' skills for the same job