Implementation Overview
WSO2 Application Server (AS) 5.2.1 is provided as a service on WSO2 Private PaaS 4.1.0. This is implemented by creating the following:
Template module
The template module configures the product in runtime, with a set of key value pairs known as the configuration parameters.
Cartridge agent plugin
The cartridge agent plugin, sets the runtime configuration parameters such as hostnames, IP addresses of dependent clusters, dynamic proxy ports and many more.
Docker image
The Docker image is built by packaging the following components:
Cartridge agent
Product distribution
Template module
Configurator
Java runtime
Puppet module
The puppet module includes the same set of component as in the Docker image. In the puppet image the template module is used to configure automation.
Deployment Architecture
The diagram illustrates the deployment architecture of WSO2 AS on Private PaaS. In the deployment, two different Private PaaS clusters will be created for the AS manager and worker. These clusters can be scaled independently.
Template Module
The WSO2 Application Server (AS) 5.2.1 template module provides a set of templates that is used to configure the Application Server with the Configurator.
You can find the WSO2 AS 5.2.1 template module here.
Cartridge Agent Plugin
The Server configurations are automated through the cartridge agent plugin, which was implemented for WSO2 AS 5.2.1.
The plugin configures the following and many more:
- server hostname
- cluster discovery parameters
- proxy ports
You can find the cartridge agent plugin here.