sdaf-sap-installation
Skill145 starsChanged 3 months agoMITView on GitHub
Guide SDAF operating-system, database, and SAP installation after the SAP-system workspace and reviewed media are ready. Covers the local `configuration_menu.sh` path, the Azure DevOps `05-DB-and-SAP-installation` booleans, `.progress`-based recovery, and the boundary between infrastructure deployment, media acquisition, and software installation. Use for "run the SAP install playbooks", "which installation stage should I select", "resume after a partial DB/SAP playbook run", "run configuration_menu.sh", or "queue 05-DB-and-SAP-installation with the right booleans". Do NOT use for `sdaf-sap-system`, `sdaf-media-acquisition`, `sdaf-media-diagnostics`, or `sdaf-quality-assurance`.
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-systemSkill
- sdaf-sovereign-cloudSkill
- sdaf-state-managementSkill
- sdaf-workload-zoneSkill
- sdaf-workspace-and-tfvarsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 9 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Do NOT trigger on: SAP-system infrastructure deployment, library media download, GitHub workflow sequencing, STAF quality-assurance, HA …
- Very specific: line 33
If the operator still needs the four component BOM keys or download_menu.sh, stop and hand off to sdaf-media-acquisition.
- Distinctive: line 59
Keep the cleanup wrapper around the menu.
- Distinctive: line 61
Use the reference to select the smallest documented stage and verify its completion evidence.
- Distinctive: line 65
Use the documented Azure DevOps installation pipeline.
- Distinctive: line 73
If the run stops partway:
- Very specific: line 75
Check the owned .progress marker in the stage map.
- Distinctive: line 86
Do not start installation before the SAP-system-generated files exist.
- Distinctive: line 87
Do not skip Validate parameters.
- Distinctive: line 88
Do not use All Playbooks or "all booleans enabled" as the default rerun path on an existing system.
- Very specific: line 89
Do not delete .progress markers merely to force a rerun.
- Very specific: line 90
Do not leave sshkey in the workspace after local execution.
- Distinctive: line 91
Do not conflate library media acquisition with host-side BOM processing.
≈ “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 Installation
Action-loop skill. Owns OS + DB + SAP installation after sdaf-sap-system has produced sap-parameters.yaml and <SID>_hosts.yaml and after the reviewed software set is available.
Preserve these boundaries:
sdaf-sap-systemowns infrastructure deployment and generated inventory.sdaf-media-acquisition/sdaf-media-diagnosticsowndownload_menu.sh, BOM download, and library-media problems.sdaf-sap-installationowns the documented local installation menu and the Azure DevOps installation-stage selections.
Use references/install-stage-map.md for
the operator-facing stage and recovery map.
When to invoke
Trigger on: "run configuration_menu.sh", "install OS/DB/SAP", "05-DB-and-SAP-installation", "which playbook should I select", "resume after db-load", "SCS install", "PAS install", or ".progress markers".
Do NOT trigger on: SAP-system infrastructure deployment, library media download, GitHub workflow sequencing, STAF quality-assurance, HA diagnostics, or a generic failure report that has not yet been identified as an install-stage issue.
Preconditions
sdaf-sap-systemhas completed and the system directory containssap-parameters.yamland<SID>_hosts.yaml(docs/local/05-00-sap-system.md § Validate,docs/local/06-00-software-and-installation.md § Before you begin).- SSH connectivity to every inventory host works, the workload-zone Key Vault contains the generated credentials, and the SAP library has capacity.
- SAP licenses, download credentials, backups, and the maintenance window are approved for the intended stage.
- If the operator still needs the four component BOM keys or
download_menu.sh, stop and hand off tosdaf-media-acquisition.
Recipe
1) Preserve ordering
Order is fixed: deploy SAP-system infrastructure → acquire media into the SAP library → run installation stages against the generated inventory. Do not collapse those into one "install everything" action.
Library media acquisition and host-side media preparation are separate documented stages. Do not treat downloading media into the library as an installation run.
2) Local execution
From the system directory, exactly per docs/local/06-00-software-and-installation.md:
cd "$CONFIG_REPO_PATH/WORKSPACES/SYSTEM/<SAP_SYSTEM>"
run_with_key_cleanup() (
set -e
trap 'rm -f -- "$PWD/sshkey"' EXIT
"$@"
)
run_with_key_cleanup \
"$SAP_AUTOMATION_REPO_PATH/deploy/ansible/configuration_menu.sh" \
&& test ! -e "$PWD/sshkey"Then:
- Select Validate parameters first.
- Select one reviewed playbook or grouped sequence from
references/install-stage-map.md. - Keep the cleanup wrapper around the menu. It removes the retrieved key without masking the menu's exit status. Use the reference to select the smallest documented stage and verify its completion evidence.
3) Azure DevOps execution
Use the documented Azure DevOps installation pipeline. Enable only the reviewed installation stages; do not default to every stage.
If the question is really about GitHub workflow order or the blocked workflow 07 path, stop and say that workflow-order mechanics live in the separate GitHub Actions surface plugin azure-sap-automation-github. Use the documented install/use pattern in docs/PLUGINS.md § Install a surface plugin (Azure DevOps or GitHub Actions) or ask sdaf-orientation-and-surface to print that install block; do not invent ad-hoc workflow commands here.
4) Validate and recover
Success means the selected playbooks completed, the expected .progress markers exist, services are healthy, logs are retained, and the local sshkey has been removed.
If the run stops partway:
- Record the first failed numbered playbook, target host, and exit code.
- Check the owned
.progressmarker in the stage map. - Correct the failed prerequisite or task.
- Rerun the smallest applicable playbook or Azure DevOps boolean, not the whole install spine by default.
Hand-offs:
- Missing
sap-parameters.yaml/<SID>_hosts.yaml→sdaf-sap-system - Missing library media, wrong BOM names, or downloader issues →
sdaf-media-acquisition/sdaf-media-diagnostics - Ambiguous or cross-stage failure classification →
sdaf-failure-triage
Hard rules
- Documented behaviour only (D19). If the docs or checked-in wrappers do not describe a flag, menu path, or recovery step, do not invent it.
- Do not start installation before the SAP-system-generated files exist.
- Do not skip Validate parameters.
- Do not use All Playbooks or "all booleans enabled" as the default rerun path on an existing system.
- Do not delete
.progressmarkers merely to force a rerun. - Do not leave
sshkeyin the workspace after local execution. - Do not conflate library media acquisition with host-side BOM processing.
- Follow
.github/copilot-instructions.md.
See also
sdaf-sap-systemsdaf-media-acquisitionsdaf-media-diagnosticssdaf-failure-triagesdaf-quality-assurancesdaf-plan-and-test-semanticsdocs/local/06-00-software-and-installation.mddocs/local/troubleshooting.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.

