Sap Pi DG
Sap Pi DG
Sap Pi DG
Deploying the BIG-IP LTM with SAP NetWeaver and Usage Type Process Integration
Version 1.0
Prerequisites
The following are prerequisites and configuration notes about this deployment:
The BIG-IP LTM should be running version 9.4.x or later. SAP should be using NetWeaver 2004s (7.0) or later with Usage Type PI (Process Integration), with update to NW2004s Service Pack 08 or higher completed. We assume you are very familiar with SAP installation and configuration procedures. Consult your SAP administrator/consultant or the SAP documentation for specific SAP information.
Revision history:
Document Version 1.0 Description New deployment guide
Configuration example
For SAP Usage Type PI high availability, BIG-IP local traffic managers are configured in front of PI Dialog instances with round robin load balancing. BIG-IP LTM monitors the health of servers and appropriately distributes load between servers insuring uptime for critical SAP PI services.
Clients
Internet
Firewalls
2nd Request
1st Request
ICM ICM ICM
ABAP
Java
ABAP
Java
Java
Central Instance
Dialog Instance
the app)
Dialog Instance
Database
Configuring the SAP NetWeaver platform for load balancing Usage Type PI
Important
The following information covers the most important parts of the SAP NetWeaver configuration for Usage Type PI. Not all of these configuration details will apply to every SAP installation, however we do cover all of the places where changes may be necessary. For more detailed instructions on configuring your SAP solution see the SAP documentation, contact SAP or you consultant, or refer to SAP notes such as SAP Note 951910. The first step in configuring your SAP Landscape for high availability is to choose a new IP address, host name and port that will be used as the IP, name and port for your incoming connections. Register this information with your company's DNS and network administration groups before proceeding. For example, let's assume there is an SAP environment currently with four dialog instances that will be used in the high availability landscape. In our examples, we use the name MyCompanyVirtualHostname.companyname.com, and choose port number 80 and assign MyCompanyVirtualHostname an IP Address of 10.100.100.50. These settings go both on the BIG-IP system, and into the SAP Configuration. In the following section, we provide guidance for the SAP configuration based on the information from our example above. Configure the following SAP values anywhere you see these settings in the SAP PI configuration:
<Virtual Host> This is the host name (MyCompanyVirtualHostname in our example). Type your host name here, or what SAP may refer to in some circumstances as SAP Web Dispatcher Hostname. This is also the host name that resolves to the BIG-IP LTM virtual server. <httpport> This is the port (80 in our example). Type the appropriate port here. SAP may refer to this in some circumstances as SAP Web Dispatcher Port. This should match the BIG-IP LTM virtual server port number. <cihost> This is the existing Central Instance host name. This should not change, but you need it as a reference if this is the very first time you are setting up your SAP landscape. <dihost> This is your existing Dialog Instance Hostname. This should not change, but you need it as a reference if this is the very first time you are setting up your SAP landscape. <SID> is your System ID. <instno> is your PI Instance ID.
F5 Deployment Guide
3. Save and close the file. 4. Change to the directory /usr/sap/<SID>/SYS/exe/uc/<os>/ and edit the sapcpe file scs.lst to add gwmon and gwrd. You see a long list similar to the truncated version below. Add the new entries:
librfc32u.dll librfc32u.pdb libsapu16vc71.dll libsapu16vc71.pdb icuuc30.dll icuin30.dll icudt30.dll gwmon gwrd
Note: If you are using Microsoft Windows, you must add the file extension to the last two entries:
gwmon.exe gwrd.exe
5. Save and close the file. 6. Change the enqueue replication port in Java SCS and in the enqueue replication instance profile (default port is sapgw<instno>). Set enque/encni/repl_port to a different, unused value. For specific instructions, refer to SAP Note 1064290 and consult the SAP documentation.
3. Next, call the ABAP transaction RZ70 and change the gateway setting to <virtual host> and sapgw<instno>. In our example, we use MyCompanyVirtualHostName and sapqw10 (see Figure 3). 4. Click the Save icon/button.
F5 Deployment Guide
You perform the next part of this procedure from a web browser. 5. From a web browser, open Java SLD Administration. 6. Go to Java SLD Administration, choose Profile-->Datasupplier, and change the gateway settings to <virtual host> and sapgw<instno>. In our example, we use MyCompanyVirtualHostName and sapqw10 7. Submit the changes to save them. The final part of this procedure in this section uses the J2EE Visual Administrator. 8. Start the J2EE Visual Administrator client. 9. Select the Data Supplier service, and set the HTTP connection data to <virtual host>:<httpport>. In our example, we use MyCompanyVirtualHostName and port 80 (see Figure 4). 10. Click the Save button.
Figure 4 Configuring the HTTP connection parameters from the Visual Administrator
4. Click Save.
F5 Deployment Guide
To change this, go to Business System Maintenance 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. For specific instructions on how to Maintain a Business System for the Integration system, go to the following SAP document: http://help.sap.com/saphelp_nw70/helpdata/en/43/39c7b227b91bcbe10000 000a1553f7/frameset.htm From the list in the third bullet, click Integration Server. In the Maintaining the Pipeline URL of the Integration Server section, click Maintaining a Business System for Integration Server.
F5 Deployment Guide
10
11
F5 Deployment Guide
12
6. In the New Members section, make sure the New Address option button is selected. 7. In the Address box, add the first server to the pool. In our example, we type 10.133.20.15. 8. In the Service Port box, the appropriate port for SAP PI. In our example, we type 52000. 9. Click the Add button to add the member to the list. 10. Repeat steps 7-9 for each server you want to add to the pool. In our example, we repeat these steps once for 10.133.20.16 and 10.133.20.17. 11. Click the Finished button.
13
F5 Deployment Guide
14
5. From the Parent Profile list, select tcp-lan-optimized. 6. Modify any of the settings as applicable for your network. In our example, we leave the settings at their default levels. 7. Click the Finished button.
If you are using the BIG-IP LTM to offload SSL from the PI installation, you should not create the following virtual server. Continue with Configuring the BIG-IP LTM system for offloading SSL traffic from the SAP Deployment, on page 18.
15
7. From the Configuration list, select Advanced. The Advanced configuration options appear. 8. Leave the Type list at the default setting: Standard. 9. From the Protocol Profile (Client) list, select the name of the profile you created in the Creating the WAN optimized TCP profile section. In our example, we select sap-pi-wan. 10. From the Protocol Profile (Server) list, select the name of the profile you created in the Creating the LAN optimized TCP profile section. In our example, we select sap-pi-lan.
F5 Deployment Guide
16
12. In the Resources section, from the Default Pool list, select the pool you created in the Creating the pool section. In our example, we select sap_pi.
The configuration for the SAP PI is now complete. If you are offloading SSL from the PI deployment, continue with the following section.
17
Configuring the BIG-IP LTM system for offloading SSL traffic from the SAP Deployment
The BIG-IP LTM device can be configured as an SSL proxy, offloading the SSL duties from the servers.
Important
This section is optional, and only necessary if you are using the BIG-IP LTM system for offloading SSL.
F5 Deployment Guide
18
6. In the Service Port box, type 443, or select HTTPS from the list. 7. From the Configuration list, select Advanced. 8. Leave the Type list at the default setting: Standard. 9. From the Protocol Profile (Client) list, select the profile you created in Creating the WAN optimized TCP profile. In our example, we select sap-tcp-wan from the list 10. From the Protocol Profile (Server) select the profile you created in the Creating the LAN optimized TCP profile section. In our example, we select sap-tcp-lan from the list. 11. From the OneConnect Profile list, select sap-oneconnect. 12. From SSL Profile (Client) list, select the name of the profile you created in the Creating a Client SSL profile section. In our example we select sap-clientssl. 13. In the Resources section, from the Default Pool list, select the pool you created for your SAP PI nodes in the Creating the pool section. In our example, we select sap_pi. 14. Click the Finished button.
This concludes the steps necessary to use the BIG-IP LTM system to offload SSL traffic.
F5 Deployment Guide
20