Run the following commands with root user
Rac Node1
cd /oracle/app/11.2.0/grid/crs/install
perl rootcrs.pl -deconfig -force
Rac Node2
cd /oracle/app/11.2.0/grid/crs/install
perl rootcrs.pl -deconfig -force -lastnode
Or (again need root user ) ;
oracle@testdbrac1:/ cd $GRID_HOME/deinstall
oracle@testdbrac1:/oracle/app/11.2.0/grid/deinstall:>./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /oracle/app/oraInventory/logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############
######################## CHECK OPERATION START ########################
Install check configuration START
Checking for existence of the Oracle home location /oracle/app/11.2.0/grid
Oracle Home type selected for de-install is: CRS
Oracle Base selected for de-install is: /oracle/app/oracle
Checking for existence of central inventory location /oracle/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /oracle/app/11.2.0/grid
The following nodes are part of this cluster: testdbrac1,testdbrac2
Install check configuration END
Traces log file: /oracle/app/oraInventory/logs//crsdc.log
Enter an address or the name of the virtual IP used on node "testdbrac1"[testdbrac1-vip]
>
XX.XX.XX.XX
The following information can be collected by running ifconfig -a on node "testdbrac1"
Enter the IP netmask of Virtual IP "XX.XX.XX.XX" on node "testdbrac1"[255.255.255.0]
>
255.255.255.0
Enter the network interface name on which the virtual IP address "XX.XX.XX.XX" is active
>
eth2
Enter an address or the name of the virtual IP used on node "testdbrac2"[testdbrac2-vip]
>
XX.XX.XX.XX
The following information can be collected by running ifconfig -a on node "testdbrac2"
Enter the IP netmask of Virtual IP "XX.XX.XX.XX" on node "testdbrac2"[255.255.255.0]
>
255.255.255.0
Enter the network interface name on which the virtual IP address "XX.XX.XX.XX" is active[eth2]
>
eth2
Enter an address or the name of the virtual IP[]
>
XX.XX.XX.XX
The following information can be collected by running ifconfig -a on node "testdbrac1"
Enter the IP netmask of the virtual IP "XX.XX.XX.XX"[]
>
255.255.255.0
Enter the network interface name on which the virtual IP address "XX.XX.XX.XX" is active
>
eth2
Enter an address or the name of the virtual IP[]
>
XX.XX.XX.XX
The following information can be collected by running ifconfig -a on node "testdbrac1"
Enter the IP netmask of the virtual IP "XX.XX.XX.XX"[255.255.255.0]
>
Enter the network interface name on which the virtual IP address "XX.XX.XX.XX" is active[eth2]
>
Enter an address or the name of the virtual IP[]
>
Network Configuration check config START
Network de-configuration trace file location: /oracle/app/oraInventory/logs/netdc_check1741915757142046492.log
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /oracle/app/oraInventory/logs/asmcadc_check1410999302537483532.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: /oracle/app/11.2.0/grid
The cluster node(s) on which the Oracle home exists are: (Please input nodes seperated by ",", eg: node1,node2,...)testdbrac1,testdbrac2
Oracle Home selected for de-install is: /oracle/app/11.2.0/grid
Inventory Location where the Oracle home registered is: /oracle/app/oraInventory
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: '/oracle/app/oraInventory/logs/deinstall_deconfig2013-08-26_10-45-37-AM.out'
Any error messages from this session will be written to: '/oracle/app/oraInventory/logs/deinstall_deconfig2013-08-26_10-45-37-AM.err'
######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /oracle/app/oraInventory/logs/asmcadc_clean5744627359182002173.log
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /oracle/app/oraInventory/logs/netdc_clean1539883717156724848.log
De-configuring Naming Methods configuration file on all nodes...
Naming Methods configuration file de-configured successfully.
De-configuring Local Net Service Names configuration file on all nodes...
Local Net Service Names configuration file de-configured successfully.
De-configuring Directory Usage configuration file on all nodes...
Directory Usage configuration file de-configured successfully.
De-configuring backup files on all nodes...
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 "testdbrac2".
/tmp/deinstall2013-08-26_10-45-30-AM/perl/bin/perl -I/tmp/deinstall2013-08-26_10-45-30-AM/perl/lib -I/tmp/deinstall2013-08-26_10-45-30-AM/crs/install /tmp/deinstall2013-08-26_10-45-30-AM/crs/install/rootcrs.pl -force -delete -paramfile /tmp/deinstall2013-08-26_10-45-30-AM/response/deinstall_Ora11g_gridinfrahome1.rsp
Run the following command as the root user or the administrator on node "testdbrac1".
/tmp/deinstall2013-08-26_10-45-30-AM/perl/bin/perl -I/tmp/deinstall2013-08-26_10-45-30-AM/perl/lib -I/tmp/deinstall2013-08-26_10-45-30-AM/crs/install /tmp/deinstall2013-08-26_10-45-30-AM/crs/install/rootcrs.pl -force -delete -paramfile /tmp/deinstall2013-08-26_10-45-30-AM/response/deinstall_Ora11g_gridinfrahome1.rsp -lastnode
Press Enter after you finish running the above commands
<----------------------------------------
---------------------------------------->
Oracle Universal Installer clean START
Detach Oracle home '/oracle/app/11.2.0/grid' from the central inventory on the local node : Done
Delete directory '/oracle/app/11.2.0/grid' on the local node : Done
The Oracle Base directory '/oracle/app/oracle' will not be removed on local node. The directory is in use by Oracle Home '/oracle/app/oracle/product/11.2.0/db1'.
Delete directory '/oracle/app/11.2.0/grid' on the remote nodes 'testdbrac2' : Done
The Oracle Base directory '/oracle/app/oracle' will not be removed on node 'testdbrac2'. The directory is in use by Oracle Home '/oracle/app/oracle/product/11.2.0/db1'.
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 'testdbrac1'
Clean install operation removing temporary directory '/tmp/install' on node 'testdbrac2'
Oracle install clean END
######################### CLEAN OPERATION END #########################
####################### CLEAN OPERATION SUMMARY #######################
Oracle Clusterware is stopped and successfully de-configured on node "testdbrac2"
Oracle Clusterware is stopped and successfully de-configured on node "testdbrac1"
Oracle Clusterware is stopped and de-configured successfully.
Successfully detached Oracle home '/oracle/app/11.2.0/grid' from the central inventory on the local node.
Successfully deleted directory '/oracle/app/11.2.0/grid' on the local node.
Successfully deleted directory '/oracle/app/11.2.0/grid' on the remote nodes 'testdbrac2'.
Oracle Universal Installer cleanup was successful.
Oracle install successfully cleaned up the temporary directories.
#######################################################################
############# ORACLE DEINSTALL & DECONFIG TOOL END ############
0 yorum:
Yorum Gönder