SAP Web Dispatcher balances the load of the incoming HTTP/HTTPS requests for your SAP NetWeaver application servers, or ABAP or Java systems. For information from SAP about SAP Web Dispatcher, see SAP Web Dispatcher.
Deployment architecture
The following diagram shows the recommended deployment architecture for standalone SAP Web Dispatcher HA on Google Cloud:
To provide high availability for SAP Web Dispatcher running on Google Cloud, you must include the following components in your deployment:
- An active-active setup of two or more SAP Web Dispatcher instances.
- A Google Cloud Internal Application Load Balancer.
An active-active setup ensures that both instances of SAP Web Dispatcher remain active to receive traffic from the internal Application Load Balancer and forward or redirect that traffic to your backend SAP system. You achieve an active-active setup by deploying at least two instances of SAP Web Dispatcher, with each instance running in separate Compute Engine instance groups.
The internal Application Load Balancer distributes traffic to the two SAP Web Dispatcher instances. The load balancer distributes traffic that comes from both - clients that are in the same Virtual Private Cloud (VPC) network as the load balancer, and clients like on-premise systems that are connected to the load balancer's VPC network through services such as VPC Network Peering, Cloud VPN, or Cloud Interconnect.
This setup of SAP Web Dispatcher provides zero maintenance downtime, which ensures high availability. Health check rules associated with the internal Application Load Balancer ensure that the incoming traffic is routed to the available SAP Web Dispatcher instance. This also helps you perform maintenance activities, as rolling updates, on those instances. The health checks also help you determine if your SAP Web Dispatcher instances are able to reach your backend SAP system. For more information, see Internal Application Load Balancer overview.
High-level deployment steps
The following are the high-level steps, with some essential details, for deploying standalone SAP Web Dispatcher HA on Google Cloud:
Make sure that you meet the following prerequisites:
- You have a Google Cloud account and project.
- If you require your SAP workload to run in compliance with data residency, access control, support personnel, or regulatory requirements, then you must create the required Assured Workloads folder. For more information, see Compliance and sovereign controls for SAP on Google Cloud.
Create at least two unmanaged instance groups, each in a different zone.
For instructions, see Creating groups in the Compute Engine documentation.
In each unmanaged instance group, on a VM instance that uses an SAP-supported VM type and an SAP-supported OS image, install SAP Web Dispatcher.
For information about installing SAP Web Dispatcher, see SAP Web Dispatcher.
Create a regional internal Application Load Balancer (HTTP/HTTPS) with the following configuration:
In the Internet facing or internal only section, select Only between my VMs or serverless services.
In the Region field, select the region where you have deployed your SAP Web Dispatcher instances.
Select the required VPC network.
Make sure to reserve a proxy-only subnet for this VPC network. For more information, see Proxy-only subnets for Envoy-based load balancers.
In the Backend configuration section, create a backend service. Example settings for the backend service:
- Backend type:
Instance group
- Protocol:
HTTP
(default) - Named port:
http
(default) - Timeout: 30 seconds (default)
- Backend type:
In the Backend section, add a backend for each instance group in your SAP Web Dispatcher setup:
- In the Instance group field, select an instance group that you created earlier in this procedure.
- For the Port field, specify the port where your SAP Web Dispatcher instance is running.
For the backend service, create a health check that probes the port where the SAP Web Dispatcher instance is running. Example health check settings:
- Protocol:
TCP
- Port: specify the port where your SAP Web Dispatcher instance is running
- Check interval: 5 seconds
- Timeout: 5 seconds
- Healthy threshold: 2 seconds
- Unhealthy threshold: 2 seconds
- Protocol:
In the Routing rules section:
- In the Mode field, select Simple host and path rule.
- In the Host and path rules section, make sure that there is an entry for the backend service that you created.
In the Frontend configuration section:
- Specify the IP address and port where you want the load balancer to receive traffic.
- If you want to receive traffic from regions other than the one you specified, then in the Global access field, select Enable.