Administrator

Adding a Load Balancer in the DMZ

If the DMZ load balancer meets the prerequisite requirement and the firewalls are configured properly, enable the load balancer to support APNS by adding entries in the SAP Mobile Platform Server's host file.

Prerequisites

The DMZ load balancer must:
The steps below have been tested with the two load balancers listed below and should work for other load balancers. For more information on setting up the two load balancers tested, see:

Procedure

  1. Log in with administrative privileges to the SAP Mobile Platform Server host machine.
  2. Go to the directory where the hosts file is located:
    • Windows – C:\Windows\System32\drivers\etc\
    • Linux – /etc/
  3. Back up the hosts file.
  4. Use a text editor to open the hosts file.
  5. Add these two lines to the end of the file, mapping IP addresses to the APNS:
    <XXX.XXX.XXX.XXX> gateway.sandbox.push.apple.com
    <YYY.YYY.YYY.YYY> feedback.sandbox.push.apple.com
    where:
    • <XXX.XXX.XXX.XXX> is the gateway push IP address of the load balancer virtual server (LBVS).
    • <YYY.YYY.YYY.YYY> is the feedback push IP address of the LBVS.
  6. Save and close the file.

Results

Now when SAP Mobile Platform Server sends a notification to a device via APNS, the underlying network layers resolve the host address using the hosts file, which references the load balancer.