Installing the SnapCenter Plug-in for SAP HANA Database on Linux hosts by using the command-line interface

You should install the SnapCenter Plug-in for SAP HANA Database by using the SnapCenter user interface (UI). If your environment does not allow remote installation of the plug-in from the SnapCenter UI, you can install the Plug-in for SAP HANA Database either in console mode or in silent mode by using the command-line interface (CLI).

Steps

  1. Copy the SnapCenter Plug-ins Package for Linux installation file (snapcenter_linux_host_plugin.bin) from C:\ProgramData\NetApp\SnapCenter\Package Repository to the host where you want to install the Plug-in for SAP HANA Database.
    You can access this path from the host where the SnapCenter Server is installed.
  2. From the command prompt, navigate to the directory where you copied the installation file.
  3. Install the plug-in: path_to_installation_bin_file/snapcenter_linux_host_plugin.bin -i silent -DPORT=port_number_for_host -DSERVER_IP=server_name_or_ip_address -DSERVER_HTTPS_PORT=port_number_for_server
    • -DPORT specifies the SMCore HTTPS communication port.
    • -DSERVER_IP specifies the SnapCenter Server IP address.
    • -DSERVER_HTTPS_PORT specifies the SnapCenter Server HTTPS port.
    • -DUSER_INSTALL_DIR specifies the directory where you want to install the SnapCenter Plug-ins Package for Linux.
    • DINSTALL_LOG_NAME specifies the name of the log file.
    Example
    tmp/sc-plugin-installer/snapcenter_linux_host_plugin.bin -i silent  -DPORT=8145 -DSERVER_IP=scserver.domain.com -DSERVER_HTTPS_PORT=8146 -DUSER_INSTALL_DIR=/opt -DINSTALL_LOG_NAME=SnapCenter_Linux_Host_Plugin_Install_2.log -DCHOSEN_FEATURE_LIST=CUSTOM
  4. Edit the /<installation directory>/NetApp/snapcenter/scc/etc/SC_SMS_Services.properties file, and add the PLUGINS_ENABLED = hana:3.0 parameter.
  5. Add the host to the SnapCenter Server by using the Add-smhost cmdlet.
    Note: You can add a host only from the command-line interface.
    Example

    The following example adds a host to the SnapCenter Server and discovers the SnapCenter Plug-in for SAP HANA Database:

    Add-smhost -HostName <hostname or ip> -OSType Linux -RunAsName Root 
    -Port <port number> -DiscoverPlugins