HORIZONT 1 TWS/WebAdmin Tips & Tricks
HORIZONTSoftware for Datacenters
Garmischer Str. 8 D- 80339 MünchenTel ++49(0)89 / 540 162 - 0www.horizont-it.com
Web Interface to TWS
TWS/WebAdmin DSTips & Tricks
TWS/WebAdmin DS
HORIZONT 2 TWS/WebAdmin Tips & Tricks
Table of Contents
• Advanced Filtering Tips
• Extended Events Tracking & Monitoring
• Backup Management
• Event Driven Automation Support
• Trace Log
• Audit Log
• User’s Options
• LDAP authentication through PAM
HORIZONT 3 TWS/WebAdmin Tips & Tricks
Advanced Filtering Tips
We recommended to switch the “filter selection” mode.Using filters result avoids performance problems of TWS/WebAdmin and TWS!
HORIZONT 4 TWS/WebAdmin Tips & Tricks
Advanced Filtering Tips
Unfiltered data may cause problems even if paging is available
The shortcuts to the filter pages make it easy to apply filters
HORIZONT 5 TWS/WebAdmin Tips & Tricks
Advanced Filtering Tips
Wildcards are allowed in all filter pages…
Scheduled time filtering – Specify a time range here
...or use comfortable list boxes
HORIZONT 6 TWS/WebAdmin Tips & Tricks
Scheduled Time FilteringScheduled time filters are important to monitor jobstreams. Since TWS 8.3 names of individual jobstream instances can have identical names
Example: Scheduled time filter “TODAY” = show all streams that scheduled for today. Very useful if your plan spans two or more days!
HORIZONT 7 TWS/WebAdmin Tips & Tricks
Advanced Filtering Tips
TWS experts or advanced users may prefer to specify the filter manually by using TWS syntax. This is also useful if more complex filters are to defined.
All filters can be saved to the user profile to use them at a later time.
HORIZONT 8 TWS/WebAdmin Tips & Tricks
Advanced Filtering Tips
Click on the bookmarked link to go get the appropriate listing directly.Example: Show today’s abends
Use this option to add filters to browser’s own bookmarks
HORIZONT 9 TWS/WebAdmin Tips & Tricks
TWS/WebAdmin’s Event Tracker
• TWS/WebAdmin’s Event Tracker writes its events to standard TWS events log, as a result standard procedures like alert triggering are supported automatically
Allows to react on events that are not supported by TWSAllows to react on events that are not supported by TWS
TWS/WebAdmin Event Tracker
TWS Batchman
TWSPlan/Database
Data
Global TWS
Events Log
TWS/WebAdmin Event Collector
Standard event types provider
New event types
HORIZONT 10 TWS/WebAdmin Tips & Tricks
Event “Job Long”
• For each job TWS keeps it’s own run time statistics
• The “Job Long” event is triggered if a job is running longer than usually
• Alerts defined for the “Job Long” event helps to warn administrators early to avoid production delays.
The first event we have implemented is “Job Long” – The first event we have implemented is “Job Long” –
It signalizes if a job is running too longIt signalizes if a job is running too long
HORIZONT 11 TWS/WebAdmin Tips & Tricks
Backup
In case of modifications TWS/WebAdmin stores the “old” definition of any TWS database object to an internal backup repository
HORIZONT 12 TWS/WebAdmin Tips & Tricks
Backup Administration
TWS/WebAdmin backup manager allows to browse the history of TWS definitions modifications.
HORIZONT 13 TWS/WebAdmin Tips & Tricks
Backup Administration
filter to reduce the resulting list
Integrated full text search function
HORIZONT 14 TWS/WebAdmin Tips & Tricks
Backup AdministrationList of stored modifications matching the specified filter
Click on the backup filename link to show the content
HORIZONT 15 TWS/WebAdmin Tips & Tricks
Backup Administration
Select entries and click on “compare” to display the differences
HORIZONT 16 TWS/WebAdmin Tips & Tricks
Backup Files Compare FunctionOriginal (older) version at the left, new version at the right side
Red text shows the difference in details
HORIZONT 17 TWS/WebAdmin Tips & Tricks
Event Driven Workload Automation
• Add or modify event rules– Web forms and dialogues
– Text edit for advanced users
• Deploy event rules– Execute "planman-deploy" at the MDM out of TWS/WebAdmin
• Active Event Rules Monitoring– Activate/deactivate event rule instances
– MONMAN status monitoring
• Invoked Actions Monitoring– With direct links to the plan
The new version of TWS/WebAdmin supports “Event The new version of TWS/WebAdmin supports “Event
Driven Workload Automation”Driven Workload Automation”
HORIZONT 18 TWS/WebAdmin Tips & Tricks
Event Rules Administration
Event rules in the main menu
Click on the event rule name to display details…
…or select a rule and click on e.g. “modify”
HORIZONT 19 TWS/WebAdmin Tips & Tricks
Event Rule Design – Common Options
Click “Next” to continue with the definition of the event conditions
HORIZONT 20 TWS/WebAdmin Tips & Tricks
Event Rule Design - Conditions
Click “Next” to continue to the definition of the event action
Create the set of conditions dynamically
Condition attributes corresponding to the actual “Condition type”
HORIZONT 21 TWS/WebAdmin Tips & Tricks
Event Rule Design - Actions
Dynamically create the set of actions to be taken
Click “Save” to submit modifications
Set of action attributes corresponding to the actual “Action type”
HORIZONT 22 TWS/WebAdmin Tips & Tricks
Event Rule Source Definition
Text Edit function:For many modifications it is still faster and easier to do in the source code
HORIZONT 23 TWS/WebAdmin Tips & Tricks
Active Event Rules Monitoring
Event rule name
Event triggering condition, e.g. “Any Job that goes into ERROR” Event reaction, e.g.
jobstream submission
HORIZONT 24 TWS/WebAdmin Tips & Tricks
Action Runs Monitoring
Action of this event was executed
Action was “Submit jobstream”
Direct link to the plan jobstream list to see the status of the executed jobstream
HORIZONT 25 TWS/WebAdmin Tips & Tricks
TWS/WebAdmin Trace Logs
The trace log reports what happens in background while a user executes a function through TWS/WebAdmin.
Especially interesting: Low level calls and return values, e.g. TWS, SQL database, file system, authentication chains
Enable/disable trace logs
HORIZONT 26 TWS/WebAdmin Tips & Tricks
TWS/WebAdmin Trace Logs
1) Execute the request
2) Download the trace log file from the server.
HORIZONT 27 TWS/WebAdmin Tips & Tricks
TWS/WebAdmin Trace Logs
TWS/WebAdmin user session initialization steps
Command submitted to TWS API (conman)
Preparing environment before calling the command.
HORIZONT 28 TWS/WebAdmin Tips & Tricks
TWS/WebAdmin Trace Logs
Sample of the results
An overview about the system resources needed to process the request
The timestamps helps to analyze what part is causing possible slowdowns.
HORIZONT 29 TWS/WebAdmin Tips & Tricks
Audit Log• Allows to monitor all TWS operations made through
TWS/WebAdmin
• In opposite to Trace Logs one log for all activities
• Optional, enabled by default
• Supports rotation (“size driven”)
TWS/WebAdminAudit Log
TWS CLI
TWS/WebAdmin TWSPlan/Database
Data
User’srequest
writes the operation log record and submits them to TWS CLI
HORIZONT 30 TWS/WebAdmin Tips & Tricks
Audit Log
Audit Log sample. Every row of the log contains
• Timestamp• Authority• command
HORIZONT 31 TWS/WebAdmin Tips & Tricks
Trace Log vs. Audit Log
• Typical usage of trace log: A user thinks that something is displayed wrong. We ask him to reproduce the problem and ask for the trace log. Then we have all information that is needed to fix it.
• Typical usage of audit log: TWS administrators do not know why an operation is not working well for all users. We ask for the audit log to see if there is any mistake. If we do not find anything, then we ask for the trace log of an affected user...
Trace logs report actions of individual users, audit Trace logs report actions of individual users, audit
logs are reporting all of TWS/WebAdmin’s activitieslogs are reporting all of TWS/WebAdmin’s activities
HORIZONT 32 TWS/WebAdmin Tips & Tricks
User's Options
TWS/WebAdmin users have several options to customize the appearance of TWS/WebAdmin.
Here you can modify date format, color scheme, action buttons position and the browser title content.
HORIZONT 33 TWS/WebAdmin Tips & Tricks
User's Options
The customizable browser window (tab) title is useful in case of large TWS networks with several masters. The title can contain name of the user currently logged on, TWS master name, batchman status, etc.
HORIZONT 34 TWS/WebAdmin Tips & Tricks
User's Options
Action buttons anchorage allows to avoid often vertical scrolling at the bottom of the page in case of longer listings.
HORIZONT 35 TWS/WebAdmin Tips & Tricks
User's Options
Customizable layout allows to setup the output listings
Setup the order of the columns
Select what columns are to be displayed
HORIZONT 36 TWS/WebAdmin Tips & Tricks
User’s Options
Example: Plan jobstream list in customized layout
HORIZONT 37 TWS/WebAdmin Tips & Tricks
Administrator Level Customization
Customizable top bar and home page logo
Customizable top bar color can help to signalize the actual TWS environment, e.g. development or production
Customizable home page content: add links to other production services.
HORIZONT 38 TWS/WebAdmin Tips & Tricks
PAM authentication
• Switch TWS/WebAdmin to OS authentication
• Setup TWS/WebAdmin to use the OS sudo
PAM (PAM (Pluggable Authentication Modules) Pluggable Authentication Modules) allow to setup all type of allow to setup all type of
authentications including LDAP at the OS levelauthentications including LDAP at the OS level
TWS/WebAdmin interface
OS(ckpw, sudo)
TWSPlan/Database
Data
LDAP
Authentication and authorization requests from TWS/WebAdmin are processed at the central point of the operating system – reduces the amount of authentication setups
Top Related