Mapping modules to servers
Each module of a deployed application must be mapped to one or more target servers. The target server can be an application server, cluster of application servers or web server.
Before you begin
You can map modules of an application or stand-alone Web module to one or more target servers during or after application installation using the console. This topic assumes that the module is already installed on a server and that you want to change the mappings.
Before you change a mapping, check the deployment targets. You must specify an appropriate deployment target for a module. Modules that use Version 8.x features cannot be installed onto Version 7.x or 6.x target servers. Similarly, modules that use Version 7.x features cannot be installed onto Version 6.x target servers.
About this task
During application installation, different deployment targets might have been specified.
You use the Manage modules page of the administrative console to view and change mappings. This page is displayed during application installation using the console and, after the application is installed, can be accessed from the enterprise application settings page.
On the Manage modules page, specify target servers where you want to install the modules contained in your application. Modules can be installed on the same application server or dispersed among several application servers. Also, specify the web servers as targets that will serve as routers for requests to your application. The plug-in configuration file, plugin-cfg.xml, for each web server is generated based on the applications which are routed through it.
Procedure
Results
The application or module configurations are changed. The application or stand-alone web module is restarted so the changes take effect.
Example
To install an application that has modules which support Java™ Platform, Enterprise Edition (Java EE) 5 or 6 to two servers, do the following:
- Click the Select All icon to select all of the modules in the application.
- While pressing Ctrl, select two Version 8 application servers from the Clusters and servers list.
- Click Apply.
- Click OK.
What to do next
If the application or module is deployed on a cluster and your configuration changes are complete, click Rollout Update on the Enterprise applications page to propagate the changed configuration on all cluster members of the cluster on which the application or module is deployed. Rollout Update sequentially updates the configuration on the nodes that contain cluster members.
Save changes to your administrative configuration.
The application binaries are transferred to nodes when the configuration changes on the deployment manager synchronize with configurations for individual nodes on which the application will run.