?· Publications Full details of Tivoli Workload Automation publications can be found in Tivoli Workload…

  • View
    212

  • Download
    0

Embed Size (px)

Transcript

  • Workload SchedulerVersion 8.6

    Scheduling Workload Dynamically

    SC23-9856-02

  • Workload SchedulerVersion 8.6

    Scheduling Workload Dynamically

    SC23-9856-02

  • NoteBefore using this information and the product it integrations, read the information in Notices.

    This edition applies to version 8 release 6 of IBM Tivoli Workload Scheduler (program number 5698-WSH) and toall subsequent releases and modifications until otherwise indicated in new editions.

    This edition replaces SC23-9856-01.

    Copyright IBM Corporation 2009, 2011.US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contractwith IBM Corp.

  • Contents

    Figures . . . . . . . . . . . . . . . v

    Tables . . . . . . . . . . . . . . . vii

    About this guide . . . . . . . . . . . ixWhat is new in this release . . . . . . . . . ixWhat is new in this publication . . . . . . . . ixWho should read this publication . . . . . . . ixPublications . . . . . . . . . . . . . . xAccessibility . . . . . . . . . . . . . . xTivoli technical training. . . . . . . . . . . xSupport information . . . . . . . . . . . . x

    Chapter 1. Understanding dynamicworkload scheduling . . . . . . . . . 1Interfaces . . . . . . . . . . . . . . . 2Authorization and roles. . . . . . . . . . . 3

    Managing users and roles . . . . . . . . . 5Authorization with WebSphere global security . . 6

    Adding dynamic scheduling capabilities to yourenvironment . . . . . . . . . . . . . . 7

    Advantages of job types with advanced options . 8Creating job types with advanced options . . . 10Return codes . . . . . . . . . . . . . 10Promoting jobs scheduled on dynamic pools . . 11Adding dynamic capabilities to existing TivoliWorkload Scheduler jobs . . . . . . . . . 11A business scenario on dynamic capability . . . 12

    A business scenario. . . . . . . . . . . . 13The business . . . . . . . . . . . . . 13The challenge. . . . . . . . . . . . . 13The solution . . . . . . . . . . . . . 14

    Chapter 2. Using Tivoli WorkloadScheduler variables in dynamicworkload broker jobs . . . . . . . . 21

    Chapter 3. Using variables in jobs . . . 25

    Chapter 4. Defining affinityrelationships . . . . . . . . . . . . 27

    Chapter 5. Creating Tivoli WorkloadScheduler jobs managed by dynamicworkload broker. . . . . . . . . . . 29

    Chapter 6. Monitoring and cancelingjobs . . . . . . . . . . . . . . . . 31

    Chapter 7. Identifying the resources forjobs . . . . . . . . . . . . . . . . 33Checking physical resources on computers . . . . 34

    Creating logical resources. . . . . . . . . . 36Creating resource groups . . . . . . . . . . 38

    Chapter 8. Writing JSDL definitionswith the Job Brokering DefinitionConsole . . . . . . . . . . . . . . 41Job definitions . . . . . . . . . . . . . 43Resources in the job definition . . . . . . . . 47Using variables in job definitions . . . . . . . 51Using JSDL job definition templates . . . . . . 51Scenarios for creating job definitions . . . . . . 54

    Scenario: Creating a job definition using acomputer resource group . . . . . . . . . 55Scenario: Creating a job definition using a logicalresource group . . . . . . . . . . . . 55Scenario: Creating a job definition for a job torun on x86 processors . . . . . . . . . . 56Scenario: Creating a job definition for a script torun on a specific operating system. . . . . . 58Scenario: Alternative operating systemrequirements . . . . . . . . . . . . . 59

    Chapter 9. Submitting and trackingjobs . . . . . . . . . . . . . . . . 61Submitting jobs with affinity relationships . . . . 61

    Submitting a job with affinity from the commandline . . . . . . . . . . . . . . . . 61

    Submitting jobs with variables . . . . . . . . 62Submitting a job with variables from thecommand line . . . . . . . . . . . . 62

    Job statuses . . . . . . . . . . . . . . 62Monitoring submitted jobs . . . . . . . . . 63

    Chapter 10. Using the command lineinterface . . . . . . . . . . . . . . 67Command-line configuration file . . . . . . . 68exportserverdata command - downloading the listof workload broker instances from the database . . 71importserverdata command - uploading the list ofworkload broker instances to the database . . . . 73jobsubmit command - Submitting jobs . . . . . 74jobquery command - Performing queries on jobs . . 76jobdetails command - Viewing details on jobs . . . 80jobcancel command - Canceling jobs . . . . . . 82jobstore command - Managing job definitions . . . 83jobgetexecutionlog command - Viewing job output 85movehistorydata command - Maintaining thedatabase tables . . . . . . . . . . . . . 86resource command - Working with resources . . . 88

    Using the resource command from an agent . . 96

    Notices . . . . . . . . . . . . . . 97Trademarks . . . . . . . . . . . . . . 98

    Copyright IBM Corp. 2009, 2011 iii

    ||

    ||||||||||||||||

  • Index . . . . . . . . . . . . . . . 101

    iv IBM Tivoli Workload Scheduler: Scheduling Workload Dynamically

  • Figures

    1. Resource requirements for the Inventory itemupdate job . . . . . . . . . . . . . 16

    2. Matching resources for the day-end jobs 17

    3. Optimization instructions for a job . . . . . 184. Computer Search Results page . . . . . . 365. Job Brokering Definition Console main page 46

    Copyright IBM Corp. 2009, 2011 v

  • vi IBM Tivoli Workload Scheduler: Scheduling Workload Dynamically

  • Tables

    1. Authorized operations by user groups . . . . 42. Tivoli Workload Scheduler roles. . . . . . . 63. Dynamic workload broker roles. . . . . . . 64. Day-end jobs and requirements . . . . . . 155. Supported Tivoli Workload Scheduler variables

    in JSDL definitions. . . . . . . . . . . 21

    6. Status mapping between dynamic workloadbroker and Tivoli Workload Scheduler . . . 31

    7. Resource types and properties . . . . . . 428. Resource types and properties . . . . . . 479. Job statuses and supported operations . . . 62

    10. Dynamic workload broker commands. . . . 67

    Copyright IBM Corp. 2009, 2011 vii

  • viii IBM Tivoli Workload Scheduler: Scheduling Workload Dynamically

  • About this guide

    Provides an overview of the guide, with information about changes made to itsince the last release, and who should read it. It also supplies information aboutobtaining resources and support from IBM.

    This guide explains how to dynamically allocate resources to run your workloadusing the services of the dynamic workload broker component of Tivoli WorkloadScheduler.

    Dynamic workload broker is an on-demand scheduling infrastructure whichprovides dynamic management of your environment.

    What is new in this releaseProvides information about things that have changed in the product since the lastrelease.

    For information about the new or changed functions in this release, see TivoliWorkload Automation: Overview, SC32-1256.

    For information about the APARs that this release addresses, see the TivoliWorkload Scheduler Download Document at http://www.ibm.com/support/docview.wss?rs=672&uid=swg24027501, and Dynamic Workload ConsoleDownload Document at http://www.ibm.com/support/docview.wss?rs=672&uid=swg24029125.

    What is new in this publicationThe following section has been added or modified since version 8.5.1:

    Adding dynamic scheduling capabilities to your environment on page 7 explainshow you can add dynamic scheduling capabilities to your environment to scheduleboth existing Tivoli Workload Scheduler jobs and job types with advanced options.

    Who should read this publicationDescribes the type of user who should read the documentation.

    This guide is intended for administrators responsible for defining user roles andperforming high-level tasks and for operators responsible for creating andsubmitting jobs.

    Readers should be familiar with the following topics:v Working knowledge of IBM Tivoli Workload Schedulerv PC and UNIX operating systemsv Graphical and command line interfaces

    Copyright IBM Corp. 2009, 2011 ix

    |

    |

    |||

    http://www.ibm.com/support/docview.wss?rs=672&uid=swg24027501http://www.ibm.com/support/docview.wss?rs=672&uid=swg24027501http://www.ibm.com/support/docview.wss?rs=672&uid=swg24029125http://www.ibm.com/support/docview.wss?rs=672&uid=swg24029125

  • Publications

    Full details of Tivoli Workload Automation publications can be found in TivoliWorkload Automation: Publications. This document also contains information aboutthe conventions used in the publications.

    A glossary of terms used in the product can be found in Tivoli Workload Automation:Glossary.

    Both of these are in the Information Center as separate publications.

    AccessibilityAccessibility features help users with a physical disability, such as restrictedmobility or limited vision, to use software products successfully. With this product,you can use assistive technologies to hear and navigate the interface. You can alsouse the keyboard instead of the mouse to operate all features of the graphical userinterface.

    For full information with respect to the Dynamic Workload Console, see theAccessibility Appendix in the Tivoli Workload Scheduler: User's Guide and Reference,SC32-1274.

    Tivoli technical trainingFor Tivoli technical training information, refer to the following IBM TivoliEducation Web site:

    http://www.ibm.com/software/tivoli/education

    Support information

    If you have a problem with your IBM software, you want to resolve it quickly. IBMprovides the following ways for you to obtain the support you need:

    OnlineGo to the IBM Software Support site at http://www.ibm.com/software/support/probsub.html and follow the instructions.

    IBM Supp

Recommended

View more >