You are on page 1of 41

Database Services

Oracle Database IQ/OQ

Oracle Production Environment IQ/OQ

Database Services
Installation Qualification/Operational Qualification
For
[Project_Name]
Installation of Oracle [Oracle_Version i.e. 9.2.0.7]
Base Code Tree and Related Patches

Server Purpose: [Server_Purpose]


Server Name: [Server_Name]
Oracle UNIX Owner : [Oracle_Owner i.e. ormerck]
Oracle UNIX Group : [Unix_Group i.r. dbmerck]
Oracle Home : /opt/oracle/[Oracle_Owner i.e.
ormerck]/product/[Oracle_Version i.e. 9.2.0.7]

Copyright © 2005 Merck & Co., Inc.


All Rights Reserved
This document is the property of Merck & Co., Inc. and is intended for internal use only. Reproduction or transmission of this document in
any form, in whole or in part, without prior written permission of Merck & Co., Inc. is prohibited.

Version 1.0 Page 1 of 41


Database Services

Oracle Database IQ/OQ

Table of Contents
PUBLICATION RECORDS........................................................................................................................................4
PRE-APPROVAL SIGNATURE PAGE....................................................................................................................5
1 INSTALLATION OVERVIEW..........................................................................................................................6
1.1 Installation Description...................................................................................................................................6
1.2 Definitions & Acronyms.................................................................................................................................6
1.3 Installer / Reviewer Instructions.....................................................................................................................7
1.4 Acceptance Criteria.........................................................................................................................................8
1.5 Signature Table...............................................................................................................................................8
2 SYSTEM OVERVIEW........................................................................................................................................9
2.1 Computer Hardware Installation & Operation................................................................................................9
2.2 Computer Software Installation & Operation.................................................................................................9
2.3 Software Description......................................................................................................................................9
3 ORACLE CODE TREE INSTALLATION & QUALIFICATION...............................................................10
3.1 Prerequisite...................................................................................................................................................10
3.2 Server Preparation - System Administrator..................................................................................................10
3.3 Server Preparation - Database Administrator...............................................................................................12
3.4 Installation Qualification Steps.....................................................................................................................28
4 REFERENCES & STANDARDS......................................................................................................................29
4.1 SOPs..............................................................................................................................................................29
4.2 Change Control.............................................................................................................................................29
4.3 Standards.......................................................................................................................................................29
5 EXCEPTION / JUSTIFICATION....................................................................................................................30
5.1 Exception Log...............................................................................................................................................30
5.2 Exception/Justification and Corrective Action Instructions.........................................................................31
5.3 Exception/Justification and Corrective Action Form...................................................................................32
6 POST-APPROVAL SIGNATURES..................................................................................................................33
7 ATTACHMENTS...............................................................................................................................................34
7.1 [Oracle_Owner i.e. ormerck].profile............................................................................................................34
7.2 Create Network File Links in TNS_ADMIN Directory...............................................................................34
7.3 Kernel parameters.........................................................................................................................................35

Version 1.0 Page 2 of 41


Database Services

Oracle Database IQ/OQ

PUBLICATION RECORDS
Version Reason Date (DD-MMM-YYYY)
1.0 Original Publication 9-Mar-2006
1.1 Combined Patches into one section 9-Mar-2006
1.2 Incorporated EMEA variations 9-Mar-2006
1.3 Added trailing “7” to Oracle Home name field on File Locations screen 13-Mar-2006
1.3 Corrected custom parameter field for EMEA Path on File Locations screen 13-Mar-2006
1.3 Made Advanced Security an option for applications that need to install it. 13-Mar-2006
1.3 Changed “For EMEA” to “From EMEA” to indicate location dependence 13-Mar-2006
1.3 Removed “For USA” as this will be the default unless “From EMEA” is present 13-Mar-2006
1.3 Added instruction to use options labeled “From EMEA” to installation section 13-Mar-2006
1.4 Added application of 2007 Daylight Savings patches – P.Scotto 27-Feb-2007
1.4 Change permissions on oraInventory for EM10g – P.Scotto 27-Feb-2007
1.5 Updated to use latest version of OPatch – P.Scotto 08-Mar-2007
1.6 Corrected Destination name on File Locations Screen for consistency – P.Scotto 14-Feb-2008

Version 1.0 Page 3 of 41


Database Services

Oracle Database IQ/OQ

PRE-APPROVAL SIGNATURE PAGE


The signatures denote the pre-approved acceptance of the system to be installed.

The Installation and Operational Qualifications are pre-approved by:

Manager <database group, e.g. IS EMEA


Database Services>

Signature by the primary Merck management responsible for __________________________ ______________


database administration activities indicates agreement and
Signature Date
commitment to quality actions, which assure the
correctness, accuracy, reliability, and robustness of the <DB Manager Name, e.g. Sophie (DD-MMM-YYYY)
system; written technical standards, guidelines & procedures Zerella>
for maintenance of the system are established.
<database group, e.g. IS EMEA
Database Services>
<localisation, e.g. Brussels,
Belgium>

Installer:
<database group, e.g. IS EMEA Database
Services>
__________________________ ______________
Signature by the database administrator indicates Signature Date
agreement and commitment to quality actions that assure <DB Installer Name> (DD-MMM-YYYY)
the correctness, accuracy, reliability, and robustness of the
system. This document will be executed as written. <database group, e.g. IS EMEA
Database Services>
<localisation, e.g. Brussels,
Belgium>

Version 1.0 Page 4 of 41


Database Services

Oracle Database IQ/OQ

1 INSTALLATION OVERVIEW
1.1 Installation Description
1.1.1 Objective Statement

The objective of this document is to define the requirements and procedure for the Installation of
the Oracle version [Oracle_Version i.e. 9.2.0.7] Database Management software for
[Project_Name] on the [Server_Type] server [Server_Alias] (alias for [Server_Name]). The
objective also includes verification of proper installation and operation of the software.

1.1.2 Purpose Statement

The purpose of this document is to assure that the database will be installed and tested for
operation in accordance with written, approved technical standards and guidelines conforming to
Merck corporate policies and [Division] policies and procedures. The installation and
operational qualification will also meet the acceptance criteria specified in this document. All
exceptions will be documented.

1.2 Definitions & Acronyms


A&IT Automation and Information Technology
DSS Decision Support System
HP Hewlett Packard
IQ/OQ Installation Qualification / Operational Qualification
MMD Merck Manufacturing Division
MRL Merck Research Laboratories
NGLIMS Next Generation Laboratory Information Management System
SA System Administrator
SQL Structured Query Language
DBA Database Administrator
OEM Oracle Enterprise Manager
EAMS European Artwork Management System
From EMEA Indicates that installation is being performed on a server located in EMEA

Version 1.0 Page 5 of 41


Database Services

Oracle Database IQ/OQ

1.3 Installer / Reviewer Instructions


The execution of the test lists the steps that must be taken to ensure that the servers are operating
successfully. Once a significant step is completed the installer is requested to evaluate the status
in the Actual Result field. The Results should be completed in the following manner.

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)

1 A B C D

Reviewed by: E Review Date E


(DD-MMM-YYYY):

A The installer enters the ACTUAL Result. This should be the same as the expected Result.

B If the Actual result does not match the expected result, the Installer Enters an Exceptions
Reference (ER1..ER2…etc) and updates the Exceptions Log and an exception/justification
correction form is created according to the Exception / Justification and Corrective Actions
Instructions (refer to Section 5).

C The installer identifies whether a step holds a status of PASS or FAIL.

D The installer Initials and dates when the test has been completed.

E The Reviewer signs and dates when the test has been reviewed.

 The documentation will be considered complete when all signed off areas have been initialed and
dated.
 Mistakes and/or corrections must be crossed out with a single line and initialed and dated.
 The protocol must be filled out completely. If the information is not applicable, N/A must be used.
 Collect and attach any required printouts in the appropriate Attachments(refer to Section 7). All
attachments must be labeled with the related test section and item number, initialed and dated, pages
numbered "X of Y" (where X is the page number and Y is the total number of pages in the
attachment).

Version 1.0 Page 6 of 41


Database Services

Oracle Database IQ/OQ

1.4 Acceptance Criteria

A step is approved as passing if no exceptions are encountered. Alternatively the overall


procedure can be approved as passing with exceptions if the exceptions are not considered
critical to the overall success of the test objective. This overall success of the installation is
denoted by signatures in the Post-Approval boxes (refer to Section 6).

1.5 Signature Table

All participants in this protocol must print their name and provide their initials and signature in
the following table. A participant is defined as anyone who documents a test result, provides any
verification of a test result, or makes any mark on any protocol page. This includes individuals
who sign any spaces on Exception Reporting Form.

The signature information listed below is included as a verification of signatures and initials
throughout the document.

Printed Name / Organization Initials Signature

Version 1.0 Page 7 of 41


Database Services

Oracle Database IQ/OQ

2 SYSTEM OVERVIEW

2.1 Computer Hardware Installation & Operation

The [Server_Name] - IQ/OQ ( [Server_Type] server), where the [Instance_Name] database will
reside, has been documented separately by <database group, e.g. IS EMEA Database Services>.

2.2 Computer Software Installation & Operation

The purpose of this IQ/OQ is to install the oracle code tree software.
2.3 Software Description

ORACLE software is a database management system residing on the [Server_Type] /


[Operating_system i.e. HP-UNIX 11.0] server.

Version 1.0 Page 8 of 41


Database Services

Oracle Database IQ/OQ

3 ORACLE CODE TREE INSTALLATION &


QUALIFICATION
3.1 Prerequisite
Request Oracle Owner ([Oracle_Owner i.e. ormerck]) to be created.
1. If an APF does not exist for the application, complete one.
For an US based application :
http://eacs.merck.com/divisions/tech_services/platforms/unix/forms/apf/apf_index.htm
For an EMEA based application :
http://use.merck.com/library/index.htm
For an AP based application : Nicole is checking with SA
http://use.merck.com/library/index.htm
For EMEA only :
2. Fill out a UNIX Account Application form prior to install. Form can be found on: <doc. link, e.g.
http://isemea.merck.com/customer_support/>
On the request include the following:
Fill out Personal Information
Fill out M.S.D. Manager/Sponsor Information
Select box for "New UserID"
UNIX System: [Server_Name]
Requested User ID: [Oracle_Owner i.e. ormerck]
Requested Group Name: [Unix_Group i.r. dbmerck]
Department email distribution list responsible: <mail distr group, e.g. IS EMEA DBA>
3. Create a Merckury case and send it to the <Unix mail distr group, e.g. IS EMEA UNIX>..
4. IS EMEA UNIX will create the Unix account [Oracle_Owner i.e. ormerck].
5. Write down the case id:

For US only :
Fill out the unix account application form in Merck Forms and fax it to the number on the form.

3.2 Server Preparation - System Administrator


3.2.1 System Administrator

The following section is to be completed by the System Administrator after the account
[Oracle_Owner i.e. ormerck] has been created.

Note: The SA will perform these steps in the table below and the DBA will verify them.

Version 1.0 Page 9 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.2.1.1 Create file system File system
'/opt/oracle/[Oracle_Owner created and size
i.e. ormerck]' size minimal verified.
8Gb
3.2.1.2 Change the ownership of the Ownership of
directory directory
‘/opt/oracle/[Oracle_Owner changed.
i.e. ormerck]’ to be the
‘[Oracle_Owner i.e. ormerck]’
account, group ‘[Unix_Group
i.r. dbmerck]’.
Reviewed by: Review Date
(DD-MMM-YYYY):

Version 1.0 Page 10 of 41


Database Services

Oracle Database IQ/OQ

3.3 Server Preparation - Database Administrator


NOTE: For installations being performed on servers located in EMEA, the optional instruction
labeled “*** From EMEA ***” should be followed if present.

3.3.1 Create Environment Variables

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.1.1 Cd to the directory New directoies
/opt/oracle/[Oracle_Owner i.e. called
ormerck]. admin/network
are created.
mkdir –p admin/network

3.3.1.2 Cd to the directory New directory


/opt/oracle/[Oracle_Owner i.e. called local
ormerck]. created.

mkdir local
chmod 755 local

Cd to the new directory called


‘local’.
3.3.1.3 ftp in a corrected ‘oraenv’ file Oraenv and
and ‘dbhome’ from the dbhome files
software depot. Currently the ftped into the
software depot is uctvd606. local
subdirectory.
ftp uctvd606
ormerck/<password>

ftp> cd
/opt/oracle/install/9.2.0.64

ftp> get oraenv


ftp> get dbhome

ftp> bye

Change permissions to make


these ‘executable’ using;
$ chmod 755 oraenv dbhome

Make a backup copy of each


file, oraenv and dbhome.

Version 1.0 Page 11 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.1.4 Create file File created with
/home/[Oracle_Owner i.e. the values from
ormerck]/install9.profile using attachment 7.1
using attachment 7.1 Install9.profile
Install9.profile.

Verify using cat


/home/[Oracle_Owner i.e.
ormerck]/install9.profile

Open permissions to allows


other users to read the profile
using;
$ chmod 755
/home/[Oracle_Owner i.e.
ormerck]/install9.profile

3.3.1.5 Add a line containing Line added as


. /usr/local/bin/[Oracle_Owner specified.
i.e. ormerck].profile
at the end of the
/home/[Oracle_Owner i.e.
ormerck]/.profile file.

Verify using cat .profile


3.3.1.6 Add an entry for this software Line present and
tree in /etc/oratab. Oratab can /etc/oratab
be owned by another user but readable by
should be readable by [Oracle_Owner
[Oracle_Owner i.e. ormerck]. i.e. ormerck].

If the file is not writable by


[Oracle_Owner i.e. ormerck],
ask the owner of the file to
add the line.
[Instance_Name]:/opt/oracle/
[Oracle_Owner i.e. ormerck]/
product/[Oracle_Version i.e.
9.2.0.7]:N
3.3.1.7 Logout & Login as Logged out and
[Oracle_Owner i.e. ormerck] logged in
3.3.1.8 If this is the first Oracle If this is the first
installation on the server, installation:
verify that the Unix Kernel Parameters are
parameters are in accordance correctly
with attachment 7.3 Kernel verified.
parameters
If this is not the
first installation:
N/A

Version 1.0 Page 12 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.1.9 If this is the first Oracle 9i Java 1.3.1
installation on the server, installed
verify that Java 1.3 has been
installed located in
/opt/java/java1.3
/usr/sbin/swlist | grep –i
javadk
3.3.1.10 If this is the first Oracle X11, Motif and
[Oracle_Version i.e. 9.2.0.7] Imake installed
installation on the server,
verify that X11MotifDevKit is
installed.
/usr/sbin/swlist -l product |
grep X11MotifDevKit
Reviewed by: Review Date
(DD-MMM-YYYY):

Version 1.0 Page 13 of 41


Database Services

Oracle Database IQ/OQ

3.3.2 Oracle [Oracle_Version i.e. 9.2.0.7] Installation

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.2.1 Start an Xterm seesion and Successful sign
login to server [Server_Name] on
as [Oracle_Owner i.e.
ormerck]
3.3.2.2 Source thie installation profile Profile
environment is
. /home/[Oracle_Owner i.e. established for
ormerck]/install9.profile install

3.3.2.3 Verify that there are at least Filesystem free


4GB of space available on space >= 4GB
the /tmpdump filesystem. If
less than 8GB, contact SA to
request more space.
Verify using bdf.

*** From EMEA ***

N/A

3.3.2.4 Verify that at least 55MB free Available free


in /tmp using space >=55MB
bdf | grep /tmp
3.3.2.5 Create product directory: Directories
cd $ORACLE_BASE created
mkdir –p
product/[Oracle_Version i.e.
9.2.0.7]

Version 1.0 Page 14 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.2.6 cd /tmpdump and create the Files transferred
directory [Oracle_Owner i.e. successfully.
ormerck]. Cd to that newly
created directory.

ftp the contents of the Oracle


installation CD’s located in
the software depot. Currently
the software depot is
uctvd606.

ftp uctvd606
ormerck/<password>

ftp> cd
/opt/oracle/install/9.2.0.64

ftp> get 920_64_CD.tar

ftp> bye

*** From EMEA ***

N/A

3.3.2.7 Untar the file in File untarred


/tmpdump/[Oracle_Owner i.e.
ormerck] using:
tar –xvf 920_64_CD.tar

Remove the tar file after


finishing the untar using;
rm 920_64_CD.tar

*** From EMEA ***

N/A

3.3.2.8 Notify the SA to give write oraInst.loc


permission to oraInventory by renamed to
making sure there is no entry oraInst.loc-
‘oraInst.loc’ in the ownerID
/var/opt/oracle.
If any oraInst.loc file exists in
this directory, rename it to
oraInst.loc-ownerID.
OwnerID will be the userid
that owns that file.

