Skip Headers
Oracle® Database Deinstallation Tool for Oracle Clusterware and Oracle Real Application Clusters
10g Release 2 (10.2) for UNIX and Microsoft Windows
B31071-01
 

 

Oracle® Database

Deinstallation Tool for Oracle Clusterware and Oracle Real Application Clusters

10g Release 2 (10.2) for UNIX and Microsoft Windows

B31071-01

May 2006

Use the information in this document to run the Oracle Clusterware and Oracle Real Application Clusters deinstallation tool. This document contains the following topics:

1 Deinstallation Tool for Oracle Clusterware and Oracle Real Application Clusters

The clusterdeconfig tool removes and deconfigures all of the software and shared files that are associated with an Oracle Clusterware or Oracle RAC Database installation. The clusterdeconfig tool removes the software and shared files from all of the nodes in a cluster.

Use the clusterdeconfig tool to prepare a cluster to reinstall Oracle Clusterware and Oracle Database software after a successful or failed installation. The tool removes software, clusterware and database files, and the global configuration across all of the nodes in a cluster environment that could hinder a subsequent installation. On Windows-based systems, the tool removes Windows Registry entries. The clusterdeconfig tool also removes Oracle Clusterware that was installed to support Oracle RAC or to provide failover capabilities for third-party software.

The clusterdeconfig tool restores your cluster to its state prior to the installation, enabling you to perform a new installation. You can also use Oracle Cluster Verification Utility (CVU) to determine the cause of any problems that may have occurred during an installation so that you can correct the errors.

The clusterdeconfig tool will not remove third-party software that depends on Oracle Clusterware. In addition, the clusterdeconfig tool does not warn you about third-party software dependencies on Oracle Clusterware or Oracle Database homes prior to removing the respective homes.


See Also:

Running Cluster Verification Utility for more information about using CVU

The following sections explain how to use the clusterdeconfig tool to remove Oracle Clusterware and Oracle RAC databases from your environment. This includes any processes or services, software, files, and system settings that were created or altered as part of an installation:

1.1 Deciding When to Use clusterdeconfig

Use the clusterdeconfig tool to remove installed components in the following situations:

  • You have encountered errors during or after installing Oracle Database software on a cluster and you want to re-attempt an installation.

  • Your installation stopped because of a hardware or operating system failure.

  • You have stopped an installation and do not know how to restart it. In such cases, use the clusterdeconfig tool to remove the partially installed product and restart your installation.

  • You have researched all of the problems with your existing installation using CVU or by examining the installation log files and cannot determine the cause of a problem.

You can also use clusterdeconfig after you have successfully installed Oracle Database software to remove the database software from all of the nodes. You might do this, for example, in an educational environment in which students practice installing Oracle Database software.


Note:

The clusterdeconfig tool can only remove Oracle Database components from cluster nodes that are active. If you run the clusterdeconfig tool and one or more of your cluster nodes are inactive, then you must re-run the tool when those nodes are active to complete the deconfiguration of your cluster.

For instructions about how to add and delete individual nodes, refer to the chapters about adding and deleting nodes in the Oracle Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide.


1.2 Usage Guidelines for clusterdeconfig

Depending on the software that you want to deinstall, plan your deinstallation so that the components are deinstalled in the correct order. In other words, because of dependencies among the Oracle Clusterware and the Oracle Database software components, you must deinstall the components in a specific order as follows:

  • Deinstall all Oracle Database homes that do not include ASM software.

  • Deinstall the Oracle Database home that includes ASM software, if you have one.

  • Deinstall the Oracle Clusterware home.

You can optionally deinstall third-party software that depended on the Oracle Clusterware.


Note:

If you attempt to run the clusterdeconfig tool to deinstall Oracle Clusterware without first removing the related Oracle Database homes, then the clusterdeconfig tool reports an error instead of a warning. The tool performs the deinstallation only after your confirmation. In addition, the clusterdeconfig tool does not detect third-party software that uses Oracle Clusterware and will not warn you if third-party software exists on the cluster.


Note:

The clusterdeconfig tool does not remove LDAP entries.

1.3 Starting the clusterdeconfig Tool

