sap-hana-system-replicationlisted
Install: claude install-skill adam0thman/sap-basis-ops
# SAP HANA System Replication (HSR)
**Sources.** Primary: *SAP HANA System Replication Guide*, SAP HANA Platform 2.0 SPS 08,
Document Version 1.0 – 2024-11-20 **[V]** — read directly. Secondary: **SAP Note 1999880 —
FAQ: SAP HANA System Replication**, version **297**, released **18.06.2026** **[V]** — 71 questions,
component HAN-DB-HA. Marks: **[V]** verified against the live source during authoring, **[G]** cited
to a guide or Note not re-read in full.
> ## ⚠️ Read this before you type any command
>
> **HSR syntax and capability are version-gated.** The same task uses different commands, different
> defaults, or is simply unavailable depending on revision. A command copied from a blog written for
> 2.0 SPS 05 can silently do the wrong thing on 1.0 SPS 12. Establish the revision **first** — §1 —
> then use §3's matrix to confirm the feature exists on it.
>
> **Two commands in this skill are destructive to availability:** `-sr_takeover` promotes a secondary
> and `-sr_unregister` breaks replication. Both are covered by the execution discipline at the end of
> this file. Neither runs without explicit confirmation naming the SID and site.
---
## 1. Establish the version BEFORE quoting anything
```bash
# as <sid>adm on the HANA host (HANA server is Linux-only)
HDB version # → e.g. "version: 2.00.077.00.1710409310"
hdbnsutil -sr_state # role, mode, site name/id — read-only, safe on both sides
```
Map the revision to a capability line:
| Rev