sdaf-sap-system
Skill145 starsChanged 3 months agoMITView on GitHub
Deploy SDAF SAP system infrastructure (VMs, disks, load balancers, HA inputs) after the workload zone exists. Drives `installer.sh --type sap_system` per `docs/local/05-00-sap-system.md § Run`, reviews replacement risk, and validates the generated `<SID>_hosts.yaml` / `sap-parameters.yaml`. Use when a user says "deploy an SAP system", "run installer.sh sap_system", "SAP system infrastructure", "generate the SAP system inventory". Do NOT use for OS/DB/SAP install (`sdaf-sap-installation`), workload zone (see sdaf-workload-zone), or software download (`sdaf-media-acquisition`).
In this repository21 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- Webapp/.github/copilot-instructions.mdCopilot instructions
- code-reviewSkill
- sdaf-bom-selectionSkill
- sdaf-control-plane-bootstrapSkill
- sdaf-failure-triageSkill
- sdaf-ha-diagnosticsSkill
- sdaf-ha-topologySkill
- sdaf-media-acquisitionSkill
- sdaf-media-diagnosticsSkill
- sdaf-orientation-and-surfaceSkill
- sdaf-plan-and-test-semanticsSkill
- sdaf-quality-assuranceSkill
- sdaf-readiness-checkSkill
- sdaf-safe-removalSkill
- sdaf-sap-installationSkill
- sdaf-sovereign-cloudSkill
- sdaf-state-managementSkill
- sdaf-workload-zoneSkill
- sdaf-workspace-and-tfvarsSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Do NOT trigger on: control plane, workload zone, software download, install, removal.
- Very specific: line 88
Do not delete .progress markers to force a rerun (docs/local/06-00-software-and-installation.md § Safe retry).
- Distinctive: line 94
Do not deploy before the workload zone exists.
- Very specific: line 95
Do not pass --auto-approve (docs/local/05-00-sap-system.md § Review before execution).
- Distinctive: line 103
Does not run OS / DB / SAP installation playbooks.
- Distinctive: line 104
Does not download SAP media.
- Distinctive: line 105
Does not tear down or repair state.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SDAF SAP System
Action-loop skill. Deploys the SAP-system infrastructure strictly per
docs/local/05-00-sap-system.md. Installation of OS + DB + SAP is a separate
concern owned by sdaf-sap-installation.
When to invoke
Trigger on: "deploy an SAP system", "run installer.sh sap_system", "SAP system infra", "generated hosts.yaml", "generated sap-parameters.yaml".
Do NOT trigger on: control plane, workload zone, software download, install, removal.
Preconditions
- Workload zone deployed
(
docs/local/05-00-sap-system.md § Before you begin; SAP system reads deployer + landscape remote state per§ What the automation does). - SYSTEM tfvars prepared under the documented WORKSPACES layout — see
sdaf-workspace-and-tfvars. - Host quota / image / topology reviewed
(
docs/local/05-00-sap-system.md § Before you begin,§ Inputs).
Recipe
Step 1 — Review replacement risk
Re-read the SYSTEM tfvars once, checking for anything that will cause a
resource replacement
(docs/local/05-00-sap-system.md § Review before execution; see also
docs/local/troubleshooting.md § Terraform proposes unexpected replacement).
Step 2 — Run the documented installer
From the system parameter directory, exactly per
docs/local/05-00-sap-system.md § Run:
set -e
cd "$CONFIG_REPO_PATH/WORKSPACES/SYSTEM/<SAP_SYSTEM>"
ARM_SUBSCRIPTION_ID="<WORKLOAD_SUBSCRIPTION_ID>" \
"$SAP_AUTOMATION_REPO_PATH/deploy/scripts/installer.sh" \
--type sap_system \
--parameterfile "<SAP_SYSTEM>.tfvars" \
--control_plane_name "<CONTROL_PLANE>" \
--deployer_tfstate_key "<DEPLOYER_STATE_KEY>" \
--landscape_tfstate_key "<LANDSCAPE_STATE_KEY>" \
--storageaccountname "<STATE_STORAGE_ACCOUNT>" \
--state_subscription "<STATE_SUBSCRIPTION_ID>" || {
rc=$?
echo "SAP system exit=$rc — route to sdaf-failure-triage"
exit "$rc"
}Step 3 — Validate
docs/local/05-00-sap-system.md § Validate and § Outcome:
- SAP-system infra deployed.
- Generated
<SID>_hosts.yamlandsap-parameters.yamlexist (docs/local/05-00-sap-system.md § Validate,§ Outcome). - Config and metadata uploaded to the state account's
tfvarscontainer (§ What the automation does).
If the run fails
Route to sdaf-failure-triage. Stage-owned preventive checks (kept
here rather than in triage):
- Filename / directory / basename mismatch — fix before rerun
(
docs/local/troubleshooting.md § A parameter file is not found). - Do not delete
.progressmarkers to force a rerun (docs/local/06-00-software-and-installation.md § Safe retry).
Hard rules
- Documented behaviour only (D19).
- Do not deploy before the workload zone exists.
- Do not pass
--auto-approve(docs/local/05-00-sap-system.md § Review before execution). - Repo-wide rules apply: do not run
terraform fmtand follow the Terraform / Ansible / Python guidance in.github/copilot-instructions.md.
What this skill does NOT do
- Does not run OS / DB / SAP installation playbooks.
- Does not download SAP media.
- Does not tear down or repair state.
See also
sdaf-workload-zone,sdaf-workspace-and-tfvars,sdaf-bom-selection,sdaf-media-acquisition,sdaf-sap-installation,sdaf-state-management,sdaf-plan-and-test-semantics,sdaf-failure-triage.docs/local/05-00-sap-system.md,docs/local/troubleshooting.md,.github/copilot-instructions.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

