Tuesday, 20 May 2014

Websphere application server Clustering


Application server clusters: 
 
With Network Deployment, you can use application server clustering to enhance workload distribution. A cluster is a logical collection of application server processes that provides workload balancing and high availability. Application servers that belong to a cluster are members of that cluster and must all have identical application components deployed on them. Other than the applications that are configured to run on them, cluster members do not have to share any other configuration data.

Clustering is of two types:
  1. Vertical Cluster
  2. Horizontal Cluster
Vertical Cluster :
Application server of the Vertical Clusters can be located on single node
Horizontal Cluster
Application server's Horizontal Cluster can be located across multiple nodes or a combination of two cluster members. A cluster can span machine or LPAR boundaries and can span across operating systems with one exception.

i will elabrate this post later ASAP 

websphere Application serve node and nodegroup and nodeagent cells

Application servers, nodes, and cells:-

Application Servers:-

The application server is the primary runtime component in all configurations and is where an application actually executes. All WebSphere Application Server configurations can have one or more application servers. In the Express and Base configurations, each application server functions as a separate entity. There is no workload distribution or central administration among application servers. With Network Deployment, you can build a distributed server environment consisting of multiple application servers maintained from a central administration point. In a distributed server environment, you can cluster application servers for workload distribution.

Nodes, node groups, and node agents:-

A node is a grouping of application servers for configuration and operational management on one machine. Nodes are generally associated with a physical machine. It is possible to have multiple nodes on a single machine, but nodes cannot span machines. In a stand-alone application server environment, there is only one node. With Network Deployment, you can configure multiple nodes in a distributed server environment that are managed from one central administration server.

In centralized management configurations, each node has a node agent that works with the deployment manager to manage administration processes. The nodeagent is created under the covers when you federate a stand-alone node to a cell.

A node group is a grouping of nodes within a cell that have similar capabilities. A node group validates that the node is capable of performing certain functions.


Cells:-
A cell is a grouping of nodes into a single administrative domain. In the Base and Express configurations, a cell contains one node and that node contains one application server. 

In a distributed server configuration, a cell can consist of multiple nodes, which are all administered from a single point (the deployment manager). The configuration and application files for all nodes in the cell are centralized into a master configuration repository. This centralized repository is managed by the deployment manager and synchronized with local copies that are held on each of the nodes.

Federation:-
Federation is a kind of process to manage the deployment manager profile with either AppServer profile or Custom profile for administration. Once we add a node to the deployment manager we can create number of servers under that node. So, we can have a single point of administration and we can have a clustered environment. Without federation we cannot create the clusters. At the time of federation nodeagent will be created to communicate between deployment manager and the federated profile.

Servers:-
WebSphere Application Server supplies application servers, which provide the functions that are required to host applications and proxy servers that distribute work to the application servers. It also provides the ability to define external servers to the administration process.

Application servers provide the runtime environment for application code. They provide containers and services that specialize in enabling the execution of specific Java application components. Each application server runs in its own Java Virtual Machine (JVM).




Creating distributed server configuration environment one of three ways using the websphere application server


  1. Create a deployment manager profile to define the deployment manager. Then create one or more custom node profiles to be federated as nodes into the cell managed by the deployment manager. The custom nodes can exist on the deployment manager machine or on multiple separate machines. Application servers can then be created using the administrative tools, for example the administrative console.

  2. Create a deployment manager profile to define the deployment manager. Then create one or more application server profiles and federate these profiles into the cell managed by the deployment manager. This process adds both nodes and application servers into the cell. The application server profiles can exist on the deployment manager machine or on multiple separate machines.

  3. Create a cell profile. This actually creates two profiles: a deployment manager profile and a federated application server profile. Both reside on the same machine.

Websphere Applicaiton Server Profile


 

Profile:-

A Profile is nothing but an environment where we can do administrative activities on Applications and Servers. Once we create a profile we will get a Cell, Node and Servers where we can provide runtime environment for the J2EE Applications. Profile provides administrators to have multiple Application Servers on single machine. In WebSphere Express and Base packages we can create only one type of profile i.e. Application Server profile and WebSphere ND package we have different profiles:

1. Application Server Profile
2. Deployment Manager Profile
3. Custom Profile 
4.Cell Profile

WebSphere Application Server




WebSphere Application Server6.1 is middleware software provided by IBM. It is a platform on which Java-based business applications run. It provides services like database connectivity, threading, workload management, and so on that can be used by the business applications. 







With Network Deployment, you can build a distributed server configuration, which enables central administration, workload management, and failover. In this environment, you integrate one or more application servers into a cell that is managed by a deployment manager. With a distributed server configuration, you can create multiple application servers to run unique sets of applications and then manage those applications. Applications that you install in the cluster are replicated across the application servers. When one server fails, another server in the cluster continues processing

Applicaiton Server's for J2EE application's




Welcome to the Application Server's for J2EE applications

This blog am writing about best application server for j2ee application’s and how we are going to use the application server for application’s and diffrence’s about the application server . 

Am sharing the my best knowledge about the application server 
 
  • Websphere application server 
  • Web logic
  • JBoss