|
Softpanorama |
May the source be with you, but remember the KISS principle ;-)
Softpanorama Search
|
IBM Tivoli Workload Scheduler (TWS ) is a legacy job scheduler that was the result of acquisition and only formally belongs to Tivoli family. Brooks used to says that the most important aspect of the design of a system is to ensure its conceptual integrity i.e. a consistent set of design ideas. This is clearly lacking in Tivoli in general and TWS in particular. Remember the old tale that some computer billionaire had a sign on his wall saying: "Price! Service!! Quality!!! Pick any 2." It looks like you can sell a lot of stuff with just "Service" ;-)
TWS is quite an old product -- approximately 25 years old, originating around 1985. It provides unattended background executions of scripts ( batch processing ) in multiple, preferably not very compatible, environments. TWS functionality generally corresponds to Unix cron with several important for enterprise environment enahncements, which are now pretty common in any enterprise job scheduler worth its name. Centralized job repository and push mechanism for jobs to reach client is not integrated into TWS and need separate Tivoli component for implementation (TCM or TPM).
You probably need to have at least three distinct environment for TWS make sense (Unix, Windows plus mainframes and/or AS400 line). For just two environments (Unix+Windows) it is an generally overkill unless you have a large number of machines, located on several continents and a plush IT budget. Which this time means you are either Fortune 1000 corporation or a financial institution or government ;-) For smaller environments a simpler, more modern solutions would be a better deal. For example Open Source Job Scheduler . See also Job schedulers. Tha point is that for smaller, single datacenter environments return on investment is probably negative. This particularly due to the fact that you cannot license this product alone for any large deployment. In Classic Tivoli you usually need to license TEC and TCM with TWS, while in "New Tivoli", you need, at minimum ITM 6.x and TPM 5.1 as well as, probably, Netcool for non-trivial correlation tasks, if any. That adds to the costs, especially maintenance costs.
It goes without saying that it does not make much sense to use TWS for pure Unix environment unless this is a very large (let's say over 10K machines) environment with several datacenters preferably distributed over multiple time zones. TWS was not created for this environment and does things in a way that are un-natural for Unix administrators.
TWS 8.5 provides pretty sophisticated way to schedule jobs including "on event" job invocation important for such situation as exceeding threshold of used disk space in a partition and like. But the real return on investment here is questionable as many of those things with much less effort can be accomplished by using "scripting envelopes" for jobs. In reality, too complex scheduling is a self-defeating exercise as excessive complexity always backfire. The top complexity that one probably can adopt is "critical path scheduling" when you distinguish jobs on so called critical path (and they are sequential) and peripheral jobs which can run in parallel to critical path jobs and which in case of failure can be rerun, replaced with other jobs or just ignored.
One of the key attractions of TWS in large enterprise environment is high level of tech support IBM provides ( but see some additional remarks below). Another attraction is high scalability: the maximum number of workstations in a single TWS network is 100K (IBM2009). At the same time this is not a big problem for schedulers in general as the amount of work performed per task is not large and is comparable with mail server processing per one email.
On the negative side, the product is pretty archaic, complex and counterintuitive to manage and really smells 1970th. While formally it belongs to Tivoli line it has nothing to do with classic Tivoli. It is a separately bought product and integration with TEC is very superficial and architecturally weak. TWS also uses a separate client-side agents (with the most common called fault tolerant agents -- FTA; essentially replicas of "mothership" TWS without graphical interface) which are not integrated with classic Tivoli framework agent.
Also key features of framework related to job scheduling are completely ignored (ability to distribute scripts to endpoints (central repository option), event based invocation of scripts (it was introduced only in 8.4 using independent and conceptually different implementation).
Documentation is horrible even by IBM standards. Those giants manages to make it considerably worse from version 8.2 to version 8.5 to the extent that some simple concepts are completely incomprehensible in version 8.5. This is real masterpiece of technical nonsense, perfect example of how not to write technical documentation. What is really amazing is that the quality is pretty even, so they manage to screw all (yes all) documentation to TWS 8.5 to the level of dirty joke. TWS 8.2 documentation is also bad but it is definitely better written then documentation to TWS 8.5. Just compare explanation of how to create the first production plan in TWS 8.2 and TWS 8.5 documentation and you will understand the difference.
Some Redbooks are OK and provide some reasonable insight into the system. They are actually better starting point then documentation. See Documentation/Redbooks
Versions 8.3-8.5 use IBM Embeddable Websphere Application Server (in case of TWS 8.5 this is embeddedEXPRESS 6.1.0.19) which is a pretty complex and rather fragile product. It is different enough from standard Websphere Base Server to course huge headache in case the installation fails (and it can if, for example, you do not patch AIX server -- Java crash) but you can run TWS using standard Websphere v.6 as well and that might be a better solution. Unless successful from the first try, installation quickly becomes a real mess in case of failure of one of the component:
For all practical purposes installation requires close communication with IBM support (or external consultant) and the problems aggravated by the fact that for some reason TWS support is not that helpful and is somewhat weaker then support for other Tivoli products such as Framework and TEC. In case of multiple failures installation of TWS on some platforms like AIX 5.3 becomes a very interesting exercise, kind of patience training in disguise ;-). You can and will spend days, possibly weeks, studying manuals and searching the web just to get the simplest initial setup work. For most large multinational organization that can benefit from TWS this is not a problem but I would warn small and medium size firms who for some reason believe in IBM marketing.
TWS executes batch file on remote servers that have FTA agents. Monitoring job completion status was first implemented via TEC but now also be done via Candle (ITM 6.x) without Tivoli framework. That can save large organizations some money as TWS + Candle maintenance is almost twice cheaper than TWS+TMF+TEC+ITM.
It is important to understand that IBM Tivoli Workload Scheduler does not belong to the original Tivoli product line. It is rebranded and modified product called Unison Maestro . It was developed by Unison Inc, the company that has office in Austin close to Tivoli. Unison Software, Inc. was incorporated in California in 1980 and reincorporated in Delaware in July 1995. The Company's principal executive office were located in Santa Clara. Stock was traded on the Nasdaq under the symbol "UNSN."Founded in 1979, Unison was one of the leading players in systems management for the Hewlett-Packard marketplace and later, in 1993, has moved into the Unix market. At peak Unison has had approximately 350 customers of Maestro for Unix. Among them were The Prudential, Home Depot, Northern Telecom, Nike Securities, Signet Bank, and Weyerhaeuser. Unison was first bought by Tivoli and then passed to IBM with the acquisition of Tivoli line.
Unison Maestro was a tool for managing batch processing jobs in a distributed computing environment. Maestro was originally released for pretty obscure system, the HP3000, in 1985. So initially it did not have Unix pedigree and as such is a second rate product both conceptually and quality of implementation wise. Maestro was first released for UNIX in 1993 and for Windows NT in 1996. Even now conman (command line interface for TWS) uses very strange notation for primitive regular expressions:
When IBM acquired Tivoli in 1996, the product was renamed IBM Tivoli Workload Scheduler. It was an expensive system: pricing for Unix started at $8K for the first system. It remains pretty expensive in IBM hands. I think it is the second most expensive enterprise solution after CA Unicenter. Your mileage may very.
There is no any exiting ideas in Maestro. Maestro's architecture is based on a classic scheme: central sever which monitors and control planned and ad hoc batch jobs on clients. Each client generally should have an agent installed (it is possible to run jobs via SSH to rsh but this is not a typical deployment mode).
There is a low quality, confusing Java-based GUI called Job Scheduling Console which (after some training to overcome idiosyncrasies) permits for the administrator to create jobs and specifies rules by which jobs are scheduled (e.g., every payday), specify job sequences (some jobs may have to follow certain other jobs) or other constrains (certain jobs cannot run at the same time or only so many jobs can run at one time). It was created an after though and that shows (original TWS used command line scheduling which still remain a preferable mode). The job constrains specification language is ad hoc but pretty capable.
Maestro provides some degree of fault tolerance by having the ability to fall over to the second, reserve instance. Also FTA agents on nodes are capable of running already scheduled jobs regardless of the availability of the "mothership".
The unit of planning in Maestro is a batch job, which is basically a script written in shell, Perl or other scripting language. Job can have dependencies. In this case it starts running as soon as all of its dependencies are satisfied. If a job ends in error, TWS can handle the recovery process.
TWS is composed of three major parts:
A Tivoli Workload Scheduler network is made up of two main components:
The workstation types can assume the following roles:
Connector. The Job Scheduling Console connects to the engines through the Job Scheduling Services and the relevant connector. The Job Scheduling Console communicates with the system through so called Connector, a protocol converter that translates the instructions entered through the Job Scheduling Console into scheduler commands.
The following four terms are frequently used in TWS documentation:
TWS uses pretty obsure terminology
- Note: If a job stream is defined on a workstation class, each job added to the job stream must be defined either on a single workstation or on the exact same workstation class that the job stream was defined on.
Lists
Lists are filters that allow objects in the database and in the plan to be filtered. There are standard default lists available in the Job Scheduling Console, or you can create lists that are specific to your needs.
Database
The scheduler database stores scheduling object definitions. Examples of common scheduling object definitions are:
- Workstations
- Resources
- Job Streams
To start the Job Scheduling Console.
| On this platform ... | In the ..\bin\java subdirectory of the installation path ... |
|---|---|
| Microsoft Windows NT(R), 2000, XP | Enter NTconsole, or double-click the Job Scheduling Console icon on the Windows Desktop, or from the Start menu, if created at installation time. |
| AIX(R) | Enter . /AIXconsole.sh or use the shortcut icons, if created at installation time. |
| SUN Solaris | Enter . /SUNconsole.sh or use the shortcut icons, if created at installation time. |
| HP-UX | Enter . /HPconsole.sh or use the shortcut icons, if created at installation time. |
| Linux | Enter . /LINUXconsole.sh or use the shortcut icons, if created at installation time. |
These commands can be used to check your Framework environment.
| This command ... | Performs this function ... |
|---|---|
| wlookup -ar ProductInfo | Lists the products installed on the Tivoli server. |
| wlookup -ar PatchInfo | Lists the patches installed on the Tivoli server. |
| wlookup -ar OPC Engine wlookup -ar Maestro Engine |
Lists the instances of this class type (same for
the other classes). Examples:
barb 1318267480.2.19#OPC::Engine# barb 1318267480.2.19#Maestro::Engine#The number before the first period (.) is the region number and the second number is the managed node ID (1 is the Tivoli server). The whole numeric string is the object ID. In a multi-Tivoli environment, you can determine where a particular instance is installed by looking at this number because all Tivoli regions have a unique ID. |
| wuninst -list * | Lists all the products that can be uninstalled. |
| wuninst {ProductName} -list * | Lists the managed nodes where a product is installed. |
| wuninst -a * | Lists all products and patches |
|
|||||||
The following error is received when you run conman on Linux:/twsul631/maestro/bin/conman: error while loading shared libraries: libstdc++-libc6.1-2.so.3: cannot open shared object file: No such file or directory
Answer
To run Tivoli Workload Scheduler on Linux, you need to ensure that certain Linux libraries are on your system. These libraries are not distributed with Tivoli Workload Scheduler (TWS) but must be obtained from your Linux provider. Depending upon your Linux vendor, the version of Linux you are using, and the architecture of your system, these libraries can be obtained in a variety of ways.
NOTE: libstdc++.so.6 is no longer used by Tivoli Workload Scheduler applying FP2, libstdc++.so.5 is used instead. This means that libstdc++.so.5 must be installed from official RPM for RHEL 3 or compatibility (official) RPM for RHEL 4 and SLES 9 if not already present.
A description of the methods to locate and install these libraries follows:
o Red Hat Enterprise Linux, versions 3 and 4, and SuSe Linux Enterprise Server, version 9
1. Search the media on which your copy of Linux was provided to you for the relevant library listed below. The libraries to locate are:
libstdc++-libc6.1-2.so.3
libstdc++.so.5
libgcc_s.so.1
or their most recent compatible version.
TWS v8.5 : No Fix Packs are yet available for this version of TWS as of 30 September, 2009. This document will be updated when the first Fix Pack is released. (Date to be determined.)
TWS v8.4 : (The latest Fix Pack as of 30 September, 2009 is 8.4.0-TIV-TWS-FP0004)
TWS v8.3: (The latest Fix Pack as of 30 September, 2009 is 8.3.0-TIV-TWS-FP0007)
NOTE: It is highly recommended to apply the same level or higher of the Job Scheduling Console (JSC) version 8.3 or v8.4 Fix Pack as your Master's engine Fix Pack level. In some cases, the Fix Pack provided for the TWS engine will not have a corresponding Fix Pack for the JSC. Ensure that you have the highest level of the JSC Fix Pack that is available.
JSC v8.4 : (The latest Fix Pack as of 30 September, 2009 is 8.4.0-TIV-TWSJSC-FP0003)
JSC v8.3 : (The latest Fix Pack as of 30 September, 2009 is 8.3.0-TIV-TWSJSC-FP0006)
NOTE: This is compatible with TWS v8.3 engine with Fix Pack 07 installed.)
NOTE: It is highly recommended to apply the same level or higher of the Tivoli Dynamic Workload Console (TDWC) version 8.4 or 8.5 Fix Pack as your Master's engine Fix Pack level.
TDWC v8.4 (The latest Fix Pack as of 30 September, 2009 is 8.4.0-TIV-TDWC-FP0003)
TDWC v8.5 (The latest Fix Pack as of 27 March, 2009 is 8.5.0-TIV-TDWC-FP0001)
IBM Tivoli Support Technical Exchange (STE) web seminars
Extend your technical skills and knowledge of your IBM Tivoli products by participating in free Tivoli Support Technical Exchange web seminars (STE). This highly technical web seminar series is brought to you by IBM Software Services for Tivoli. STE web seminars cover a wide variety of technical topics from advanced product usage to deployment, integration, trouble shooting and tips and tricks. Only the best subject matter experts from Tivoli Support, Services, Training and Development are asked to develop and host these sessions so you will have ample opportunity to ask questions or discuss technical issues with the most knowledgeable experts IBM has to offer. Many new seminars are offered every month so be sure to look for topics of interest on a regular basis. Most sessions are 1 to 2 hours in length.
For web conference and call in details click on STEA library of over 2 years of recorded Support Technical Exchange web seminars is also available on the same page.
Forthcoming / Recent STEs
STE's are normally finalised (and full details are then available) 2 - 3 weeks before the session. Click on Support Technical Exchange for the latest STE details.14-Sep-09 Monitor UNIX TWS Message Files and TWS Filesystem Available Space Utility
Below is a list of recentSTE's, click on Support Technical Exchange to hear a replay of the session
25-Sep-09 Introduction to the Tivoli Dynamic Workload Console
29-Sep-09 Integration of Tivoli System Automation MP and DB2 v9.5 HADR
29-Sep-09 TWS and Timezones
07-Oct-09 Installing TWS 8.5 on iSeries
16-Dec-09 TWS Production Plans13-May-09 Installing TWS 8.5 on Redhat 5 Linux
13-May-09 Installing TWS 8.5 on Redhat 5 Linux
18-May-09 IBM Tivoli Workload Scheduler Instance Data Gather Utility
20-May-09 Migrating a TWS Master Domain Manager
16-Jun-09 Avoid Software Problems and Solve the Tough Ones Fast! AM Session
24-Jun-09 Avoid Software Problems and Solve the Tough Ones Fast! AM Session
24-Jun-09 Configuring the TSM extended agent for TWS
07-Jul-09 TWS NETAGENT Setup and Usage
06-Aug-09 How to Install Tivoli Dynamic Workload Console 8.5
13-Aug-09 WebSphere Utilities for Tivoli Workload Scheduler
20-Aug-09 Password change operations in TWS v8.3, 8.4, or 8.5
25-Aug-09 System z Processor Operations with Tivoli System Automation for z/OS
27-Aug-09 Setting up ITWS Authorization (Security File)TWS Enablement team is extending the successful "Ask the Expert" Initiative with weekly sessions open to TWSz Customers planning to move/adopt new releases. If you want to know more, send an email to y96223@it.ibm.com and book your session!
In the IBM Tivoli Workload Scheduler Suite 8.3 Administration course students will study ... Determine which TWS workstations need Framework installed ...
This IBM Redbook explains the benefits and technical merits of integrating IBM Tivoli Workload Scheduler Distributed and IBM Tivoli Workload Scheduler for z/OS with other IBM products. Scheduling is a mission critical process for any company. However, when you talk about scheduling, you are really talking about an ecosystem. In this ecosystem, each solution is a building block that adds value to the overall solution. With IBM Tivoli Workload Scheduler, you can collect and add data to and from each component. In addition, expanding the scheduling ecosystem to include monitoring, management, help desk, storage, and business systems management provides greater value.
This book discusses all these integration points and provides detailed scenarios on how to integrate IBM Tivoli Workload Scheduler with these types of applications.
Because workload management is widely considered the nucleus of the data center, there are numerous opportunities for you to integrate IBM Tivoli Workload Scheduler with other products. This book addresses just some of these many opportunities. In terms of integration with IBM Tivoli Workload Scheduler, do not limit yourself to the products that this book discusses. Integration points discussed in this book should give you an idea of the potential value that IBM Tivoli Workload Scheduler integration can provide for your company.
Describes how to install and upgrade Tivoli Enterprise(TM) software.
Tivoli Management Framework Reference Manual, Version 3.7.1, SC31-8434
Provides detailed information about Tivoli Management Framework commands and documents Tivoli-provided policy scripts.
Tivoli Management Framework: User's Guide, Version 3.7.1, GC31-8433
Describes the concepts and procedures for using Tivoli Management Framework services. It provides instructions for performing tasks from the Tivoli desktop and from the command line.
Provides help and guidance for solving problems with Tivoli Management Framework.
Provides task-oriented information on how to use Tivoli Distributed Monitoring to monitor system and application resources.
Provides task-oriented information on how to use Tivoli Distributed Monitoring for Windows to monitor system and application resources.
Describes how to install and use the monitoring collections for Tivoli Distributed Monitoring.
Describes how to install, upgrade, and remove TEC components.
Describes how to plan for and configure your event database environment and describes components, roles, and other general information specific to for using the TEC product.
Provides information about the currently available adapters.
Provides information about using the TEC rule editor and graphical rule builder to modify existing rules and create new rules to match your specific event management needs.
Describes how to install, upgrade, and remove TEC components. Provides details about using the event database installation assistant.
The Tivoli Software Glossary includes definitions for many of the technical terms related to Tivoli software. TheTivoli Software Glossary is available at the following Tivoli software library Web site:
http://publib.boulder.ibm.com/tividd/glossary/tivoliglossarymst.htm
Copyright © 1996-2009 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. Submit comments This document is an industrial compilation designed and created exclusively for educational use and is placed under the copyright of the Open Content License(OPL). Site uses AdSense so you need to be aware of Google privacy policy. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
Disclaimer:
Last modified: November 18, 2009