HORIZONT TWS/WebAdmin DS TWS/WebAdmin DS Tips & Tricks Web Interface to TWS TWS/WebAdmin DS Tips & Tricks HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com 1 1 1 1 1 1 1 1 1 1 1
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
Advanced Filtering Tips We recommended switching to the “filter selection” mode. Using filters avoids performance problems of TWS/WebAdmin and TWS!
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
Advanced Filtering Tips Wildcards are allowed in all filter pages… ...or use easy to use list boxes Scheduled time filtering – Specify a time range here
Scheduled Time Filtering Scheduled 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!
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 be defined. All filters can be saved to the user profile to use at a later time.
Advanced Filtering Tips Use this option to add filters to browser’s own bookmarks Click on the bookmarked link to go get the appropriate listing directly. Example: Show today’s abends
TWS/WebAdmin’s Event Tracker Allows to react on events that are not supported by TWS TWS/WebAdmin’s Event Tracker writes its events to standard TWS events log, as a result standard procedures like alert triggering are supported automatically TWS/WebAdmin Event Tracker TWS Batchman TWS Plan/Database Data Global Events Log Event Collector Standard event types provider New event types
Event “Job Long” The first event we have implemented is “Job Long” – It signals if a job is running for too 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 usual Alerts defined for the “Job Long” event help to warn administrators early to avoid production delays.
Backup In case of modifications TWS/WebAdmin stores the “old” definition of any TWS database object to an internal backup repository
Backup Administration TWS/WebAdmin backup manager allows you to browse the history of TWS definitions modifications.
Backup Administration filter to reduce the resulting list Integrated full text search function
Backup Administration List of stored modifications matching the specified filter Click on the backup filename link to show the content
Backup Administration Select entries and click on “compare” to display the differences
Backup Files Compare Function Original (older) version at the left, new version at the right side Red text shows the difference in detail
Event Driven Workload Automation The new version of TWS/WebAdmin supports “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
Event Rules Administration Click on the event rule name to display details… Event rules in the main menu …or select a rule and click on e.g. “modify”
Event Rule Design – Common Options Click “Next” to continue with the definition of the event conditions
Event Rule Design - Conditions Condition attributes corresponding to the actual “Condition type” Create the set of conditions dynamically Click “Next” to continue to the definition of the event action
Event Rule Design - Actions Set of action attributes corresponding to the actual “Action type” Dynamically create the set of actions to be taken Click “Save” to submit modifications
Event Rule Source Definition Text Edit function: For many modifications it is still faster and easier to do in the source code
Active Event Rules Monitoring Event rule name Event triggering condition, e.g. “Any Job that goes into ERROR” Event reaction, e.g. jobstream submission
Action Runs Monitoring Action was “Submit jobstream” Action of this event was executed Direct link to the plan jobstream list to see the status of the executed jobstream
TWS/WebAdmin Trace Logs The trace log reports what happens in the background while a user executes a function through TWS/WebAdmin. This can be especially interesting for: Low level calls and return values, e.g. TWS, SQL database, file system, authentication chains Enable/disable trace logs
TWS/WebAdmin Trace Logs 1) Execute the request 2) Download the trace log file from the server.
TWS/WebAdmin Trace Logs TWS/WebAdmin user session initialization steps Preparing environment before calling the command. Command submitted to TWS API (conman)
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.
Audit Log Allows you to monitor all TWS operations made through TWS/WebAdmin Different to Trace Logs - only one log for all activities Optional, enabled by default Supports rotation (“size driven”) TWS/WebAdmin Audit Log TWS CLI Plan/Database Data User’s request writes the operation log record and submits them to TWS CLI
Audit Log Audit Log sample. Every row of the log contains Timestamp Authority command
Trace Log vs. Audit Log Trace logs report actions of individual users, audit logs are reporting all of TWS/WebAdmin’s activities 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...
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.
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.
User's Options Customizable layout allows you to setup the output listings Setup the order of the columns Select what columns are to be displayed
User’s Options Example: Plan jobstream list in customized layout
Administrator Level Customization Customizable top bar color can help to signal the actual TWS environment, e.g. development or production Customizable top bar and home page logo Customizable home page content: add links to other production services.
PAM authentication PAM (Pluggable Authentication Modules) allows the setup of all types of authentication including LDAP at the OS level Switch TWS/WebAdmin to OS authentication Setup TWS/WebAdmin to use the OS sudo TWS/WebAdmin interface OS (ckpw, sudo) TWS Plan/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
Any Questions about TWS/WebAdmin? support@horizont-it.com
HORIZONT TWS/WebAdmin DS Many thanks for your attention! The Web Interface to TWS Many thanks for your attention! HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com 1 1 1 1 1 1 1 1 1 1 1