Vous êtes sur la page 1sur 6

1.

Login as <SID>adm (It won’t work try with root )

2. Remove the "xs_worker" role via


/hana/shared/<SID>/global/hdb/install/bin/hdbmodify
-remove_roles=<HOSTNAME>:role=xs_worker

/hana/shared/HBT/global/hdb/install/bin/hdbmodify -remove_roles=acthanhbtdb:role=xs_worker
Remember this step will restart the whole HANA instance! In case of a multi-host system the
host, on which the xscontroller is running, must be removed last

3. Execute /hana/shared/<SID>/xs/installation-
scripts/installation/uninstall.

/hana/shared/HBT/xs/installation-scripts/installation/uninstall.

In case of older SAP HANA XS advanced versions <= 1.0.09 you have to specify the <SID>,
<instance number> and "##USE_SEC_STORE##" for the requested file name.
If the uninstall fails because of e.g. missing secure store due to backup/restore of the HANA
system additional manual steps are necessary.

 You have to drop/alter the following users via HANA Studio or hdbsql:

DROP USER HDI_BROKER_CONTROLLER CASCADE


DROP USER SYS_XS_HANA_BROKER CASCADE

DROP USER XSA_ADMIN CASCADE

DROP USER SYS_XS_RUNTIME CASCADE


DROP USER SYS_XS_UAA_SEC CASCADE

DROP USER SYS_XS_UAA CASCADE

ALTER USER SYS_XS_SBSS PASSWORD "Reset1234"


 Remove sbss:

cd /hana/shared/<SID>/xs

sapjvm_8/bin/java -jar ./installdata/apps/sbss/sbss.jar -cmd prune! -url


"jdbc:sap://<hostname>:<port>" -user SYSTEM -pwd <password SYSTEM user> -sbssPwd
"Reset1234"

//<port>: 3<instance number>15 in a single DB system

// in old installations the sbss.jar is in another path: ./installation-scripts/db/sbss/sbss.jar

# cd /hana/shared/HBT/xs
# sapjvm_8/bin/java -jar ./installdata/apps/sbss/sbss.jar -cmd prune! -url "jdbc:sap://
acthanhbtdb:38015" -user SYSTEM -pwd Ujn65BvzQ -sbssPwd "Reset1234"

4. Remove the SAP HANA XS advanced configuration entires from the


daemon.ini (/usr/sap/<SID>/HDB<instance number>/<host>/daemon.ini):
o [xscontroller] instances = 1
o
[xsexecagent] instances = 1
o
[xsuaaserver] instances = 1

vi /usr/sap/HBT/HDB80/acthanhbtdb/daemon.ini
(Commented on above entries and save)

5. Remove the SAP HANA XS advanced software via:

chmod -R 777 /hana/shared/HBT/xs


rm -rf /hana/shared/HBT/xs

Vous aimerez peut-être aussi