FreeKB - IBM WebSphere Map application to servers (manage modules)
IBM WebSphere - Map application to servers (manage modules)

Mapping an application to application server(s) or web server(s) lets you control what server(s) will be able to produce the application.

  1. In the WebSphere admin console, expand Applications and select All applications.
  2. Select the application that you want to map.
  3. Select Manage modules.

In this example, the Beta application is mapped to server01 in node02 in cell was1Cell01.

 

This is a very simple configuration, where the application is running on a single application server.

 


One web server / one application server

In this example, the Beta application is running on both server01 (the application server) and IHS (the web server).

 

This is a fairly common for applications that are not mission critical. In this example, the web server is probably configured to produce the applications running on the JVM.

 


One web server / two application servers

In this example, the Beta application is running on cluster 1 (two application servers) and IHS (one web server).

 

This introduces some high availability capabilities. If application server "server 1" goes down, the application will still be able to be produces by application server "server 2".

 

 

This can also be done via the wsadmin command.

./wsadmin.sh -user your_username -password your_password -c "AdminApp.edit('your_ear', '[ -MapModulesToServers [[ your_app Example.war,WEB-INF/web.xml WebSphere:cell=your_cell,cluster=your_cluster+WebSphere:cell=your_cell,node=your_node-node,server=your_web_server ]]]' )"

./wsadmin.sh -user your_username -password your_password -c "AdminConfig.save()"

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 28d51 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |