Skip to content

Releases: SUSE/SAPHanaSR

v0.162.1

25 Jan 18:28
03db1cd
Compare
Choose a tag to compare
  • Version bump to 0.162.1
    • fix for SAPHanaTopology failing with error code 1 (OCF_ERR_GENERIC) during a normal stop action
      (bsc#1207466)
    • set srhook attribute to PRIM during a probe so that we do not need to wait for the first srConnectionChanged() to set the attribute
      (bsc#1205535)

v0.162.0

23 Nov 16:46
50259eb
Compare
Choose a tag to compare
  • Version bump to 0.162.0

    • add improvements from SAP to the RA scripts regarding the handling of the SAP tools 'HDB version', 'HDBSettings.sh' and 'pycd' and the SAPHana log filter handling
      (jsc#PED-1739)
    • fix for SAPHanaSR-monitor reporting "LPA status of one node is missing"
      (bsc#1192963, bsc#1203973)
    • SAPHanaSRTools.pm: shows terminate node attribute too
  • remove patch:
    0001-bsc-1192963.patch

0.161.1_BF

28 Oct 09:07
e02bb37
Compare
Choose a tag to compare
  • Version bump to 0.161.1_BF
  • SAPHanaSR-monitor not reporting correctly
    add patch: 0001-bsc-1192963.patch (same as commit a9cae1f)
    (bsc#1192963)
  • add the required 'xmllint' to the package
    (bsc#1201945)
  • changes to the demote_clone function of the resource agent:
    if the role is '1:P' (topology agent run into timeouts) the function fail with rc=1, to get the managed resource stopped
    changes to the stop_clone function of the topology agent:
    call landscapeHostConfiguration.py and set the roles as they were reported. If the command timed out, set the role to '1:P' and return 1 to get the node fenced.
    The used timeout for the landscapeHostConfiguration.py call can be configured by the cluster action timeout, if needed. It will be 50% of the action timeout or the minimum of 300s.
    (bsc#1198127)
  • add new HA/DR provider hook susChkSrv
    (jsc#PED-1241, jsc#PED-1240)
  • update suse icon to new branding

v0.160.1

09 Jun 07:35
fd04616
Compare
Choose a tag to compare
  • Version bump to 0.160.1
  • fix HANA_CALL function to support MCOS environments again
    (bsc#1198780)
  • fix SAPHanaSR-replay-archive to handle hb_report archives again
    (bsc#1198897)
  • add HANA_CALL_TIMEOUT parameter back to the resource agents and read the setting from the cluster configuration, if available.
    Defaults to '60'.
    Related to github issue#36
  • add new HA/DR provider hook susTkOver
    (jsc#SLE-16347)
  • add new hook script for SAP HANA System Replication Scale-Up Cost Optimized Scenario.
    (jsc#SLE-18613)
  • add a new instance parameter 'REMOVE_SAP_SOCKETS'.
    It is an optional parameter and defaults to 'true'. Now you can control, if the RA should remove the unix domain sockets related to sapstartsrv before (re-)start sapstartsrv or if it should try to adjust the permissions and ownership of these files instead.

v0.155.0

25 Feb 13:29
994cf09
Compare
Choose a tag to compare
  • Version bump to 0.155.0
  • Add systemd support for the resource agent to interact with the new SAP unit files for sapstartsrv.
    As the new version of the SAP Startup Framework will use systemd unit files to control the sapstartsrv process instead of the previous used SysV init script, we need to adapt the handling of sapstartsrv inside the resource agents to support both ways.
    (bsc#1189530, bsc#1189531)
  • The resource start and stop timeout is now configurable by increasing the timeout for the action 'start' and/or 'stop'.
    We will use 95% of this action timeouts to calculate the new resource start and stop timeout for the 'WaitforStarted' and 'WaitforStopped' functions. If the new, calculated timeout value is less than '3600', it will be set to '3600', so that we do not decrease this timeout by accident
    (bsc#1182545)
  • change promotion scoring during maintenance procedure to prevent that both sides have an equal promotion scoring after refresh which might result in a critical promotion of the secondary.
    (bsc#1174557)
  • update of man page SAPHanaSR.py.7 - correct the supported HANA version.
    (bsc#1182201)
  • if the $hdbState command fails to retrieve the current state of the System Replication, the resource agent now uses the system_replication/actual_mode attribute (if available) from the global.ini file as a fallback.
    This should prevent some confusing and misleading log messages during a takeover and solves the problem of a not working takeover back (after a successful first takeover)
    (bsc#1181765)
  • add dedicated logging of HANA_CALL problems. So it will be now possible to identify, if the called hana command or the needed su command throws the error and for further hints we log the stderr output.
    Additional it is possible to get regular log messages for the used commands, their return code and their stderr output by enabling the 'debug' mode of the resource agents.
    (bsc#1182774)

v0.154.1

14 Jul 10:19
ad5dd19
Compare
Choose a tag to compare
  • Version bump to 0.154.1
  • log empty site names, but do not generate bad formatted cluster attribute name
    (bsc#1173581)
  • fix documentation of some parameter defaults
  • adjust start/stop/promote/monitor action timeouts to match official recommendations

v0.154.0

03 Feb 17:46
4dc0a3c
Compare
Choose a tag to compare

Version bump to 0.154.0

  • restart sapstartsrv service on master nameserver node during monitor action, if needed. But NOT during probes.
    (bsc#1157453)

  • restart sapstartsrv service on master nameserver node
    (bsc#1156150)

  • The SAPHana resource agent must not down-score a SAP HANA Database site, if the landscape status is still 2, which means warning.
    Keep high scoring during recovery of the master name server.
    Use a fall-back scoring for the master nameserver nodes, if the current roles of the node(s) got lost.
    (bsc#1156067)

  • change the shebang line of the HAWK2 templates to python3
    (bsc#1155423)

  • fix typo in a condition statement (bnc#1149829)

v0.153.2

04 Sep 12:23
3770a28
Compare
Choose a tag to compare

Version bump to 0.153.2

  • rescore the master and fix some log string literals

  • Fix bsc#1133866:
    Return $OCF_RUNNING_MASTER (8) instead of $OCF_SUCCESS (0) when probing a promoted node.

  • If the SAP HANA CALL to 'landscapeHostConfiguration.py' is running into a timeout, do a retry of the command. If it still fails with a timeout, raise an error but do not set attributes to prevent unlogged failovers because of empty or unknown attributes.
    (bsc#1134106, bsc#1133024, bsc#1101373)

  • Fix bsc#1082974:
    set attribute for remoteNode

  • Fix bsc#1139715:
    Using crm-attributes written by a SAP HANA SR provider hook does improve the data integrity in special error conditions with multiple errors coming in a short time frame.

    Stabilized remote-site detection; SAPHana could now use a site specific SR cluster attribute which could be set by a SAP HA/DR provider call.

    Add a HA/DR provider hook script, config implementation and man page.

    Add parameter "HANA_CALL_TIMEOUT" to the RA configuration (SAPHanaTopology and SAPHanaSR) to set a timeout for HANA calls like landscapeHostConfiguration.py.

    Implemented "reload" method to allow changing parameters like "AUTOMATED_REGISTER"

    Set SWAIT during startup, but only if the attribute is already set
    Set PRIM after promote, but only if the attribute is already set

    The promote function has to set the return code according to the checks of the takeover result

    New tool SAPHanaSR-replay-archive, SAPHanaSR-filter and SAPHanaSR-showAttr to support SITE attributes