Presentation is loading. Please wait.

Presentation is loading. Please wait.

10 th Anniversary 1999 - 2009 AutoInstaller All the control youll ever need.

Similar presentations


Presentation on theme: "10 th Anniversary 1999 - 2009 AutoInstaller All the control youll ever need."— Presentation transcript:

1 10 th Anniversary AutoInstaller All the control youll ever need

2 General Announcements: Please turn off all cell phones/pagers If you must leave the session early, please do so as discreetly as possible Please avoid side conversations during the session Questions will be answered ….. Thank you for your cooperation

3 Lehigh Carbon Community College Banner users since 2000 Banner 8.2 Since Oct 11,2009 General/Finance/Finance SS/FinAid/ FinAid SS/HR/Student/Student SS/FacAdv SS/AR/General WebTailor/WebGeneral/PosControl/ Empl SS/Advancement/Document Management Application Support Systems: provides support for Banner, R25, Tracdat, Clean Address,Touchnet (Hosted Service),Angel (Hosted Service), TimeTrade(Automated Appointment Scheduling) 4 Instances of Banner (LCCC,TEST,PPRD on Apollo) (LCCC on Artemis)

4 Lehigh Carbon Community College Hardware Dual HP RX 6600s Apollo.. Production Unix (Database and Banner) Zeus.. Backup HP Virtual Machine Artemis…backup server for banner (unix) Venus …Oracle AppServer (unix) Windows 2 Windows 2003 Available Windows 3 Windows 2003 Available HP San Array 32 72gb drives 7 300gb drive Banner1 backup INB server Windows 2003 Banner1 production SSB server Windows 2003

5 Lehigh Carbon Community College thru the ages man has always been sceptical of enhancements / inventions that automated existing processes.. If it aint broke dont fix it Loss of control ntions 2600 BC egyptian scribes 1088 compass 1894 milking machine Automatic transmissions/power steering/cruise control SCT AutoInstaller 2001

6 Lehigh Carbon Community College Before you start the autoinstaller Banner Upgrade Directory Set splpref = Full Path '/u03/Ban8_Upgrades/stu80200u/LCCC/ Change passwords Start autoinstaller: perl sctupgd.pl Param.dat copied to parmmod.dat

7 Lehigh Carbon Community College original param.dat for student upgrade # param.dat # This parameter file holds all information necessary for the Upgrade Installer # to work. The structure of the file is as follows: # # All entries are separated by a double colon(::). # # 1. STEP or PARAM - Identifies the nature of the entry. # # PARAM - Parameter used by the installer. # # 2. VARIABLE NAME - Environment variable name. # # 3. VALUE - value of the environment variable. # # STEP - Step to be executed by the installer. # # 2. STEP NUMBER - Corresponds to steps in Upgrade Guide. # # 3. COMMAND - The command that will run when selected. # # Command Translations: # # sqlcmd - gets translated to sqlplus etc. # script - based on the OS, gives appropriate run command and # file extension to file being run. # impcmd - gets translated to imp etc. # expcmd - gets translated to exp etc. # # 4. LOGFILE - log produced from running the step. # # 5. CUSTOM - indicates if the step will be run in automatic mode. # # RUN - will get run if run in automatic mode. # BLANK - will be skipped if run in automatic mode. # # *********** End of Header *************************************************

8 Lehigh Carbon Community College # Variable section - MODIFY IMP_CMD, EXP_CMD if NECESSARY # SQLPLUS_CMD is defined in login.sql file, not here. # On Windows NT change to correct command(i.e. imp)- depends on OS version # PARAM::PRODUCT::Student PARAM::RELEASE::8.2.1 PARAM::IMP_CMD::imp PARAM::EXP_CMD::exp STEP::4a::sqlcmd STEP::4b::impcmd upgrade_owner/&&upgrade_owner_password parfile=loadmods.par file=stu80201.dmp::xxxx::RUN STEP::4c::sqlcmd STEP::4d::sqlcmd STEP::5a::sqlcmd #STEP::5a::sqlcmd STEP::5b::sqlcmd STEP::6::script stumigr::stumigr::RUN STEP::8::script sccomp::sccomp::RUN STEP::10::errcmd READ THE UPGRADE GUIDE FOR THIS STEP::xxxx::RUN STEP::15::sqlcmd #STEP::15::sqlcmd STEP::16a::sqlcmd STEP::16b::sqlcmd STEP::16c::sqlcmd STEP::16d::errcmd SEE THE UPGRADE GUIDE FOR THIS PART::xxxx::RUN STEP::16e::errcmd SEE THE UPGRADE GUIDE FOR THIS PART::xxxx::RUN STEP::16f::errcmd SEE THE UPGRADE GUIDE FOR THIS PART::xxxx::RUN