Version 1.0 Page 15 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.2.9 Check ORACLE_HOME ORACLE_HOM
variable is set : E=/opt/oracle/
echo $ORACLE_HOME [Oracle_Owner
i.e. ormerck]/pro
duct/
[Oracle_Version
i.e. 9.2.0.7]

3.3.2.10 Verify the display by typing: Clock displayes


xclock properly in X
window.

3.3.2.11 cd /tmpdump/[Oracle_Owner Installer started


i.e. ormerck]/Disk1 and start
the installer:
./runInstaller

*** From EMEA ***

cd
/net/brmgtpr3/orashare/9.2.0_
64bit and start the installer:
./runInstaller

3.3.2.12 Welcome screen If this is the first


Click next installation of
the software
you’ll see the
Inventory
location screen.
If not, the File
Locations
screen
displayed.
3.3.2.13 In the Inventory Location UNIX Group
screen make sure the ‘Base Name screen
Directory’ field is set to should display.
/opt/oracle/[Oracle_Owner i.e.
ormerck]/oraInventory.

Click OK.
3.3.2.14 Unix group name File Locations
Enter [Unix_Group i.r. screen
dbmerck], click next displayed.

Version 1.0 Page 16 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.2.15 Notify the system admin to Alert screen to
run orainstRoot.sh. run
This screen doesn’t appear if orainstRoot.sh.
it has already been run before Verify that the
or if the /var/opt/oracle is script ran
writable by the Oracle Owner. successfully or
Have the script executed and N/A if this is not
click Continue on the alert the first Oracle
window. installation on
the server.
3.3.2.16 File Locations Screen – Available
Source path: Products screen
/tmpdump/[Oracle_Owner i.e. displayed
ormerck]/Disk1/stage/product
s.jar

Destination:
Name: OR9207

Path:
/opt/oracle/[Oracle_Owner i.e.
ormerck]/product/[Oracle_Ver
sion i.e. 9.2.0.7]

Click next

*** From EMEA ***

File Locations Screen –


Source path:
/tmp_mnt/net/brmgtpr3/orash
are/9.2.0_64bit/Disk1/stage/p
roducts.jar

Destination:
Name: OR9207
Path:
/opt/oracle/[Oracle_Owner i.e.
ormerck]/product/[Oracle_Ver
sion i.e. 9.2.0.7]

Click next
3.3.2.17 Available Products. Installation types
Choose Oracle9i Database screen
9.2.0.1.0 displayed.

Click next
3.3.2.18 Installation Types Available
Choose Custom and click Product
next Components
screen
displayed.

Version 1.0 Page 17 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.2.19 Available Product Oracle Product
Components. Components
- Deselect Legato Networker Lists is
Single Server 6.1.0.0.0 displayed and
- Deselect Oracle Enterprise options
Manager Products 9.2.0.1.0 selected.
- Deselect Oracle 9I for Unix Component
Documentation 9.2.0.1.0 Locations
- Deselect Oracle HTTP Screen
server 9.2.0.1.0 Displayed.
- Deselect Oracle Indicate if
Transparent Gateways Advanced
9.2.0.1.0 Security option
- Deselect Oracle Advanced is selected.
Security 9.2.0.1.0 (Optional)

Accept other default choices.


Click next

3.3.2.20 Component Locations Privileged


Accept defaults, click next Operating
System Groups
Screen
displayed.
3.3.2.21 Privileged OS Groups Create
Accept defaults ([Unix_Group Database
i.r. dbmerck]), click next screen
displayed.
3.3.2.22 Create Database Screen – JDK Home
select no and click next Directory Screen
displayed.
3.3.2.23 JDK Home Directory Screen Summary
– screen
JDK Home: /opt/java/java1.3 displayed.
Click next
3.3.2.24 Summary Screen Install Window
Click Install appears.

Version 1.0 Page 18 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.2.25 Notify the SA to run root.sh Script executed
when the Setup Privileges Welcome screen
window pops up. for Oracle Net
Configuration
For local bin directory prompt Assistant
provide the value to the SA displayed.
/opt/oracle/[Oracle_Owner i.e.
ormerck]/local.

Also inform them to respond


with [Y] to the two overwrite
file prompts.

When SA confirmed that


root.sh script is executed then
click OK.

3.3.2.26 Click Cancel on the Welcome End of


screen for the Oracle Net Installation
Configuration Assistant, screen
followed by Yes to confirm. displayed.
This will generate an
(expected) error in the log.
Click OK to continue, click
next in the Configuration
Tools window.
3.3.2.27 End of Installation Oracle installed,
Click Exit. When the back to Unix
confirmation screen appears, prompt.
click Yes.
3.3.2.28 Check /etc/oratab Correct
Line /etc/oratab.
[Instance_Name]:/opt/oracle/[
Oracle_Owner i.e. ormerck]/p
roduct/[Oracle_Version i.e.
9.2.0.7]:N should be there, no
lines starting with a asterisk
(*). Repair if needed.
3.3.2.29 Check the log file in the No unexpected
/opt/oracle/[Oracle_Owner i.e. errors reported
ormerck]/oraInventory/logs in the file
directory for any errors $ORACLE_BAS
unrelated to deliberate E/oraInventory/l
choices during the ogs/installAction
installation. s….log

3.3.2.30 Cd ${ORACLE_HOME}/bin File removed


and remove the file oratclsh
and oratclsh0 (if it exists).
This file must be removed
since it allows a potential
security breach.

Version 1.0 Page 19 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.2.31 Create required link for the Link is created
Tivoli (TSM) backups

> cd $ORACLE_HOME/lib
> ln -s
/opt/tivoli/tsm/client/oracle/bin
64/libobk.sl libobk.sl

