Job Submission.

Slides:



Advertisements
Similar presentations
Visit : Call Us: US: , India:
Advertisements

Visit : Call Us: US: , India:
Chapter 9 Auditing Database Activities
CS34311 CS3431 – Database Systems I Project Overview Elke A. Rundensteiner.
Harvard University Oracle Database Administration Session 2 System Level.
CS34311 CS3431 – Database Systems I Project Overview Murali Mani.
Oracle SQL*plus John Ortiz. Lecture 10SQL: Overview2 Overview  SQL: Structured Query Language, pronounced S. Q. L. or sequel.  A standard language for.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Installing software on personal computer
DevCon ‘11 Center for Instructional Delivery. DevCon ‘11 Enrolling in Blackboard Learn for Campus Edition Alumni.
Adapted from Afyouni, Database Security and Auditing DB Auditing Examples (Ch. 9) Dr. Mario Guimaraes.
University of Wisconsin Hospital & Clinics Database / environment refresh steps.
Apache Tomcat Web Server SNU OOPSLA Lab. October 2005.
WINDOWS SERVICES. Introduction You often need programs that run continuously in the background Examples: – servers –Print spooler You often need.
Running Argos Reports from Banner Job Submission San Mateo County Community College District Ted Nguyen – Database Administrator Edgar Coronel – Associate.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
CHAPTER 21 Automating Jobs. Introduction to Automating Jobs DBAs rely heavily on automating jobs. DBAs cannot be effective without automation. Listed.
Recovery Manager Overview Target Database Recovery Catalog Database Enterprise Manager Recovery Manager (RMAN) Media Options Server Session.
Module 14: Configuring Print Resources and Printing Pools.
Application Object Library (AOL)
Upgrading SCT Banner 2 u The process of maintaining SCT Banner involves frequent upgrades for both enhancement and error correction purposes u These.
MIS Reporting in Banner CALB - Key Points & Troubleshooting
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
© Ericsson Interception Management Systems, 2000 CELLNET Drop Administering IMS Module Objectives Manage the directory structure and files Manage.
EDI Standard and Tool - 2 IEEM 5352 Enterprise Integration.
Chapter 9 Scripting RMAN. Background Authors felt that scripting was a topic not covered well Authors wanted to cover both Unix/Linux and Windows environments.
Information Session Odyssey moves off the Mainframe.
Quick Tips on Banner Rich Loftus, Board of Regents Rich Loftus, Board of Regents Thu., June 2 | 2:15 PM | Avignon.
9 Copyright © 2005, Oracle. All rights reserved. Administering User Security.
Robert Fourer, Jun Ma, Kipp Martin Copyright 2006 An Enterprise Computational System Built on the Optimization Services (OS) Framework and Standards Jun.
Automating JobSubmission Shutdown and Startup April Sims OCP 8i 9i DBA Southern Utah University.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
June 6 th – 8 th 2005 Deployment Tool Set Synergy 2005.
Security.
TWSd - Security Workshop Part I of III T302 Tuesday, 4/20/2010 TWS Distributed & Mainframe User Education April 18-21, 2010  Carefree Resort  Carefree,
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
Oracle Data Integrator Procedures, Advanced Workflows.
Triggers and Stored Procedures in DB 1. Objectives Learn what triggers and stored procedures are Learn the benefits of using them Learn how DB2 implements.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 9 Auditing Database Activities.
1 Linux Networking and Security Chapter 5. 2 Configuring File Sharing Services Configure an FTP server for anonymous or regular users Set up NFS file.
37 Copyright © 2007, Oracle. All rights reserved. Module 37: Executing Workflow Processes Siebel 8.0 Essentials.
Oracle Data Integrator Agents. 8-2 Understanding Agents.
Experiment Management System CSE 423 Aaron Kloc Jordan Harstad Robert Sorensen Robert Trevino Nicolas Tjioe Status Report Presentation Industry Mentor:
Page 1 Printing & Terminal Services Lecture 8 Hassan Shuja 11/16/2004.
CMap Version 0.16 Ben Faga. CMap CMap Version 0.16 Bug fixes and code optimizations More intuitive menu system Asynchronous loading of comparative map.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
Linux Operations and Administration
Batch Jobs Using the batch job functions. Use [Bulk Changes][Batch Job Utility] to start. Read the information panel. Check with TAMS Technical Support.
Hyperion Artifact Life Cycle Management Agenda  Overview  Demo  Tips & Tricks  Takeaways  Queries.
7 Copyright © 2007, Oracle. All rights reserved. Administering User Security.
GDT Tips and Tricks. GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
Aggregator  Performs aggregate calculations  Components of the Aggregator Transformation Aggregate expression Group by port Sorted Input option Aggregate.
1 Figure 6-5: Turning Off Unnecessary Services Unnecessary Services  Operating system vendors used to install many services by default  This made them.
Level 1-2 Trigger Data Base development Current status and overview Myron Campbell, Alexei Varganov, Stephen Miller University of Michigan August 17, 2000.
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
E Copyright © 2006, Oracle. All rights reserved. Using SQL Developer.
CACI Proprietary Information | Date 1 Upgrading to webMethods Product Suite Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8,
Working in the Forms Developer Environment
Automating with Job Streams
Module 4 Remote Login.
Creating an Oracle Database
Network and Distributed Programming in Java
(Chapter 2) John Carelli, Instructor Kutztown University
Tiers vs. Layers.
Good Testing Practices
SHELLSHOCK ATTACK.
Presentation transcript:

Job Submission

Job Submission - GJAPCTL Job Submission is a multi-step process User requests process in an SCT Banner form SCT Banner form passes request through the package dbms_pipe to a Pro*C program running on the RDBMS server

Job Submission - GURJOBS The program on the RDBMS server then builds a script to execute the requested job and passes that to the Operating System Requested program executes Results are then: Stored in the database Stored on a file system Printed

Slide (1) User is at PC and saves within GJAPCTL (job submission form) to submit a job for background processing on the database server machine (ex. Unix, VAX). Slide (2) The user’s connection is directly to the database, rather than the operating system (ex. Unix, VAX). Yet job execution, scheduling, and printing are all operating system functions. The question is, how does Banner bridge the gap? Slide (3) In order for job submission to work, gurjobs (a C program) must be continously running on the operating system. When the user hits Save, an OS command is sent to the database pipe (a database memory structure). The GJAPCTL form does two things at submission time: it inserts rows with user defined values for the job parameters into the GJBPRUN table and it sends to the database pipe a command to run the gjajobs script. Along with the command are eight command line parameters: 1) process name, 2) process type, 3) user, 4) password, 5) one up number, 6) printer name, 7) form name, and 8) the submit time. Slide (4) Gurjobs passes control to the gjajobs script (.shl or .com). Slide (5) The gjajobs process builds a temporary script containing all the necessary job control language to run the real process. Gjajobs passes control to the temporary script, which actually runs the process requested by the user in the first step. As the last step the report is printed at the printer or put back in the database as requested by the user.

Job Submission - Process Types There are four types of jobs that are currently supported by SCT Banner: C - Pro*C E - Pro*Cobol P – Procedures (scripts) R - Oracle Reports

Process Definition Processes must be defined to SCT Banner before they can be run There are several SCT Banner forms used to define processes to Job Submission: GJAJOBS - Job Definition GJAPDEF - Parameter Definition GJAPVAL - Parameter Values GJAPDFT - Parameter Default Values

Parameter Definition These parameters must be accounted for in the Job Submission parameter handling routines of the process Defaults can be set in SCT Banner and/or in the program logic

Printer Definition Printers must be defined to the O/S GTVPRNT is a separate form for configuring the print handling GTVPRNT must be populated before printers can be referenced Define Printer port Define landscape printer codes Define portrait printer codes

Job Submission - The Process This process is different on every platform Operating System and Network requirements may make modification of Job Submission processes mandatory Job Submission uses the GUAINST table to determine OS specifics that must be built into the job stream

