Wednesday, December 31, 2008

Oracle db Installation steps on Hp_Ux 11.23 Itanium

Preparing an Oracle Database for Installation

Before installing an Oracle database on the management server, follow these steps:

 

1. Make sure that your system meets the hardware and software requirements, “Installation Requirements for the Management Server

NOTE The dynamically linked Oracle environments are not supported.

 

a. Create a UNIX group named dba. The group ID should be greater than 100.

b. Create a UNIX group named oinstall. The group ID should be greater than 100.

c. Create a UNIX user named oracle. The user ID should be greater than 100.

d. Make the user oracle a member of the group oinstall as the primary group and dba as the secondary group.

e. As the home directory of the oracle user, use: /home/oracle

 

3. Set umask to allow users to access the Oracle binaries: umask 022

 

4. Create the directories required by the Oracle installation:

 

a. Create the Oracle home directory ORACLE_HOME:

mkdir -p /opt/oracle/product/

 

Where the is the Oracle database version, 10.2.0.

You can also choose a different directory for ORACLE_HOME but you must use it consistently in all subsequent steps.

b. Create a base directory for the Oracle installation files: mkdir -p /opt/oracle/oraInventory

You can also choose a different directory. If you do so, use the new directory consistently in all subsequent steps.

5. Change the ownership of the directories to oracle: install by entering:

chown -R oracle:oinstall /opt/oracle \ /opt/oracle/product /opt/oracle/product/

Where the is the Oracle database version, 10.2.0.

 

6. Set the following Oracle-environment variables in the

/home/oracle/.profile of user oracle:

export ORACLE_BASE=/opt/oracle

This variable determines the location and the version of the Oracle installation. The subdirectory prefix /opt is just an example; replace it with the installation path you used for Oracle.

export ORACLE_HOME=$ORACLE_BASE/product/

Where the is the Oracle database version,

10.2.0.

This variable determines the location and the version of the Oracle installation. This is the recommended setting. You can choose a different setting, if needed.

export PATH=$PATH:$ORACLE_HOME/bin

This variable sets the directories through which the system searches to find and execute commands.

export ORACLE_SID=

This variable defines the name of the database you will create. The default setting is openview but you can use a different setting if required.

 

7. Install the Oracle database as described in the following section.

Oracle Database 10g Release 2 with 10.2.0.2 Patch Set for the Oracle Database Server for HP-UX Itanium

 

To install Oracle 10g (10.2.0) from the CD-ROMs, follow these steps:

 

1. During the Oracle installation, you will need to perform some steps as user root and some as user oracle. Open two terminal windows and perform the following steps:

a. Log in as user root in the first terminal window and as user oracle in the second.

b. Make sure that the Oracle-environment variable ORACLE_TERM is set correctly. If you use an hpterm, use hp. If you use a dtterm, use ansi.

 To check the setting, enter: echo $ORACLE_TERM

c. Verify, and if necessary, set the ORACLE_HOME variable.

For example:

ORACLE_HOME=/opt/oracle/product/

Where the is the Oracle database version, 10.1.0 or

10.2.0.

export ORACLE_HOME

d. Set your DISPLAY environment variable, enter:

export DISPLAY=:0.0

Where is the name of your system.

No comments:

Post a Comment

Followers

About Me

My photo
N.Delhi, Delhi, India
I am an Oracle Certified Professional, Oracle 9i/10G DBA, having 4+ years of core DBA experience.