Help needed in deleting nodes from RAC database

Our DB is 10g RAC database and the servers are Window 2003 server. Initially the database was configured to have 4 nodes. For some reason we stopped the instances in the first two nodes and the current database is running on node3 and node4. I queried the v$thread view and it shows 3 records. Thread 2 is closed and disabled. Thread 3 is open and public and thread 4 is open and private. Now we need to disconnect nodes 1 and 2 from RAC db and cluster ware (We use Oracle cluster ware) and plan to use those two servers for other purposes. Although I read through the Oracle doc regarding deleting node from RAC “11 Adding and Deleting Nodes and Instances on Windows-Based Systems” and wrote down the steps we need to take but I am still not comfortable in doing it since it is production env and we don’t have any dev env to practice those steps. So I would like to borrow your experiences and your lessons learned while you were doing those. Please share your thoughts and insights with us.
Thank you so much for your help,
Shirley

what's your full version? I can warn about specific issues in 10.1.0.3 and 10.2.0.1 - for example, in some cases (depending on how the listener was configured), it will be impossible to delete the listener for the deleted node. Known bug.
To avoid many many known bugs, you may want to upgrade to at least 10.2.0.2 before removing a node (from my experience, this is the first stable RAC version).
In any case, deleting a node is a rather delicate process. I really really recommend practicing. Take any pc/laptop, install VMWARE, define two virtual machines, install RAC and remove one node. It will take you an extra day or two, and could save your production.

