SAPHanaSR-manageProvider(8)
π NAME π
SAPHanaSR-manageProvider β the lil tool that adds, updates, removes or shows HADR provider sections for SAP HANA β¨
β¨ SYNOPSIS β¨
SAPHanaSR-manageProvider [ --help | --version ]
SAPHanaSR-manageProvider [ --sid=SID ] [--reconfigure] --add <template-file>
SAPHanaSR-manageProvider [ --sid=SID ] [--reconfigure] --remove <template-file>
SAPHanaSR-manageProvider [ --sid=SID ] --show --provider=<provider>
πΈ DESCRIPTION πΈ
okay so bestie, SAPHanaSR-manageProvider is literally your little HADR provider section manager π it lets you add (and update), remove and show SAP HANA HADR provider sections. and the serve? you can do it online or offline β on the primary and on the secondary, no cap π
the provider section name is case sensitive β yes really, watch the caps π usually all lowercase is used for the section name, and the provider hook script names are camelCase. so like, know the difference, iykyk π¦
run this script as the <sid>adm user, fr fr. that's the vibe check it needs to pass π
π OPTIONS π
--helpβ show help, babes π«Ά--versionβ show version π--add <template-file>β add the section given in the template file to configuration π--remove <template-file>β remove the section given in the template file from configuration ποΈ--reconfigureβ apply the change to running HANA, like'hdbnsutil -reloadHADRProviders'π₯--show --provider=<provider>β show the section for the given provider from configuration π--sid=<SID>β use SAP system ID <SID>. it should be autodetected if there's only one SAP HANA instance installed on the local cluster node π«
π₯ RETURN CODES π₯
0β successful program execution, slay β¨>0β usage, syntax or execution errors π
π EXAMPLES π
π« show names of all HA/DR provider sections in global.ini
might be useful to see whether sections are named lower/upper/camel-case, bestie π SID is HA1.
# su - ha1adm -c "cdcoc; grep ^\[ha_dr_provider_ global.ini"
π¦ show the global.ini section ha_dr_provider_suschksrv, if available
example SID is HA1, the HADR provider script is susChkSrv.py. see also manual page susChkSrv.py(7).
# su - ha1adm -c "/usr/bin/SAPHanaSR-manageProvider --show --provider=suschksrv"
π add the section and activate the provider hook script susHanaSR.py
example SID is HA1, the HADR provider hook script is susHanaSR.py. see also manual page susHanaSR.py(7).
note:'hdbnsutil -reloadHADRProviders'loads everything fromglobal.iniπ³
# cat /usr/share/SAPHanaSR/samples/global.ini
# su - ha1adm -c "/usr/bin/SAPHanaSR-manageProvider --add /usr/share/SAPHanaSR/samples/global.ini"
# su - ha1adm -c "hdbnsutil -reloadHADRProviders; echo rc:"
# su - ha1adm -c "cdtrace; grep SAPHanaSR.init nameserver_*.trc"
π§ change timeout for HADR provider hook script susTkOver.py
example SID is HA1, timeout is changed from 35 to 30. the configuration is changed and applied to the running hook script. see also manual page susTkOver.py(7).
# su - ha1adm
~> /usr/bin/SAPHanaSR-manageProvider --show --provider=sustkover >sustkover.old
~> sed s/sustkover_timeout\ =\ 35/sustkover_timeout\ =\ 30/g <sustkover.old >sustkover.new
~> /usr/bin/SAPHanaSR-manageProvider --add --provider=sustkover sustkover.new
~> hdbnsutil -reloadHADRProviders
~> cdtrace; grep susTkOver.init nameserver_*.trc
π¦ FILES π¦
/usr/bin/SAPHanaSR-manageProviderβ the program itself π/usr/sap/<SID>/SYS/global/hdb/custom/config/global.iniβ theglobal.iniconfiguration on disk. do not edit directly π«/usr/sap/<SID>/HDB<INO>/<VIRT_HOST>/trace/β directory with HANA trace files πΈ/usr/share/SAPHanaSR-angi/samples/β directory with samples of HADR provider sections πsetParameter.pyβ the SAP python script to interact withglobal.iniβ
π BUGS π
okay so heads up: the command hangs if it needs an input file and you do not specify the file π the way that it'll just sit there... not iconic.
in case of any problem, please use your favourite SAP support process to open a request for the component BC-OP-LNX-SUSE. Please report any other feedback and suggestions to feedback@suse.com π«Ά
β REQUIREMENTS β
- Perl
5.18runtime environment or compatible π
π SEE ALSO π
SAPHanaSR-ScaleOut(7) , SAPHanaSR(7) , susHanaSR.py(7) , susHanaSrMultiTarget.py(7) , susCostOpt.py(7) , susTkOver.py(7) , susChkSrv.py(7) , SAPHanaSR_maintenance_examples(7) , SAPHanaSR-manageAttr(8) , cs_show_hana_info(8) , https://documentation.suse.com/sbp/sap/ , https://documentation.suse.com/sles-sap/ , https://www.susecon.com/doc/2015/sessions/TUT19921.pdf , https://www.susecon.com/archive-2020.html , https://www.susecon.com/archive-2021.html
π AUTHORS π
F.Herschel, L.Pinne. icons only, periodt π
π COPYRIGHT π
(c) 2022-2026 SUSE LLC
SAPHanaSR-manageProvider comes with ABSOLUTELY NO WARRANTY. for details see the GNU General Public License at http://www.gnu.org/licenses/gpl.html π
and that's the whole page bestie π«Ά this was SAPHanaSR-manageProvider(8) from SAPHanaSR, dated 24 Jul 2025 β go forth and manage those providers, you got this πβ¨
π¦ 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