Relink -ing binaries of Oracle RDBMS and Oracle Agent

Few weeks back my OS vendor had to apply apply Solaris patches on my DB server. Since most of the OS patches modifies the underlying libraries which are shared with oracle, i had to relink the Oracle Home of RDBMS and Agent home.

Though i had Oracle Clusterware installed on ther Server, there is noting like relink as ORA_CRS_HOME are shiphomes that does use the shared libraries.

My environment is Oracle 10gR2 on Soalris SPARC 64bit

For RDBMS 10gR2:

1]script relink_ora_home_node1.log      
2]/u01/app/oracle/product/10.2.0/db_1/bin/relink all 
3]exit
 

1-> this command will log everything that happens on the terminal into the file relink_ora_home_node1.log until ‘exit’
2-> relink oracle
3-> to come out of the ‘script’ command

For Agent home 10gR2
1]script relink_agent_home_node1.log
2]export ORACLE_HOME=/u01/app/oracle/product/agent10g
3]/u01/app/oracle/product/agent10g/myjpsuolicdbd01/bin/emctl status agent
4]/u01/app/oracle/product/agent10g/myjpsuolicdbd01/bin/emctl stop agent
5]cd $ORACLE_HOME/sysman/lib
make -f ins_emagent.mk agent
6]su root
   cd $ORACLE_HOME   (agent home)
   ./root.sh
7]/u01/app/oracle/product/agent10g/myjpsuolicdbd01/bin/emctl start agent
8]exit
 

 

Advertisements

One thought on “Relink -ing binaries of Oracle RDBMS and Oracle Agent

  1. Pingback: Index « My confrontations with oracle

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s