이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Appendix A. Component options


A.1. HA/DR provider options for HanaSR

Parameters that are available for the configuration of the HanaSR HA/DR provider are shown below:

Expand
Provider optionsRequiredDefaultDescription

provider = HanaSR

yes

 

The provider parameter must be set to the hook script name without the .py ending.

path = /usr/share/sap-hana-ha/

yes

 

The full path to the location of the hook script.

execution_order = 1

yes

 

Set to 1 to ensure that the HanaSR HA/DR provider is always executed before other optional hook scripts when an event occurs.

A.2. HA/DR provider options for ChkSrv

Parameters that are available for the configuration of the ChkSrv HA/DR provider are shown below:

Expand
Provider optionsRequiredDefaultDescription

provider = ChkSrv

yes

 

The provider parameter must be set to the hook script name without the .py ending.

path = /usr/share/sap-hana-ha/

yes

 

The full path to the location of the hook script.

execution_order = 2

yes

 

Set to 2 or higher. The mandatory HanaSR provider must always be run first.

action_on_lost

no

ignore

Action to be triggered when a lost indexserver is identified.

  • ignore: do nothing, just write to trace files.
  • stop: execute sapcontrol …​ StopSystem.
  • kill: execute HDB kill-<signal>. The signal can be defined by the separate parameter kill_signal.
  • fence: trigger the cluster to fence the node on which the indexserver failed. This option uses the SAPHanaSR-hookHelper tool and requires a sudo entry for the tool for the <sid>adm user.

kill_signal

no

9

The signal that is used with the kill action.

stop_timeout

no

20s

How many seconds to wait for the stop action to return. This value must be greater than the value of the HANA parameter forcedterminationtimeout.

A.3. SAPHanaTopology resource parameters

Parameters that are available for the configuration of SAPHanaTopology resources are shown below:

Expand
Resource optionsRequiredDefaultDescription

SID

yes

 

SAP system identifier.

InstanceNumber

yes

 

Number of the SAP HANA instance.

HANA_CALL_TIMEOUT

no

120

Defines the timeout - how long a call to HANA to receive information can take, for example, when the resource agent executes landscapeHostConfiguration.py. There are some specific calls to HANA which have their own timeout values.

If you increase the timeout for HANA calls of this resource you must also consider increasing the operation timeout values of the same resource.

A.4. SAPHanaController resource parameters

Parameters that are available for the configuration of SAPHanaController resources are shown below:

Expand
Resource optionsRequiredDefaultDescription

SID

yes

 

SAP system identifier.

InstanceNumber

yes

 

Number of the SAP HANA instance.

DIR_EXECUTABLE

no

 

The fully qualified path to binaries such as sapstartsrv and sapcontrol. Specify this parameter if you have changed the SAP kernel directory location after the default SAP installation.

SAP standard paths are searched by default.

DIR_PROFILE

no

 

The fully qualified path to the SAP START profile. Specify this parameter if you have changed the SAP profile directory location after the default SAP installation.

SAP standard paths are searched by default.

HANA_CALL_TIMEOUT

no

120

Defines the timeout - how long a call to HANA to receive information can take, for example, when the resource agent runs landscapeHostConfiguration.py. There are some specific calls to HANA which have their own timeout values.

If you increase the timeout for HANA calls of this resource you must also consider increasing the operation timeout values of the same resource.

INSTANCE_PROFILE

no

 

The name of the SAP HANA instance profile. Specify this parameter if you have changed the name of the SAP HANA instance profile after the default SAP installation.

SAP standard paths are searched by default.

PREFER_SITE_TAKEOVER

no

false

Defines whether the resource agent should prefer to trigger takeover to the secondary site instead of restarting the primary site locally. However, a takeover is only triggered if the SAP HANA landscape status is on ERROR. For FATAL a local restart is initiated.

  • true: Prefer to trigger the takeover to the secondary site.
  • false: Prefer to restart locally.

AUTOMATED_REGISTER

no

false

Defines whether the resource agent automatically registers a former primary instance as a secondary during cluster resource start and if the DUPLICATE_PRIMARY_TIMEOUT condition is met. Registering an instance as a secondary initiates a data synchronisation from the primary and might overwrite local data.

  • false: Manual intervention is required.
  • true: The former primary is automatically registered as a secondary.

DUPLICATE_PRIMARY_TIMEOUT

no

7200

The time difference required between two primary time stamps (LPTs), in case a dual-primary situation occurs. If the difference between both nodes' last primary time stamps is less than DUPLICATE_PRIMARY_TIMEOUT, then the cluster holds one or both instances in a WAITING status. This gives an admin the chance to react to a failover.

How the recovery proceeds after the DUPLICATE_PRIMARY_TIMEOUT has passed depends on the parameter AUTOMATED_REGISTER.

ON_FAIL_ACTION

no

proceed

Set this parameter to fence to let the resource trigger the node to be fenced. This functionality uses the SAPHanaSR-hookHelper tool to run the fence action. The fence option can improve the takeover and recovery time of a HANA instance if the instance stop usually takes a longer time.

  • proceed: continue with the usual action to a failed resource.
  • fence: react with a resource stop failure to trigger the cluster fencing action, but only if the srHook status is SOK. If the srHook status is SFAIL, the local recovery takes place instead, and fencing is not triggered.

We recommend that you set PREFER_SITE_TAKEOVER to true. This allows the HA cluster to trigger a takeover when a failure of the primary HANA instance is detected. In most cases it takes less time for the new HANA primary instance to become fully active after a takeover, than it takes for the original primary instance to restart and reload all data back from disk into memory.

Leave AUTOMATED_REGISTER set to false to give the operator the option to first verify the health and data consistency of the previously failed primary instance, before you manually register it as the new secondary instance to re-establish the HANA system replication between both instances and manually start the instance.

Set AUTOMATED_REGISTER to true to enable the automatic registration of the former primary instance as the new secondary after a takeover occurs. This increases the availability of the HANA system replication setup and prevents so-called dual-primary situations in the SAP HANA system replication environment.

A.5. SAPHanaFilesystem resource parameters

Parameters that are available for the configuration of SAPHanaFilesystem resources are shown below:

Expand
Resource optionsRequiredDefaultDescription

SID

yes

 

SAP system identifier.

InstanceNumber

yes

 

Number of the SAP HANA instance.

DIRECTORY

no

/hana/shared/<SID>/

Path to the directory to be monitored. The resource agent creates data in its own subdirectory .heartbeat_SAPHanaFilesystem inside the DIRECTORY path. Do not change this hidden subdirectory.

ON_FAIL_ACTION

no

fence

Action in case of a repeated monitor failure.

  • ignore: Do nothing, just report the failure into logs.
  • fence: Trigger stop failure and node fencing, if the required conditions are met.
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat