Clean up After a Failed (successful) Oracle Clusterware Install on Win_341214.1
In this Document
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]Oracle Database - Standard Edition - Version 10.1.0.2 to 11.1.0.6 [Release 10.1 to 11.1] Information in this document applies to any platform. IF YOU ARE USING TERMINAL SERVICES TO PERFORM THIS INSTALLATION, BE SURE TO USE EITHER VNC OR TERMINAL SERVICES IN 'CONSOLE' MODE TO PERFORM THIS INSTALLATION. INVOKE TERMINAL SERVICES IN 'CONSOLE' MODE WITH THE FOLLOWING COMMAND: mstsc -v:servername /F /console OR, for some (newer) versions of Windows: mstsc -v:servername /F /admin GoalTo remove and reinstall Oracle 10gR2 or 11gR1 Clusterware Install on Windows. To remove and reinstall Oracle 11gR2 Grid Infrastructure or RDBMS / RAC (or even single instance) on Windows, please refer to: Document 1069034.1 11.2: How to Manually Remove Oracle Server Software on Microsoft Windows Platforms (Doc ID 1069034.1) Fix
If you have already uninstalled Oracle Clusterware using the Oracle Universal Installer then please download the attached file (cleanup.zip) that contains a copy of the logpartformat.exe and the guioracleobjmanage.exe (plus necessary dll). You must be viewing this note in Internet Explorer in order to download this file.
Steps 1a, b and d are only required if you are using RAW devices for your OCR and Votedisk
If you are using OCFS for these files, skip to step 1c followed by 1e.
Note: If needed, you can assign drive letters to the partitions in question for identification by the logpartformat tool. To do this, invoke diskmgmt.msc and right click on the partition in question and choose 'Change drive letter and paths ...' from the menu. You can then use this drive letter for the purpose of the logpartformat tool (following instructions 1c and 1e here below). Be sure to remove the assigned drive letter before proceeding with cluster configuration.
1. Remove the partitions that have been initialized for ocrcfg and votedsk
OracleCSService
OracleCRService OracleEVMService
The OraFenceService should also be stopped. This must be done using the command line utility 'net stop' as follows:
net stop OraFenceService
Note that if and only if the OCR and Voting disk are located on disks exclusively for their usage, then one can alternatively use the Windows utility 'diskpart' with the 'clean all' command to clear these disks / prepare them for re-use.
Go to a command prompt
logpartformat /q \\.\ocrcfg (repeat this step for all link names listed in guioracleobjmanager)
==============
Go to a command prompt
For example, if the drive letter for your OCFS partition is ' P ' : logpartformat /q P:
There have been cases reported where Logpartformat can sometimes fail. For example:
----------- D:\product\11.1.0\crs\BIN>logpartformat /q \\.\votedsk1 Logical Partition Formatter Version 2.0 Copyright 1989-2001 Oracle Corporation. All rights reserved. Unable to validate logical partition for symbolic link votedsk1 --------------------------- This is typically an access problem but cleaning up the disks can be problematic in such a case. Physically removing the disks and creating new ones with different sizes has been known to help in some cases.
d. Next, remove the assigned link names using the GUIOracleobjmanager.exe tool by clicking /
Go back to the guioracleobjmanager tool and remove all link names:
Logpartformat can sometimes fail with a message such as the following:
"Unable to validate logical partition for symbolic link votedsk1" This is typically an access problem but cleaning up the disks can be problematic in such a case. Physically removing the disks and creating new ones with different sizes can help.
2. Use the Oracle Universal Installer to remove the software from the CRS home
3. Use the Oracle Universal Installer to remove the empty CRS home (cleans up the inventory file)
4. Remove Oracle binaries from the CRS home using Windows explorer.
Note: ONLY If this is the only Oracle_Home on this cluster, also remove the inventory files located in the following directory. Be sure to only remove the inventory files if this is the only Oracle Home on this cluster
c:\program files\oracle
5. Check the registry on each cluster node and ensure that the following services have been removed from:
HKEY_LOCAL_MACHINE\SYSTEM\%ControlSet% \Services
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
and HKEY_LOCAL_MACHINE\SYSTEM\ControlSetXXX\Services
ocfs
OracleCSService OracleEVMService OracleCRService OracleObjectService OracleClusterVolumeService OraFenceService
6. Using Windows explorer, remove the following driver files from: %systemroot%\windows\system32\drivers:
7. Additional clean-up steps
8. Reboot all servers in your RAC configuration
***** Database - RAC/Scalability CommunityTo discuss this topic further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Database - RAC/Scalability Community. ReferencesNOTE:310791.1 - RAC Configuration Assistants Fail During 10g CRS Install on WindowsNOTE:124353.1 - WIN: Manually Removing all Oracle Components on Microsoft Windows Platforms NOTE:388730.1 - Oracle RAC Clusterware Installation on Windows Commonly Missed / Misunderstood Prerequisites NOTE:557178.1 - CRS on Windows: How To Reinitialize (Accidentally Deleted) OCR and Vote Disk (without a full reinstall of Oracle Clusterware) NOTE:1069034.1 - 11.2: How to Manually Remove Oracle Server Software on Microsoft Windows Platforms |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1155781/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to Clean Up After a Failed Oracle Clusterware (CRS) InstallationAIOracle
- 10g RAC: How to Clean Up After a Failed CRS InstallAI
- Clean up a failed CRS installAI
- Metlink:How to clean up a failed CRS/ClusterwareAI
- Metlink:10g RAC How to Clean Up After a Failed CRS InstallAI
- clean all Oracle 10gR2 CRS after a failed CRS installationOracle 10gAI
- how to clean failed crsAI
- SVN中clean up的含義
- initialize or clean up your unittest within .net unit test
- SDK Manager:failed to installAI
- oracle clusterwareOracle
- ORACLE RAC clusterwareOracle
- Maven命令列使用:mvn clean install(安裝)Maven命令列
- 解決 yum clean all Error rpmdb open failedErrorAI
- Npm install failed with “cannot run in wd”NPMAI
- Maven:如何在eclipse中使用mvn clean install?MavenEclipse
- INSTALL_FAILED_UPDATE_INCOMPATIBLE和INSTALL_FAILED_SHARED_USER_INCOMPATIBLEAI
- Oracle Clusterware的心跳Oracle
- Oracle Clusterware工具集Oracle
- Oracle Clusterware and Oracle Grid InfrastructureOracleASTStruct
- TEMPORARY LOBS are not freed up automatically after PL/SQL block executionSQLBloC
- MVN命令之clean,compile,build,install,package區別CompileUIPackage
- Failed to install *.apk on device 'emulator-5554!AIAPKdev
- Installation failed with message INSTALL_FAILED_USER_RESTRICTED錯誤AIREST
- How to Clean Up Duplicate Objects Owned by SYS and SYSTEM Schema_1030426.6Object
- Oracle clusterware組成概述Oracle
- HACMP & Oracle Clusterware 對比ACMOracle
- Failed to start the Clusterware. Last 20 lines of the alert log follow:AIAST
- ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper create failed after 4 attemptsErrorAI
- Oracle (block clean out) oracle的塊清除OracleBloC
- The Oracle Clusterware Voting Disk and Oracle Cluster RegistryOracle
- Oracle /app/grid/grid11g/crs/install/roothas.pl execution failedOracleAPPAI
- CLSRSC-196: ACFS driver install actions failedAI
- Failed to install *.apk on device null解決辦法AIAPKdevNull
- oracle installOracle
- How to Deinstall Oracle Clusterware Home ManuallyOracle
- Oracle Clusterware 命令集分類Oracle
- A successful Git branching modelGit