3.3.2.32 Create links to network files in Links created


$ORACLE_HOME/network/a
dmin.

See section 7.2 Create


Network File Links in
TNS_ADMIN Directory
3.3.2.33 Logout and login. Logged out and
logged in
successfully
3.3.2.34 Test the oraenv command. If Oraenv
you get any errors, go to the command
directory successful.
$ORACLE_BASE/local and
copy the backup copies of
oraenv and dbhome to the
actual files.
3.3.2.35 Go to the directory /tmpdump/ Files and
[Oracle_Owner i.e. ormerck]. directories in
Remove all files and tmpdump are
directories using; removed.
$ rm –rf *

*** From EMEA ***

N/A

3.3.2.36 Do a ps –ef|grep All remaining


[Oracle_Owner i.e. ormerck]. processes
owned by
If there are any processes [Oracle_Owner
remaining from the i.e. ormerck] are
installation, kill them. killed.

Reviewed by: Review Date


(DD-MMM-YYYY):

Version 1.0 Page 20 of 41


Database Services

Oracle Database IQ/OQ

3.3.3 Upgrade Code Tree to [Oracle_Version i.e. 9.2.0.7]

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.3.1 Start an Xterm session and Successful sign
login to server [Server_Name] on
as [Oracle_Owner i.e.
ormerck]
3.3.3.2 Source the installation profile Installation
environment is
. /home/[Oracle_Owner i.e. set
ormerck]/install9.profile
3.3.3.3 Verify that there are at least Filesystem free
4GB of space available on space >= 4GB
the /tmpdump filesystem. If
less than 4GB, contact SA to
request more space.

*** From EMEA ***

N/A

3.3.3.4 Verify that at least 55MB free Available free


in /tmp using space >=55MB
3.3.3.5 cd /tmpdump. If the Directory
[Oracle_Owner i.e. ormerck] Created or
directory exists, skip this step. verified
If not, create the directory
[Oracle_Owner i.e. ormerck].

*** From EMEA ***

N/A

3.3.3.6 cd /tmpdump/[Oracle_Owner Directory


i.e. ormerck] changed

*** From EMEA ***

N/A

Version 1.0 Page 21 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.3.7 Ftp the patch file located in File transferred
the software depot. Currently successfully
the software depot is
uctvd606.

ftp uctvd606
ormerck/<password>

ftp> cd
/opt/oracle/install/patches/HP
_9.2.0.7

ftp> get
p4163445_92070_HP64.tar

ftp> bye

*** From EMEA ***

N/A

3.3.3.8 Untar the patchset: File untarred


tar –xvf
p4163445_92070_HP64.tar

*** From EMEA ***

N/A

3.3.3.9 Remove the tar file File removed


rm
p4163445_92070_HP64.tar

*** From EMEA ***

N/A

3.3.3.10 Verify that oraInst.loc in File verified


/var/opt/oracle is pointing to
the oraInventory of the oracle
code tree.
oraInst.loc should contain the
following:
inventory_loc=/opt/oracle/
[Oracle_Owner i.e. ormerck]/
oraInventory
inst_group=[Unix_Group i.r.
dbmerck]

Version 1.0 Page 22 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.3.11 Check ORACLE_HOME /opt/oracle/
variable is set : [Oracle_Owner
echo $ORACLE_HOME i.e. ormerck]/pro
duct/
[Oracle_Version
i.e. 9.2.0.7]
3.3.3.12 Verify the display by typing: Clock should
xclock display
3.3.3.13 cd /tmpdump/[Oracle_Owner Installer started
i.e. ormerck]/Disk1 and start
the installer:
./runInstaller

*** From EMEA ***

cd /net/brmgtpr3/orashare/
9.2.0.7.0Patch and start the
installer:
./runInstaller

3.3.3.14 Welcome screen: File locations


Click next screen
displayed
3.3.3.15 File locations screen: Select a
Change source to product screen
/tmpdump/[Oracle_Owner i.e. is displayed
ormerck]/Disk1/Stage/product
s.xml. Change Name field to
OR9207. Change Path field
to /opt/oracle/[Oracle_Owner
i.e. ormerck]/product/[Oracle_
Version i.e. 9.2.0.7]. Click
Next.

*** From EMEA ***

File locations screen:


Change source to
/
tmp_mnt/net/brmgtpr3/orasha
re/9.2.0.7.0Patch/Disk1/stage
/products.xml. Change Name
field to OR9207. Change
Path field to
/opt/oracle/[Oracle_Owner i.e.
ormerck]/product/[Oracle_Ver
sion i.e. 9.2.0.7]. Click Next.
3.3.3.16 Select a product screen: Summary
Choose Oracle 9iR2 Patchset screen
9.2.0.7.0 displayed
Click next

Version 1.0 Page 23 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.3.17 Summary screen: Installing status
Click install screen is
displayed. Then
the
alert screen
appears telling
you to run
root.sh.
3.3.3.18 Notify the System Confirmation
Administrator to run the received from
$ORACLE_HOME/root.sh the SA that
script. root.sh script
has been
executed.
3.3.3.19 After root.sh is run, click OK End of
on the Setup Privileges installation
window and next on the screen is
Install window. displayed.
3.3.3.20 End of Installation Screen - Warning Screen
click Exit Displayed
3.3.3.21 Alert Window – click Yes Return to X-
window
3.3.3.22 Change permissions on Permissions
inventory files (Required for changed
EM10g):

> cd $ORACLE_BASE
> chmod –R 755 oraInventory
3.3.3.23 Go to the oratclsh and
$ORACLE_HOME/bin oratclsh0 files
directory and remove the are removed
oratclsh and oratclsh0 files.

cd $ORACLE_HOME/bin
rm oratclsh oratclsh0
3.3.3.24 Cleanup files. Directories
cd /tmpdump/[Oracle_Owner removed.
i.e. ormerck]
rm –rf *

*** From EMEA ***

N/A

3.3.3.25 Test the oraenv command. If Oraenv


you get any errors, go to the successful
directory
/opt/oracle/[Oracle_Owner i.e.
ormerck]/local and copy the
backup copies of oraenv and
dbhome to the actual files.

Version 1.0 Page 24 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
Reviewed by: Review Date
(DD-MMM-YYYY):

Version 1.0 Page 25 of 41


Database Services

Oracle Database IQ/OQ

3.3.4 Apply Bug Patches and CPU to [Oracle_Version i.e. 9.2.0.7] code tree

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.4.1 Start an Xterm session and Successful sign
login to server [Server_Name] on
as [Oracle_Owner i.e.
ormerck]
3.3.4.2 Source installation profile Installation
environment set
. /home/[Oracle_Owner i.e.
ormerck]/install9.profile

3.3.4.3 Create a PATCHES directory PATCHES


under $ORACLE_HOME if subdirectory
one does not already exist. exists

> cd
/opt/oracle/[Oracle_Owner i.e.
ormerck]/product/[Oracle_Ver
sion i.e. 9.2.0.7]
> mkdir PATCHES

3.3.4.4 cd /opt/oracle/[Oracle_Owner Directory


i.e. ormerck]/product/[Oracle_ changed
Version i.e. 9.2.0.7]

Version 1.0 Page 26 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.4.5 Ftp the OPatch utility program File(s)
and environment setup script transferred
located in the software depot. successfully
Currently the software depot
is uctvd606.

> ftp uctvd606


ormerck/<password>

ftp> cd
/opt/oracle/install/patches/opa
tch_10

ftp> get OPatch_10102.tar

ftp> get setup_opatch_env.sh

ftp> bye

*** From EMEA ***

Copy directory OPatch and


4751923 from
/net/brmgtpr3/orashare to the
ORACLE_HOME

mv
$ORACLE_HOME/OPatch
$ORACLE_HOME/OPatch_or
iginal

cp -R
/net/brmgtpr3/orashare/Securi
ty_Patch_9207_JAN2006/OP
atch_p2617419_10102/
$ORACLE_HOME/OPatch

cp -R
/net/brmgtpr3/orashare/Securi
ty_Patch_9207_JAN2006/475
1923
$ORACLE_HOME/PATCHES
/
3.3.4.6 Expand the OPatch tar file OPatch directory
created
> tar xvf OPatch_10102.tar

*** From EMEA ***

N/A

Version 1.0 Page 27 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.4.7 Remove the tar file File removed

> rm OPatch_10102.tar

*** From EMEA ***

N/A
3.3.4.8 Make the environment setup File is
script executable executable

> chmod 744


setup_opatch_env.sh

*** From EMEA ***

N/A
3.3.4.9 cd Directory
$ORACLE_HOME/PATCHES changed

*** From EMEA ***

N/A

Version 1.0 Page 28 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.4.10 Ftp the patch file located in Patch files for
the software depot. Currently bug 4925103,
the software depot is CPU 4751923,
uctvd606. JVM 5865568
& Time Zones
> ftp uctvd606 5632264
ormerck/<password> transferred
successfully
ftp> cd
/opt/oracle/install/patches/bug49
25103

ftp> get
p4925103_92070_HP64.tar

ftp> cd
/opt/oracle/install/JAN2006CPU
/HPUX

ftp> get
p4751923_92070_HP64.tar

ftp> cd
/opt/oracle/install/DST2007/JV
M

ftp> get p5865568_920x.tar

ftp> cd
/opt/oracle/install/DST2007/TM
Z

ftp> get
p5632264_92080_<platform>.ta
r

** Platform will be (HP64,


HPUX-IA64 or SOLARIS64)
ftp> bye

*** From EMEA ***

N/A

3.3.4.11 Untar the patchset: 4925103 sub-


tar –xvf directory created
p4925103_92070_HP64.tar

*** From EMEA ***

N/A

Version 1.0 Page 29 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.4.12 Remove the tar file File removed
rm p4925103_92070_HP64.tar

*** From EMEA ***

N/A

3.3.4.13 Verify that oraInst.loc in File verified


/var/opt/oracle is pointing to
the oraInventory of the oracle
code tree.
oraInst.loc should contain the
following:
inventory_loc=/opt/oracle/
[Oracle_Owner i.e. ormerck]/
oraInventory
inst_group=[Unix_Group i.r.
dbmerck]
3.3.4.14 Check ORACLE_HOME /opt/oracle/
variable is set : [Oracle_Owner
echo $ORACLE_HOME i.e. ormerck]/pro
duct/
[Oracle_Version
i.e. 9.2.0.7]
3.3.4.15 Source the environment Environemt
setup script setup

> . setup_opatch_env.sh

*** From EMEA ***

export
PATH=/opt/perl/perl5.6.1/bin:
$PATH

3.3.4.16 Change to the expanded Directory


patch directory Changed

> cd
$ORACLE_HOME/PATCHES/4
925103
3.3.4.17 Apply the patch Patch execution
begins. Stops at
> opatch apply prompt to
shutdown
*** From EMEA *** processes

Apply the patch

perl
$ORACLE_HOME/OPatch/op
atch.pl apply

Version 1.0 Page 30 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.4.18 Respond “Y” to prompt for Patch install
running processes begins and end
with OPatch
succeeded
mesage.
3.3.4.19 Check for successful Patch 4925103
installation: should be listed

> cd
$ORACLE_HOME/PATCHES
> opatch lsinventory
3.3.4.20 Untar the patchset: 4751923 sub-
tar –xvf directory created
p4751923_92070_HP64.tar

