Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

In a VM setup the VM instances will be fronted by a Load Balancer in PPaaS. Whereas, in Kubernetes the Docker instances will be fronted by a proxy service, which is created for each service cluster. When the Load Balancer or the Proxy service receive application traffic, it will route the traffic to the members (worker nodes) in the respective clusters, based on their resource availability.

Follow the instructions below to access the WSO2 service:

Prerequisites

Define port mapping.

 Click here for more information...

When creating the dependent artifacts that are needed to deploy an application, you need to define port mapping, in the cartridge definition JSON, for each port that will be used with the WSO2 product cartridge. 
The following examples illustrate how unique proxy ports can be set for ports that are used with the cartridge.

 

  1. Identify the Load Balancer IP and the hostname of the each of the clusters that are available in the deployed application.
    For more information, see Getting the Runtime Topology of an Application.

  2. Map the cluster hostname with one of the Load Balancer IPs.
    Each Load Balancer IP refers to the IP of a node. 

    1. Open the /etc/hosts/ file.
      Example:
      If you are using Vim, which is a text editor, you can open the file in the terminal as follows:

      vim /etc/hosts/
    2. Define mapping for all the hostnames against the available LB IPs in the /etc/hosts/ file and save the file.
      <LB_IP> <HOSTNAME> 
      Example:

      172.17.8.103 wso2as-521-application.mgt.as.wso2.org

      Each LB IP can have more than one hostname mappings. However, these mappings need to be defined separately in the /etc/hosts/ file.

  3. Use the following URL format to access the WSO2 service (e.g., the ESB service):

  • No labels