SAP NETWEAVER ON HANA An installation guide
Sachin Ghorpade
Abstract A step by step guide to install SAP NetWeaver on HANA when application layer runs on Azure
and database layer on Large Instances.
SAP NETWEAVER ON HANA
Page 1
Table of Contents Overview ..................................................................................................................................................... 2
Pre-Requisite .............................................................................................................................................. 2
Setup Detail ................................................................................................................................................ 2
Software Download .................................................................................................................................... 2
SAP HANA Installation ................................................................................................................................. 4
Troubleshooting ...................................................................................................................................... 6
SAP NetWeaver Installation ........................................................................................................................ 8
ASCS Instance Installation ....................................................................................................................... 8
Database Instance Installation .............................................................................................................. 14
Primary Application Server Installation ................................................................................................. 22
Post Installation ........................................................................................................................................ 29
SAP NETWEAVER ON HANA
Page 2
Overview This blog describes the SAP NetWeaver installation steps on the SAP HANA database.
In this setup, the HANA Large Instance server is used to install the SAP HANA database, and SAP
NetWeaver application layer runs on the Azure VM. This is a hybrid mode installation where SAP
application is installed on Windows operating system in Azure, and the HANA database is installed on the
HANA Large Instances on the linux operating system.
Pre-Requisite • SAP HANA Large Instance is provisioned
o More detail on HANA Large Instances is available here: https://docs.microsoft.com/en-
us/azure/virtual-machines/workloads/sap/hana-overview-architecture
• Azure vNET is connected to HANA Large Instances.
o Please read an article to setup connectivity from Azure vNET to HANA Large Instances:
https://blogs.msdn.microsoft.com/saponsqlserver/2017/06/01/end-to-end-setup-for-
sap-hana-large-instances/
• Virtual Machine is up and running for SAP Application layer
• You have read master guide and installation guide from SAP
• You have checked the SAP Products Availability Matrix and checked the SAP HANA version and
Windows Server version is supported
Setup Detail • HANA Large Instance Server and IP: sapprddhb75 / 10.35.0.175
• HANA Version: SAP HANA 2.0 SP1
• Operating System for HANA: SUSE 12 SP2
• NW Version: SAP NetWeaver 740 SR2
• SAP Kernel 7.49 (Kernel Updated during installation to latest supported kernel)
• Operating System for NW: Window 2012 R2
Software Download You need to download the following installation files from the SAP Market place.
• Installation export
• SAP Kernel
• HANA Platform edition
• SWPM
In this example, SAP NetWeaver is installed on the Windows platform, so please download the installation
packages for “Microsoft Windows”. Download the installation packages on the Azure VM itself.
SAP NETWEAVER ON HANA
Page 3
SAP NETWEAVER ON HANA
Page 4
SAP HANA Installation
This section describes the SAP HANA 2.0 SP1 installation on HANA Large Instances. HANA Large instances
comes with pre-installed OS (BYOS model) and the pre-configured storage based on the SKU and SID you
requested.
The user sidadm and group sapsys is already created for you at the time of OS setup. The UID and GID is
the same what was provided in the service request form (SRF) for the HANA Large Instances.
In this example, the following information is used:
• HANA Large Instance Server Name: sapprdhdb75
• Operating system: SUSE 12 SP2
• SID: H11
• Instance No: 00
• UID (h11adm): 1001
• GID (sapsys): 1000
The HANA Large Instances do not have direct internet connectivity. Please download the SAP HANA
installation package to Azure VM, and then copy the HANA installation package to the HANA Large
Instance server. You can use utility like WinSCP to copy the files from the Azure VM to the HANA Large
Instance server.
Please also read the section “Install SAP HANA on the HANA Large Instance unit” of the article
https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/hana-installation
You can start the HANA installation using hdblcmgui. This starts the HANA installation in the graphical user
interface. If you encounter the following error, ensure that you have x server running and you SSH to
putty with “enable x11 forwarding”. Also read SAP note 2358582.
sapprdhdb75:/hana/logbackups/HANA20SPS1_51052030/DATA_UNITS/HDB_LCM_LINUX_X86_64 # ./hdblcmgui 13:08:03: Error: Unable to initialize GTK+, is DISPLAY set properly? SAP HANA Installer Runtime Error: perl compilation error (loading LCM::Gui::App::LCMGuiApp): cannot load wxWidgets properly (distcompat): Failed to initialize wxWidgets at sdbrun/Require.pl line 62. BEGIN failed--compilation aborted at SDB/Install/App/Gui.pm line 6. BEGIN failed--compilation aborted at LCM/Gui/App/LCMGuiApp.pm line 6. sapprdhdb75:/hana/logbackups/HANA20SPS1_51052030/DATA_UNITS/HDB_LCM_LINUX_X86_64 #
SAP NETWEAVER ON HANA
Page 5
• Select the component to be installed for SAP HANA. In this example, only the SAP HANA
database component is installed with single host
• Input the SID, instance number, and the data and log area
SAP NETWEAVER ON HANA
Page 6
• Input the password for administrator, and system user. Proceed with the installation
• It takes about 10 minutes for the HANA installation. After the install, try to connect using HANA
Studio.
Troubleshooting If you are not able to connect using HANA studio, then try the following:
SAP NETWEAVER ON HANA
Page 7
• Try connecting from your jump box using telnet using the port HANA studio using. It should
succeed. If not, then you need to fix it.
• If you don’t have Telnet installed, install from Server Manager>Add roles and
Features>Next>Telnet Server
• Disable the firewall on HLI YAST2>Firewall>Stop Firewall Now
Note: This is for troubleshooting only. You should not keep the firewall disabled.
SAP NETWEAVER ON HANA
Page 8
SAP NetWeaver Installation SAP NetWeaver Installation is done using the SWPM tool. Here are the specification of the SAP
NetWeaver Installation.
This is a distributed system installation; and the following components gets installed in the sequence.
• ASCS Instance
• Database Instance
• Primary Application Server Instance
In this example, the following inputs are used:
• SAP NetWeaver Version: SAP NW 740 SR2
• Operating System: Windows 2012 R2
• Server type: Virtual Machine in Azure
• SAPSID: H11
• Domain: local domain
• ASCS Instance No: 00
• HANA DB Instance No: 00
• PAS Instance No: 01
ASCS Instance Installation • Double click sapinst from SWPM download directory. In this example location of sapinst is
H:\SAPNW74Download\SWPM1SP20.
• Select ASCS Instance option
• Select custom option
SAP NETWEAVER ON HANA
Page 9
• You need to logoff and login again from the server you are doing the installation
• Input the SID and Destination drive
• Select FQDN and input the domain name. In this example, no FQDN is set
SAP NETWEAVER ON HANA
Page 10
• Input the Master password
• Input the SID, and select the Domain
• Input the password for administrator and service users
• Input the package location
SAP NETWEAVER ON HANA
Page 11
• Review the prerequisite checker result
• Select the domain for Host agent. In this example, local domain is selected
• Input host agent password
SAP NETWEAVER ON HANA
Page 12
• Input the ASCS instance and host name
• Validate the ports
• Select if additional components to be installed
SAP NETWEAVER ON HANA
Page 13
• Review the inputs
• Start the installation
• Installation is complete
SAP NETWEAVER ON HANA
Page 14
The ASCS installation takes about 10 minutes to complete
Database Instance Installation • Start the sapinst again; select the Database instance option.
• Please note, HANA database should already have been installed before you begin with this step
• Select the custom mode
SAP NETWEAVER ON HANA
Page 15
• Input the profile directory
• Input the master password
• Set FQDN, if needed. In this example, no FQDN is set
SAP NETWEAVER ON HANA
Page 16
• Review the OSS note 1990894
• Input the database instance specific values
• Input the SystemDB information
• Input the software package location
SAP NETWEAVER ON HANA
Page 17
• Review the prerequisite checker result
• Input the export1 package location
• Input the export3 package location
SAP NETWEAVER ON HANA
Page 18
• Input the export2 package location
• Review the SystemDB information
• Input the database schema password
SAP NETWEAVER ON HANA
Page 19
• Select the import parameters as needed. In this example, the default is selected
• Select the declustering option
• Select the option for HANA table placement
• Input the number of parallel jobs for r3load
SAP NETWEAVER ON HANA
Page 20
• Select the client path strategy
• Input the path of the HANA client package
• Review the inputs
SAP NETWEAVER ON HANA
Page 21
• Installation in progress
• Installation completed
SAP NETWEAVER ON HANA
Page 22
Primary Application Server Installation • Start the sapinst tool
• Select the Primary application server instance option
• Select the installation mode
SAP NETWEAVER ON HANA
Page 23
• Select the profile location
• Input the master password
• Input the password for administrator and service user
• Input FQDN, if needs to be setup
SAP NETWEAVER ON HANA
Page 24
• Input the kernel package location. You can also replace sapexe and sapexedb with the latest
supported kernel, or you can update the kernel after the installation.
• Review the prerequisite checker
• Input the system administrator password
SAP NETWEAVER ON HANA
Page 25
• Input the SystemDB parameters
• Input the database schema password
SAP NETWEAVER ON HANA
Page 26
• Input the PAS instance number and the host name
• Review the port number
• Input the password for webadm for web dispatcher
SAP NETWEAVER ON HANA
Page 27
• Select the SLD option
• Select the option for ACL
• Input the export1 package location
• Input the DDIC password
• Select the storage key option
SAP NETWEAVER ON HANA
Page 28
• Review the input parameters
• Installation started
• Installation is complete
SAP NETWEAVER ON HANA
Page 29
Post Installation You are done with the SAP NetWeaver and HANA database installation. You can start the SAP instance
using SAP MMC and can login with SAP GUI to access your SAP application instance.
You still need to perform various post installation activities like license install, client copy, TMS setup,
etc., which is not the scope of this document.