Complete these steps before you start the deinstallation:

  1. On UNIX-based systems, connect as the oracle user who performed the installation of the Oracle Clusterware and Oracle Database home that you are deinstalling. On Windows-based systems, connect as a user who is a member of the Administrator group.

  2. Confirm that the connected user has equivalence on all of the nodes in the cluster. Your platform-specific installation guide explains how to configure user equivalence.

To begin the deinstallation tool, connect to one of the nodes in your cluster that contains the installation that you want to remove. You can connect to the node directly or you can connect from a client. Open a command line interface and enter the following command:

clusterdeconfig

The output from this command displays the required and optional parameters. You can also use the -help or -h option to obtain more information about the clusterdeconfig tool commands and their use.

1.4 Performing Post-Deinstallation Tasks

Examine the log file to see the results of the clusterdeconfig tool processing. The log file is on the cluster node on which you ran the tool in the clusterdeconfig_path/logs directory on UNIX-based systems and in clusterdeconfig_path\logs on Windows-based systems.

If any nodes were inactive at the time that you ran the clusterdeconfig tool, then you will need to re-run the tool when these nodes are active. Until you do this, you will not have completely removed the Oracle Clusterware and Oracle RAC software. Further attempts to reinstall the software could fail.

1.5 Running Cluster Verification Utility

You can run Cluster Verification Utility (CVU) from your installation media or by downloading CVU to determine what may have caused errors during a previous Oracle Clusterware or Oracle Database installation. You can also run CVU on a cluster that you have already deconfigured with the clusterdeconfig tool to prepare for another Oracle Database software installation.

To run CVU from the installation media, perform the following steps:

On UNIX-based systems:

  1. Identify the mount point for the Oracle Clusterware installation media. In the following examples, the mount point is /dev/dvdrom.

  2. Identify the nodes that CVU should check for cluster readiness. In the following examples, the cluster nodes are node1, node2, and node3.

  3. For a summary report, run the following command:

    /dev/dvdrom/crs/Disk1/cluvfy/runcluvfy.sh stage -pre crsinst -n
     node1,node2,node3
    
    
  4. For a detailed report, run the following command with the verbose option:

    /dev/dvdrom/crs/Disk1/cluvfy/runcluvfy.sh stage -pre crsinst -n
     node1,node2,node3 -verbose
    
    

On Windows-based systems:

  1. Identify the mount point for the Oracle Clusterware installation media. In the following examples, the mount point is the stage directory on your C: drive.

  2. Identify the nodes that CVU should check for cluster readiness. In the following examples, the cluster nodes are node1, node2, and node3.

  3. For a summary report, run the following command:

    C:\> stage\clusterware\cluvfy\runcluvfy.bat stage -pre crsinst -n
     node1,node2,node3
    
    
  4. For a detailed report, run the following command with the verbose option:

    C:\> stage\clusterware\cluvfy\runcluvfy.bat stage -pre crsinst -n
     node1,node2,node3 -verbose
    
    

To run CVU from an installed version of the utility, run the following command at an operating system prompt, where option_list contains one or more options as described in Appendix A, "Troubleshooting," of the Oracle Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide:

cluvfy option_list

2 Documentation Accessibility

Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at

http://www.oracle.com/accessibility/

Accessibility of Code Examples in Documentation

Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace.

Accessibility of Links to External Web Sites in Documentation

This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.

TTY Access to Oracle Support Services

Oracle provides dedicated Text Telephone (TTY) access to Oracle Support Services within the United States of America 24 hours a day, seven days a week. For TTY support, call 800.446.2398.


Deinstallation Tool for Oracle Clusterware and Oracle Real Application Clusters, 10g Release 2 (10.2) for UNIX and Microsoft Windows

B31071-01

Copyright © 2006, Oracle. All rights reserved.

The Programs (which include both the software and documentation) contain proprietary information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited.

The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. This document is not warranted to be error-free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose.

If the Programs are delivered to the United States Government or anyone licensing or using the Programs on behalf of the United States Government, the following notice is applicable:

U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software--Restricted Rights (June 1987). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.

The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and we disclaim liability for any damages caused by such use of the Programs.

Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

The Programs may provide links to Web sites and access to content, products, and services from third parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party.