Adding multiple Gateway services that share a single DataPower appliance

You can use the Cloud Manager to create additional Gateway services that share an IBM® DataPower® appliance.

About this task

Adding multiple Gateway services on a single DataPower appliance can have the following benefits:
  • provides increased utilization of DataPower appliances
  • allows an external facing gateway service and an internal facing gateway service to each use a different network interface
  • allows separation of different environments and data traffic, such as Development, Test, and Production, based on different network interfaces or ports
  • allows a different DataPower domain to be set up per network zone on a DataPower appliance that spans multiple zones

The following tables provide settings information and examples of how to add multiple Gateway services on a single DataPower appliance. Note that the interfaces are installed in different subnets to avoid the communication issues described in the IBM Technote Multiple interfaces in the same subnet on DataPower should never be used.

Table 1. Sample DataPower appliance configuration settings used in the following scenarios
Network Interface IP Address
eth0 (XML management interface) 1.101.3.4
eth1 1.102.3.4
eth2 1.103.3.4
eth3 1.104.3.4
Table 2. Using different network interfaces to differentiate domains on the same DataPower appliance
Cluster parameters First service Second service Third service
Cluster name Gateway service GS1 Gateway service GS2 Gateway service GS3
Cluster address 1.101.3.4 1.102.3.4 1.103.3.4
Cluster port 443 443 443
Auto-generated domain APIMgmt_1234567890 APIMgmt_2345678901 APIMgmt_3456789012
Server name Gateway server GS1 Gateway server GS2 Gateway server GS3
Server address 1.101.3.4 1.101.3.4 1.101.3.4
Server port 5550 5550 5550
Server network interface eth0 eth1 eth2
Table 3. Using different Gateway service ports to differentiate domains on the same network interface on the same DataPower appliance
Cluster parameters First service Second service Third service
Cluster name Gateway service GS4 Gateway service GS5 Gateway service GS6
Cluster address 1.104.3.4 1.104.3.4 1.104.3.4
Cluster port 443 444 445
Auto-generated domain APIMgmt_4567890123 APIMgmt_5678901234 APIMgmt_67890122345
Server name Gateway server GS4 Gateway server GS5 Gateway server GS6
Server address 1.101.3.4 1.101.3.4 1.101.3.4
Server port 5550 5550 5550
Server network interface eth3 eth3 eth3
You can determine the auto-generated domain name for a gateway service by completing the following steps:
  1. Log in to the Cloud Manager user interface.
  2. Select the Services tab.
  3. In the DataPower Services section, click the Service Settings icon The Service Settings icon for the required gateway service. The auto-generated domain name is displayed in the DataPower Domain field.
Note: The Gateway server address and port parameters are used by the Management server to communicate to the Gateway server for management purposes. The management server configures the DataPower appliance using the XML management interface. The default server port is 5550, but the port depends on the XML management interface setup in the DataPower appliance. The Gateway server network interface is used for data traffic to that Gateway server as part of the Gateway service that the server is added to.
Before you add multiple Gateway services to a single DataPower appliance, consider the following requirements and restrictions:
  • The combination of a network interface and a port must be unique for each domain on a given DataPower appliance.
  • If there are other domains defined on the DataPower appliance that you plan to use, ensure that the setup for those domains does not conflict in terms of network interfaces or range of ports with the new domains that you plan to deploy in this API Connect cloud. You can contact your DataPower administrator to check the current configuration of network interfaces and ports.
  • If required, you can create more network interfaces. For more information, see IBM DataPower version 6.0.1 product documentation.
  • Do not add more than one Gateway server representing the same DataPower appliance to the same Gateway service. Since a given Gateway service has a single DataPower domain associated with it, a domain cannot be deployed to a given DataPower appliance more than once.
  • The Gateway Cluster's Port Base value should represent a set of 10 ports and should not overlap with another service's set of 10 ports or with any ports in use by other non-API Management applications on the DataPower appliance.
  • To enable the Gateway load balancer option in the Gateway service settings, ensure that each Gateway server representing a given DataPower appliance uses a different network interface. It is not sufficient for these different Gateway servers to only be differentiated by API data port used on the same network interface. The actual network interfaces must be different. The preferred approach is to use the External or no load balancer option. For more information about how to set up load balancing, see Load balancing in IBM API Connect.

Procedure

To share a DataPower appliance across Gateway services, complete the following steps:

  1. Plan the Gateway topology that you want to configure in your cloud. Decide how many Gateway services and Gateway servers that you want to add. Ensure that your plan accounts for the requirements and restrictions outlined in the previous section.
  2. Optional: Contact your DataPower administrator to check if there might be any usage conflict for the network interfaces and port numbers that you are planning to use. You might also need to request extra network interfaces.
  3. Add the number of Gateway services that you want to use. For more information, see Adding more Gateway services.
  4. Add Gateway servers to Gateway services to match your required topology. Make sure to wait for addition of a given gateway server to complete fully before using the Cloud Manager for any other tasks. For more information, see Adding a Gateway server.
  5. Verify that each added Gateway server is reported as active in the Cloud Manager.
  6. Create Catalogs that use the new Gateway services, and stage and publish Plans with APIs to these Catalogs.