Similar Messages

  • Help needed to insert data from different database

    Hi ,
    I have a requirement where i need to fetch data from different database through database link .Depending on user request , the dblink needs to change and data from respective table from mentioned datbase has to be fetched and populated .Could i use execute immediate for this, would dblink work within execute immediate .If not , could pls let me know any other approach .

    What does "the dblink needs to change" mean?
    Are you trying to dynamically create database links at run-time? Or to point a query at one of a set of pre-established database links at run-time?
    Are you sure that you really need to get the data from the remote database in real time? Could you use materialized views/ Streams/ etc to move the data from the remote databases to the local database? That tends to be far more robust.
    Justin

  • I just updated my iTunes, and I need to delete photos from my iPod 4, and there is a Photo Library that synced to my iPod when i plugged it into my computer, and now it doesnt have the option to delete them off my iPod. How do I get rid of these photos?

    I just updated my iTunes, and I need to delete photos from my iPod 4, and there is a Photo Library that synced to my iPod when i plugged it into my computer, and now it doesnt have the option to delete them off my iPod. How do I get rid of these photos? I have read other questions that say to plug the iPod into the computer and like un-sync it, but I downloaded the new iTunes and it doesnt have a photos tab. Does anyone know how to solve my problem? Please and Thank You, Megan!

    Just what did you do to the computer?
    It sounds like the iPodf is seening the iTunes libary as a new libary.

  • Do i need to delete everything from my old iphone before i get a new iphone?

    i just got a replacement iphone in the mail, i just want to make sure before i turn my old one off, do i need to delete anything from it? like photos, notes, etc... i just want to protect my privacy.
    thank you.

    Have you backup your phone yet?  You should do that first so you can restore your new phone to that back up http://support.apple.com/kb/HT1766 .   After you have restore your new phone, then you can delete the contents of your phone.
    settings - general - reset - erase all content and settings.

  • Hey guys I need to delete photos from the very first  IPad sold on the market, how I do it, when I bring the photos to be view I don't get the little garbage can to trash them. Help please!

    Hey guys! How you delete photos from the very first IPad when you don't get the little garbage can on the screen.

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    iPhoto for iOS (iPad): Delete photos from iPhoto
    http://support.apple.com/kb/ph3137
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
    The Fastest Way to Remove All the Photos from the iPad Camera Roll
    http://ipadinsight.com/ipad-tips-tricks/the-fastest-way-to-remove-all-the-photos -from-the-ipad-camera-roll/
    Delete Pictures from Your iPad
    http://www.dummies.com/how-to/content/delete-pictures-from-your-ipad.html
     Cheers, Tom

  • How to delete users from oim database 11g???

    Can anyone help me:
    I need to clean the OIM database, so I need to delete All user accounts that exists in OIM
    Any help apprecciated
    regards

    Hi
    Last time I used this script to delete the users. Hope it will be useful for you:
    delete from oud where oiu_key in (select oiu_key from oiu where usr_key in (select usr_key from usr where usr_create > to_date('20-06-2010','dd-mm-yyyy')));
    delete from osi where req_key in (select req_key from req where orc_key in (select orc_key from orc,usr where orc.usr_key = usr.usr_key and usr_create > to_date('20-06-2010','dd-mm-yyyy')));
    delete from osi where osi_assigned_to_usr_key in (select usr_key from usr where usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from osh where osh_assigned_to_usr_key in (select usr_key from usr where usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from rcd where rce_key in (select rce_key from rce,orc,usr where rce.orc_key = orc.orc_key and orc.usr_key = usr.usr_key and usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from rch where rce_key in (select rce_key from rce,orc,usr where rce.orc_key = orc.orc_key and orc.usr_key = usr.usr_key and usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from rcu where rce_key in (select rce_key from rce,orc,usr where rce.orc_key = orc.orc_key and orc.usr_key = usr.usr_key and usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from rcb where rce_key in (select rce_key from rce,orc,usr where rce.orc_key = orc.orc_key and orc.usr_key = usr.usr_key and usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from rce where orc_key in (select orc_key from orc,usr where orc.usr_key = usr.usr_key and usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from orc where usr_key in (select usr_key from usr where usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from upd where upp_key in (select upp_key from upp,usr where upp.usr_key = usr.usr_key and usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from upp where usr_key in (select usr_key from usr where usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from usg where usr_key in (select usr_key from usr where usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from uhd where uph_key in (select uph_key from uph,usr where uph.usr_key = usr.usr_key and usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from uph where usr_key in (select usr_key from usr where usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from pcq where usr_key in (select usr_key from usr where usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from rcu where usr_key in (select usr_key from usr where usr_create > to_date('20-06-2010','dd-mm-yyyy'));
    delete from usr where usr_create > to_date('20-06-2010','dd-mm-yyyy');

  • Is the way to retrieve the deleted pages from the database application

    Hi,
    I was just deleted the pages from my database application wizard. Now, i want to retrieve the deleted pages, can you help me to retrieve those pages.
    Thankyou.

    Halloween can be a scary time -- especially if you Oops your APEX application. Of course you can't travel back in time but through the miracle of flashback, you may be able to get the APEX appl. back to where it was when. I tried these approaches and was successful with them.
    *** This assumes flashback is running on the APEX schema(?). Your abiliy to go back a given number of minutes (or hours?) will depend on whether the saved values still exist in the database. ***
    A) If you modify a page and want to go back to what you had, say, about 30 minutes ago.
    1) Under the Utilities button (on that page), select History.
    2) Determine how far back in time you want to go by examining the list of editing changes displayed.
    3) Do a page export of that page (also under Utilities) and fill in “As of __ minutes ago”.
    4) If you don’t want to lose what you've got on the “damaged” page, copy it to another page number for now.
    5) Import the exported page file.
    6) Check if you got back what you wanted.
    7) If not, try an earlier (or later) time and have another go at it.
    B) If you deleted the wrong page in the application!
    1) Assuming the last thing you did was this deletion, export the entire application filling in “As of __ minutes ago”.
    2) Just to be careful, import the file to a different unused application number. Don't overwrite someone else's application.
    3) Copy the deleted page from the new application back to where you need it.
    4) Clean up by deleting the unneeded application.
    C) If, "Doh," you deleted the wrong application!!!!
    1) Are you able to retire? If no, then proceed!
    2) Create a minimal application (with a single page) with the same number as the one deleted.
    3) Export the application filling in “As of __ minutes ago” with an appropriate number of minutes.
    4) The export file should contain the code you need to restore.
    5) You can inspect it with an editor.
    Look about line 25 for" Pages: <number>".
    For specific pages look for "page_000nn".
    5) Import the file to the same appl. number. You should get everything back!
    YMMV: Your mileage may vary!
    I'll take my leave with the words of that immortal song:
    "Yes. Oops, Oops, Oopsie! Good Bye. But Oops, Oops, Oopsie. Don't Cry."
    (With apologies to Ted Fio Rito, 1900-1971.)
    Howard

  • Deleting tables from my database

    Hello,
    Due to the problem of failed installation, I have about 127 tables in my Sql database which I need to delete so as to re-install the same set of tables again. How do I do this effectively without causing other problems in the database.
    Thanks in anticipation.
    Regards.

    hi Praise_Him
    You got several great solutions above, for doing the operation (deleting) automatic for whole tables which their name start with "myprefix_". yet, it look you are looking for something else. I can get it, as you dont know what is done actually,
    then you afraid from executing those automatic queries.
    The time you spent writing your posts, you could actually delete the tables manually one by one. As this is a one time action, maybe you will feel better, and it will be more fit to your case, to do it using the SSMS GUI. Using 127 mouse cliks you can do
    check this link (especially the section "Using SQL Server Management Studio"):
    http://technet.microsoft.com/en-us/library/ms190616.aspx
    * What works for one person is not safe/suitable to another person. None of us as DBAs will probably chose this solution but I really have a feeling this is the best for you at this point. Just delete the tables one by one :-)
    * This will also be better in case there is other restriction as relations between the tables or other element in the database. working one by one if you get a specific problem you can come back and tell us what is the error message that did not let you
    delete a specific table.
    I Hope is helpful :-)
    ** In any case make sure that you backup the database before you start!
    [Personal Site] [Blog] [Facebook]

  • Completely delete OEM from the Database

    I would like to know how to completely drop and re-create the OEM from an Oracle Database. The emctl console application updates the OEM configuration files but does not allow you to delete the oem tables etc... completely from the database.

    This command doesn't work, I get the following error (-deconfig is not an option!):
    Incorrect usage:
    oracle.sysman.emcp.EMConfigAssistant [options] [list of parameters]
    Options:
         -a :configure for an ASM database
         -b :configure for automatic backup
         -c :configure a cluster database
         -e <node> :remove a node from the cluster
         -f <file> :specify the file name that contains parameter values
         -h :help
         -m :configure EM for a central agent
         -n <node> :add a new node to the cluster
         -r :skip creation of repository schema
         -s :silent mode (no user prompts
         -x <db> :deletion of a SID or DB
         -RMI_PORT <port> :specify the RMI port for DB Control
         -JMS_PORT <port> :specify the JMS port for DB Control
         -AGENT_PORT <port> :specify the EM agent port
         -DBCONSOLE_HTTP_PORT <port> :specify the DB Control HTTP port
    The script will prompt for any required data that is not specified in a configuration file. The script always prompts for all required passwords. If you use a configuration file, the file may contain any of the following specifications, as shown, with the specified values correctly filled in:
    Parameters for single instance databases:
         HOST=<Database hostname>
         SID=<Database SID>
         PORT=<Listener port number>
         ORACLE_HOME=<Database ORACLE_HOME>
         LISTENER=<Listener name>
         HOST_USER=<Host user name for automatic backup>
         HOST_USER_PWD=<Host user password for automatic backup>
         BACKUP_HOUR=<Automatic backup hour in number>
         BACKUP_MINUTE=<Automatic backup minute in number>
         ARCHIVE_LOG=<Archive log>
         EMAIL_ADDRESS=<Email address for automatic notification>
         MAIL_SERVER_NAME=<Email gateway for automatic notification>
         ASM_OH=<ASM ORACLE_HOME>
         ASM_SID=<ASM SID>
         ASM_PORT=<ASM port>
         ASM_USER_ROLE=<ASM user role>
         ASM_USER_NAME=<ASM user name>
         ASM_USER_PWD=<ASM user password>
         EM_HOME=<Enterprise Manager ORACLE_HOME>
         DBSNMP_PWD=<Password for dbsnmp>
         SYSMAN_PWD=<Password for sysman>
         SYS_PWD=<Password for sys>
    Parameters for cluster databses:
         HOST=<Database Instance hostname>
         PORT=<Listener port number>
         LISTENER=<Listener name>
         ORACLE_HOME=<Database ORACLE_HOME>
         CLUSTER_NAME=<Cluster name>
         DB_NAME=<Database name>
         SERVICE_NAME=<Service name>
         HOST_USER=<Host user name for automatic backup>
         HOST_USER_PWD=<Host user password for automatic backup>
         BACKUP_HOUR=<Automatic backup hour in number>
         BACKUP_MINUTE=<Automatic backup minute in number>
         ARCHIVE_LOG=<Archive log>
         EMAIL_ADDRESS=<Email address for automatic notification>
         MAIL_SERVER_NAME=<Email gateway for automatic notification>
         ASM_OH=<ASM ORACLE_HOME>
         ASM_PORT=<ASM port>
         ASM_USER_ROLE=<ASM user role>
         ASM_USER_NAME=<ASM user name>
         ASM_USER_PWD=<ASM user password>
         EM_HOME=<Enterprise Manager ORACLE_HOME>
         DBSNMP_PWD=<Password for dbsnmp>
         SYSMAN_PWD=<Password for sysman>
         SYS_PWD=<Password for sys>

  • Help needed in transferring IDoc from SAP CRM to XI

    Hi All,
    We are facing an issue in sending an IDoc from SAP CRM to XI system.  The IDoc is triggered and the status is showing as 03 in SAP CRM system(WE05 is used) but it is not getting replicated in XI System. This is verified by logging into XI System and cross checked the records retrieved by executing the transaction IDX5. No entry is found for this IDoc.
    In SM58 transaction, it is giving the status text as EDISDEF:Port SAPRIO segment defn E201CRMXIF_BILLI. 
    Any pointers on this issues will be very helpful. We are able to send information from XI to CRM.
    The project is an upgrade one and the IDocs are developed earlier and were working fine one week back and no changes were made recently.
    Thanks,
    Udaya

    Hi Kapil,
    Thanks a lot for your help. We need to delete and recreate Metadata. This is a typical problem that is encountered during upgrade projects.
    Thanks,
    Udaya

  • Need to delete music from my iPhone to make space for iOS upgrade. Should I get rid of all (and how would I do this?) and use the cloud as playback source?

    My phone wants to upgrade to 7.0.2, but there's not enough room. I (stupidly) upgraded my iCloud capacity thinking that that would help, but it doesn't.  Now I'm considering deleting my music off my phone altogether, but I need some of it there for a variety uses at the school where I teach.  Does the cloud preserve my playlists?  Can I selectively delete music from my iPhone?

    Hi - you can do what you want to do with AirPlay from your iPhone - but unfortunately it is not as easy as the people in the Apple store told you - your first problem is that you have a non Apple router - you cannot extend a non Apple router wirelessly with the Express - you can only join the network and connect an ethernet device to it - you can however connect via ethernet and have it create a wireless network of its' own - you can set this up from your iPhone or the XP - but this is a complicated setup and would involve many different discussion areas of this forum - therefore I would suggest that you use your 90 days of support and consult directly with Apple to do this - go to this link - http://www.apple.com/support/contact/

  • Removing "Not Deleted" Mailboxes from a Database

    Before I go anywhere, let me explain what I mean by "Not Deleted" mailboxes - We will be deleting and recreating a pair of databases this weekend. A s part of this process, we move all mailboxes from these databases to the other 22 mailbox databases
    in the corporation, leaving our databases empty.  We then run a command to find the soft-deleted and disconnected mailboxes and handle them (remove the former and reconnect the latter so we can move them to another database).  When I ran this script
    on one of the two databases, I found that the database had two supposedly live mailboxes on it.
    So I ran Get-MailboxStatistics -Database and got info about these two mailboxes.  Neither shows as being SoftDeleted or Disconnected, and neither has a DisconnectDate.  So they should be live mailboxes, with an AD account.  So I checked them
    and found one had an account - but was on another database on a totally different server (in fact, in the other DAG).  And the other belonged to an account that was deleted last November.
    So, these two mailboxes appear to be zombies, with no life and no soul, but doomed to foil my plans to delete the database gracefully - they are all that stands between me and the success of my mission.  Now, I know I can take the database offline,
    delete the database files, and bring them back online and that will kill these zombie mailboxes, but I was hoping someone had a way I can delete them gracefully so I don't feel like I've just used a sledgehammer on my servers.  I tried Remove-StoreMailbox,
    but it requires that the mailbox have a status of either SoftDeleted or Disconnected - and from what I've read online, those are the only two accepted options.
    So I come to you for possible guidance - keep in mind that these are totally unnecessary mailboxes and I have no qualms about deleting the database if that what it comes down to.  Anyone have any other suggestions?  Thanks ...
    Will

    There were two active mailboxes showing from the "Get-MailboxStatistics -Database <database name>" command, even though the database showed no active mailboxes when running "Get-Mailbox -Database <database name>" command.  Neither of these
    had a disconnected date, and neither showed a value in the Reason field.  Now for your answers:
    1.  One of these mailboxes showed as being on another database, same GUID, etc, and was able to be accessed on that other database.  However, Get-MailboxStatistics - Database <database name> showed that it also existed on this database. 
    We couldn't connect an account to this mailbox, nor could we delete it - the command (below) said the mailbox was on another database (which it was).
    Connect-Mailbox -Identity <mbx GUID> -Database <name of the database we wished to delete> -User <account SAM account name> -Alias <account SAM account name> -Shared -DomainController <domain controller>
    2.  The command was what I show above.
    Post Mortem:  Since we had to delete the database, and since neither of them were needed, we just went forward with our work.  I was hoping we'd be able to remove these mailboxes gracefully, but none of the tools we had available worked for the
    job.

  • Need to delete data from main table and all child tables ...

    hi all,
    i need to delete rows pertaining to perticular table and all the child
    tables basing on certain code.i need to write a procedure to which i will
    pass the table name and code..
    like del_info(tab_name,code)
    example:
    suppose if i call as del_info(clients,760)
    the procedure should delete all info reg. code 760
    and the table clients and also all the child records of this table
    perting to code 760.
    simply .. i need to delete from the table passed and also
    all the child tables down the heirarchy regarding certain code ...
    help ???
    Ravi Kumar M

    Hi,
    Depends how you defined referential integrity.
    You can use ON DELETE CASCADE, please read the next doc http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/clauses3a.htm#1002692
    Hope this help you,
    Nicolas.

  • Help Needed!! Working with SQL Databases

    Hi All,
    I'm currently working on an application that interfaces with an SQL database, and I seem to have ran into a roadblock.
    I have a multicolumn list box on my front panel which is filled in with data extracted from the database. On selecting any of the rows in the list box, another one is opened displaying another set of data extracted by a generated SQL query. At the moment I am only selecting one row at a time to view it's related data, but I want to expand such that I can select mutiple rows from the list box at a time and see all of their corresponding data.
    With only a single selection, I can pass the index value of the selection to an Index Array Function with the database as the other input and build my SQL statement.
    But with multiple selections, I imagine I would have to build an array on index values and use those as a reference to build the SQL statment. And I am not sure how exactly to go about doing that.
    Here is the code that I currently have working for a single selection from the list box.
    Any help is appreciated. Cheers.
    Solved!
    Go to Solution.

    tdog wrote:
    Hi All,
    I'm currently working on an application that interfaces with an SQL database, and I seem to have ran into a roadblock.
    I have a multicolumn list box on my front panel which is filled in with data extracted from the database. On selecting any of the rows in the list box, another one is opened displaying another set of data extracted by a generated SQL query. At the moment I am only selecting one row at a time to view it's related data, but I want to expand such that I can select mutiple rows from the list box at a time and see all of their corresponding data.
    With only a single selection, I can pass the index value of the selection to an Index Array Function with the database as the other input and build my SQL statement.
    But with multiple selections, I imagine I would have to build an array on index values and use those as a reference to build the SQL statment. And I am not sure how exactly to go about doing that.
    Here is the code that I currently have working for a single selection from the list box.
    Any help is appreciated. Cheers.
    Regarding building the array:
    I can see hat you multicolumn listbox has not multiselection enabled, and is limited to one or zero selected item at once. To enable multiselction; simply rightclick your multicolumn listbox and change your selection mode to support multiple selected items. The NewVal at the event structure should change from a single index number to a 1D array of indexed numbers. No coding needed. Then just retrive out all the items (since you know the indexes) and create the quiry. The quiry part I dont really know (long time no see SQL), but it looks like a for loop to create the string should do the trick?

  • Help needed to DELETE a System created with Logical Components assigned.

    Hi,
    I created a system in SMSY in my Solution Manager system. I unknowingly assigned the system to Logical Components. Now on finding that it was a worng way of configuration I need to DELETE the system and recreate it using the option "Create new system with assistant."
    Please help me in resolving the issue. I am not getting an option from the were used list to delete the assignment of the system.
    Expecting a reply at the earliest.
    Regards,
    Vineeth

    Dear friend
    You can remove the system from the logical component by clicking on display/change and removing the SID from the system assignments,
    just select the blank field from F4 help.
    Once you have removed the system from the logical component, you will be able to delete the system.
    shailesh Tiwari

Maybe you are looking for

  • Report to track configurator activity

    Hello, I am trying to configure 2 reports to track 'CONFIGURATOR' activity 1. When has the CONFIGURATOR logged in (date) 2. If he has logged in at all what did he do Can somebody tell me on which report configuration will be the most appropriate for

  • Problem with e65 reinstall themes,please help...tx

    Please somme one if you knou: I install themes and i uninstall this themes and when i want to install same themes again it tell me:"cannot install theme". Please somme one knows what is the problem? Thanks a lot!

  • Cannot connect using Accessing the Router's Web-Based

    I'm trying to update firmware, I have done all the step to access the router's web-based.. I connected DSL to the Ethernet port on the router, from the router I used another Ethernet cable to connect the router to my laptop.. I can't get an internet

  • The next/forward button isnt working

    i had just taken my ipod out from my computer and played a song. i tried hitting the next button and all it does is restart the song. plz help! 5th-gen 80gig   Windows XP  

  • Machines with Duplicate SMS UI GUIDs

    I hope that someone can help me with my issue. I started to notice that some of the machines that I have were not installing the configmgr client and that some were showing up in the all devices pool twice, one entry showing installed and active and