Skip to Content
Author's profile photo Former Member

Steps for running SAP Netweaver PI on high availability (HA)

Steps for running SAP Netweaver PI on high availability (HA)

  1. SAP Webdispatcher Installation
  2. A load balanced set-up  of HTTP, RFC and RMI connections
  • Configure HTTP and RFC connections on the Integration server to use loading balancing feature

Local RFC Connections

For local RFC connections between AS ABAP and AS Java (that is, for RFC connections within the same instance), the variable $$ is used for local addressing.

Specify the following parameters:

hostname : localhost

gwservice : 'sapgw$$'

instno : '$$'

At runtime, rfcengine substitutes '$$' with the local instance number.

AS ABAP

  1. Call transaction SM59.
  2. Choose the HTTP destination INTEGRATION_DIRECTORY_HMI.
  3. Set the HTTP connect data to <virtual host>:<httpport> .

  /wp-content/uploads/2013/09/1_283605.png


/wp-content/uploads/2013/09/2_283606.png
 

4.      Choose the RFC destination AI_RUNTIME_JCOSERVER.

5.      Delete the gateway settings.

/wp-content/uploads/2013/09/3_283607.png

/wp-content/uploads/2013/09/4_283608.png

 
 

     6. Repeat step 5 for the following RFC destinations:

    1. LCRSAPRFC

/wp-content/uploads/2013/09/5_283610.png

/wp-content/uploads/2013/09/6_283611.png

     b. SAPSLDAPI

/wp-content/uploads/2013/09/7_283612.png

/wp-content/uploads/2013/09/8_283616.png

AS Java

  1. Start the SAP NetWeaver Administrator.
  2. Choose  Configuration Management -> Infrastructure Management -> Jco RFC Provider
  3. Select the RFC destination AI_RUNTIME_JCOSERVER.
  4. Change the gateway connection data to localhost , sapgw$$ .
  5. Change the repository connection data to localhost , $$ .

/wp-content/uploads/2013/09/9_283618.png

     6. Repeat steps 4 and 5 for the following RFC destinations:

     a. LCRSAPRFC

  /wp-content/uploads/2013/09/10_283619.png
 

     b. SAPSLDAPI

/wp-content/uploads/2013/09/11_283620.png

     7. Choose  Configuration Management -> Security -> Destinations .

     8. Select the HTTP destination pmistore .

     9. Set the HTTP connect data to <virtual host>:<httpport> .

/wp-content/uploads/2013/09/12_283626.png

    3. Configuration Changes to the following components :

  1. Local System Landscape Directory
  2. Exchange profile
  3. User management engine
  4. Integration Server
  5. Central Adapter Engine
  6. Dialog instance
  1. Local System Landscape Directory
  • Configuring the Local System Landscape Directory

If you want to run PI in a high availability (HA) environment with a local System Landscape Directory (SLD), you have to change the local SLD configuration

Procedure

    1. Call ABAP transaction SLDAPICUST and set the HTTP connect data to <virtual host>:<httpport> .

/wp-content/uploads/2013/09/13_283627.png

/wp-content/uploads/2013/09/14_283631.png

/wp-content/uploads/2013/09/15_283632.png

          2. Go to Java SLD Administration, i.e login to NWA -> Configuration -> Infrastructure -> SLD Data Supplier Configuration, change the gateway                settings to < ms virtual host> and sapgw<SCSinstno> .  —– If this path don’t exists, then go to below path

Goto to SLD Administration page -> Settings -> Section : Data supplier. Change gateway host and gateway service .

Gateway host : msvirtual host

Gateway service : sapgw<SCSinstno>

/wp-content/uploads/2013/09/16_283633.png

          3. Call ABAP transaction RZ70 and change the gateway settings to < ms virtual host> and sapgw<SCSinstno> .

/wp-content/uploads/2013/09/17_283634.png

     4. Start the SAP NetWeaver Administrator and choose Configuration -> Security  -> Destinations .

     5.  Select the destination SLD_DataSupplier .

              6. Set the HTTP connection data to <virtual host>:<httpport> .

  /wp-content/uploads/2013/09/18_283635.png
 

          7. Repeat step 6 for the destination SLD_Client .

/wp-content/uploads/2013/09/19_283636.png

 
 

b) Configuring the Exchange Profile

  1. Call the exchange profile at: http://<pisystemhost:httpport>/webdynpro/dispatcher/sap.com/com.sap.xi.exprofui/XIProfileApp.

Login with user “pisuper”, Goto Parameters -> Connections

Check the following parameters:

  1. com.sap.aii.connect.repository.name

<virtual host>

  1. com.sap.aii.connect.repository.httpport

<httpport>

  1. com.sap.aii.connect.repository.httpsport

<httpsport>

  1. com.sap.aii.connect.directory.name

<virtual host>

  1. com.sap.aii.connect.directory.httpport

<httpport>

  1. com.sap.aii.connect.directory.httpsport

<httpsport>

  1. com.sap.aii.connect.integrationserver.name

