Hendry's "Oracle and SQL Server DBA Stuff"

Oracle and SQL Server Database Solutions for DBA's please visit http://hendrydba.com for the latest posts. Thanks

DEINSTALL ORACLE GRID INFRASTRUCTURE standalone install 11.2.0.1 in Aix 6.1

Posted by Hendry chinnapparaj on August 24, 2011

 

Problem:-

If you want to install a New Grid Infra 11.2.0.2 and remove/ wipe out the old version 11.2.0.1, then follow the steps

 

Solution:-

Shutdown the grid listener

Grep for css processes and Kill the processes

Ps –ef|grep

 

xmrep:/u01/ofsad2/stage/Grid> /u01/oracle/product/11.2.0/grid/deinstall/deinstall

Checking for required files and bootstrapping …

Please wait …

Location of logs /u01/oracle/oraInventory/logs/

 

############ ORACLE DEINSTALL & DECONFIG TOOL START ############

 

 

######################## CHECK OPERATION START ########################

Install check configuration START

 

 

Checking for existence of the Oracle home location /u01/oracle/product/11.2.0/grid

Oracle Home type selected for de-install is: SIHA

Oracle Base selected for de-install is: /u01/oracle

Checking for existence of central inventory location /u01/oracle/oraInventory

Checking for existence of the Oracle Grid Infrastructure home /u01/oracle/product/11.2.0/grid

 

Install check configuration END

 

Traces log file: /u01/oracle/oraInventory/logs//crsdc.log

 

Network Configuration check config START

 

Network de-configuration trace file location: /u01/oracle/oraInventory/logs/netdc_check6964497452072461728.log

 

Network Configuration check config END

 

Asm Check Configuration START

 

ASM de-configuration trace file location: /u01/oracle/oraInventory/logs/asmcadc_check8224494113281005570.log

 

Specify the ASM Diagnostic Destination [ ]: /u01/oracle

Specify the diskgroups that are managed by this ASM instance []: DATA

 

De-configuring ASM will drop all the diskgroups at cleanup time. Do you want deconfig tool to drop the diskgroups y|n [y]: y

 

 

######################### CHECK OPERATION END #########################

 

 

####################### CHECK OPERATION SUMMARY #######################

Oracle Grid Infrastructure Home is: /u01/oracle/product/11.2.0/grid

The cluster node(s) on which the Oracle home exists are: (Please input nodes seperated by “,”, eg: node1,node2,…)null

Oracle Home selected for de-install is: /u01/oracle/product/11.2.0/grid

Inventory Location where the Oracle home registered is: /u01/oracle/oraInventory

ASM instance will be de-configured from this Oracle home

Do you want to continue (y – yes, n – no)? [n]: y

A log of this session will be written to: ‘/u01/oracle/oraInventory/logs/deinstall_deconfig2011-08-24_04-47-52-PM.out’

Any error messages from this session will be written to: ‘/u01/oracle/oraInventory/logs/deinstall_deconfig2011-08-24_04-47-52-PM.err’

 

######################## CLEAN OPERATION START ########################

ASM de-configuration trace file location: /u01/oracle/oraInventory/logs/asmcadc_clean8762848314473084786.log

ASM Clean Configuration START

ASM deletion in progress. This operation may take few minutes.

ASM Clean Configuration END

 

Network Configuration clean config START

 

Network de-configuration trace file location: /u01/oracle/oraInventory/logs/netdc_clean3799587469246793438.log

 

De-configuring Listener configuration file…

Listener configuration file de-configured successfully.

 

De-configuring backup files…

Backup files de-configured successfully.

 

The network configuration has been cleaned up successfully.

 

Network Configuration clean config END

 

 

—————————————->

 

Run the following command as the root user or the administrator on node “devu026”.

 

/tmp/deinstall2011-08-24_04-47-09-PM/perl/bin/perl -I/tmp/deinstall2011-08-24_04-47-09-PM/perl/lib -I/tmp/deinstall2011-08-24_04-47-09-PM/crs/install /tmp/deinstall2011-08-24_04-47-09-PM/crs/install/roothas.pl -force  -delete -paramfile /tmp/deinstall2011-08-24_04-47-09-PM/response/deinstall_Ora11g_gridinfrahome1.rsp

 

Press Enter after you finish running the above commands

 

<—————————————-

Oracle Universal Installer clean START

 

Detach Oracle home ‘/u01/oracle/product/11.2.0/grid’ from the central inventory on the local node : Done

 

Delete directory ‘/u01/oracle/product/11.2.0/grid’ on the local node : Done

 

The Oracle Base directory ‘/u01/oracle’ will not be removed on local node. The directory is in use by Oracle Home ‘/u01/oracle/product/10.2/rapmd2’.

 

The Oracle Base directory ‘/u01/oracle’ will not be removed on local node. The directory is in use by central inventory.

 

Oracle Universal Installer cleanup was successful.

 

Oracle Universal Installer clean END

 

 

Oracle install clean START

 

Clean install operation removing temporary directory ‘/tmp/install’ on node ‘devu026’

 

Oracle install clean END

 

Moved default properties file /tmp/deinstall2011-08-24_04-47-09-PM/response/deinstall_Ora11g_gridinfrahome1.rsp as /tmp/deinstall2011-08-24_04-47-09-PM/response/deinstall_Ora11g_gridinfrahome1.rsp3

 

######################### CLEAN OPERATION END #########################

 

 

####################### CLEAN OPERATION SUMMARY #######################

ASM instance was de-configured successfully from the Oracle home

Oracle Restart was already stopped and de-configured on node “devu026”

Oracle Restart is stopped and de-configured successfully.

Successfully detached Oracle home ‘/u01/oracle/product/11.2.0/grid’ from the central inventory on the local node.

Successfully deleted directory ‘/u01/oracle/product/11.2.0/grid’ on the local node.

Oracle Universal Installer cleanup was successful.

 

Oracle install successfully cleaned up the temporary directories.

#######################################################################

 

 

############# ORACLE DEINSTALL & DECONFIG TOOL END #############

 

emrep:/u01/ofsad2/stage/Grid>

 

cd /u01/oracle/product/

rm –rf 11.2.0

Shalom

Hendry

Advertisements

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

 
%d bloggers like this: