SAPHanaSR-replay-archive(8)
π SAPHanaSR-replay-archive(8) β the SAPHanaSR girlies' guide π
okay bestie, so this is a page from the SAPHanaSR manual set, and it's literally the time-travel episode: we're gonna replay SAPHanaSR status changes out of a crm_report archive or a pengine directory. Buckle up π
β¨ SYNOPSIS β¨
like, pick your fighter π
SAPHanaSR-replay-archive [--help | --version]
SAPHanaSR-replay-archive --cib CIB [...] [--sid SID] [--format FORMAT]
[--select COLUMN] [--sort SORT] [--properties PROPERTIES] [--from FROM]
[--to TO]
SAPHanaSR-replay-archive --dir DIR [--sid SID] [--format FORMAT]
[--select COLUMN] [--sort SORT] [--properties PROPERTIES] [--pattern PAT
[...]] [--from FROM] [--to TO]
πΈ DESCRIPTION πΈ
so SAPHanaSR-replay-archive is the tool you use to re-play SAPHanaSR status changes info from a crm_report archive or a pengine directory. it's giving history major energy π°οΈ
the way it works: it searches a given crm_report archive or pengine directory for pe-input files, and then shows status information in historical order. iconic.
and basically? SAPHanaSR-showAttr is called for each pe-input file. that's the whole vibe β no cap. β¨
π OPTIONS π
--helpβ shows help. that's it, that's the tweet π«Ά--versionβ shows the version. slay.--cib CIB [CIB [...]]β read data from the given offline cib or pe-file(s). this is the alteranative to--dir, bestie, pick one π--dir DIRβ specify the directory where to search for pe-files. also the alternative to--cibπ₯--format [ table | path | script | json ]β output format, default istable. choose your aesthetic π--from "YYYY-MM-DD HH:MM:SS"β from which point in time to show. time machine, but make it a timestamp β°--pattern PAT [PAT [...]]β pe-file name pattern to search for inDIR, defaultpe-input-[0-9].*xz2π§--properties PROPERTIESβ specify the properties file.--sid SIDβ specify the SID to check for. very main character selector of you π--sort [ host | roles | site ]β specify the Host section column name to sort by, default ishost.--select [ default | test | minimal | sr | all ]β show selected information only, default isdefault. lowkey minimalism π--to "YYYY-MM-DD HH:MM:SS"β to which point in time to show. the end of the era π
π RETURN CODES π
0β Successful program execution. we love a happy ending π>0β Usage, syntax or execution errors. it's giving chaos, but at least you know π
π¦ EXAMPLES π¦
Replay SAPHanaSR-showAttr data from crm_report.
so the report archive is crm_report-08-05-2024.tar.gz, the extracted directory is crm_report-08-05-2024, and the SID is EVA. periodt.
# tar xf crm_report-08-05-2024.tar.gz
# SAPHanaSR-replay-archive --sid EVA --dir crm_report-08-05-2024/
Replay SAPHanaSR-showAttr data from local online node, use parseable output format.
here, data is shown for times where the local node has been DC, and the SID is taken from the current online CIB. cute π
# SAPHanaSR-replay-archive --dir /var/lib/pacemaker/ --format script
β FILES β
/usr/bin/SAPHanaSR-replay-archiveβ the program itself. the star of the show π/usr/bin/SAPHanaSR-showAttrβ the working horse. carrying the whole team fr fr π/var/lib/pacemaker/pengine/β usual local pengine log directory.<CRM_REPORT_DIR>/<DC_NODE>/pengine/pe-input-<NUM>.bz2β extracted pe-input files.<CRM_REPORT_DIR><DC_NODE>/cib.xmlβ extracted CIB file. (yes, that's how it's written in the original, no I will not be "fixing" it π )
π«Ά REQUIREMENTS π«Ά
- Python 3.6 runtime environment or compatible. yes bestie, 3.6. she's vintage π
π BUGS π
Feedback is welcome, please mail to feedback@suse.com. not me asking you to email, but like, do it if you have thoughts π
π§ SEE ALSO π§
SAPHanaSR-angi(7), SAPHanaSR-showAttr(8) , crm_report(8) , crm_simulate(8) , tar(1)
go read them, iykyk π
π AUTHORS π
A.Briel, F.Herschel, L.Pinne. legends, honestly β¨
π₯ COPYRIGHT π₯
(c) 2019-2026 SUSE LLC
SAPHanaSR-replay-archive comes with ABSOLUTELY NO WARRANTY. like, none. zero. do not come for them π
For details see the GNU General Public License at http://www.gnu.org/licenses/gpl.html
okay that's the whole page!! mwah π this little gem is from the SAPHanaSR manual, dated 14 Aug 2025, and it's filed under SAPHanaSR-replay-archive(8) β go forth and replay that history, bestie π
π¦ where this page comes from
- opensuse-leap 16.0: SAPHanaSR-angi 1.3.4-160000.1.1 Β· GPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms