`

IBM WebSphere Extended Deployment

阅读更多

Welcome to the WebSphere Extended Deployment, Version 6.1Information Center

http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1/index.jsp?topic=/com.ibm.websphere.gridmgr.doc/info/scheduler/ccgtws.html

 

 

  

http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1/index.jsp?topic=/com.ibm.websphere.gridmgr.doc/info/scheduler/ccgtws.html

Tivoli Workload Scheduler

 

WebSphere Extended Deployment Compute Grid, Version 6.1
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS


Understanding the integration of an external workload scheduler and WebSphere Extended Deployment

Many customers already use an external workload scheduler to manage batch workloads on z/OS. While Java batch executed inside a WebSphere Application Server environment is attractive, a way to control WebSphere Compute Grid jobs through an external workload scheduler is important.

Understanding Compute Grid applications

Compute Grid is a component of WebSphere Extended Deployment Version 6.1 that provides a complete enterprise Java batch programming solution. It includes a concise, yet powerful, Plain Old Java Object (POJO) based programming model, simple packaging and deployment model, full-feature job control language, sophisticated job scheduler, robust execution environment, and comprehensive workload management and administrative tools. These all combine to make WebSphere Extended Deployment Compute Grid the most complete Java batch solution available today.

As the following image shows, a batch job is a series of program executed in the background under control of a job manager. Each program consumes zero, one or more input data sources and produces zero, one or more output data sinks. The z/OS operating system is an example of a mature batch job processing environment. WebSphere Extended Deployment Compute Grid generalizes this processing model and make it available in a WebSphere/Java 2 Enterprise Edition (J2EE ) environment.


Job process

A WebSphere Extended Deployment Compute Grid application is a POJO class that implements a batch interface and is invoked by the WebSphere Extended Deployment batch container. It has access to container services that expose batch data streams (BDS), which represent data sources and sinks. Typically, the purpose of such an application is to perform bulk operations on a large set of records. A job definition describes a series of steps, where each step invokes a batch POJO. The job definition describes both the order of step execution and the batch data streams that are inputs/outputs and are used by each step.

A Compute Grid job executes inside a WebSphere Application Server in a special container called the batch container, as shown in the following image:


Batch container

xJCL file - job definition

The job definition is described by a special xJCL file, which is an XML-based job control language. An xJCL file is submitted to the WebSphere Extended Deployment job scheduler, which then dispatches the job represented by that xJCL file to a WebSphere Application Server that hosts the POJOs that comprise the target application. Inside the WebSphere Application Server, the batch container creates a managed thread, called an asynchronous bean, to process the job. The asynchronous bean processes the job by invoking the POJO identified by each job step, starting with the first step , then the second, as so on. The POJO invoked by each step has access to the input and output batch data streams described by the job definition (the xJCL file).

The POJO typically processes many input records and produces many output records. Since the POJO executes inside the WebSphere Application Server, it has full access to both the J2EE programming model, as well as to all WebSphere Application Server services, such as transaction and connection management. It can invoke other Web and J2EE services locally for efficiency.

External scheduler integration

Since an external scheduler does not know how to directly manage WebSphere Extended Deployment jobs, a proxy model is used. The proxy model uses a regular JCL job to submit and/or monitor the WebSphere Extended Deployment job. The JCL job step invokes a special program provided by WebSphere Extended Deployment, named WSGRID. The WSGRID application submits and monitors a specified WebSphere Extended Deployment job. WSGRID writes intermediary results of the job into the JCL job’s joblog. WSGRID does not return until the underlying job is complete, thereby providing a synchronous execution model. Since the external scheduler can manage JCL jobs, it can manage a JCL job that invokes WSGRID. Using this pattern, the external scheduler can indirectly manage a job. An optional plugin interface in the job scheduler enables a user to add code that updates the external scheduler operation plan to reflect the unique state of the underlying job, such as job started, step started, step ended, job ended. The WSGRID program is written with special recovery processing so that if the JCL job is cancelled, the underlying job is cancelled also, thus ensuring synchronized lifecycle of the two jobs.

[For z/OS operating system] The following diagram shows the job control by an external workload scheduler for the z/OS platform environment. In this diagram, the Tivoli Workload Scheduler (TWS) is shown as an example workload scheduler.


Job control on the z/OS platform by an external workload scheduler

[For distributed platforms] The job control for distributed platforms is similar, as shown in the following diagram, with the exception that the Job Entry Subsystem (JES) is not required for the distributed platforms.


Job control for the distributed platforms by an external workload scheduler

Many customers already use TWS to manage batch workloads on the z/OS platform. While Java batch executed inside a WebSphere Application Server environment is attractive, a way to control the WebSphere Extended Deployment Compute Grid jobs through TWS is needed. Since TWS does not know how to directly manage WebSphere Extended Deployment jobs, a proxy model is used. The proxy model uses a regular JCL job to submit/monitor the WebSphere Extended Deployment job. The JCL job step invokes a special program provided by WebSphere Extended Deployment, called the WSGrid utility. See the The WSGrid command-line utility .

The WSGrid application submits and monitors a specified WebSphere Extended Deployment job. WSGrid writes intermediary results of the WebSphere Extended Deployment job into the JCL job’s job log. WSGrid does not return until the underlying WebSphere Extended Deployment job is complete, thereby providing a synchronous execution model. Since TWS can manage JCL jobs, it can manage a JCL job that invokes WSGrid. Using this pattern, TWS can indirectly manage an WebSphere Extended Deployment job.

An optional plugin interface in the WebSphere Extended Deployment job scheduler enables a user to add code that updates the TWS operation plan to reflect the unique state of the underlying WebSphere Extended Deployment job, such as job started, step started, step ended, job ended. The WSGrid program is written with special recovery processing so that if the JCL job is cancelled, the underlying WebSphere Extended Deployment job is cancelled also, thus ensuring synchronized lifecycle of the two jobs.




 Concept topic     


Terms of Use | Feedback 

Last updated: Feb 25, 2010 4:02:31 PM EST 
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1/index.jsp?topic=/com.ibm.websphere.gridmgr.doc/info/scheduler/ccgtws.html

 

end

分享到:
评论

相关推荐

    Prentice.Hall.PTR.IBM.WebSphere.Deployment.and.Advanced.Configuration.Aug.2004.eBook-DDU.chm-2

    Prentice.Hall.PTR.IBM.WebSphere.Deployment.and.Advanced.Configuration.Aug.2004.eBook-DDU.chm

    WAS 8.5新特性之动态集群功能

    IBM WebSphere Extended Deployment Operations Optimization V6.1(以下简称 WXD Operations Optimization V6.1)的推出正好满足了企业的这种需求。WXD Operations Optimization V6.1 为企业提供了一系列的工具来...

    IBM WebSphere MQ 安装包

    【IBM WebSphere MQ安装包详解】 IBM WebSphere MQ,前身为IBM MQSeries,是IBM公司推出的一款企业级的消息中间件产品。它在信息技术领域扮演着至关重要的角色,为跨网络、操作系统和应用程序提供了高效、安全的...

    IBM WebSphere MQ 技术白皮书.doc

    IBM WebSphere MQ 技术白皮书 IBM WebSphere MQ 技术白皮书是 IBM 公司发布的一份技术白皮书,旨在介绍 IBM WebSphere MQ 产品的技术特性、架构和价值。下面是根据白皮书的内容生成的相关知识点。 概述 在概述...

    IBM WebSphere MQ入门教程.pdf

    IBM WebSphere MQ入门教程 IBM WebSphere MQ 是一种基于消息队列的中间件,用于实现不同的应用程序之间的异步通信。下面是对 IBM WebSphere MQ 的入门教程的总结,涵盖了 WebSphere MQ 的原理、体系结构、重要特点...

    IBM 提高IT响应性和效率

    ### IBM WebSphere Extended Deployment:提升IT响应性和效率的关键技术 #### 概览 在当今瞬息万变的商业环境中,企业面临着既要满足不断变化的客户需求又要优化IT投资回报的重大挑战。为了实现这一目标,企业需要...

    IBM WebSphere Application Server 6.1 for Linux安装步骤

    安装 WebSphere 6.1 需要使用 launchpad.sh 脚本,选择启动 IBM WebSphere Appliation Server Network Deployment 的安装向导。在安装过程中,需要选择安装单元,包括 Deployment Manager 和受管节点。在安装完成后...

    IBM Websphere Portal Primer

    The dictionary defines a portal as a grand or imposing door or entrance; hence, that picture on the cover. In this book, you will learn why the word portal has become a major buzzword in the world of ...

    IBM WebSphere 认证配套实验帮助文档

    ### IBM WebSphere 认证配套实验帮助文档知识点详解 #### 一、背景介绍与文档概述 IBM WebSphere 是一款由IBM公司开发的企业级应用服务器,主要用于支持Java EE应用程序的部署和运行。IBM WebSphere 认证是业界...

    IBM WebSphere 认证的教材

    IBM WebSphere 是一款全球领先的业务基础架构平台,用于构建、部署和管理企业级应用程序。它为企业提供了一个集成的环境,支持跨多个系统进行应用程序开发、运行和管理。在这个"IBM WebSphere 认证的教材"中,我们...

    IBM WebSphere Portal Express配置文档

    - IBM WebSphere Application Server Network Deployment - IBM Lotus Component Designer - IBM WebSphere Portlet Factory Runtime - IBM Lotus Sametime Connect - IBM Tivoli Directory Server #### 三、安装与...

    通向架构师的道路(第十五天)IBM Websphere的安装与优化.docx

    这些产品在安装时需要将 IBM Websphere Application Server 或者是 IBM Websphere Application Server Network Deployment(WASND)先安装在服务器上。 IBM Websphere 是一种强大的企业级应用服务器,需要注意安装和...

    IBM.WebSphere.Deployment.and.Advanced.Configuration

    WebSphere Deployment and Advanced Configuration

    IBM WebSphere DataStage v8.1 中文文档

    IBM Information Server FastTrack, IBM WebSphere® Business Glossary, IBM Information Server Business Glossary Anywhere, IBM WebSphere DataStage®, IBM WebSphere Information Analyzer, IBM WebSphere ...

    IBM webSphere 认证试题

    ### IBM WebSphere 认证知识点解析 #### 一、IBM WebSphere 认证概述 IBM WebSphere 是一款高性能的企业级应用服务器,它提供了强大的中间件功能,包括事务处理、消息传递、安全性和集群管理等,适用于构建和部署...

    IBM WebSphere MQ安装使用教程详细图解

    【IBM WebSphere MQ安装使用教程详细图解】 IBM WebSphere MQ,简称MQ,是一款由IBM提供的消息中间件,它允许应用程序之间可靠地交换信息,无论它们位于何处或使用何种操作系统。本教程旨在指导用户在Windows系统上...

    IBM WebSphere Commerce backend dev

    【标题】:“IBM WebSphere Commerce 后端开发” 【描述】:尽管描述中没有提供具体信息,但根据“backend dev”这一关键词,我们可以推断本文将聚焦于IBM WebSphere Commerce平台的后端开发实践和技巧。IBM ...

    Java下操作IBM Websphere MQ的项目案例

    在IT行业中,IBM WebSphere MQ(也称为IBM MQ)是一种广泛使用的中间件,它允许应用程序在不同的网络协议、操作系统和硬件之间可靠地交换消息。在这个“Java下操作IBM Websphere MQ的项目案例”中,我们将探讨如何...

Global site tag (gtag.js) - Google Analytics