Download presentation
Presentation is loading. Please wait.
Published byJared Spencer Modified over 9 years ago
1
Automated Scheduling and Operations for Legacy Applications
2
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada C2O & GDT Launching the GDT System via a C2O Flowchart n Fileshare n Console n FSYS01 n TCS l Will Include sending emails l Checking Resources Run a GDT Batch job via C2O Flowchart n Program asks a question and C2O responds Run a GDT Batch job via C2O Flowchart n Email is sent with JOR attached Create a C2O Chart that monitors the heat of a room Use Web Commander to remotely launch a C2O Chart that will launch a GDT Batch job Configuring the C2O Web Service Daemon for SMTP
3
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Controlled by C2O
4
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Check the Resources Via Resources, make sure that the GDT system is down. If any part of the system is up and running, then a email will be sent to Operations.
5
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Check the Resources Contents of MAPI icon. In case 1 or combination of the resources are taken.
6
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Check the Resources GDT SYSTEM C2O Resources. The above shows a case where the GDT System is up and running.
7
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Start Fileshare A batch script called via the NT Process ICON will start Fileshare. If the process does not complete successfully, an EMAIL is sent to Operations.
8
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Take the Fileshare Resource
9
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Start TCS TCS is started via a built in Visual Basic Script within the NT process icon and the use of a Local Variable that tells the script what Windows Service to start. Again, a mail message will be delivered if the Service fails to start.
10
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Start TCS The VB script used to start the TCS Service. Note the variables Hostname, and Service and the Start service cmd.
11
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Start TCS The local variables and values associated.
12
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Take the TCS Resource TCS Resource is now used!
13
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Start Console and FSYS01 A batch script called via the NT Process ICON will start the Console and Fsys01. If the process does not complete successfully, an EMAIL is sent to Operations. The next process is to Take the Console/Fsys01 resources.
14
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Send Email Confirmation that the GDT System is up!
15
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Send Email Confirmation that the GDT System is up! Using a Email Profile setup on the Central Server machine.
16
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Send Email Confirmation that the GDT System is up!
17
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Run a GDT Batch job via C2O Flowchart Program asks a question and C2O responds
18
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Run a GDT Batch job via C2O Flowchart Program asks a question and C2O responds This job cannot run if the GDT system is running!
19
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Run a GDT Batch job via C2O Flowchart Program asks a question and C2O responds The NT Process ICON calls a batch script that initiates the GDTBATCH job. At the same time the Windows Process Log Watch Icon monitors for the question to be asked via the COBOL program
20
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Run a GDT Batch job via C2O Flowchart Program asks a question and C2O responds The question is found and via the Windows Process Input ICON, C2O responds to the question. The GDTBATCH job then runs to completion. The Log Watch Icon scans the internal Process Log for the words GDTBATCH abort. If found the chart takes the Abort Stop. If not found, the chart takes the Good Stop.
21
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Run a GDT Batch job via C2O Flowchart Program asks a question and C2O responds. The Windows Process Log Watch GDT Console Windows Process Log Watch Properties
22
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Run a GDT Batch job via C2O Flowchart Program asks a question and C2O responds. The Windows Process Input Icon Console
23
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Run a GDT Batch job via C2O Flowchart Program asks a question and C2O responds. The Log Watch Icon Log Watch Icon NT Process Icon
24
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Run a GDT Batch job via C2O Flowchart Email is sent with JOR attached Send email when job completes successfully along with JOR. Capture the name of the JOR to be attached to the email
25
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Run a GDT Batch job via C2O Flowchart Email is sent with JOR attached Windows Process Log Watch scanning for pattern to get JOR value and putting it into the local variable JOR.
26
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Run a GDT Batch job via C2O Flowchart Email is sent with JOR attached
27
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Run a GDT Batch job via C2O Flowchart Email is sent with JOR attached
28
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Create a C2O Chart that monitors the heat of a room Using SNMP to get information on Network Devices
29
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada SNMP Service The SNMP (Simple Network Management Protocol) Service incorporates information (such as detecting the state of a high-speed printer) from external devices in Flowcharts. It also lets Flowcharts generate Traps (alerts) and set MIB (management information base) variables that control the behavior of the external devices. http://www.mibsearch.co m/ great search engine for SNMP mib files. http://www.mibsearch.co m/
30
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Create a C2O Chart that monitors the heat of a room
31
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Create a C2O Chart that monitors the heat of a room (Local.BasementKeyValue Local.BasementLowLimitTemp) Post Execution after OID value is set
32
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Use Web Commander to remotely launch a C2O Chart that will launch a GDT Batch job A Create WebCmdr Doc. B Provide Document Properties C Test before Deploy D Create Web URL shortcut E Access Avail. Webcmdr Docs.
33
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Use Web Commander to remotely launch a C2O Chart that will launch a GDT Batch job DEMONSTRATION
34
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada C2O Web Service Daemon The Web Services Daemon configuration file specifies general settings for the service as well as specific settings for each of the different delivery protocols (FTP, SNMP, SMTP, and SOAP).
35
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada C2O SMTP
36
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Basic Components to Start C2O Web Service C2OWSDINSTALL.BAT n Installation as a Service JRE version 5.0 or higher n System Variables set correctly for: l PATH l JAVA_HOME l CLASSPATH C2OWSD.XML SMTPUSER.DAT Flowchart Engine Service Property
37
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada C2OWSD.XML Web Services Daemon configuration file. The configuration file is formatted in XML and can be edited to match FTP, HTTP, SNMP Trap, and SMTP settings for a particular node. 30 localhost C:\temp\SpoolDir 10025 24 devanslt2 mail smtpusers.dat
38
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada SMTPUSERS.DAT SMTP users are defined in the Web Services Daemon SMTP users file. The user ID must match a C2O user name, which is also the e-mail name for the C2O SMTP server c2oadmin:internal=xml c2ouser:password= The trigger document is contained in the body of e-mail messages sent to the C2O user specified by userid
39
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Flowchart Engine Service Property
40
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Start the C2O Web Service
41
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada The Demonstration Using SENDEMAIL local mailer Sendemail –f devans@infosol.com –t c2oadmin@devanslt2 –u test – o message-file=message.txt –s localhost:10025 –l email.logdevans@infosol.com
42
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada The Demonstration
43
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Summary C2O functionality we have reviewed to work with GDT n MAPI n Resources n NT process l Running Batch Scripts l Starting Windows Services via C2O VB script n Attaching JOR’s to EMAIL n Monitoring LOG’s n Windows Log Watch l Looking for questions asked via COBOL program l Pattern masking
44
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Summary Windows Process Input n C2O passing answers to questions Use of Local Variables Use of ICON Variables Use of Datasets SNMP GET n Temperature monitoring n Good search engine for getting MIB’s Use of Wait for Condition ICON Web Commander n Remotely Launch C2O Flowcharts C2O Web Services n Using SMTP Trigger to Launch Flowchart
45
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Finally If you would like any of the flowcharts demonstrated, you will have an opportunity in the Hands On lab scheduled for 8:00am tomorrow to export these charts and documents and email them to your account. Thank you very much for attending this session!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.