9 Lehigh Carbon Community College original parmmod.dat These are your current environment variables... Parameter File Info: PRODUCT = Student RELEASE = IMP_CMD = imp EXP_CMD = exp login.sql File Info: SQLPLUS_CMD = sqlplus SPLPREF = /u03/Ban8_Upgrades/stu80201u/TEST/ APPLYMOD = domod UPGRADE_OWNER = upgrade1 SECURITY_AUDIT = U OS Environment Info: ORACLE_SID = TEST TWO_TASK is UNDEFINED Press to continue... original parmmod.dat (con't) B a n n e r U p g r a d e I n s t a l l a t i o n Product = Student, Release = 8.2.1, Database = TEST Main Options Menu 1. Commands 1 to Commands 16 to 16 A. Run ALL STEPS in this Upgrade (customize option available) Q. Exit Upgrade Installer ==> 1

10 Lehigh Carbon Community College original parmmod.dat (con't) Commands 1 to a sqlcmd 2. 4b impcmd upgrade1/password parfile=loadmods.par file=stu80201.dmp 3. 4c sqlcmd 4. 4d sqlcmd 5. 5a sqlcmd 6. 5b sqlcmd 7. 6 script stumigr 8. 8 script sccomp errcmd READ THE UPGRADE GUIDE FOR THIS STEP sqlcmd a sqlcmd b sqlcmd c sqlcmd d errcmd SEE THE UPGRADE GUIDE FOR THIS PART e errcmd SEE THE UPGRADE GUIDE FOR THIS PART Q. Return to Main Menu q

11 Lehigh Carbon Community College B a n n e r U p g r a d e I n s t a l l a t i o n Product = Student, Release = 8.2.1, Database = TEST Main Options Menu 1. Commands 1 to Commands 16 to 16 A. Run ALL STEPS in this Upgrade (customize option available) Q. Exit Upgrade Installer ==> 2 original parmmod.dat (cont) B a n n e r U p g r a d e I n s t a l l a t i o n Commands 16 to f errcmd SEE THE UPGRADE GUIDE FOR THIS PART Q. Return to Main Menu ==>

12 Lehigh Carbon Community College modified param.dat # Variable section - MODIFY IMP_CMD, EXP_CMD if NECESSARY # SQLPLUS_CMD is defined in login.sql file, not here. # On Windows NT change to correct command(i.e. imp)- depends on OS version # PARAM::PRODUCT::Student PARAM::RELEASE::8.2.1 PARAM::IMP_CMD::imp PARAM::EXP_CMD::exp STEP::4a::sqlcmd STEP::4b::impcmd upgrade_owner/&&upgrade_owner_password parfile=loadmods.par file=stu80201.dmp::xxxx::RUN STEP::4c::sqlcmd STEP::4d::sqlcmd STEP::5a::sqlcmd #STEP::5a::sqlcmd STEP::5b::sqlcmd STEP::6::script stumigr::stumigr::RUN STEP::8::script sccomp::sccomp::RUN STEP::10::errcmd GENERATE ORACLE FORMS::xxxx::RUN (no specific step to run) STEP::15::sqlcmd #STEP::15::sqlcmd STEP::16a::sqlcmd STEP::16b::sqlcmd STEP::16c::sqlcmd STEP::16d::errcmd RUN REPORTS VERIFY ENVIRON::xxxx::RUN (no specific step to run) STEP::16e::sqlcmd (pdf has warning message) STEP::16f::sqlcmd xxx=no spool file

13 Lehigh Carbon Community College modifed parmmod.dat PARAM::PRODUCT::Student PARAM::RELEASE::8.2.1 PARAM::IMP_CMD::imp PARAM::EXP_CMD::exp STEP::4a::sqlcmd STEP::4b::impcmd upgrade1/&&upgrade_owner_password parfile=loadmods.par file=stu80201.dmp::xxxx::RUN STEP::4c::sqlcmd STEP::4d::sqlcmd STEP::5a::sqlcmd #STEP::5a::sqlcmd STEP::5b::sqlcmd STEP::6::script stumigr::stumigr::RUN STEP::8::script sccomp::sccomp::RUN STEP::10::errcmd GENERATE ORACLE FORMS::xxxx::RUN <<<<<<<<<<<<<<< STEP::15::sqlcmd #STEP::15::sqlcmd STEP::16a::sqlcmd STEP::16b::sqlcmd STEP::16c::sqlcmd STEP::16d::errcmd RUN REPORTS VERIFY ENVIRON::xxxx::RUN <<<<<<<<<<<<<<<< STEP::16e::sqlcmd <<<<<<<<<<<<<<<< STEP::16f::sqlcmd

14 Lehigh Carbon Community College RUNNING in auto mode the guovmods step produces an error and you are given the choice to continue or quit at the end of the step *** Now Running choice 3, step 4c - sqlcmd Translated: sqlplus SQL*Plus: Release Production on Fri Oct 2 08:56: Copyright (c) 1982, 2006, Oracle. All Rights Reserved. Using the login.sql for the STUDENT Upgrade Connected. Using the login.sql for the STUDENT Upgrade old 1: grant select on gurdmod to &&upgrade_owner with grant option new 1: grant select on gurdmod to upgrade1 with grant option Grant succeeded. Connected. Using the login.sql for the STUDENT Upgrade drop view guvmods * ERROR at line 1: ORA-00942: table or view does not exist drop public synonym guvmods * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist drop public synonym gubsmod * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Connected. Using the login.sql for the STUDENT Upgrade old 22: FROM &&UPGRADE_OWNER..GUBSMOD, GURDMOD new 22: FROM upgrade1.GUBSMOD, GURDMOD

15 Lehigh Carbon Community College View created. Disconnected from Oracle Database 10g Enterprise Edition Release bit Production With the Partitioning, OLAP and Data Mining options Press if the install is ready to continue. Press Q to force an error if install is not ready to continue. ==> In first gostage got this error: Evaluating /u03/Ban8_Upgrades/stu80201u/TEST/listab1_TEST_1.lst... *** At least one Oracle Error has occured that the installer has flagged as a problem: ORA-02429: cannot drop index used for enforcement of unique/primary key *** Displaying lines nearest the error: SQL> REM AUDIT TRAIL: INIT DATE SQL> REM Drop existing unique index, which will JC 07/27/2009 SQL> REM be replaced by a primary key. SQL> REM AUDIT TRAIL: END SQL> REM SQL> whenever sqlerror continue; SQL> DROP INDEX UK_SHRRPEQ; DROP INDEX UK_SHRRPEQ *

16 Lehigh Carbon Community College ERROR at line 1: ORA-02429: cannot drop index used for enforcement of unique/primary key Please review /u03/Ban8_Upgrades/stu80201u/TEST/listab1_TEST_1.lst Press to continue... Choice 5, Step # 5a sqlcmd - did not run correctly. Press to exit the installer (S) to skip this file (R) to return to the menu returned to menu... selected option 1 (Commands 1 to 15)

17 Lehigh Carbon Community College which now displays the first 4 steps as having been run (*) and step 5 has an error (E) * 1. 4a sqlcmd * 2. 4b impcmd upgrade1/password parfile=loadmods.par file=stu80201.dmp * 3. 4c sqlcmd * 4. 4d sqlcmd E 5. 5a sqlcmd 6. 5b sqlcmd 7. 6 script stumigr 8. 8 script sccomp errcmd GENERATE ORACLE FORMS sqlcmd a sqlcmd b sqlcmd c sqlcmd d errcmd RUN REPORTS VERIFY ENVIRON e sqlcmd Q. Return to Main Menu

18 Lehigh Carbon Community College I returned to the main menu... i was able to determine that the script shrrpeq_080201_04.sql had the offending code by looking at the domod.sql file in the splpref directory and searching on 'drop index uk_shrrpeq'. i modifed the script to identify the owner as saturn,DROP INDEX SATURN.UK_SHRRPEQ. i the reran step 5 and this time i got this message: Evaluating /u03/Ban8_Upgrades/stu80201u/TEST/listab1_TEST_2.lst... There are no apparent errors in the logfile. *** Displaying the end of the logfile: 2 / Commit complete. SQL> set echo off ******************************************************** * All the database modifications * * have been applied. * * THIS STEP IS COMPLETED. * ******************************************************** From the log file it looks as though you are finished with the gostage process and are ready to complete the rest of the upgrade... Press to continue...

19 Lehigh Carbon Community College After pressing enter i was given the option of continuing in manual mode or returning to the main menu and selecting the automatic mode (A)... When i selected the automatic mode i chose the option to rerun all the commands, and as it came to each step i got the message that the steps 1-4 had already been run, when it got the step 5: Choice 5, Step # 5a sqlcmd - has been run and is a rerunable step. Press to rerun this step (C) to continue without running this step I selected (C)

20 Lehigh Carbon Community College When student upgrade was finished this is was what the parammod.dat file looked like PARAM::PRODUCT::Student PARAM::RELEASE::8.2.1 PARAM::IMP_CMD::imp PARAM::EXP_CMD::exp STEPDONE::4a::sqlcmd STEPDONE::4b::impcmd upgrade1/&&upgrade_owner_password parfile=loadmods.par file=stu80201.dmp::xxxx::RUN STEPDONE::4c::sqlcmd STEP::4d::sqlcmd STEPG::5a::sqlcmd STEP::5b::sqlcmd STEPS::6::script stumigr::stumigr::RUN STEP::8::script sccomp::sccomp::RUN STEP::10::errcmd GENERATE ORACLE FORMS::xxxx::RUN STEPG::15::sqlcmd STEP::16a::sqlcmd STEPDONE::16b::sqlcmd STEPDONE::16c::sqlcmd STEP::16d::errcmd RUN REPORTS VERIFY ENVIRON::xxxx::RUN STEPERR::16e::sqlcmd STEPERR::16f::sqlcmd


Download ppt "10 th Anniversary 1999 - 2009 AutoInstaller All the control youll ever need."

Similar presentations


Ads by Google