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.
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
- Log in with administrative privileges to the SAP Mobile Platform Server host
- Go to the directory where the hosts file is located:
- Windows – C:\Windows\System32\drivers\etc\
- Linux – /etc/
- Back up the hosts file.
- Use a text editor to open the hosts
- Add these two lines to the end of the file, mapping IP addresses to
- <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.
Inclusion of ".sandbox" in the domain names is for
testing purposes. In a production installation, omit ".sandbox" from each domain
- Save and close the file.
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.