cancel
Showing results for 
Search instead for 
Did you mean: 

multiple apps on one hana server

07-14-2020 1:14 PM
SAP Managed Tags
Subscribe

Hello,

We are planning to install multiple SAP systems (HANA DB & respective apps) on one linux server . For Hana database, it's clear to create tenants for each system, but how to proceed if we want to install multiple application on the same server. We cannot keep multiple hostnames (physical or virtual) for one server that has one IP only. Is virtualization only way for multiple apps?

Appreciate the suggestions.

Accepted Solutions (1)

Accepted Solutions (1)

dvankempen
Product and Topic Expert
Product and Topic Expert

Hi Rashmi,

We are making progress. Good to hear you find using the right words is important. It is IT after all. A single bit makes the difference between TRUE or FALSE.

As mentioned, installing multiple AS ABAP systems on a single physical host is supported (although there typically is some fine print; see the installation guide and referenced SAP release notes).

With SAP HANA installations, there is no need to provide a different hostname when installation multiple versions. The system will be identified by the SID and instance number.

I am not too familiar with AS ABAP installation but I assume this to be the same.

I understand this is documented in the installation guide, e.g.

I did not see any requirement to use virtual hostnames nor to use virtualisation. Note that these are very different topics!

Quickly scanned the documentation for the software logistics toolset for the term "virtual":

Virtual IPs and virtual host names are used here in the context of high availability, where we do not want the server to have a physical host name at at as both physical host A (active) and B (standby) should be able to respond to request made to virtual host Z.

==

The local host file is used for local name resolution. For LAN/WAN resolution, you would need to use DNS.

You can add as many aliases as you want to a local host file. This is not the same as a virtual hostname. However, if you configure a default domain both foo and bar would respond to the same physical IP.

# /etc/hosts

10.0.0.2 foo.domain.com foo bar

Answers your question?

Former Member

Thank you Denys

In foo bar, only foo is the hostname for 10.0.0.2 and foo.domain.com is fully qualified domain name.

bar is just an alias name.

If I installed an AS JAVA first on foo.domain.com ( full domain name is required in AS java for URLs) , will I be able to install next AS ABAP on bar.domain.com at same server ?

dvankempen
Product and Topic Expert
Product and Topic Expert

Yes, but this is just a local name resolution file. You can put in any value you want but they resolve to the same IP.

In case the AS ABAP complains when you enter the same host name for both installation A and B, it will also complain when you start to use aliases. Same thing.

What domain bar resolves too, if any, depends if a domain has been configured for the local host and again, even if none is set on the local host we can still set one in the DNS.

According to NetApp, you can use up to 34 aliases.

https://library.netapp.com/ecmdocs/ECMM1278401/html/nag/GUID-C6F3B6D1-232D-44BB-A76C-3304C19607A3.ht...

https://library.netapp.com/ecmdocs/ECMM1278401/html/nag/GUID-DBF81E5C-CF3C-4B07-AF01-83A625F2B4BF.ht...

#/etc/hosts

10.0.0.2 foo.domain.com bar.domain.com bar.anotherdomain.com foo bar
dvankempen
Product and Topic Expert
Product and Topic Expert
0 Likes

Thank you for accepting the answer and for contributing to the SAP Community.

Best,

Denys van Kempen

Answers (3)

Answers (3)

dvankempen
Product and Topic Expert
Product and Topic Expert

Hi Rashmi,

You need to clarify your question.

Install multiple SAP systems: what type of system? SAP HANA system, SAP NetWeaver. The question is tagged with both SAP HANA and SAP ERP, which makes this unclear.

Respective apps: respective to what?

Clear to create tenants for each system: an SAP HANA system contains zero, one, or more tenant databases. You can create SAP HANA systems with a single tenant but as each system also contains a system database, creating multiple SAP HANA systems on a single host (server), adds unnecessary overhead.

With virtualization you can do a lot of things with a single physical IP like creating virtual networks, etc. - but this is a different topic.

==

I can recommend the SAP HANA Master Guide to get a better grip on the concepts. The good news is: it is free! (and not even that many pages)

Former Member

Hi Denys,

Thank you.

I am clear on HANA database multiple tenants. How to install ECC(app) on HANA(tenant1) , BW (app) on HANA(tenant2), NW(app) on HANA (tenant3) when the server has one IP? I can't have same hostname for each application server.

dvankempen
Product and Topic Expert
Product and Topic Expert

Hi Rashmi,

SAP ECC, ERP Central Component, is not an app. It is a product and requires an application server (SAP NetWeaver AS ABAP) and database, which can be installed on the same server when enough resources are available. However, ECC does not support SAP HANA. You can find this information on the product availability matrix (SAP ECC 6.0).

SAP Business Warehouse is not an app either, nor is SAP NetWeaver, which is more of a product family. You might appreciate the recent blog series by Juan Tena if you want to know more about this topic.

Terminology aside, SAP does support running multiple SAP BW or BW/4HANA systems on a single SAP HANA system, for example, each installed in a tenant database. See

This corresponds to your question, if not mistaken, with a single physical IP address for SAP HANA system. Both SAP BW and SAP HANA use the System Identifier (SID) and instance number to allocate unique TCP ports. To connect to the different applications hosted by these systems, you would connect to the same IP address but to different ports.

Does this answer your question?

Former Member
0 Likes

Thanks Denys,

I agree with the terminology.i abbreviated application server as app

I am sorry but I am still not clear with installation of multiple AS ABAP on same physical server ( =one IP). I am clear on Hana tenants.

I want to install AS (different SID and different hostnames) on each tenants as below.

I can install on virtual hostnames (SAPINST_USE_HOSTNAME in sapinst) for hostname1, hostname2 and hostname3, but in /etc/hosts file - I cannot add three hostnames against one IP.

How to install three AS on one physical server without virtualization?


sumitjais
Active Contributor

Hi Rashmi,

denys.kempen is a champ and has already explained the solution in the best possible way.

I'm just trying to add my understanding below, hoping it will be worthwhile to some extent. I am referring the architecture image you've shared.

For HANA :

As you mentioned, you are clear that the tenants of HANA don't need separate hostname . The hostname and instance number is same for systemdb and all the tenants,only the tenant SID changes. (Two tenants can't have same name)

Here, the differentiator is SID.

For AS:

You can install multiple AS ABAP or AS Java systems on same server having a hostname and IP address. When you execute SWPM it by default takes Operating system's hostname (along with domain), asks you for SID and then instance number( proposes available ones) .

  • When you install next AS on same tenant (tenant1) - SWPM takes same hostname, same SID, but different instance number than first AS. This gives you what is called additional application server.
  • When you install AS on another tenant (tenant2) - SWPM takes same hostname, but asks you SID and a different instance number than the used ones within the server.

You can't have same instance number for two systems - application server or database- even if you are installing application on another tenant.

Here, differentiator is the instance number.

So, How does connectivity happen?

  • External connectivity to either of AS

Consider the example of Solution manager .

You can install AS ABAP (SID: SMA) on tenant1 and AS JAVA (SID:SMJ) on tenant2 on same server. Upon installation on AS ABAP, SWPM takes a separate instance number for AS JAVA - one that is not used by HANA, ASCS and AS ABAP till then.

Thus, connectivity to hostname:<port> decides if it's for AS ABAP or AS JAVA. For most of the connectivity, instance number contributes to port number e.g. 5<instance no.>04 is P4 Port for AS JAVA and hence not much problem even if the hostname is same.

  • Inter-connectivity :

Generally, the logical system names (independent of the hostname) play important role here.

What is suggested?

Apart from the technical feasibility of installation (which is TRUE for installing multiple AS ABAP and AS JAVA on same server), we must look the "should be" case.

I haven't heard the recommended limitation for AS ABAP systems on same server, but it's suggested not to install multiple AS JAVA on same server.

2238258 - Multiple AS Java instances on the same host

It's better to install two AS (if on different tenants) on separate physical server or virtual machines if conflicts on the ports are expected.

Former Member

Thank you!

It is helpful.