
In this tutorial, we are going to install a new HANA component. You can follow this article, How to Find Installed HANA Component to determine the installed component before you start this activity.
Steps
1. Change your directory to where the HDBLCM resident located.
cd /hana/shared/[SID]/hdblcm
ll hdb* hdblcm hdblcmgui hdblcmweb
2. Launch the HDBLCM command line interface.
./hdblcm SAP HANA Lifecycle Management - SAP HANA Database 2.00.020.00.1500920972 ************************************************************************
3. Choose update_components.
Choose an action Index | Action | Description ------------------------------------------------------------------------------------------- 1 | add_host_roles | Add Host Roles 2 | add_hosts | Add Hosts to the SAP HANA Database System 3 | check_installation | Check SAP HANA Database Installation 4 | configure_internal_network | Configure Inter-Service Communication 5 | configure_sld | Configure System Landscape Directory Registration 6 | extract_components | Extract Components 7 | print_component_list | Print Component List 8 | remove_host_roles | Remove Host Roles 9 | rename_system | Rename the SAP HANA Database System 10 | uninstall | Uninstall SAP HANA Database Components 11 | unregister_system | Unregister the SAP HANA Database System 12 | update_component_list | Update Component List 13 | update_components | Install or Update Additional Components 14 | update_host | Update the SAP HANA Database Instance Host integration 15 | exit | Exit (do nothing) Enter selected action index [15]: 13
4. If you are getting below error, you need to run HDBLCM with the options ‘component_medium’, ‘component_root’ or ‘component_dirs’ to specify component locations.
Configuration error: There are no SAP HANA Platform components that could be installed or updated. Use the command line options 'component_medium', 'component_root' or 'component_dirs' to specify component locations Log file written to '/var/tmp/hdb_DEV_hdblcm_update_components_2018-08-10_23.51.19/hdblcm.log' on host 'itsiti'.
5. Use below command line option and specify the SDA location. The SDA location here is the media file where we downloaded from the SAP Marketplace.
./hdblcm --component_dirs=/DATA_UNITS/SAP_HANA_SDA_20_LINUX_X86_64/packages SAP HANA Lifecycle Management - SAP HANA Database 2.00.020.00.1500920972 ************************************************************************ Choose an action Index | Action | Description ------------------------------------------------------------------------------------------- 1 | add_host_roles | Add Host Roles 2 | add_hosts | Add Hosts to the SAP HANA Database System 3 | check_installation | Check SAP HANA Database Installation 4 | configure_internal_network | Configure Inter-Service Communication 5 | configure_sld | Configure System Landscape Directory Registration 6 | extract_components | Extract Components 7 | print_component_list | Print Component List 8 | remove_host_roles | Remove Host Roles 9 | rename_system | Rename the SAP HANA Database System 10 | uninstall | Uninstall SAP HANA Database Components 11 | unregister_system | Unregister the SAP HANA Database System 12 | update_component_list | Update Component List 13 | update_components | Install or Update Additional Components 14 | update_host | Update the SAP HANA Database Instance Host integration 15 | exit | Exit (do nothing) Enter selected action index [15]: 13
6. Choose component smartda (2) and enter the sidadm password.
Scanning software locations...
Detected components:
SAP HANA Smart Data Access (2.00.0.000.0) in
/51052325/DATA_UNITS/SAP_HANA_SDA_20_LINUX_X86_64/packages
Choose components to be installed or updated:
Index | Components | Description
----------------------------------------------------------------------------
1 | all | All components
2 | smartda | Install SAP HANA Smart Data Access version 2.00.0.000.0
Enter comma-separated list of the selected indices: 2
Enter System Administrator (devadm) Password:
[/c]
7.The summary before the execution. Press "y" to continue the installation.
[bash]
Summary before execution:
=========================
SAP HANA Database
Update Parameters
Remote Execution: saphostagent
Update Execution Mode: standard
Software Components
SAP HANA Smart Data Access
Install version 2.00.0.000.0
Location: /51052325/DATA_UNITS/SAP_HANA_SDA_20_LINUX_X86_64/packages
Do you want to continue? (y/n):
8. Installation will be very quick and yeay!, it’s done.
Installing components... Installing SAP HANA Smart Data Access... Removing old driver files from /hana/shared/DEV/federation ... Updating Component List... SAP HANA Database components updated You can send feedback to SAP with this form: https://itsiti:1129/lmsl/HDBLCM/DEV/feedback/feedback.html Log file written to '/var/tmp/hdb_DEV_hdblcm_update_components_2018-08-11_00.12.29/hdblcm.log' on host 'itsiti'
9. Check and confirm the installed component.