<virtual host>

  1. com.sap.aii.connect.integrationserver.sld.name

<is sld name>

  1. com.sap.aii.connect.integrationserver.httpport

<httpport>

  1. com.sap.aii.connect.integrationserver.httpsport

<httpsport>

  1. com.sap.aii.connect.integrationserver.r3.httpport

<httpport>

  1. com.sap.aii.connect.integrationserver.r3.httpsport

<httpsport>

  1. com.sap.aii.connect.rwb.name

<virtual host>

  1. com.sap.aii.connect.rwb.httpport

<httpport>

  1. com.sap.aii.connect.rwb.httpsport

<httpsport>

  1. com.sap.aii.rwb.server.centralmonitoring.name

Parameters -> RuntimeWorkbench

<virtual host>

  1. com.sap.aii.rwb.server.centralmonitoring.httpport

<httpport>

  1. com.sap.aii.rwb.server.centralmonitoring.httpsport

<httpsport>

2)    If you are using a local SLD, also change the following parameters:

  1. com.sap.aii.connect.cr.name

<virtual host>

  1. com.sap.aii.connect.cr.httpport

<httpport>

  1. com.sap.aii.connect.cr.httpsport

<httpsport>

  1. com.sap.aii.connect.landscape.name

<virtual host>

  1. com.sap.aii.connect.landscape.httpport

<httpport>

  1. com.sap.aii.connect.landscape.httpsport

<httpsport>

          3. Change the database connection of the exchange profile as follows:

    1. Choose Connection .
    2. Select Load Balancing .
    3. Set the following values:

Message Server: < ms virtual host>

SID: <SID>

Logon Group: SPACE

/wp-content/uploads/2013/09/20_283640.png

 
 

c)  User Management Engine

  1. Configuring the Connection to the User Management Engine

To enable local RFC connections between the user management engine (AS Java) and AS ABAP, the variable $$ is used for addressing. Perform the following steps:

  1. Start the SAP NetWeaver Administrator.
  2. Choose, Configuration Management -> Security Management -> Destinations.
  3. Select the destination UMEBackendConnection.
  4. Specify the following values:

Target host: localhost

System number: $$

d) Integration Server 

Maintaining the Pipeline URL of the Integration Server

To enable load balancing for SAP applications that retrieve the URL of the Integration Server from the System Landscape Directory (SLD), for example, Adapter Engines, the pipeline URL registered in SLD needs to be adapted.

To change this, go to Business Systems in SLD and select the Integration Server’s business system. Enter the virtual hostname and the port of the SAP Web Dispatcher in the field Pipeline URL.

Pipeline URL

http://virtualhostname:port/sap/xi/eng

Configuration URL :

http://virtualhostname:port/sap/xi/eng

More information: Maintaining a Business System for the Integration Server.

e) Central Adapter Engine 

Maintaining the HTTP Service Port of the Adapter Engine

To enable load balancing between the Integration Server and the central Adapter Engine, the hostname property used for the SLD registration of an AS Java node needs to be adapted. Perform the following steps:

  1.   Start the SAP NetWeaver Administrator.
  2.   Choose -> Configuration Management -> Infrastructure Management -> Java System    Properties -> Details -> Services
  3. Select the service XPI Service: CPA Cache.
  4. Enter the virtual hostname and the ports of the SAP Web Dispatcher for the properties:
  5. SLD.selfregistration.hostName 

Virtualhostname i.e webdispatcher hostname

  1. SLD.selfregistration.httpPort

Webdispatcher http port

  1. SLD.selfregistration.httpsPort

Not changed since HTTPS port is not available for webdispatcher

  • v.  Restart the XPI service.

f)  Configuring the Dialog Instance

To ensure that update and spool processing is always possible, you should configure at least one separate UPD work process and one separate SPO work process.

  1. Check the dialog instance profile.
  2. If required, configure a UPD work process and an SPO work process.

Assigned Tags

      5 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo ABHISHEK SINGH
      ABHISHEK SINGH

      Nice and well elaborated Document 🙂

      Author's profile photo Former Member
      Former Member

      Hi Dinesh,

      We have installed the HA PI 7.3 dual stack and tried the db vitrual name for com.sap.aii.connect.integrationserver.sld.name; that did not work. In your blog; you mentioned SLD name for this parameter. Can you please elaborate this a bit.

      Scenario:

      ASCS Node A = node a server name

      ASCS Node B = node b server name

      DB = DB virtual host

      PAS = PAS virtual host

      AAS = AAS virtual host

      Thanks

      Pankaj

      Author's profile photo Paul Crauwels
      Paul Crauwels

      Hi Pankaj,

      Did you ever get an answer to this question? Or could you resolve it your self? I am interested too because the documentation is not very clear.

      Thank you and regards,

      Paul.

      Author's profile photo Former Member
      Former Member

      Hello Denish ,

      Nice document!!!!!

      Author's profile photo Former Member
      Former Member

      Hi Denish

      Very Helpful Document !!!

      It really helped !!!

      Thanks

      Kishan Popat

      SAP Basis Consultant