How to delete Oracle11g cluster nodes in the (LinuxUNIX) environment step by step

Source: Internet
Author: User
How to delete Oracle11g cluster nodes in the (LinuxUNIX) environment step by step

How to delete an Oracle 11g cluster node in a Linux UNIX environment step by step

Deleting a Cluster Node on Linux and UNIX Systems

1. Check whether the node to be deleted is active or pinned.

$ Olsnodes-s-t

If pinned, crsctl unpin css-n Unpinned Node

2. Disable the application resources and processes of the corresponding cluster nodes.

Stop em first:

Emctl stop dbconsole

Run rootcrs. pl script as the root user in the $ Grid_home/crs/install path of the node to be deleted

#./Rootcrs. pl-deconfig-force

To delete all nodes:

#./Rootcrs. pl-deconfig-force-lastnode

Sometimes vip resources may not be deleted. You need to manually delete them:

# Srvctl stop vip-I vip_name-f

# Srvctl remove vip-I vip_name-f

3. Execute the following command on other nodes:

Crsctl delete node-n node_to_be_deleted

4. Run the following command on the node to be deleted:

The script is at: $ Grid_home/oui/bin.

$./RunInstaller-updateNodeList Oracle_HOME = Grid_home "CLUSTER_NODES = {node_to_be_deleted}" CRS = TRUE-silent-local

5. Clear the Clusterware home installation file for the node to be deleted:

$ Grid_home/deinstall-local

Be sure to add the-local option. Otherwise, the Clusterware home installation directory of all nodes will be deleted.

6. Execute the following command on other nodes to update node information:

Script in $ Grid_home/oui/bin

$./RunInstaller-updateNodeList ORACLE_HOME = Grid_home "CLUSTER_NODES = {remaining_nodes_list}" CRS = TRUE-silent

7. Verify that the node to be deleted has been successfully deleted:

$ Cluvfy stage-post nodedel-n node_list [-verbose]

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.