博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
IBM WebSphere Extended Deployment
阅读量:4078 次
发布时间:2019-05-25

本文共 7010 字,大约阅读时间需要 23 分钟。

Welcome to the WebSphere Extended Deployment, Version 6.1Information Center

 

 

  • 书籍打开
    • 主题打开
  • 书籍已关闭
  • 书籍已关闭
  • 书籍已关闭
  • 书籍已关闭

  

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 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.


Related concepts
Related tasks

 Concept topic     


 |  

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

转载地址:http://ygjni.baihongyu.com/

你可能感兴趣的文章
C#控件集DotNetBar安装及破解
查看>>
Winform多线程
查看>>
C# 托管与非托管
查看>>
Node.js中的事件驱动编程详解
查看>>
mongodb管理与安全认证
查看>>
nodejs内存控制
查看>>
MongoDB 数据文件备份与恢复
查看>>
MongoDB数据库插入、更新和删除操作详解
查看>>
MongoDB文档(Document)全局唯一ID的设计思路
查看>>
mongoDB简介
查看>>
Redis持久化存储(AOF与RDB两种模式)
查看>>
memcached工作原理与优化建议
查看>>
Redis与Memcached的区别
查看>>
程序员最核心的竞争力是什么?
查看>>
linux CPU个数查看
查看>>
消息队列设计精要
查看>>
分布式存储系统设计(1)—— 系统架构
查看>>
MySQL数据库的高可用方案总结
查看>>
常用排序算法总结(一) 比较算法总结
查看>>
SSH原理与运用
查看>>