This discussion is archived
5 Replies Latest reply: Nov 6, 2012 7:15 AM by 961879 RSS

Removing 2 nodes from a cluster of 4 nodes

961879 Newbie
Currently Being Moderated
Hi,
I'm following the guide:

http://docs.oracle.com/cd/B28359_01/rac.111/b28254/adddelunix.htm#BEIEEAFC

I arrived at step 2 (Step 2: Delete Nodes from the Cluster) point 4 and 5.

I executed this correctly (on 2 nodes):
For a nonshared home:

To delete a node from a cluster:

./runInstaller -updateNodeList ORACLE_HOME=Oracle_home CLUSTER_NODES="" –local

Output:

[oracle@server03 bin]$ ./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME CLUSTER_NODES="" -local
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 20127 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
then I executed:
To deinstall the Oracle home from the node you are deleting, run the following command from the Oracle_home/oui/bin directory:

./runInstaller -deinstall -silent "REMOVE_HOMES={Oracle_home}" -local

Output:
[oracle@server03 bin]$ ./runInstaller -deinstall -silent "REMOVE_HOMES=$ORACLE_HOME" -local
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 20127 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-11-06_12-05-36PM. Please wait ...[oracle@server03 bin]$ Oracle Universal Installer, Version 11.1.0.7.0 Production
Copyright (C) 1999, 2008, Oracle. All rights reserved.

Starting deinstall
No products selected for deinstall
Please check '/u01/app/oraInventory/logs/silentInstall2012-11-06_12-05-36PM.log' for more details.
on the nodes I want to remove. The log file is empty.

When I arrive to the point 5 I see one resource ora.DPCTTest.db ONLINE on one server (server02 or server03 that are the nodes I want to remove).
If I execute:

crs_relocate ora.db_name.db

I obtain:
[oracle@server03 bin]$ ./crs_relocate  ora.DPCTTest.db
Attempting to stop `ora.DPCTTest.db` on member `server02`
Stop of `ora.DPCTTest.db` on member `server02` succeeded.
Attempting to start `ora.DPCTTest.db` on member `server03`
Start of `ora.DPCTTest.db` on member `server03` succeeded.
if I execute again the command I obtain:
[oracle@server03 bin]$ ./crs_relocate  ora.DPCTTest.db
Attempting to stop `ora.DPCTTest.db` on member `server03`
Stop of `ora.DPCTTest.db` on member `server03` succeeded.
Attempting to start `ora.DPCTTest.db` on member `server02`
Start of `ora.DPCTTest.db` on member `server02` succeeded.
I expect to find Attempting to stop on both the nodes, is it correct?
Thanks.

Edited by: user8984343 on Nov 6, 2012 3:34 AM

