Solved

DB Startup procedures Oracle 11g

Posted on 2011-09-27
3
383 Views
Last Modified: 2012-05-12
Hello I am writing a manual and wanted to do peer review.
--------------------------------------------------------------------------------------------------------
Is the following correct?
--------------------------------------------------------------------------------------------------------
Database Server Installation – where to go for this on a unix server?
--------------------------------------------------------------------------------------------------------
The schema will be provided by the project development/DBA staff.
A abc schemapackage consists of SQL files that can be executed using the target RDBMS admin tool (for example, sqlplus is usually used for Oracle).

Schema Owner:       abc
TableSpace Names:       abc_TS_01            
(for all tables except Message_Content table)
              abc_TS_02      (for Message_Content table)

The abc schema is defined in the following files:
            abcCreate.sql
            abcDrop.sql

The following procedure is required to install the database schema.
Edit the file abc.sql
a.      Update the userid and password
Update location of spool (log file)
2)      Execute the installation script
#createschema.sh
3)      Browse the log file for any errors

The embedded zip file contains the DB install shell script, and sample schema SQL files.  The actual schema SQL files (DirectDrop.sql and DirectCreate.sql) will be provided by xyz team.
0
Comment
Question by:halukonm
  • 2
3 Comments
 
LVL 73

Expert Comment

by:sdstuber
ID: 36710826
we can't tell you if it's correct or not.

but,  assuming you "will" have all of the files you specify and each of them does what you say they do, then yes, your instructions appear to be correct.


When I do installs, I try to remove as many human steps as possible.  Or, if I can't, then prompt for them rather than require file edits.  If you ask somebody to modify your file, you are asking them to break your file.  Even if it's something as simple as filling in name/password fields.

Since your users will be running a shell script.  I suggest your instructions be...

unzip file   Install.zip
run    installme.sh

and then installme.sh  will prompt for name/password/spool file and after execution it will automatically pipe the log file through "more" or pop it up in vi or some other tool for inspection.
0
 

Author Comment

by:halukonm
ID: 36710938
thanks

do you have any installation guides or can you point empirically to a place where I could get more information?
0
 
LVL 73

Accepted Solution

by:
sdstuber earned 500 total points
ID: 36710984
sorry, no I don't really have a guide.

however there are lots of examples of scripting, here's a good collection showing various uses.

http://www.orafaq.com/wiki/Scripts#Unix_Shell_Scripts
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now