cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA EXPRESS SPS05 -insta;;_sdi.sh FAILS

ramaanne
Participant

My environment :

======

SAP HANA EXPRESS EDITION - BINARY INSTALL

HDB version is

====

HDB version info:
version: 2.00.054.00.1611906357
branch: fa/hana2sp05
machine config: linuxx86_64
git hash: 989e98fd1334a1b6e36785c8bd7e9ab5239960f1
git merge time: 2021-01-29 08:45:57
weekstone: 0000.00.0
cloud edition: 0000.00.SA00
compile date: 2021-01-29 08:51:46
compile host: ld5147
compile type: rel

I first installed SAP HANA EXPRESS EDITION then extracted sdi.tgz and ran install_sdi.sh script see below

(not VM install but Binary Install ) so Dennis please see below I uninstalled and re-installed again some how

the shell script directory path for import of SAP_WATT.tgz in line number 343 of install_sdi.sh is

export REGI_DIR=/hana/shared/${SID}/global/hdb/auto_content

not export REGI_DIR=/hana/shared/${SID}/global/hdb/content

hxeadm@hxehost.internal:/home/usero/sdi/HANA_EXPRESS_20> ./install_sdi.sh
Enter HANA instance number [90]:
Enter local host name [hxehost.internal.apps.net]:

Enter System database user (SYSTEM) password :

Enter name of tenant database to add smart data integration [HXE]:

Enter "HXE" database system user (SYSTEM) password :


##############################################################################
# Summary before execution #
##############################################################################
HANA, express edition installer : /home/usero/sdi/HANA_EXPRESS_20
Component(s) to install : SAP HANA smart data integration (SDI)
HANA system ID : HXE
HANA instance number : 90
Host name : hxehost.internal.apps.net
System database pasword : ********
Tenant database to add SDI : HXE
Tenant database password (SYSTEM) : ********
Proceed with installation? (Y/N) : Y



Collecting garbage...
Collect garbage on "hdbnameserver"...
Shrink resource container memory on "hdbnameserver"...
Collect garbage on "hdbindexserver"...
Shrink resource container memory on "hdbindexserver"...
Collect garbage on "hdbcompileserver"...
Shrink resource container memory on "hdbcompileserver"...
Collect garbage on "hdbdiserver"...
Shrink resource container memory on "hdbdiserver"...
Collect garbage on "hdbwebdispatcher"...
Shrink resource container memory on "hdbwebdispatcher"...

Total in use HANA processes heap memory (MB)
============================================
Before collection : 1406
After collection : 1397

Free and used memory in the system
==================================
Before collection
-------------------------------------------------------------------------
total used free shared buff/cache available
Mem: 31Gi 15Gi 3.6Gi 118Mi 11Gi 14Gi
Swap: 0B 0B 0B
After collection
-------------------------------------------------------------------------
total used free shared buff/cache available
Mem: 31Gi 14Gi 4.4Gi 118Mi 11Gi 15Gi
Swap: 0B 0B 0B

Import Workbench delivery units.....
Password:

Import failed (40136): Repository: Activation failed for at least one object;At least one error was encountered during activation. Please see the CheckResult information for detailed information about the root cause. No objects have been activated.:
ACTIVATION ERROR: object: "parentdirtabletype.hdbstructure", package: "sap.hana.ide.editor.plugin.functionflow.server.findAppRoot", timestamp: 2021-08-27 08:32:46.6430000
sap/hana/ide/editor/plugin/functionflow/server/findAppRoot/parentdirtabletype.hdbstructure: code 8101418: "SAP_REST_API": the target schema does not exist
ACTIVATION ERROR: object: "indexpostabletype.hdbstructure", package: "sap.hana.ide.editor.plugin.functionflow.server.findAppRoot", timestamp: 2021-08-27 08:32:46.6450000
sap/hana/ide/editor/plugin/functionflow/server/findAppRoot/indexpostabletype.hdbstructure: code 8101418: "SAP_REST_API": the target schema does not exist
ACTIVATION ERROR: object: "lastindexof.hdbtablefunction", package: "sap.hana.ide.editor.plugin.functionflow.server.findAppRoot", timestamp: 2021-08-27 08:32:46.6640000, location: text 0:0
sap/hana/ide/editor/plugin/functionflow/server/findAppRoot/lastindexof.hdbtablefunction: code 40800: Dependent object not found: SqlScript; SAP_REST_API.sap.hana.ide.editor.plugin.functionflow.server.findAppRoot::indexpostabletype: symbol not found
ACTIVATION ERROR: object: "getparentdir.hdbtablefunction", package: "sap.hana.ide.editor.plugin.functionflow.server.findAppRoot", timestamp: 2021-08-27 08:32:46.6670000, location: text 0:0
sap/hana/ide/editor/plugin/functionflow/server/findAppRoot/getparentdir.hdbtablefunction: code 40800: Dependent object not found: SqlScript; SAP_REST_API.sap.hana.ide.editor.plugin.functionflow.server.findAppRoot::parentdirtabletype: symbol not found
ACTIVATION ERROR: object: "userhasaccess.hdbprocedure", package: "sap.hana.ide.editor.plugin.functionflow.server.findAppRoot", timestamp: 2021-08-27 08:32:46.6720000, location: text 0:0
sap/hana/ide/editor/plugin/functionflow/server/findAppRoot/userhasaccess.hdbprocedure: code 40300: Dependent object not found: SqlScript; SAP_REST_API.sap.hana.ide.editor.plugin.functionflow.server.findAppRoot::getparentdir: symbol not found
ACTIVATION ERROR: object: "findAppRoot.hdbprocedure", package: "sap.hana.ide.editor.plugin.functionflow.server.findAppRoot", timestamp: 2021-08-27 08:32:46.6760000, location: text 0:0
sap/hana/ide/editor/plugin/functionflow/server/findAppRoot/findAppRoot.hdbprocedure: code 40300: Dependent object not found: SqlScript; SAP_REST_API.sap.hana.ide.editor.plugin.functionflow.server.findAppRoot::getparentdir: symbol not found
ACTIVATION ERROR: object: "TraceViewer.hdbrole", package: "sap.hana.ide.roles", timestamp: 2021-08-27 08:32:46.7180000
sap/hana/ide/roles/TraceViewer.hdbrole: code 40109: role "sap.hana.xs.dt.base::restapi" is unknown
ACTIVATION ERROR: object: "SecurityAdmin.hdbrole", package: "sap.hana.ide.roles", timestamp: 2021-08-27 08:32:46.7330000
sap/hana/ide/roles/SecurityAdmin.hdbrole: code 40109: role "sap.hana.xs.dt.base::restapi" is unknown
ACTIVATION ERROR: object: "EditorDeveloper.hdbrole", package: "sap.hana.ide.roles", timestamp: 2021-08-27 08:32:46.7370000
sap/hana/ide/roles/EditorDeveloper.hdbrole: code 40109: role "sap.hana.xs.dt.base::restapi" is unknown
ACTIVATION ERROR: object: "CatalogDeveloper.hdbrole", package: "sap.hana.ide.roles", timestamp: 2021-08-27 08:32:46.7740000
sap/hana/ide/roles/CatalogDeveloper.hdbrole: code 40109: role "sap.hana.xs.dt.base::restapi" is unknown
ACTIVATION ERROR: object: "Developer.hdbrole", package: "sap.hana.ide.roles", timestamp: 2021-08-27 08:32:46.8050000
sap/hana/ide/roles/Developer.hdbrole: code 40109: role "sap.hana.xs.dt.base::restapi" is unknown

Accepted Solutions (1)

Accepted Solutions (1)

ramaanne
Participant
0 Kudos
Hi Dennis

I managed to finally resolve the issue and install SDI in SAP HANA EXRESS SPS05

First the Delivery Unit HANA_DT_BASE.tgz is missing in Binary Install so I installed using Eclipse and imported the delivery unit (server)

next I executed install_sdi.sh script and it installed successfully

but in the install_sdi.sh script line number 343 export REGI_DIR=/hana/shared/${SID}/global/hdb/content

Should be changed to

343 export REGI_DIR=/hana/shared/${SID}/global/hdb/auto_content

so that means between VM install and Binary install the above directory is named differently so the install_sdi.sh should reflect this diferrence hope someone in sap will notice this and fellow community members will save time from my answer

thanks

regards

rama anne

Answers (1)

Answers (1)

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Kudos

For the reader: same issue as https://answers.sap.com/questions/13470076/sap-hana-express-sps05-sdi.html

===

Hi Rama,

There are 10 hard-coded references to the default installation path /hana/shared.

If the documentation does not explicitly mention that you can only install SAP HANA, express edition (binary version) onto this path, you could consider this a bug (either of the script or the documentation).

I understand that you have found a workaround. Excellent. Thanks for sharing this with the community .

As mentioned in my blog post, since 2018 the focus of SAP is cloud-first. For SAP HANA this means SAP HANA Cloud. The fact that the express edition was released over a year after the platform edition and just a few days short of the end of mainstream maintenance of its SPS 04 predecessor indicates that inside SAP probably very few people are still working with or on the express project.