+ All Categories
Home > Documents > Install Oracle 9i on Windows 2003 Server

Install Oracle 9i on Windows 2003 Server

Date post: 18-Apr-2015
Category:
Upload: gsmartist
View: 255 times
Download: 2 times
Share this document with a friend
41
10/17/12 Install Oracle 9i on Windows 2003 Server 1/41 www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html Install Oracle 9i on Windows 2003 Server Contents Introduction I recently installed Oracle 9i on Windows Server 2003 R2 Service Pack 1 and made the following notes. I used the Oracle discs for version 9.2.0.1.0. Note that some text has been blurred to protect the anonymity of the client. Downloaded latest patchset from metalink (in this case it was Patch 9.2.0.7 for win32; p4163445_92070_WINNT.zip). IMPORTANT: Sometimes I find better ways of doing things after I've taken the screenshots. Be sure to refer to the text below each screen shot for any alterations. Run OUI Remove the ORACLE_HOME environment variable if it exists. Insert Oracle disc 1 and select "Install/Deinstall Products". This runs the Oracle Universal Installer. Welcome
Transcript
Page 1: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

1/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Install Oracle 9i on Windows 2003 Server

Contents

Introduction

I recently installed Oracle 9i on Windows Server 2003 R2 Service Pack 1 and

made the following notes. I used the Oracle discs for version 9.2.0.1.0. Note that

some text has been blurred to protect the anonymity of the client.

Downloaded latest patchset from metalink (in this case it was Patch 9.2.0.7 for

win32; p4163445_92070_WINNT.zip).

IMPORTANT: Sometimes I find better ways of doing things after I've taken

the screenshots. Be sure to refer to the text below each screen shot for any

alterations.

Run OUI

Remove the ORACLE_HOME environment variable if it exists.

Insert Oracle disc 1 and select "Install/Deinstall Products". This runs the Oracle

Universal Installer.

Welcome

Page 2: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

2/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Click Next.

File Locations

Page 3: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

3/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

We put oracle into D:\oracle\ora92. Click Next.

Available Products

Page 4: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

4/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Select Oracle9i Database 9.2.0.1.0 and Click Next.

Installation Types

Page 5: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

5/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Select Custom and Click Next.

Available Product Components

Page 6: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

6/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Deselect "Enterprise Edition Options", select "Oracle Management Pack for

Oracle Standard Edition 9.2.0.1.0" under "Oracle Enterprise Manager Products

9.2.0.1.0. Click Next.

Page 7: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

7/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Component Locations

Page 8: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

8/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Made sure all components went into D:\oracle. Click Next.

Oracle Management Server Repository

Page 9: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

9/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Select "The Management Server will require a new repository" and click Next.

Create Database

Page 10: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

10/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Select Yes and click Next.

Summary

Page 11: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

11/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Review the options and space requirements and click Install.

Install

Page 12: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

12/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

If you want to watch the log as it goes, fire up Cygwin and do something like

below. This will probably slow down the installation though:

michael@questtest ~

$ cd c:

michael@questtest /cygdrive/c

$ cd Program\ Files/Oracle/Inventory/logs

michael@questtest /cygdrive/c/Program Files/Oracle/Inventory/logs

$ tail -f installActions2006-07-11_12-01-41PM.log

Disk Location

Page 13: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

13/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Don't forget you'll have to swap discs!

Oracle Net Configuration Assistant

Welcome

Page 14: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

14/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Select "Perform typical configuration" and click Next.

Page 15: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

15/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Database Configuration Assistant

DBCA: Welcome

Click Next.

DBCA: Step 1 of 8: Operations

Page 16: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

16/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Select "Create a database" and click Next.

DBCA: Step 2 of 8: Database Templates

Page 17: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

17/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Select "New database" and click Next.

DBCA: Step 3 of 8: Database Identification

We enter the same name for the global name and your SID. Click Next.

DBCA: Step 4 of 8: Database Identification

Page 18: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

18/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Deselect "Example Schemas" and say yes to delete the tablespace in the dialogue

box. Click Next.

DBCA: Step 5 of 8: Database Connection Options

Page 19: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

19/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Select "Dedicated Server Mode" and click Next.

DBCA: Step 6 of 8: Initialization Parameters

These vary depending on the application and the hardware. The values I used are

in the screen shot.

Page 20: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

20/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Change the Database Character Set to AL32UTF8.

The default block size and sort area are OK.

Page 21: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

