Powered By Blogger

Thursday, October 13, 2011

WebSphere Application Server concepts

Websphere is the product name of IBM.IBM has many products under the name websphere like WAS (websphere application server), Websphere MQ,websphere message broker,etc….
       WebSphere Application Server is a set of software tools that enables companies to build and manage J2EE applications. It handles web application requests , and allows the server to response to client requests

To familiar with Websphere you must have familiar with some terms.......

Application server

An application server extends the ability of an HTTP server to handle Web application requests, and allows a server to generate dynamic, customized responses to client requests.

Cell

A group of related nodes and their node agents constitute a cell. Administrators define the nodes that make up a cell according to criteria that is appropriate in their environment.

A cell contains a Deployment Manager from which all the administrative tasks for the nodes in that cell are handled. Deployment Manager for the cell has a master configuration repository that contains the configuration data for the nodes and servers within the cell. Configuration changes made at the cell level are propagated to the nodes and servers the next time synchronization occurs. Therefore, all configuration changes must be made at the cell level.

Although each node and server in a cell have their own local configuration files, configuration changes made at the node or server level are temporary and will be overlaid with the data from the cell repository maintained by the Deployment Manager.

Node and Node agent

A node is a logical grouping of WebSphere Application Server managed server processes that share common configuration control. A node usually corresponds to a physical computer with a distinct IP address. A node is normally associated with one physical installation of WebSphere Application Server. The node name is typically identical to the host name of the computer.

A node contains one or more application servers, XML configuration files, and an activated node agent. The node agent communicates with the cell's Deployment Manager to manage that set of servers on the node.

A WebSphere Application server will have one nodeagnet per one node. The node agent acts as a mediator between the Deployment manager and the node.

Deployment Manager

Deployment Manager is a special application server which manages the configuration of multiple application servers across multiple nodes in a cell. Deployment Manager includes an Administrative Console for implementing the configuration management.

It is also responsible for centralizing user repositories for application and also for webSphere authentication and authorization


How to Set SESSION TIMEOUT for an Application

 In the WebSphere Administrative Console:
                  Servers->Application Servers->WebSphere Portal ->Container Settings: Web Container Settings ->Session Management->Session Timeout -> Set Timeout



JVM INITIAL AND MAXIMUM HEAP SIZE

Servers-> Application Servers->WebSphere Portal->Server Infrastructure: Java and Process Management->ProcessDefinition->Java Virtual Machine


How to check WAS version

/opt/IBM/WebSphere/AppServer/bin/versionInfo.sh

To change the value of url(URL Redirection)

Open WASConsole
Resource --->Resource Environment--->
Resource environment providers--->WP ConfigService--->Custom properties--->
There u can c the URL'S

Setup WorkManager


  1. Log in to the WebSphere® administrative console.
  2. Click Resources > Asynchronous beans > Work managers.
  3. In the Scope list, select the server node for the InfoSphere Master Content server.
  4. Click New.
  5. Enter the following information:(NAME and JNDI NAME)
    Field nameValue
    Namemcs
    JNDI namewm/mcs
    DescriptionAny descriptive text, such as MCS work manager
    Maximum number of threads100
    Service namesSelect SecurityInternationalization, and WorkArea
  6. Save your configuration.