cancel
Showing results for 
Search instead for 
Did you mean: 

multiple apps on one hana server

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.

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Kudos

You asked a question. Don't forget to mark the answer that helped you most as correct. Thanks!

For the readers, before you leave, don't forget to up/down vote the answers. You can vote on the question too.

Thanks.

View Entire Topic
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.

Thank you!

It is helpful.