User View Job Submission begins in the GJAPCTL form Process is validated Process parameters are inserted into the process run parameters table GJBPRUN using the GJBPSEQ sequence GJAPCTL then performs a call form to GUQINTF, the Job Submission interface form

Technical View - 1 GUQINTF determines that request came from Job Submission GUQINTF fires JS_HOST_COMMANDS trigger to build a command string to pass to GURJOBS Contains: Job Type Printer name User name Special forms Password Submit time (OpenVMS only) GJBPSEQ sequence

Technical View - 2 GUQINTF then fires the PIPEIT form level trigger PIPEIT uses DBMS_PIPE.SEND_MESSAGE to send the command to GURJOBS, executing on the RDBMS server GJAPCTL status line is updated, showing Job Submission name and sequence number GURJOBS initiates GJAJOBS.SHL file, using the SYSTEM function to start it

GJAJOBS Parameters GJAJOBS.SHL reads the parameters passed to it by GURJOBS and builds a temporary shell file to execute it Parameters: #1 is the process name #5 is the one up number #2 is the process type #6 is the printer name #3 is the user id #7 is the form name #4 is the password #8 is the submit time

Process execution TEMP.SHL file executes where the process picks up the program parameters from GJBPRUN based on the sequence number GJAJOBS.SHL determines from the PRNT variable if output is to be stored in the database If it is, then the GURINSO process is invoked to insert the data into the database Otherwise, DEFAULT_PRINTER and LOCAL DIRECTORY determine output placement in the form GJAJPRF

Output Destination When submitting the job, the user can specify the destination If the destination is not defined, the default printer for the job is used DATABASE option can be specified to have the output placed in the database GUBOUTP GUROUTP

Reviewing The Output Online After the output is placed in the database, it can be reviewed using the GJIREVO form User then has the option of saving the file locally or printing it User is also “supposed” to delete it when finished

The jobsub user A UNIX user ID Part of the banner user group Used to start/stop the GURJOBS process A good idea is to have a separate sub-directory for each database

GURJOBS Startup and Shutdown The GURJOBS process must be run from the OS level It is submitted to UNIX via the nohup command: nohup sh $BANNER_LINKS/gurjobs.shl userid/password >jobsSID.log 2>&1 & GURSTOP.SQL is submitted from SQL*PLUS to stop GURJOBS On Windows machines, it is a service

Starting GURJOBS start_gurjobs ORAENV_ASK=NO; export ORAENV_ASK ORACLE_SID=$1; export ORACLE_SID PATH=/usr/local/bin:$PATH; export PATH . /usr/local/bin/oraenv # nohup $BANNER_LINKS/gurjobs.shl SEED GURJOBS > start${ORACLE_SID}job.log 2>&1 & To start the GURJOBS process for the SEED database: sh start_gurjobs SEED

Stopping GURJOBS The GURJOBS process must be stopped from SQLPLUS It is submitted to SQLPLUS through a Unix script It is a SQLPLUS script GURSTOP.SQL GURJOBS automatically stops after four days with no activity

Job Submission - Startup and Shutdown stop_gurjobs ORAENV_ASK=NO; export ORAENV_ASK ORACLE_SID=$1; export ORACLE_SID PATH=/usr/local/bin:$PATH; export PATH . /usr/local/bin/oraenv # sqlplus -s genlprd/u_pick_it @gurstop> stop${ORACLE_SID}job.log 2>&1 To run the stop_gurjobs script for the SEED database sh stop_gurjobs SEED

Job Submission - Cleanup One must set up scripts to automatically cleanup the various jobsub directories If centralized, output cleanup is easier If output is routed to the user's directories, cleanup is more difficult Must also clean up the database tables GUBOUTP GUROUTP

Summary/Review Objectives Resize tables Create a production database Configure a database Export and import data Create a backup strategy Locate Banner source code Apply a Banner upgrade Apply Banner security to users and site-created source code

End of Session Any Questions?

Thank you for your participation.