|
|
YOUR FEEDBACK
SOA World Conference
Virtualization Conference $200 Savings Expire May 16, 2008... – Register Today! Did you read today's front page stories & breaking news?
SYS-CON.TV |
TOP THREE LINKS YOU MUST CLICK ON Application Server
Understanding WAS for z/OS
Sophisticated J2EE platform is different and powerful
By: Linfeng Yu
Jun. 7, 2005 04:00 PM
Digg This!
Page 1 of 2
next page »
WebSphere Application Server for z/OS is a comprehensive and sophisticated J2EE application server platform. It integrates with the IBM's zSeries portfolio of hardware and z/OS software assets and exploits the qualities of service of the platform such as close proximity to data, intense scalability, continuous availability, failover support, and stalwart security.
WebSphere for z/OS used to be a totally different product from WebSphere for distributed platforms before WebSphere V5. IBM has been trying hard to make them share the same code base since WebSphere V5. The products look quite similar now, but there are major differences in server architecture, installation, security, workload management, performance tuning, and problem determination. Many of the areas where they deviate let the z/OS version take advantage of qualities of service of the zSeries platform.
Defining Terms
WebSphere for z/OS Server Architecture On z/OS the server is split into different address spaces. Figure 2 shows the server architecture. There are two kinds of address spaces in the WebSphere for z/OS server: the controller and the servant. A controller region runs system-authorized programs and manages tasks such as communications for the server. A servant region is the address space equivalent to the server on a distributed platform that has a J2EE web container and an EJB container. WebSphere for z/OS server has only one control region. However it can have multiple servant regions. WebSphere for z/OS provides four types of servant regions: Normal, CPUBOUND, IOBOUND, and LONGWAIT. Each type of servant region was designed to handle different types of workloads. Client requests (including HTTP, MDB, IIOP, etc.) arrive at the control region, which has multiple types of listeners. After receiving the requests, it works with the z/OS workload manager (zWLM) to dispatch the work to the servant regions. All the servant regions in a WebSphere for z/OS server are identical and host the same J2EE application. The granularity of the J2EE application deployment is at the server level.
The WLM Difference zWLM lets organizations specify a set of work classification rules that identify all incoming requests. These rules can be established using a variety of business-oriented parameters that include transaction names or types, specific user names or user types and time of day. The user requests are classified by the classification rules. Each work unit is assigned a service class that represents a group of work with similar performance requirements expressed in terms of a service-level goal and relative business importance. For example, a user request is classified to a service class called CBFAST, which has as a performance goal that 80% of the work should be finished in 0.5 second. The importance of the service class is 3 (a number with a value of 1 to 5 specifies the priority of the work). Besides a factor of response time, service level goals can be expressed as execution velocity or discretionary. zWLM manages resources to meet the performance goals. If all performance goals can't be met, zWLM favors transactions and address spaces with the highest importance level. (If you want to know more about z/OS WLM, please refer to Resource 1.)
How Does the Server Work? When the control region starts, it connects to zWLM as a work manager. It defines the application environment that provides the start procedure name used to start the servant region. Whenever a client request arrives, the control region classifies the work request, associates it with a service class (defined in the zWLM policy), and creates an enclave for the request. Then the control region inserts the work request into the zWLM queue associated with the specified service class. At this point the application environment and the enclave token are sent to zWLM as input. When the first request is queued to an application environment, if zWLM detects that there's no active servant region exists it will automatically start one. As workloads fluctuate, zWLM adjusts the number of servant region address spaces to reach the defined performance goal. When a servant region starts up, it connects to the zWLM as well. It selects a work request from the specific zWLM queue and assigns it to a TCB (Java thread) for processing. At this point the TCB joins the enclave created by the control region. The enclave represents the client request processing start from the control region to the servant region and other subsystems such as DB2. Even the business logic written in a J2EE application only runs in the servant region. Since the enclave has been associated with a specific service class that's tied to a performance goal, zWLM manages the resources cross address spaces to meet the request process performance goal. Once the process finishes, the enclave is deleted. As you might guess all the client requests sent to a J2EE application are classified before they can be processed. The business logic in the application occurs in an enclave. zWLM doesn't treat workloads in WebSphere in a special way. Page 1 of 2 next page » WEBSPHERE LATEST STORIES . . .
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK BREAKING WEBSPHERE NEWS
|
|||||||||||||||||||||||||||||