*** From EMEA ***

N/A

3.3.4.21 Remove the tar file File removed


rm
p4751923_92070_HP64.tar

*** From EMEA ***

N/A

3.3.4.22 Change to the expanded Directory


patch directory Changed

> cd
$ORACLE_HOME/PATCHES/
4751923
3.3.4.23 Apply the patch Patch execution
begins. Stops at
> opatch apply prompt to
shutdown
*** From EMEA *** processes

Apply the patch

perl
$ORACLE_HOME/OPatch/op
atch.pl apply
3.3.4.24 Respond “Y” to prompt for Patch
running processes installation
begins

Version 1.0 Page 31 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.4.25 Untar the Time Zone 5632264 sub-
patchset: directory created

tar xvf
p5632264_92080_<platform>
.tar

** Platform will be (HP64,


HPUX-IA64 or SOLARIS64)

3.3.4.26 Remove the TimeZone tar file File removed

> rm
p5632264_920x0_<platform>
.tar

3.3.4.27 Untar the Time Zone 5632264 sub-


patchset: directory created

tar xvf
p5632264_92080_<platform>
.tar

** Platform will be (HP64,


HPUX-IA64 or SOLARIS64)

3.3.4.28 Remove the TimeZone tar file File removed

> rm
p5632264_920x0_<platform>
.tar

3.3.4.29 Untar the JVM patchset: 5865568 sub-


directory created
> tar xvf p5865568_920x.tar

3.3.4.30 Remove the tar file File removed

> rm p5865568_920x.tar

Version 1.0 Page 32 of 41


Database Services

Oracle Database IQ/OQ

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.3.4.31 Remove ncomp shared File is renamed
library for java.util package

> cd
$ORACLE_HOME/javavm/ad
min

For HPUX:

> mv libjox9java_util.sl
libjox9java_util.sl.dst2007

For Solaris:

> mv libjox9java_util.so
libjox9java_util.so.dst2007

3.3.4.32 Change to the expanded JVM Directory


patch directory Changed

> cd
$ORACLE_HOME/PATCHES/5
865568

3.3.4.33 Apply the patch Patch execution


begins. Stops at
> opatch apply prompt to
shutdown
processes
3.3.4.34 Respond “Y” to prompt for Patch
running processes installation
begins
3.3.4.35 Check for successful Patches
installation: 4925103,
4751923,
> cd 5865568 &
$ORACLE_HOME/PATCHES 5632264 should
> opatch lsinventory be listed
Reviewed by: Review Date
(DD-MMM-YYYY):

Version 1.0 Page 33 of 41


Database Services

Oracle Database IQ/OQ

3.4 Installation Qualification Steps


This section is to be used to verify that the Oracle Software has been installed successfully, and
to verify that the database can be used as expected. This section can also be used to qualify an
already installed Oracle Code Tree.

3.4.1 Verify Oracle Software

Expected Pass/ Initials/Date


Step Activity Results Actual Results Fail (DD-MMM-YYYY)
3.4.1.1 Login to the server as the Successfully
owner of the Oracle Code logged in.
Tree ([Oracle_Owner i.e.
ormerck]).
3.4.1.2 Start logging by executing: Script started,
$ script file is typescript.
3.4.1.3 Change directory as follow: Directory
cd $ORACLE_HOME/bin changed.
3.4.1.4 Execute: Information
$ chatr oracle about the
executable file
oracle is
displayed.
3.4.1.5 Execute: Information
$ chatr sqlplus about the
executable file
sqlplus is
displayed.
3.4.1.6 Execute: Information
$ chatr lsnrctl about the
executable file
lsnrctl is
displayed.
3.4.1.7 Type ll oracle Permissions on
the file should
be
-rwsr-s—x
3.4.1.8 Type exit Script stopped.
3.4.1.9 Print and attach the file File printed and
typescript. attached.
Reviewed by: Review Date
(DD-MMM-YYYY):

Version 1.0 Page 34 of 41


Database Services

Oracle Database IQ/OQ

4 REFERENCES & STANDARDS

4.1 SOPs

Standard Operating Procedures (SOPs) for Information Systems Management exist.

Initials Date
(DD-MMM-YYYYY)
SOPs are located in the IS
EMEA Infrastructure document
management system.

4.2 Change Control


System Change Control Guidelines for Information Services EMEA exist.

Initials Date
Change Control Guidelines are (DD-MMM-YYYYY)
located in the <isgroup, e.g.
Information Services EMEA (IS
EMEA)>document management
system.

4.3 Standards
Use Oracle Engineering Standards to define a standard baseline configuration for Oracle and
provide a foundation upon which to build a tailored environment based on your requirements.

Version 1.0 Page 35 of 41


Database Services

Oracle Database IQ/OQ

5 EXCEPTION / JUSTIFICATION
For each observed exception make an entry into the Exception Log. Also, fill out the Exception/
Justification and Corrective Action Form. If additional exception justification and corrective action
forms are needed, the form may be copied and added as an attachment and numbered (Page _ of _ ).
5.1 Exception Log
Close Out
Exception Section Step Initials / Date
Exception Description Date
Number # # (dd-Mmm-yyyy):
(dd-Mmm-yyyy):

Reviewed by: Review Date


Reviewer’s Printed Name: (dd-Mmm-yyyy):

Signature:

Version 1.0 Page 36 of 41


Database Services

Oracle Database IQ/OQ

5.2 Exception/Justification and Corrective Action Instructions

All Exception/Justification and Corrective Action Forms (Section 5.3) must be completed prior
to document closeout.
Complete the Exception/Justification and Corrective Action Form(s) using the field descriptions
below as a guide.

