Automated Scheduling and Operations for Legacy Applications
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 s 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 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
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Controlled by C2O
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 will be sent to Operations.
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.
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.
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 is sent to Operations.
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
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.
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.
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.
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!
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 is sent to Operations. The next process is to Take the Console/Fsys01 resources.
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Send Confirmation that the GDT System is up!
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Send Confirmation that the GDT System is up! Using a Profile setup on the Central Server machine.
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada GDT System Startup Send Confirmation that the GDT System is up!
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
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!
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
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.
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
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
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
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 is sent with JOR attached Send when job completes successfully along with JOR. Capture the name of the JOR to be attached to the
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 is sent with JOR attached Windows Process Log Watch scanning for pattern to get JOR value and putting it into the local variable JOR.
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 is sent with JOR attached
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 is sent with JOR attached
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
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. m/ great search engine for SNMP mib files. m/
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
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
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.
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
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).
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada C2O SMTP
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
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 devanslt2 mail smtpusers.dat
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 name for the C2O SMTP server c2oadmin:internal=xml c2ouser:password= The trigger document is contained in the body of messages sent to the C2O user specified by userid
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Flowchart Engine Service Property
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada Start the C2O Web Service
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada The Demonstration Using SEND local mailer Send –f –t –u test – o message-file=message.txt –s localhost:10025 –l
Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1 Lake Las Vegas, Nevada The Demonstration
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 n Monitoring LOG’s n Windows Log Watch l Looking for questions asked via COBOL program l Pattern masking
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
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 them to your account. Thank you very much for attending this session!