Monday 6 September 2021

Uninstall the SAP HANA System Using the Graphical User Interface

You can uninstall an SAP HANA system using the SAP HANA database lifecycle manager (HDBLCM) graphical user interface.

Prerequisites

  • You are logged in as root user.
  • Operating system users are set up for use with SAP HANA XS advanced. For information, see SAP Note 2243156 - Secure user setup for SAP HANA extended application services, advanced model.
  • The operating system administrator (<SID>adm) user may exist prior to installation. Make sure that you have the password of the existing <SID>adm user, and that the user attributes and group assignments are correct. The SAP HANA database lifecycle manager (HDBLCM) resident program will not modify the properties of any existing user or group.

Context

Procedure

  1. Change to the SAP HANA resident HDBLCM directory:
    cd <sapmnt>/<SID>/hdblcm
    By default, <sapmnt> is /hana/shared.
  2. Start the SAP HANA database lifecycle manager interactively in the graphical user interface:
    ./hdblcmgui
    The SAP HANA database lifecycle manager graphical user interface appears.
  3. Select Uninstall SAP HANA Components from the activity options. Then select Next.
  4. Select Uninstall SAP HANA Database version <version number> and all other components. Then select Next.
  5. Review the summary, and select Uninstall to finalize the configuration.

Results

The selected components are uninstalled. A log file is available.

Uninstall the SAP HANA System Using the Command-Line Interface

You can uninstall an SAP HANA system using the SAP HANA database lifecycle manager (HDBLCM) command-line interface.

Prerequisites

  • You are logged in as root user.
  • Operating system users are set up for use with SAP HANA XS advanced. For information, see SAP Note 2243156 - Secure user setup for SAP HANA extended application services, advanced model.
  • The operating system administrator (<SID>adm) user may exist prior to installation. Make sure that you have the password of the existing <SID>adm user, and that the user attributes and group assignments are correct. The SAP HANA database lifecycle manager (HDBLCM) resident program will not modify the properties of any existing user or group.

Context

Procedure

  1. Change to the SAP HANA resident HDBLCM directory:
    cd <sapmnt>/<SID>/hdblcm
    By default, <sapmnt> is /hana/shared.
  2. Start the SAP HANA database lifecycle manager interactively in the command line:
    ./hdblcm
  3. Select the index for uninstall, then select Enter.
  4. Select the components to be uninstalled as a comma-separated list of indexes. Then select Enter.
  5. Review the summary, and select y to finalize the configuration.

Results

The selected components are uninstalled. A log file is available.

SAP HANA DB ANALYSIS AFTER ISSUES

To be able to further analyze your issue and environment please download the attached shell script you can get from KBA: 3218277 - Collectin...