Steps for running SAP Netweaver PI on high availability (HA)
- SAP Webdispatcher Installation
- 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
- Call transaction SM59.
- Choose the HTTP destination INTEGRATION_DIRECTORY_HMI.
- Set the HTTP connect data to <virtual host>:<httpport> .
4. Choose the RFC destination AI_RUNTIME_JCOSERVER.
5. Delete the gateway settings.
6. Repeat step 5 for the following RFC destinations:
- LCRSAPRFC
b. SAPSLDAPI
AS Java
- Start the SAP NetWeaver Administrator.
- Choose Configuration Management -> Infrastructure Management -> Jco RFC Provider
- Select the RFC destination AI_RUNTIME_JCOSERVER.
- Change the gateway connection data to localhost , sapgw$$ .
- Change the repository connection data to localhost , $$ .
6. Repeat steps 4 and 5 for the following RFC destinations:
a. LCRSAPRFC
b. SAPSLDAPI
7. Choose Configuration Management -> Security -> Destinations .
8. Select the HTTP destination pmistore .
9. Set the HTTP connect data to <virtual host>:<httpport> .
3. Configuration Changes to the following components :
- Local System Landscape Directory
- Exchange profile
- User management engine
- Integration Server
- Central Adapter Engine
- Dialog instance
- 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
- Call ABAP transaction SLDAPICUST and set the HTTP connect data to <virtual host>:<httpport> .
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>
3. Call ABAP transaction RZ70 and change the gateway settings to < ms virtual host> and sapgw<SCSinstno> .
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> .
7. Repeat step 6 for the destination SLD_Client .
b) Configuring the Exchange Profile
- 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:
| <virtual host> |
| <httpport> |
| <httpsport> |
| <virtual host> |
| <httpport> |
| <httpsport> |
| <virtual host> |
| <is sld name> |
| <httpport> |
| <httpsport> |
| <httpport> |
| <httpsport> |
| <virtual host> |
| <httpport> |
| <httpsport> |
Parameters -> RuntimeWorkbench | <virtual host> |
| <httpport> |
| <httpsport> |
2) If you are using a local SLD, also change the following parameters:
| <virtual host> |
| <httpport> |
| <httpsport> |
| <virtual host> |
| <httpport> |
| <httpsport> |
3. Change the database connection of the exchange profile as follows:
- Choose Connection .
- Select Load Balancing .
- Set the following values:
Message Server: <ms virtual host>
SID: <SID>
Logon Group: SPACE
c) User Management Engine
- 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:
- Start the SAP NetWeaver Administrator.
- Choose, -> -> .
- Select the destination UMEBackendConnection.
- 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:
- Start the SAP NetWeaver Administrator.
- Choose -> -> -> -> ->
- Select the service XPI Service: CPA Cache.
- Enter the virtual hostname and the ports of the SAP Web Dispatcher for the properties:
- SLD.selfregistration.hostName
Virtualhostname i.e webdispatcher hostname
- SLD.selfregistration.httpPort
Webdispatcher http port
- 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.
- Check the dialog instance profile.
- If required, configure a UPD work process and an SPO work process.