+ All Categories
Home > Documents > Click to add text TWSd – New Best Practices TWS Education & Training.

Click to add text TWSd – New Best Practices TWS Education & Training.

Date post: 24-Dec-2015
Category:
Upload: earl-preston
View: 234 times
Download: 2 times
Share this document with a friend
Popular Tags:
16
TWSd – New Best Practices TWS Education & Training
Transcript
Page 1: Click to add text TWSd – New Best Practices TWS Education & Training.

TWSd – New Best Practices

TWS Education & Training

Page 2: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

Agenda

Global options

Scheduling FINAL

Monitoring FINAL

EDWA/external monitoring/auto-ticketing

Monitoring EDWA

Other integrations

Other tips

Page 3: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

Global options

enLegacyId / li = NO–YES was useful only for network with 8.2 FTAs

enTimeZone / tz = YES–Even with a single TZ, YES should be the preferred option

enLegacyStartOfDayEvaluation / le = NO–Easier to understand but it changes the schedulation

Page 4: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

Global options – enLegacyStartOfDayEvaluation=NO

April, 12

April, 12Rome

Miami06

:00

06:0

0

06:0

0

06:0

0

Start Of Day = 0600

Page 5: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

Global options – enLegacyStartOfDayEvaluation=YES

April, 12

April, 12Rome

Miami(Master)

06:0

0

06:0

0

12:0

0

12:0

0

Start Of Day = 0600

Page 6: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

Scheduling FINAL

12:00

07:00

Every working day at 7AM we extend the plan until 12PM of the next working day

12:00 of next

working day

Page 7: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

Scheduling FINAL

Required settings– enCarryForward / cf = ALL

– extension to next work day w/ buffer• FINAL to run on every workday (at 7:00)• HOLIDAYS calendar defined• ignoreCals / ic = NO• Makeplan to be changed to extend until next work day

MakePlan –to `datecalc today + 1 workday pic mm/dd/yyyy` 1200 TZ America/NewYork

– Set Until Time on JS to remove from plan uncompleted JS• with cf=ALL JS are not removed when a new plan is created

Optional settings– startOfDay / sd = 0000

– enPreventStart = ???

Page 8: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

Monitoring FINAL

STARTAPPSERVER

MAKEPLAN Can be scheduled in advance

SWITCHPLAN Most critical

CREATEPOSTREPORTS No production impact

UPDATESTATS No production impact

Page 9: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

Monitoring FINAL

Monitor FINAL jobs status (EDWA or external product)

SwitchPlan abend may not be reported since TWS is down

– Monitor SwitchPlan long duration (EDWA or external product)

– E.g.: alerting if SwitchPlan does not complete within the double of its normal

duration

Periodically check FNCJSI

– the size of Pre-Production plan is related to that

> planman showinfo

...

Start time of first not complete preproduction plan job stream instance: 03/25/2011 00:00 TZ CET

Page 10: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

Monitoring FINAL

Job Status ChangedFINAL.SWITCHPLAN

to status EXEC

Job Status ChangedFINAL.SWITCHPLAN

to status SUCC, ABEND, FAIL

Timeout Action:Send mail to administrator

Timeout = double of normal time

Page 11: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

EDWA/external monitoring/auto-ticketing

Use monitoring tools to be notified of failure in TWS–Job abends–Unlinked WS (outside FINAL timeframe)

–TWS processes down on masternetman mailman batchman jobman WAS monman

–TWS mailbox size

Forward the identified problem to ticketing application to automatically generate a ticket

Page 12: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

EDWA/external monitoring/auto-ticketing

EDWA– Can be used to monitor Jobs, unlinked WS, TWS processes, TWS mailbox

size– Need to monitor EDWA itself

IBM Tivoli Monitoring– Integration provided with TWS can be used to monitor Jobs, TWS processes,

TWS mailbox size– Monitor unlinked WS currently not provided in the integration

• Can be implemented using BMEvents.conf events

Other monitoring tool– Jobs, unlinked WS can be implemented using BMEvents.conf events– Evtsize can be called to determine mailbox usage– TWS processes should be monitored through OS (pids directory contains TWS

processes pids)

Page 13: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

Monitoring EDWA

Monitor WAS is running– This can be done monitoring the java process

Monitor that agents are monitoring (coming soon)– Agent monitoring status is turned off if the monitoring process are down or

agent is not able to send events.

– BMEvents.conf can be used to generate events on the master when an agent monitoring status goes down (261,262).

Monitor for failed Rule Actions– Message AWSAHL007E is written in SystemOut.log when the action fails

Page 14: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

Other integrations

Self service (via conman/Java APIs)

–Allow your end-users to operate directly on their scheduling activities–Product like IBM Tivoli Service Request Manager can be used to

implement an approval process before the action is performed–Custom GUIs can provide a simplified and limited interface design on

the enduser need

Change management (via composer/Java APIs)

–Promote your scheduling defintion from Dev to Q&A and from Q&A to Prod

–Product like IBM Tivoli Service Request Manager can be used to implement an approval process before the action is performed

Page 15: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

Other tips

“conman” always return rc 0, you can workaround this limitation with a wrapper script that intercept returned errors and exit with different rc accordingly

http://www-01.ibm.com/support/docview.wss?uid=swg21470088

Unlink Tool (coming soon)–“Check Health Status” command fron conman and WebUI diagnose

unlink problems, .msg and Symphony files

Prevent losing events with EDWA–Modify EIF/monmaneif.templ and ssm/eif/tecad_snmp_eeif.templ

setting: ConnectionMode=connection_less

Page 16: Click to add text TWSd – New Best Practices TWS Education & Training.

© 2009 IBM Corporation

IBM Presentation Template Full Version

Other tips (TDWC)

Windows Domain Users?–Consider accessing it as LDAP user registry instead as LocalOS

Improve TDWC scalability–Set maxOpenConnections=“20000” for WC_adminhost and WC_adminhost_secure in eWAS/profiles/twaprofile/config/cells/DefaultNode/nodes/DefaultNode/servers/twaserver/server.xml

Improve Graphical View scalability–Set isGrowable=“true” for TWSWebUIWorkManager in eWAS/profiles/twaprofile/config/cells/DefaultNode/nodes/DefaultNode/servers/twaserver/resources-pme.xml


Recommended