← ClaudeAtlas

sap-hana-system-replicationlisted

Configure, operate, monitor and take over HANA System Replication — the full hdbnsutil set (sr_enable, sr_register, sr_takeover, sr_unregister, sr_changeReplicationMode, sr_state), replication and operation modes, multitier and multitarget, Active/Active read-enabled, takeover with handshake, failback, and the systemReplicationStatus / getTakeoverRecommendation checks. Establishes the revision BEFORE quoting a command, since syntax and defaults differ across HANA 1.0 SPS09-12 and 2.0 SPS01-08. Covers HA/DR provider hooks and SAPHanaSR vs SAPHanaSR-angi. Use for "set up HANA replication", "register secondary", "HSR takeover", "failback", "replication is out of sync", "logreplay vs delta_datashipping", "multitarget replication", "Active/Active read enabled".
adam0thman/sap-basis-ops · ★ 0 · Code & Development · score 72
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