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 11g ASM Grid Infra

Posted by Hendry chinnapparaj on May 17, 2010

 

Deinstall 11g ASM Grid Infra

devu009n3 $ pwd

/u01/oracle/product/11.2.0/grid

devu009n3 $ cd deinstall

devu009n3 $ pwd

/u01/oracle/product/11.2.0/grid/deinstall

devu009n3 $ ./deinstall

Checking for required files and bootstrapping …

Please wait …

Location of logs /tmp/deinstall2010-04-28_07-49-16-AM/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/oraInventory

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

Install check configuration END

Traces log file: /tmp/deinstall2010-04-28_07-49-16-AM/logs//crsdc.log

Network Configuration check config START

Network de-configuration trace file location: /tmp/deinstall2010-04-28_07-49-16-AM/logs/netdc_check5264144922161138317.log

Specify all Oracle Restart enabled listeners that are to be de-configured [LISTENER]:

Network Configuration check config END

Asm Check Configuration START

ASM de-configuration trace file location: /tmp/deinstall2010-04-28_07-49-16-AM/logs/asmcadc_check9186920000200769692.log

ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]:

ASM was not detected in the Oracle Home

######################### 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/oraInventory

Following Oracle Restart enabled listener(s) will be de-configured: LISTENER

ASM was not detected in the Oracle Home

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

A log of this session will be written to: ‘/tmp/deinstall2010-04-28_07-49-16-AM/logs/deinstall_deconfig2010-04-28_07-51-00-AM.out’

Any error messages from this session will be written to: ‘/tmp/deinstall2010-04-28_07-49-16-AM/logs/deinstall_deconfig2010-04-28_07-51-00-AM.err’

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

ASM de-configuration trace file location: /tmp/deinstall2010-04-28_07-49-16-AM/logs/asmcadc_clean5696239145019448612.log

ASM Clean Configuration END

Network Configuration clean config START

Network de-configuration trace file location: /tmp/deinstall2010-04-28_07-49-16-AM/logs/netdc_clean6907918871439468084.log

De-configuring Oracle Restart enabled listener(s): LISTENER

De-configuring listener: LISTENER

    Stopping listener: LISTENER

    Listener stopped successfully.

    Unregistering listener: LISTENER

    Listener unregistered successfully.

    Deleting listener: LISTENER

    Listener deleted successfully.

Listener de-configured successfully.

De-configuring Listener configuration file…

Listener configuration file de-configured successfully.

De-configuring Naming Methods configuration file…

Naming Methods 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 “devu009n3”.

/tmp/deinstall2010-04-28_07-49-16-AM/perl/bin/perl -I/tmp/deinstall2010-04-28_07-49-16-AM/perl/lib -I/tmp/deinstall2010-04-28_07-49-16-AM/crs/install /tmp/deinstall2010-04-28_07-49-16-AM/crs/install/roothas.pl -force  -delete -paramfile /tmp/deinstall2010-04-28_07-49-16-AM/response/deinstall_Ora11g_gridinfrahome1.rsp

Press Enter after you finish running the above commands

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

devu009n3 $ ./tmp/deinstall2010-04-28_07-49-16-AM/perl/bin/perl -I

ksh: ./tmp/deinstall2010-04-28_07-49-16-AM/perl/bin/perl:  not found

devu009n3 $ -04-28_07-49-16-AM/response/deinstall_Ora11g_gridinfrahome1.rsp                                       <

2010-04-28 08:03:58: Checking for super user privileges

You must be logged in as root to run this script.

Log in as root and rerun this script.

2010-04-28 08:03:58: Not running as authorized user

Insufficient privileges to execute this script

devu009n3 $

devu009n3 # -49-16-AM/response/deinstall_Ora11g_gridinfrahome1.rsp           <

2010-04-28 08:32:59: Checking for super user privileges

2010-04-28 08:32:59: User has super user privileges

2010-04-28 08:32:59: Parsing the host name

Using configuration parameter file: /tmp/deinstall2010-04-28_07-49-16-AM/response/deinstall_Ora11g_gridinfrahome1.rsp

CRS-4133: Oracle High Availability Services has been stopped.

Successfully deconfigured Oracle Restart stack

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

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

Delete directory ‘/u01/oraInventory’ on the local node : Done

The Oracle Base directory ‘/u01/oracle’ will not be removed on local node. The directory is not empty.

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 ‘devu009n3’

Oracle install clean END

Moved default properties file /tmp/deinstall2010-04-28_07-49-16-AM/response/deinstall_Ora11g_gridinfrahome1.rsp as /tmp/deinstall2010-04-28_07-49-16-AM/response/deinstall_Ora11g_gridinfrahome1.rsp4

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

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

Following Oracle Restart enabled listener(s) were de-configured successfully: LISTENER

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

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.

Successfully deleted directory ‘/u01/oraInventory’ on the local node.

Oracle Universal Installer cleanup was successful.

Run ‘rm -rf /etc/oraInst.loc’ as root on node(s) ‘devu009n3’ at the end of the session.

Oracle install successfully cleaned up the temporary directories.

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

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

devu009n3 $

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: