Skip to Content

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Jul 15, 2020 at 08:07 AM

    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?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 14, 2020 at 11:47 AM

    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)

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 14, 2020 at 01:19 PM

    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?

    Add a comment
    10|10000 characters needed characters exceeded

    • 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?


      image.jpg (25.1 kB)
  • Posted on Jul 15, 2020 at 01:48 PM

    Hi Rashmi,

    Denys van 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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.