Edited by: user8984343 on Nov 6, 2012 3:34 AM
  • 1. Re: Removing 2 nodes from a cluster of 4 nodes
    Balazs Papp Expert
    Currently Being Moderated
    then I executed:
    To deinstall the Oracle home from the node you are deleting, run the following command from the Oracle_home/oui/bin directory:
    
    ./runInstaller -deinstall -silent "REMOVE_HOMES={Oracle_home}" -local
    
    Output:
    [oracle@server03 bin]$ ./runInstaller -deinstall -silent "REMOVE_HOMES=$ORACLE_HOME" -local
    Starting Oracle Universal Installer...
    
    Checking swap space: must be greater than 500 MB.   Actual 20127 MB    Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-11-06_12-05-36PM. Please wait ...[oracle@server03 bin]$ Oracle Universal Installer, Version 11.1.0.7.0 Production
    Copyright (C) 1999, 2008, Oracle. All rights reserved.
    
    Starting deinstall
    No products selected for deinstall
    Please check '/u01/app/oraInventory/logs/silentInstall2012-11-06_12-05-36PM.log' for more details.
    according to the documentation, the REMOVE_HOMES parameter expects Oracle Home names between {}-s

    this is incorrect:

    ./runInstaller -deinstall -silent "REMOVE_HOMES=$ORACLE_HOME" -local

    use it like this (actual Oracle Home name can be found in the Oracle Inventory):

    ./runInstaller -deinstall -silent "REMOVE_HOMES={OraDb11g_home1}" -local

    fix this and continue from here
  • 2. Re: Removing 2 nodes from a cluster of 4 nodes
    961879 Newbie
    Currently Being Moderated
    So:

    REMOVE_HOMES={u01/app/oracle/product/11.1.0/db_1}

    is it correct?
    Thanks
  • 3. Re: Removing 2 nodes from a cluster of 4 nodes
    961879 Newbie
    Currently Being Moderated
    I executed the command:
    ./runInstaller -deinstall -silent "REMOVE_HOMES={/u01/app/oracle/product/11.1.0/db_1}" -local
    and the output is different now:
    [oracle@server03 bin]$ ./runInstaller -deinstall -silent "REMOVE_HOMES={/u01/app/oracle/product/11.1.0/db_1}" -local
    Starting Oracle Universal Installer...
    
    Checking swap space: must be greater than 500 MB.   Actual 20127 MB    Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-11-06_03-02-48PM. Please wait ...[oracle@server03 bin]$ Oracle Universal Installer, Version 11.1.0.7.0 Production
    Copyright (C) 1999, 2008, Oracle. All rights reserved.
    
    Starting deinstall
    
    
    Deinstall in progress (06 November 2012 15:02:53 o'clock CET)
    WARNING:The directory: /u01/app/oracle/product/11.1.0/db_1 will be deleted after deinstall.
    Click on "Yes" to continue.
    Click on "No" to perform deinstall without deleting the directory.
    Click on "Cancel" to go back to "Inventory Dialog".
    Configuration assistant "Oracle Configuration Manager Deinstall" succeeded
    Configuration assistant "Oracle Database Configuration Assistant - Deinstall" succeeded
    Configuration assistant "Oracle Net Configuration Assistant - Deinstall Script" succeeded
    .................................................................................................................. 100% Done.
    
    Deinstall successful
    
    End of install phases.(06 November 2012 15:05:09 o'clock CET)
    End of deinstallations
    Please check '/u01/app/oraInventory/logs/silentInstall2012-11-06_03-02-48PM.log' for more details.
    But when I execute crs_relocate ora.DPCTTest.db

    The output is the same:
    [oracle@server01 ~]$ crs_relocate ora.DPCTTest.db
    Attempting to stop `ora.DPCTTest.db` on member `server02`
    Stop of `ora.DPCTTest.db` on member `server02` succeeded.
    Attempting to start `ora.DPCTTest.db` on member `server03`
    Start of `ora.DPCTTest.db` on member `server03` succeeded.
    [oracle@server01 ~]$ crs_relocate ora.DPCTTest.db
    Attempting to stop `ora.DPCTTest.db` on member `server03`
    Stop of `ora.DPCTTest.db` on member `server03` succeeded.
    Attempting to start `ora.DPCTTest.db` on member `server02`
    Start of `ora.DPCTTest.db` on member `server02` succeeded.
    Why?

    Now the home directory is empty:
    [oracle@server02 11.1.0]$ pwd
    /u01/app/oracle/product/11.1.0
    [oracle@server02 11.1.0]$ ls
    [oracle@server02 11.1.0]$
    Edited by: user8984343 on Nov 6, 2012 6:27 AM
  • 4. Re: Removing 2 nodes from a cluster of 4 nodes
    Balazs Papp Expert
    Currently Being Moderated
    which Oracle home does the DPCTTest database use?
  • 5. Re: Removing 2 nodes from a cluster of 4 nodes
    961879 Newbie
    Currently Being Moderated
    /u01/app/oracle/product/11.1.0/db_1

    It is a non-shared home and in the nodes I want to remove the directory db_1 was removed.

    Thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points