mmdb1:/home/grid>./deinstall -home /ora11g/11.2/grid
Location of logs /orabackup/install/deinstall/./logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############
######################### CHECK OPERATION START #########################
## [START] Install check configuration ##
Specify a valid location of central inventory for the Oracle home '/ora11g/11.2/grid' that you want to deinstall:yes
Specify a comma-separated list of nodes on which to perform. the deinstallation task:mmdb1,mmdb2
Checking for existence of the Oracle home location /ora11g/11.2/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
Oracle Base selected for deinstall is: /ora11g/oracle
Checking for existence of central inventory location yes
Checking for existence of the Oracle Grid Infrastructure home /ora11g/11.2/grid
The following nodes are part of this cluster: mmdb1,mmdb2
Checking for sufficient temp space availability on node(s) : 'mmdb1,mmdb2'
## [END] Install check configuration ##
Traces log file: /orabackup/install/deinstall/./logs//crsdc.log
Enter an address or the name of the virtual IP used on node "mmdb1"[mmdb1-vip]
>
mmdb1-vip
The following information can be collected by running "/sbin/ifconfig -a" on node "mmdb1"
Enter the IP netmask of Virtual IP "172.16.7.62" on node "mmdb1"[255.255.255.0]
>
mmdb1-vip
Enter the IP netmask of Virtual IP "172.16.7.62" on node "mmdb1"[255.255.255.0]
>
172.16.7.62
Enter the network interface name on which the virtual IP address "172.16.7.62" is active
>
mmdb1-vip
Enter an address or the name of the virtual IP used on node "mmdb2"[mmdb2-vip]
>
en8
IP Address "en8" is not active. The Virtual IP address may be unreachable. Enter the IP address only if it is active and if you need to stop it. Otherwise press Enter
Enter an address or the name of the virtual IP[]
>
Network Configuration check config START
Network de-configuration trace file location: /orabackup/install/deinstall/./logs/netdc_check2013-09-07_11-03-02-PM.log
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /orabackup/install/deinstall/./logs/asmcadc_check2013-09-07_11-03-03-PM.log
ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]: yes
ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]: y
Specify the ASM Diagnostic Destination [ ]:
Specify the diskstring []:
Specify the diskgroups that are managed by this ASM instance []:
######################### CHECK OPERATION END #########################
####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /ora11g/11.2/grid
The cluster node(s) on which the Oracle home deinstallation will be performed are:mmdb1,mmdb2
Oracle Home selected for deinstall is: /ora11g/11.2/grid
Inventory Location where the Oracle home registered is: yes
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: '/orabackup/install/deinstall/./logs/deinstall_deconfig2013-09-07_11-00-33-PM.out'
Any error messages from this session will be written to: '/orabackup/install/deinstall/./logs/deinstall_deconfig2013-09-07_11-00-33-PM.err'
######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /orabackup/install/deinstall/./logs/asmcadc_clean2013-09-07_11-03-27-PM.log
ASM Clean Configuration START
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /orabackup/install/deinstall/./logs/netdc_clean2013-09-07_11-03-28-PM.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
---------------------------------------->
The deconfig command below can be executed in parallel on all the remote nodes. Execute the command on the local node after the execution completes on all the remote nodes.
Run the following command as the root user or the administrator on node "mmdb1".
/orabackup/install/deinstall/./perl/bin/perl -I/orabackup/install/deinstall/./perl/lib -I/orabackup/install/deinstall/./crs/install /orabackup/install/deinstall/./crs/install/rootcrs.pl -force -deconfig -paramfile "/orabackup/install/deinstall/response/deinstall_Ora11g_gridinfrahome1.rsp" -lastnode
Press Enter after you finish running the above commands
finish
Remove the directory: /orabackup/install/deinstall/. on node: mmdb2
Setting the force flag to false
Setting the force flag to cleanup the Oracle Base
Oracle Universal Installer clean START
Delete directory '/ora11g/11.2/grid' on the local node : Done
Delete directory '/ora11g/oracle' on the local node : Done
Delete directory '/ora11g/11.2/grid' on the remote nodes 'mmdb2' : Done
Delete directory '/ora11g/oracle' on the remote nodes 'mmdb2' : Done
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END
## [START] Oracle install clean ##
Clean install operation removing temporary directory '/tmp/deinstall2013-09-07_11-00-31PM' on node 'mmdb1'
Clean install operation removing temporary directory '/tmp/deinstall2013-09-07_11-00-31PM' on node 'mmdb2'
## [END] Oracle install clean ##
######################### CLEAN OPERATION END #########################
####################### CLEAN OPERATION SUMMARY #######################
ASM instance was de-configured successfully from the Oracle home
Oracle Clusterware is stopped and successfully de-configured on node "mmdb1"
Oracle Clusterware is stopped and de-configured successfully.
Successfully deleted directory '/ora11g/11.2/grid' on the local node.
Successfully deleted directory '/ora11g/oracle' on the local node.
Successfully deleted directory '/ora11g/11.2/grid' on the remote nodes 'mmdb2'.
Successfully deleted directory '/ora11g/oracle' on the remote nodes 'mmdb2'.
Oracle Universal Installer cleanup was successful.
Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'mmdb1,mmdb2' at the end of the session.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################
############# ORACLE DEINSTALL & DECONFIG TOOL END #############
mmdb1:/home/grid>
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/13750068/viewspace-774690/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/13750068/viewspace-774690/