SAP Knowledge Base Article - Preview

2424405 - 'Attempt to upgrade the active primary ASE of an HADR group' when upgrading primary ASE via saphostctrl - SAP ASE for Business Suite

Symptom

You are running SAP applications on SAP ASE database, with HADR Replication set up on this system.

In order to upgrade the ASE on this system, you choose to upgrade the primary and standby DR ASE systems independantly, instead of the recommended "Rolling Upgrade" method, wherein the primary is failed over to the standby prior to upgrade. See SAP Note 1868514.

You use 'saphostctrl' to upgrade the ASEs. The upgrade of the standby DR system completes fine. The upgrade of the primary ASE system fails like so:

./saphostctrl -user sapadm Telcon123 -function LiveDatabaseUpdate -dbname ABC -dbtype syb -updatemethod Execute -updateoption TASK=UPDATE_ASE -updateoption DROP_LOCATION="/dump/ASE138"Error: Command execution failed. : Attempt to upgrade the active primary ASE of an HADR group. (fault code: 127)Operation ID: 9C8E99280BD01ED6BAE2C4BB8B4A1029

----- Log messages ----

Info: saphostcontrol: Executing LiveDatabaseUpdateError: sapdbctrl: Attempt to upgrade the active primary ASE of an HADR group.Error: saphostcontrol: LiveDatabaseUpdate failed (sapdbctrl exit code = 1)

The corresponding errors in the /usr/sap/hostctrl/work/dev_sapdbctrl log are:

**************************************************************************

[PID 22936] Attempt to upgrade the active primary ASE of an HADR group.
Use the force option to proceed with the upgrade of the primary site or upgrade the standby ASE first followed by failover to the standby site (recommended).

[PID 22936] [PID 22936] Use the force option to proceed with the upgrade of the primary site or upgrade the standby ASE first followed by failover to the standby site (recommended).

[PID 22936] LiveUpdateOption update ASE software failed

[PID 22936] *** ERROR => 'Database live update' failed: Attempt to upgrade the active primary ASE of an HADR group.
Use the force option to proceed with the upgrade of the primary site or upgrade the standby ASE first followed by failover to the standby site (recommended).

**************************************************************************


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.7 for Business Suite
  • SAP Adaptive Server Enterprise (ASE) 16.0 for Business Suite

Product

SAP ERP 6.0

Keywords

HADR, upgrade, saphostctrl, failover, standby, primary , KBA , BC-DB-SYB , SAP Business Suite on Sybase ASE Database Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.