Monday, February 1, 2016

1898429 - How to bypass the secondary system check of HANA upgrade

Symptom
You want to upgrade HANA using command hdbupd.
After executing ./hdbupd on HANA server, you'll see the following error in hdbupd.log:
  • INFO: "Performing secondary system check"
  • ERROR: "Upgrade failed"
  • ERROR: "Cannot detect whether this is a secondary system"


Environment
HANA database 1.0 all releases


Reproducing the Issue
Execute command below on HANA server:
/usr/sap/<sid>/<HDBxx>/hdbupd.sh
The following error displays:
ERR :     Cannot detect whether this is a secondary system
ERR :   error upgrading
ERR :   Upgrade failed
INFO:   Summary of critical errors
ERR :     Upgrade failed
ERR :       error upgrading
ERR :           Error importing delivery units
ERR :             Cannot detect whether this is a secondary system


Cause
The update tool tries to check if the HANA system is a secondary system, but the check fails.


Resolution
You can use option "ignore" to bypass the secondary system check if the HANA system is not a secondary system.
The command should be:
hdbupd --ignore=check_secondary_system


See Also


Keywords

secondary system, Cannot detect, hdbupd, ignore

No comments:

Post a Comment