Oracle 11g R2 RAC 卸载 Grid [卸载过程参考日志]

文章来自:Linux公社

  1 [grid@vdb1 deinstall]$ ./deinstall
  2 Checking for required files and bootstrapping ...
  3 Please wait ...
  4 Location of logs /tmp/deinstall2014-08-22_09-57-47AM/logs/
  5 
  6 ############ ORACLE DEINSTALL & DECONFIG TOOL START ############
  7 
  8 
  9 ######################### CHECK OPERATION START #########################
 10 ## [START] Install check configuration ##
 11 
 12 
 13 Checking for existence of the Oracle home location /g01/grid/app/11.2.0/grid
 14 Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
 15 Oracle Base selected for deinstall is: /g01/orabase
 16 Checking for existence of central inventory location /g01/oraInventory
 17 Checking for existence of the Oracle Grid Infrastructure home 
 18 The following nodes are part of this cluster: vdb1,vdb2
 19 Checking for sufficient temp space availability on node(s) : 'vdb1,vdb2'
 20 
 21 ## [END] Install check configuration ##
 22 
 23 Traces log file: /tmp/deinstall2014-08-22_09-57-47AM/logs//crsdc.log
 24 Enter an address or the name of the virtual IP used on node "vdb1"[vdb1-vip]
 25  > 
 26 
 27 The following information can be collected by running "/sbin/ifconfig -a" on node "vdb1"
 28 Enter the IP netmask of Virtual IP "192.168.179.182" on node "vdb1"[255.255.255.0]
 29  > 
 30 
 31 Enter the network interface name on which the virtual IP address "192.168.179.182" is active
 32  > 
 33 
 34 Enter an address or the name of the virtual IP used on node "vdb2"[vdb2-vip]
 35  > 
 36 
 37 The following information can be collected by running "/sbin/ifconfig -a" on node "vdb2"
 38 Enter the IP netmask of Virtual IP "192.168.179.184" on node "vdb2"[255.255.255.0]
 39  > 
 40 
 41 Enter the network interface name on which the virtual IP address "192.168.179.184" is active
 42  > 
 43 
 44 Enter an address or the name of the virtual IP[]
 45  > 
 46 
 47 
 48 Network Configuration check config START
 49 
 50 Network de-configuration trace file location: /tmp/deinstall2014-08-22_09-57-47AM/logs/netdc_check2014-08-22_10-01-03-AM.log
 51 
 52 Specify all RAC listeners (do not include SCAN listener) that are to be de-configured [LISTENER,LISTENER_SCAN3,LISTENER_SCAN2,LISTENER_SCAN1]:
 53 
 54 Network Configuration check config END
 55 
 56 Asm Check Configuration START
 57 
 58 ASM de-configuration trace file location: /tmp/deinstall2014-08-22_09-57-47AM/logs/asmcadc_check2014-08-22_10-01-12-AM.log
 59 
 60 ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]: y
 61 Is OCR/Voting Disk placed in ASM y|n [n]: y
 62 
 63 Enter the OCR/Voting Disk diskgroup name []: +CRSDG
 64 Specify the ASM Diagnostic Destination [ ]: 
 65 Specify the diskstring []: /dev/*
 66 Specify the diskgroups that are managed by this ASM instance []: 
 67 
 68 
 69 ######################### CHECK OPERATION END #########################
 70 
 71 
 72 ####################### CHECK OPERATION SUMMARY #######################
 73 Oracle Grid Infrastructure Home is: 
 74 The cluster node(s) on which the Oracle home deinstallation will be performed are:vdb1,vdb2
 75 Oracle Home selected for deinstall is: /g01/grid/app/11.2.0/grid
 76 Inventory Location where the Oracle home registered is: /g01/oraInventory
 77 Following RAC listener(s) will be de-configured: LISTENER,LISTENER_SCAN3,LISTENER_SCAN2,LISTENER_SCAN1
 78 ASM instance will be de-configured from this Oracle home
 79 Do you want to continue (y - yes, n - no)? [n]: y
 80 A log of this session will be written to: '/tmp/deinstall2014-08-22_09-57-47AM/logs/deinstall_deconfig2014-08-22_09-57-55-AM.out'
 81 Any error messages from this session will be written to: '/tmp/deinstall2014-08-22_09-57-47AM/logs/deinstall_deconfig2014-08-22_09-57-55-AM.err'
 82 
 83 ######################## CLEAN OPERATION START ########################
 84 ASM de-configuration trace file location: /tmp/deinstall2014-08-22_09-57-47AM/logs/asmcadc_clean2014-08-22_10-05-45-AM.log
 85 ASM Clean Configuration START
 86 ASM Clean Configuration END
 87 
 88 Network Configuration clean config START
 89 
 90 Network de-configuration trace file location: /tmp/deinstall2014-08-22_09-57-47AM/logs/netdc_clean2014-08-22_10-05-46-AM.log
 91 
 92 De-configuring RAC listener(s): LISTENER,LISTENER_SCAN3,LISTENER_SCAN2,LISTENER_SCAN1
 93 
 94 De-configuring listener: LISTENER
 95     Stopping listener: LISTENER
 96     Warning: Failed to stop listener. Listener may not be running.
 97 Listener de-configured successfully.
 98 
 99 De-configuring listener: LISTENER_SCAN3
100     Stopping listener: LISTENER_SCAN3
101     Warning: Failed to stop listener. Listener may not be running.
102 Listener de-configured successfully.
103 
104 De-configuring listener: LISTENER_SCAN2
105     Stopping listener: LISTENER_SCAN2
106     Warning: Failed to stop listener. Listener may not be running.
107 Listener de-configured successfully.
108 
109 De-configuring listener: LISTENER_SCAN1
110     Stopping listener: LISTENER_SCAN1
111     Warning: Failed to stop listener. Listener may not be running.
112 Listener de-configured successfully.
113 
114 De-configuring Naming Methods configuration file on all nodes...
115 Naming Methods configuration file de-configured successfully.
116 
117 De-configuring Local Net Service Names configuration file on all nodes...
118 Local Net Service Names configuration file de-configured successfully.
119 
120 De-configuring Directory Usage configuration file on all nodes...
121 Directory Usage configuration file de-configured successfully.
122 
123 De-configuring backup files on all nodes...
124 Backup files de-configured successfully.
125 
126 The network configuration has been cleaned up successfully.
127 
128 Network Configuration clean config END
129 
130 
131 ---------------------------------------->
132 
133 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.
134 
135 Run the following command as the root user or the administrator on node "vdb2".
136 
137 /tmp/deinstall2014-08-22_09-57-47AM/perl/bin/perl -I/tmp/deinstall2014-08-22_09-57-47AM/perl/lib -I/tmp/deinstall2014-08-22_09-57-47AM/crs/install /tmp/deinstall2014-08-22_09-57-47AM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2014-08-22_09-57-47AM/response/deinstall_Ora11g_gridinfrahome1.rsp"
138 
139 Run the following command as the root user or the administrator on node "vdb1".
140 
141 /tmp/deinstall2014-08-22_09-57-47AM/perl/bin/perl -I/tmp/deinstall2014-08-22_09-57-47AM/perl/lib -I/tmp/deinstall2014-08-22_09-57-47AM/crs/install /tmp/deinstall2014-08-22_09-57-47AM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2014-08-22_09-57-47AM/response/deinstall_Ora11g_gridinfrahome1.rsp" -lastnode
142 
143 Press Enter after you finish running the above commands
144 
145 <----------------------------------------
146 
147 Setting the force flag to false
148 Setting the force flag to cleanup the Oracle Base
149 Oracle Universal Installer clean START
150 
151 Detach Oracle home '/g01/grid/app/11.2.0/grid' from the central inventory on the local node : Done
152 
153 Delete directory '/g01/grid/app/11.2.0/grid' on the local node : Done
154 
155 Delete directory '/g01/oraInventory' on the local node : Done
156 
157 Delete directory '/g01/orabase' on the local node : Done
158 
159 Detach Oracle home '/g01/grid/app/11.2.0/grid' from the central inventory on the remote nodes 'vdb2' : Done
160 
161 Delete directory '/g01/grid/app/11.2.0/grid' on the remote nodes 'vdb2' : Done
162 
163 Delete directory '/g01/oraInventory' on the remote nodes 'vdb2' : Done
164 
165 Delete directory '/g01/orabase' on the remote nodes 'vdb2' : Done
166 
167 Oracle Universal Installer cleanup was successful.
168 
169 Oracle Universal Installer clean END
170 
171 
172 ## [START] Oracle install clean ##
173 
174 Clean install operation removing temporary directory '/tmp/deinstall2014-08-22_09-57-47AM' on node 'vdb1'
175 Clean install operation removing temporary directory '/tmp/deinstall2014-08-22_09-57-47AM' on node 'vdb2'
176 
177 ## [END] Oracle install clean ##
178 
179 
180 ######################### CLEAN OPERATION END #########################
181 
182 
183 ####################### CLEAN OPERATION SUMMARY #######################
184 ASM instance was de-configured successfully from the Oracle home
185 Following RAC listener(s) were de-configured successfully: LISTENER,LISTENER_SCAN3,LISTENER_SCAN2,LISTENER_SCAN1
186 Oracle Clusterware is stopped and successfully de-configured on node "vdb2"
187 Oracle Clusterware is stopped and successfully de-configured on node "vdb1"
188 Oracle Clusterware is stopped and de-configured successfully.
189 Successfully detached Oracle home '/g01/grid/app/11.2.0/grid' from the central inventory on the local node.
190 Successfully deleted directory '/g01/grid/app/11.2.0/grid' on the local node.
191 Successfully deleted directory '/g01/oraInventory' on the local node.
192 Successfully deleted directory '/g01/orabase' on the local node.
193 Successfully detached Oracle home '/g01/grid/app/11.2.0/grid' from the central inventory on the remote nodes 'vdb2'.
194 Successfully deleted directory '/g01/grid/app/11.2.0/grid' on the remote nodes 'vdb2'.
195 Successfully deleted directory '/g01/oraInventory' on the remote nodes 'vdb2'.
196 Successfully deleted directory '/g01/orabase' on the remote nodes 'vdb2'.
197 Oracle Universal Installer cleanup was successful.
198 
199 
200 Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'vdb1,vdb2' at the end of the session.
201 
202 Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'vdb1,vdb2' at the end of the session.
203 Run 'rm -rf /etc/oratab' as root on node(s) 'vdb1' at the end of the session.
204 Oracle deinstall tool successfully cleaned up temporary directories.
205 #######################################################################
206 
207 
208 ############# ORACLE DEINSTALL & DECONFIG TOOL END #############

 

posted @ 2014-08-22 10:33  学海无涯1999  阅读(4638)  评论(0编辑  收藏  举报