21/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

The default file locations are OK too.

Turn on Archive Log Mode. Consider using another drive/partition for these.

Click Next.

Page 22: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

22/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

DBCA: Step 7 of 8: Database Storage

Review the locations of the database files. Control file on D:, Y: and Z:.

Tablespaces on Y:, Redo logs on Z:. Click Next.

DBCA: Step 8 of 8: Creation Options

Page 23: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

23/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Select "Generate Database Creation Scripts" to save your choices. Click Finish.

Summary

Page 24: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

24/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Saved HTML file for reference at C:\Quest\database-summary.html, then click

OK.

Page 25: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

25/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Scripts should be created. Click OK.

The first couple of times we got error ORA-03113 here. This was because the

user we were installing as wasn't in the administrators group on the local

machine.

Page 26: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

26/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Enter your SYS and SYSTEM passwords and click Exit.

Enterprise Manager Configuration Assistant

EMCA: Step 1 of 3: Welcome

Page 27: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

27/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Click Next.

EMCA: Step 2 of 7: Create New Repository Options

Page 28: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

28/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Select custom and click Next.

EMCA: Step 3 of 7: Select Database Location

Select "In another existing database" and click Next.

EMCA: Step 4 of 7: Select Database for Repository

Page 29: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

29/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Enter the details for SYSTEM, the service as "localhost:1521:your SID", and click

Next.

EMCA: Step 5 of 7: Repository Login Information

Page 30: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

30/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Enter a password twice and click Next.

EMCA: Step 6 of 7: Select Repository User Tablespaces

Page 31: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

31/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Defaults are fine. Click Next.

EMCA: Step 7 of 7: Create Repository Summary

Review and click Finish.

Page 32: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

32/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Another quick cup of tea.

Page 33: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

33/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Click close.

End of Installation

Click Exit.

Apply Latest Patchset

Login to Metalink and click on "Patches and Updates". Click "Simple Search"

under patches. Search by "Product or Family", enter "RDBMS Server", select

9.2.0.x where x is the highest number. The platform is "Microsoft Windows (32-

bit)".

Page 34: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

34/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

At the time of writing, 9.2.0.8 was the highest patch level, but wasn't available

for 32-bit Windows so I took 9.2.0.7. Download the patchset and unzip to

somewhere outside of ORACLE_HOME, e.g. C:\Oracle_patch.

Run C:\Oracle_path\Disk1\setup.exe. This starts the Oracle Universal Installer.

Note: this is a different version of the OUI than the one you installed from the

CD. You must use this newer version.

From Control Panel -> Administrative Tools -> Services, stop the following

services:

OracleOraHome92Agent

OracleOraHome92TNSListener

OracleOraHome92ManagementServer (asks for credentials - use

sysman/oem_temp)

OracleServiceyour SID

OracleOraHome92HTTPServer

Welcome

Page 35: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

35/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Click Next.

Specify File Locations

Page 36: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

36/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Enter OraHome92 into the name field and this should update the path to your

ORACLE_HOME. Click Next.

If any services are still running you'll see this:

Page 37: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

37/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Summary

Page 38: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

38/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Click Install.

Install

Page 39: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

39/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Fancy a brew?

End of Installation

Page 40: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

40/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Click Exit, then restart the following services:

OracleOraHome92Agent

OracleOraHome92TNSListener

OracleOraHome92ManagementServer

Upgrade the database

Run SQL*Plus as SYS, restart the database and run the upgrade script. Note that

this took around 30 mins for just one smallish OpenACS schema:

SHUTDOWN ABORT

STARTUP

SHUTDOWN IMMEDIATE

STARTUP MIGRATE

SPOOL C:\patch.log

@D:\Oracle\ora92\rdbms\admin\catpatch.sql

SPOOL OFF

Review C:\patch.log for any errors (there were none). Restart the database in the

normal way.

Page 41: Install Oracle 9i on Windows 2003 Server

10/17/12 Install Oracle 9i on Windows 2003 Server

41/41www.michaelhinds.com/tech/oracle/install‑oracle‑9i.html

Note: I forgot this step and it didn't manifest itself until I tried to drop a user,

which gave the error:

drop user user cascade;

*

ERROR at line 1:

ORA-01001: invalid cursor

ORA-00600: internal error code, arguments: [qmxiUnpPacked2], [121], [], [], [],

[], [], []

Detailed instructions can be found accompanying the patchset.

Sep 2006


Recommended