HOME > > Install Oracle 11g (11.2.0.4) Database + Configure ASM by ASMCA + Create Oracle Database by DBCA in 11g RAC

Install Oracle 11g (11.2.0.4) Database + Configure ASM by ASMCA + Create Oracle Database by DBCA in 11g RAC

Anup - Tuesday, February 21, 2023
 


Task (Install Oracle 11.2.0.4 Software/binary)

unzip Database Software 


Execute runInstaller


Step 1 Log in as an ORACLE user and execute the run installer.

$./runInstaller















Error:



collect2: error: ld returned 1 exit status


INFO: make[1]: Leaving directory `/oracle/db/11g/sysman/lib'


INFO: make[1]: *** [/oracle/db/11g/sysman/lib/emdctl] Error 1

make: *** [emdctl] Error 2


INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target 'agent nmhs' of makefile '/oracle/db/PM.log' for details.


Link error on "ins_emagent.mk".

Solution:

Edit $ORACLE_HOME/sysman/lib/ins_emagent.mk, search for the line

$(MK_EMAGENT_NMECTL)

Then replace the line with

$(MK_EMAGENT_NMECTL) -lnnz11

Then click “Retry” button to continue.

 






(Create Configure ASM DISK Groups for Storing Database Data)


By “ASMCA”


Step 1 log in as a ORACLE user , set following environment and invoke ASMCA:

$export ORACLE_HOME=<GROD_HOME>

$export PATH=$ORACLE_HOME/bin:$PATH


./asmca



Click on Create Button








(Create Database)


We can use two methods “DBCA” or “Manual”, for creating RAC Enable Database. Here I will describe both methods. You can choose one of them.


By “DBCA”


Step 1 log in as a ORACLE user , set following environment and invoke DBCA :

$export ORACLE_HOME=<DB_HOME>

$export PATH=$ORACLE_HOME/bin:$PATH

$dbca


Step 2 Follow Screen Shot




















After creating Database. Verify the Services.


$<CRS_HOME>/bin/crs_stat –t



Contact me

Get in Touch

Need to get touch with me? Please fill out the form with your enquiry.

Name
Anup Srivastav
Address
Lucknow - Utter Pradesh
Email
myindiandba@gmail.com
Message me