Exception Number - The identifying number for an exception. The person that is
entering the exception into the log assigns this number.

Section - The corresponding Section Number where the exception occurred.

Step Number - The corresponding Step Number where the exception occurred.

Reported By - The name of the person who first observed or noted the exception.

Date Observed - The date that the exception occurred or was noted.

Person Responsible for Corrective Action – Person(s) responsible for resolving the
exception and verifying that the exception has been corrected.

Description of Exception - A detailed description of the problem or anomaly that


occurred.

Corrective Actions Taken – A detailed description of all steps taken to resolve the non-
conformity.

Corrective Actions Completed by - Person(s) who corrected the solution to the


exception.

Corrective Actions Reviewed by – Person(s) who reviewed the solution to the


exception.

Date - The date that the corrective action/review steps took place.

Version 1.0 Page 37 of 41


Database Services

Oracle Database IQ/OQ

5.3 Exception/Justification and Corrective Action Form

Exception Number: ______________ Section Number: _______________ Step #: ___________________

Reported By: Date Observed (DD-MMM-YYYY):

Person Responsible for Corrective Action:

Description of Exception:

Corrective Actions Taken:

Corrective Actions Completed By: Date (DD-MMM-YYYY):

Corrective Actions Reviewed By: Date (DD-MMM-YYYY):

Version 1.0 Page 38 of 41


Database Services

Oracle Database IQ/OQ

6 POST-APPROVAL SIGNATURES
The installation of Oracle [Oracle_Version i.e. 9.2.0.7] software has been completed. The
installation is acceptable as documented herein, including resolution of any deficiencies
documented during its performance. The signatures on this page denote acceptance of the
system as installed. Maintain the original signed copy in the official hard-copy repository.

The Installation and Operational Qualifications are approved by:

Manager <database group, e.g. IS EMEA


Database Services>
__________________________ ______________
Signature by the primary Merck management responsible for Signature Date
database administration activities indicates agreement and
<DB Manager Name, e.g. Sophie (DD-MMM-YYYY)
commitment to quality actions, which assure the
correctness, accuracy, reliability, and robustness of the Zerella>
system; written technical standards, guidelines & procedures
for maintenance of the system are established.
<database group, e.g. IS EMEA
Database Services>

Installer:
<database group, e.g. IS EMEA Database
Services>
__________________________ ______________
Signature by the database administrator indicates Signature Date
agreement and commitment to quality actions that assure <DB Installer Name> (DD-MMM-YYYY)
the correctness, accuracy, reliability, and robustness of the <database group, e.g. IS EMEA
system. This document has been executed as written.
Database Services>

Reviewer:
<database group, e.g. IS EMEA Database
Services>
__________________________ ______________
Signature by the database administrator indicates Signature Date
agreement and commitment to quality actions that assure <DB Reviewer Name, e.g.> (DD-MMM-YYYY)
the correctness, accuracy, reliability, and robustness of the <database group, e.g. IS EMEA
system. This document has been executed as written.
Database Services>

Version 1.0 Page 39 of 41


Database Services

Oracle Database IQ/OQ

7 ATTACHMENTS
7.1 Install9.profile
[From Section 3.3.1.4]

ORACLE_BASE=/opt/oracle/[Oracle_Owner i.e. ormerck]; export ORACLE_BASE


ORACLE_HOME=$ORACLE_BASE/product/[Oracle_Version i.e. 9.2.0.7]; export ORACLE_HOME
ORACLE_TERM=vt220; export ORACLE_TERM
TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
PATH=/opt/java/java1.3/bin:$ORACLE_HOME/bin:$PATH; export PATH
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS33
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:$ORACLE_HOME/rdbms/lib; export
LD_LIBRARY_PATH
SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/rdbms/lib32; export SHLIB_PATH
NLS_LANG=AMERICAN_AMERICA.UTF8; export NLS_LANG

umask 022

alias db=". $ORACLE_BASE/local/oraenv"


alias home="cd $ORACLE_BASE"

7.2 Create Network File Links in TNS_ADMIN Directory


[From Section 3.3.1.4]

$ cd /opt/oracle/[Oracle_Owner i.e. ormerck]/product/[Oracle_Version i.e. 9.2.0.7]/network/admin

$ ln –s /opt/oracle/[Oracle_Owner i.e. ormerck]/admin/network/listener.ora listener.ora


$ ln –s /opt/oracle/[Oracle_Owner i.e. ormerck]/admin/network/ldap.ora ldap.ora
$ ln –s /opt/oracle/[Oracle_Owner i.e. ormerck]/admin/network/tnsnames.ora tnsnames.ora
$ ln –s /opt/oracle/[Oracle_Owner i.e. ormerck]/admin/network/sqlnet.ora sqlnet.ora

Version 1.0 Page 40 of 41


Database Services

Oracle Database IQ/OQ

7.3 Kernel parameters


[From Section 3.3.1.8]

Kernel Parameter Value Completed Comments


(Initials)
1 MAXFILES 2048
2 MAXFILES_LIM 2048
3 MAXSWAPCHUNKS 16384
4 MAXUPRC 16384
5 MAXUSERS 4096
6 MAXVGS 200
7 MSGMAX 32768
8 MSGMNB 32768
9 MSGMNI 384
10 MSGSEG 7168
11 MSGSSZ 8
12 MSGTQL 256
13 NFILE 54971
14 NFLOCKS 54971
15 NSTRPTY 128
16 SEMMAP 2050
17 SEMMNI 2048
18 SEMMNS 6144
19 SHMMAX 1610612736
20 SHMMNI 1000
21 SHMSEG 384
22 NINODE 34264
23 NPROC 30000

Kernel Parameters

Version 1.0 Page 41 of 41

You might also like