Mapping Enterprise Application Modules to Multiple Server (Clusters, Application Servers and Web Servers)
 Technote (troubleshooting)
 
Problem(Abstract)
During the install process how can I map a module to multiple Servers(Clusters, Application Servers and Web Servers)?
 
Cause
IBM® WebSphere® Application Server allows modules to be mapped to multiple servers, but Admin Console and wsadmin basics only install to a single server.
 
Resolving the problem
Using Admin Console:
The "Map Modules to Server" step during the enterprise application install will list all servers to map the modules. If the user highlights multiple server (holding the "ctrl" button when choosing a server) then press "Apply", the result will show the module mapped all servers selected.

Using wsadmin:
A delimiter is required to note when one server ends and new server begins. The delimiter for wsadmin is the "+". Now wsadmin will understand to map the modules to multiple servers.

Below is an example command:
wsadmin>$AdminApp install /WAS50/test.ear { -MapModulesToServers {{"Test EJB" test.jar,META-INF/ejb-jar.xml WebSphere:cell=Cell01,node=Node01,server=server1+WebSphere:cell=Cell01,node=Node2,server=web1} {"Test WAR" test.war,WEB-INF/web.xml WebSphere:cell=Cell01,node=Node01,server=server1+WebSphere:cell=Cell01,node=Node2,server=web1}}}

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Administrative Scripting Tools (for example: wsadmin or ANT)
Operating system(s): Windows
Software version: 6.0
Software edition:
Reference #: 1199323
IBM Group: Software Group
Modified date: Oct 21, 2008