Switchover 2-node primary 1-node standby

Hi,
Primary database has 2 node RAC, &
standby database has only 1 node - stand alone.
then switchover procedure is normal as 1 to 1 ? or any changes in performing switchover.
Do i need to make the cluster database as single node by setting cluster_database=false?
Please advice.

hi,
please see the documentation: http://download.oracle.com/docs/cd/E11882_01/server.112/e17022/rac_support.htm#i641732
before switchover to a physical standby, all but one primary instances should be stopped; after switchover, started again.
but no need to modify any parameter.

Similar Messages

  • Data guard synchronization after link down b/w primary and physical standby

    Hi All,
    I have configured data guard on oracle 11gr2 db. Normally switchover between my primary and physical standby happens smoothly and the Apply lag would be zero. Recently We had to test a scenario when the network link between Primary and Physical standby is completely down and Physical standby is isolated completely for more than half an hour.
    When we brought up the link every thing worked smoothly but apply lag started increasing from 0 to around 3 hrs. And then it started reducing to 0. Currently Apply lag and transport lag shows 0.
    But is this normal behaviour of oracle data guard that when the link between primary and physical standby is completely down, It requires 3-4 hrs for resynchronization ??? Even when during isolation, there were very few transactions happend on primary database ??
    Are there any documents available for this scenario??
    Thanks

    Hi, after the link is up, if there were some transactions and produced archive logs it's normal to take some time for resync. To check if 3-4 hours is normal or not, you can repeat the scenario and this time check
    - how many archivelogs does primary produce in this period.
    - after the link is up, does archivelog transfer immediately starts from primary to standby? Is primary able to send these archivelogs parallel?
    - Is there anything wrong with the apply process?
    check primary & standby alert log files, and run this query on standby to check the transport and apply processes:
    SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;
    regards

  • 11gR2  2-node Primary RAC / 2-node Standby RAC setup

    My current setup is my Primary is a 2 node RAC, while my standby is a single instance standby. I need to convert the standby to a 2 node RAC. Has anyone have any experience for this? I have completed setting up oracle binaries for ASM/GRID on the supposed 2nd node standby. Any help would be greatly appreciated.
    Thanks
    Dexter

    Check this out:
    http://zakkiahmed.wordpress.com/2010/08/04/convert-11gr2-non-rac-database-to-rac -database-using-rconfig/

  • # of threads required between RAC Primary and RAC Standby

    Oracle 11.1.0.7
    Primary 3 Node RAC
    Standby 2 Node RAC
    Our primary (3 nodes) has 4 groups on each node, with the thread# relating to the instance number. For example, we have thread 1, 2, 3 each with 4 multiplexed groups.
    Our standby was created with RMAN Duplicate and it also has 3 threads, but there are only 2 nodes.
    The purpose of this Data Guard implementation is to migrate our development and acceptance environments to another data center with different hardware.
    The new site has been running well and we started migrating development, where we did a switchover to the new environment; our standby databases are now our primary databases. We are going to keep the Data Guard implementation for awhile just to be sure all of the developers and applications are good.
    I was going to drop the 3rd thread from the new primary (old standby) because there are only 2 nodes. I can take it down to 2 groups and then receive the error:
    ORA-01567: dropping log 9 would leave less than 2 log files for instance play3 (thread 3)
    ORA-00312: online log 9 thread 3: '+ASM_FRA_DA/dgplay/onlinelog/group_9.28331.811864225'
    This group’s status is:
    THREAD# GROUP# MEMBER SEQ STATUS
    3 5 +ASM_FRA_DA/dgplay/onlinelog/group_5.8108.813676681             0 UNUSED
    6 +ASM_FRA_DA/dgplay/onlinelog/group_6.8109.813676687             0 UNUSED
    9 +ASM_FRA_DA/dgplay/onlinelog/group_9.28331.811864225            0 UNUSED
    22 +ASM_FRA_DA/dgplay/onlinelog/group_22.18321.811184283           0 UNUSED
    Plans are to un-Data Guard these environments to decommission the hardware. At that time I’m sure I can remove thread# because it’s not needed.
    My question has to do with the logs needed between primary and standby. What I’m seeing is that the greatest number of threads are needed on each side, but not quite sure why if they are UNUSED. Can anyone elaborate on this? I can find no documentation that talks about this.
    Sherrie

    Hi,
    You could do:
    ALTER DATABASE DISABLE THREAD 3;
    check status of the groups in the thread, if any of them <> UNUSED, then archive them:
    ALTER SYSTEM ARCHIVE LOG GROUP x;
    Then drop the groups.
    My question has to do with the logs needed between primary and standby. What I’m seeing is that the greatest number of threads are needed on each side, but not quite sure why if they are UNUSED. Can anyone elaborate on this? I can find no documentation that talks about this. Actually a RAC standby can work with just 1 instance started, because the MRP process runs only on 1 instance. Opening the standby is another story.
    But of course you should have enough standby redo logs on the standby site to receive redo from the primary site.

  • Primary in standalone , Standby in RAC

    What a preposterous Idea. I know.... This is not for production .
    I have created standalone Primary to standalone Standby succesfully in the past.
    At work I've been asked to create a 2-node standby DB for our 2-node RAC DB using RMAN Duplicate. I am planning to test this on my Laptop first. But my Laptop has only 8gb RAM. Using VM Ware workstation 8, I am planning to create
    Primary : A standalone DB
    Using RMAN Duplicate, I'll be creating
    Standby : A 2-node RACSince Primary is standalone and has only 1 thread and standby DB in RAC having 2 threads, I am not sure if this will work. Ever heard of anyone creating a setup like this.
    DB version :11.2.0.2
    Guest OS : Solaris 10 (August 2011 Release )
    Host OS : Windows 7
    Using VM Ware workstation 8

    Earlier ihad the same doubt.
    Larry carpenter & me had a discussion on this, I can remember that. Read below post.
    primary stand alone - standby 2 node physical rac?
    Close the thread if answered and keep the forum clean.

  • Backing up primary and physical standby

    We have a DG setup with a single instance primary node and a physical standby db. They both use their own FRA's and their own disks. Nothing is shared. Also the datafiles use OMF on both the db's. My questions are
    1. Can i register the primary with the rman catalog and still backup the standby?
    2. Should i backup the archive logs on primary? If so what rman settings should i use on both for the archive logs?
    3. We wanted to back up both the dbs as it will be faster to restore since we wont have to convert filenames (cause of OMF) when we have to resotore backup taken on primary to standby or vice versa.
    Any advise related to this scenario is highly appreciated.
    Thanks.

    Hi All,
    you should have same rman format setting and log_archive_format on primary and standby database >to avoide any confusion at the time of restore. if you have different log_archive_format on standby then >primary, you might have to rename your archivelogs from standby to log_archive_format on primary.It is not required to have same log_archive_format for primary and standby database.
    The database can be restored and recovered successfully even if the format is different.
    Primary database
    ============
    SYS @ oraprim> show parameter log_archive_format
    NAME TYPE VALUE
    log_archive_format string ARC%S_%R.%T
    Standby database
    =============
    SYS @ orastdby> show parameter log_archive_format
    NAME TYPE VALUE
    log_archive_format string ARC_STDBY%S_%R.%T
    Standby database
    =============
    C:\> set ORACLE_SID=orastdby
    C:\>rman target / catalog recat/recat@recat
    RMAN> backup archivelog all delete input;
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=98 recid=15 stamp=631239054
    input archive log thread=1 sequence=99 recid=16 stamp=631239055
    input archive log thread=1 sequence=100 recid=17 stamp=631239055
    input archive log thread=1 sequence=101 recid=19 stamp=631239111
    input archive log thread=1 sequence=102 recid=18 stamp=631239110
    channel ORA_DISK_1: starting piece 1 at 22-AUG-07
    channel ORA_DISK_1: finished piece 1 at 22-AUG-07
    piece handle=C:\FLASH_RECOVERY_AREA\ORASTDBY\BACKUPSET\2007_08_22\O1_MF_ANNNN_TAG20070822T001717_3DQG6HGS_.BKP
    tag=TAG20070822T001717 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    channel ORA_DISK_1: deleting archive log(s)
    archive log filename=C:\ORADATA\ORASTDBY\ARCH2\ARC_STDBY00098_0630878042.001 recid=15 stamp=631239054
    archive log filename=C:\ORADATA\ORASTDBY\ARCH2\ARC_STDBY00099_0630878042.001 recid=16 stamp=631239055
    archive log filename=C:\ORADATA\ORASTDBY\ARCH2\ARC_STDBY00100_0630878042.001 recid=17 stamp=631239055
    archive log filename=C:\ORADATA\ORASTDBY\ARCH2\ARC_STDBY00101_0630878042.001 recid=19 stamp=631239111
    archive log filename=C:\ORADATA\ORASTDBY\ARCH2\ARC_STDBY00102_0630878042.001 recid=18 stamp=631239110
    Finished backup at 22-AUG-07
    RMAN>
    Primary Database
    =============
    -- deleted users datafile and did complete recovery
    C:\>set ORACLE_SID=oraprim
    C:\>rman target / catalog recat/recat@recat
    RMAN> run{
    2> startup mount;
    3> restore database;
    4> recover database;
    5> }
    Oracle instance started
    database mounted
    channel ORA_DISK_1: starting archive log restore to default destination
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=98
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=99
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=100
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=101
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=102
    channel ORA_DISK_1: reading from backup piece C:\FLASH_RECOVERY_AREA\ORASTDBY\BACKUPSET\2007_08_22\O1_MF_ANNNN_TAG20070822T001717_3DQG6HGS_.BKP
    channel ORA_DISK_1: restored backup piece 1
    piece handle=C:\FLASH_RECOVERY_AREA\ORASTDBY\BACKUPSET\2007_08_22\O1_MF_ANNNN_TAG20070822T001717_3DQG6HGS_.BKP tag=TAG20070822T001717
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:04
    archive log filename=C:\ORADATA\ORA10GR2DB1\ARCH2\ARC00098_0630878042.001 thread=1 sequence=98
    archive log filename=C:\ORADATA\ORA10GR2DB1\ARCH2\ARC00099_0630878042.001 thread=1 sequence=99
    archive log filename=C:\ORADATA\ORA10GR2DB1\ARCH2\ARC00100_0630878042.001 thread=1 sequence=100
    media recovery complete, elapsed time: 00:00:07
    Finished recover at 22-AUG-07
    RMAN>
    Regards,
    Vaibhav

  • Steps for Data Guard with one primary and 2 standby

    Hi,
    Database :10.2.0.4, 11.2.0.1
    Os: Windows , Unix
    A ----------------> Primary database
    B ----------------> Standby Database 1
    C ----------------> Standby Database 2
    I want to configure *2 standby* databases for single primary database.
    Lets take, A ,B and C are my machines.My data guard configuration will be like,*archive logs will be moving* from A to B and A to C.
    If i do any switchover in between A and B , now B is primary and remaining A and C are standby databases.At this stage also , archive logs should move from B to A and B to C. Also, same should happen from C to A and C to B,If i do switchover in between B and C.If everything is fine , then i will do switchback to main Primary database(A).
    How do i have to mention PFILE in all machines ,the parameters like
    LOG_ARCHIVE_DEST_1=LOCATION=<PATH> -- LOCAL ARCHIVE PATH
    LOG_ARCHIVE_DEST_2=SERVICE=
    LOG_ARCHIVE_DEST_3=SERVICE=
    FAL_SERVER=
    FAL_CLIENT=
    STANDBY_FILE_MANAGEMENT=
    In my tnsnames.ora , primary,standby1 and standby2 are my service entries and these are same in all of my machines.
    Please suggest me , how do i can configure my pfiles in all machines ?.
    Thanks,
    Sunand

    Not yet, but now you have me interested.
    Please consider Flashback.
    I still have to test but here's my take:
    PRIMARY SETTINGS
    *.FAL_SERVER=STANDBY
    *.FAL_CLIENT=PRIMARY
    *.STANDBY_FILE_MANAGEMENT=AUTO
    *.DB_UNIQUE_NAME=PRIMARY
    *.LOG_FILE_NAME_CONVERT='STANDBY','PRIMARY'
    *.log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=PRIMARY'
    *.log_archive_dest_2='SERVICE=STANDBY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY'
    *.log_archive_dest_3='SERVICE=STANDBY2 LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY2'
    *.LOG_ARCHIVE_DEST_STATE_1=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_2=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_3=ENABLE
    *.LOG_ARCHIVE_MAX_PROCESSES=30
    STANDBY 1 SETTINGS
    *.FAL_SERVER=PRIMARY
    *.FAL_CLIENT=STANDBY
    *.STANDBY_FILE_MANAGEMENT=AUTO
    *.DB_UNIQUE_NAME=STANDBY
    *.LOG_FILE_NAME_CONVERT='PRIMARY','STANDBY'
    *.log_archive_dest_1=LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY'
    *.log_archive_dest_2='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=PRIMARY'
    *.log_archive_dest_3='SERVICE=STANDBY2 LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY2'
    *.LOG_ARCHIVE_DEST_STATE_1=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_2=DEFER
    *.LOG_ARCHIVE_DEST_STATE_3=DEFER
    *.LOG_ARCHIVE_MAX_PROCESSES=30
    STANDBY2 SETTINGS
    *.FAL_SERVER=PRIMARY
    *.FAL_CLIENT=STANDBY2
    *.STANDBY_FILE_MANAGEMENT=AUTO
    *.DB_UNIQUE_NAME=STANDBY2
    *.LOG_FILE_NAME_CONVERT='PRIMARY','STANDBY2'
    *.log_archive_dest_1=LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY2'
    *.log_archive_dest_2='SERVICE=STANDBY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY'
    *.log_archive_dest_3='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=PRIMARY'
    *.LOG_ARCHIVE_DEST_STATE_1=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_2=DEFER
    *.LOG_ARCHIVE_DEST_STATE_3=DEFER
    *.LOG_ARCHIVE_MAX_PROCESSES=30
    Edited by: mseberg on Nov 29, 2010 9:39 AM
    The first test slapped me. Looking at 409013.1 Cascaded Standby Databases
    Edited by: mseberg on Nov 29, 2010 12:49 PM

  • Will HANA node supports cluster (Initiator node and Eexecutor node)

    Hi Gurus,
    In vertica DB supports below cluster concepts, Will HANA supports
    Initiator node and Eexecutor node
    1. client submits query to vertica cluster the node to which the client is connected is called the initiator node
    2.  Initiator node analyses query and distributes query plan to executor nodes
    3.   Executor nodes run query on local data set and return partial result to initator node
    Regards,
    Manoj.

    Hello,
    as Vitaliy wrote - you will not find exactly identical equivalent in HANA database but also HANA database can offer similar functions.
    In case you want to spread workload across several machines you should check:
    SAP HANA Database Server Installation Guide (page 13 - 5.2 Distributed System; page 35 - Adding a Host to the System):
    https://service.sap.com/~sapidb/011000358700000604572011
    Note: Master nameserver can logcally failover to other node. This can be seen as high availability.
    In case you are interested in high availability on instance level - you might want to look as well at following guide:
    SAP HANA Database Scaleout with Standby Host:
    http://help.sap.com/hana/hana1_imdb_scale_en.pdf
    Tomas

  • Dbstart/dbstop for Primary or Physical Standby instance

    We have established a Physical DataGuard instance on Oracle 9i RAC, RedHat 2.
    In our environment we switchover from the Primary to Standby site about every 6 months.
    DBSTART is called after a system restart - and its goal is to bring the database up automatically.
    DBSTART works ok when the instance is a primary instance, and does not work when the instance is a Standby database.
    As supplied by Oracle, DBSTART puts the instance into NOMOUNT status when the instance is a Standby Instance.
    I would to put the database into "Managed Recovery Mode" when the instance is a Standby Instance.
    I know that I can modify DBSTART to always put the instance into managed recovery - but then I would need to remember to modify DBSTART after a switchover.
    Has anyone modified DBSTART so that it detects a "Standby Control File" and issues the appropriate statements?

    Hi Richard,
    I'd suggest you read the documentation as a starting point, to answer your questions on here would be quite lengthy,
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/toc.htm
    In a nutshell you dont need downtime to maintain a standby, you can create them from a hot backup of your primary and get them recovering whilst it is open, in terms of which type of standby to use (physical or logical) that depends on your requirements for the use of the standby ... as I said read the doco (chapter 2 has a section on the benefits of each type).
    HTH
    Paul

  • Move CM Node to Database node from Application Tier

    Hi,
    I have setup like this...my set up is 2 node...one node is Database node and another is Application Node.
    Now I want to move Concurrent Manager Node from Application Node to Database Node..
    I Can do this using RAPIDCLONE.....
    What My Doubt is to move the CM Node...
    Do I have to copy APPL_TOP , COMMON_TOP and ORA_TOPs or only APPL_TOP to database node
    Plase help it out

    Hi,
    I want to Move CM to Database node using Shared Applicaiton File System Feature...It is very cool.....
    I did not understand one point there...These lines are from this document
    Sharing the Application Tier File System in Oracle Applications 11i Doc ID: Note:233428.1
    Section 3: Sharing an existing Applications file system
    In the 3rd point....
    Make the Applications files accessible
    Mount the shared disk to all application tier nodes
    Suppose, I have Total Application Tier File System in the Application Node is in /u01 partition...Do I have to NFS Share this partition and Mount it in Database Node...is it correct??? like this I have to do it na....
    (1) NFS share the /u01 partition File system in the Application Node
    (3) mount the /u01 file system in the Database Node
    $mount /u01 /u01
    Is it correct ?????
    If I have to apply any patch...Only we need to apply it on Primary node..once we apply it..it is automatically appearing the node 2....because it is shared file system....Only use is....For CM Running purposes..Database Node Resources(CPU and RAM) will be used......right.....
    We no need to touch the Shared File System in the Database Node 2 in this scenario....right....
    Please confirm it...

  • How to populate a Value Attribute of a Value Node inside Model Node

    Hello
    I have my context like this.
      Context
    ..          - ModelNode
    ....                      - Model Attr1
    ....                      - Model Attr2
    ....                      - Model Attr3
    ....                      - Model Attr4
    ....                      - Value Node
    ......                                  |
    ......                                   - Value Attr1
    Model Node is of Cardinality 0..N
    Value Node is of Cardinality 1..1
    I want to create multiple records in my Model Node and one record for every Model Node in Value Node.
    How to do this?
    All good suggestions are welcome.
    Regards,
    Shubham

    Hi Shubham,
    With your context structure the code will be
    for(int i = wdContext.nodeModelNode().size()-1 ; i>=0 ; i--)
        IPublic<comp name>.IModelNodeElement ele =   wdContext.nodeModelNode().getModelNodeElementAt(i);
        IPublic<comp name>.IValNodeElement valEle = wdContext.nodeModelNode().nodeValNode().createValNodeElement();
        valele.setValAttr("");
        ele.nodeValNode().addElement( valEle);
    Your val node should be non singleton (singleton property = false)
    Regards,
    Jaydeep

  • How to set up SSO between e-portal employee node & ebill customer node?

    We have a requirement to set up SSO between e-portal employee node & ebill customer node.
    I am told that sso is possible only between 2 employee nodes.
    Please advise.

    Not sure I understand which part is failing.
    Is it the C program calling your packaged function? Or does the error occur in the PL/SQL code, in which case you should be able to pinpoint where it's wrong?
    A few comments :
    1) Using DOM to build XML out of relational data? What for? Use SQL/XML functions.
    2) Giving sample data is usually great, but it's not useful here since we can't run your code. We're missing the base tables.
    3) This is wrong :
    vStrSqlQuery := 'SELECT * FROM ' || vTblName                     || ' WHERE record_update_tms <= TO_DATE(''' || TO_CHAR(vLastPubTms, 'MM/DD/YYYY HH24:MI:SS') || ''', ''MM/DD/YYYY HH24:MI:SS'') ' ;
    A bind variable should be used here for the date.
    4) This is wrong :
    elmt_value := xmldom.createTextNode (doc, l_clob(1));
    createTextNode does not support CLOB so it will fail as soon as the CLOB you're trying to pass exceeds 32k.
    Maybe that's the problem you're referring to?
    5) This is most wrong :
         l_clob(1):=REPLACE(l_clob(1),'&lt;?xml version=&quot;1.0&quot;?&gt;', NULL); 
         l_clob(1):=REPLACE(l_clob(1),'&lt;', '<'); 
         l_clob(1):=REPLACE(l_clob(1),'&gt;', '>'); 
    I understand what you're trying to do but it's not the correct way.
    You're trying to convert a text() node representing XML in escaped form back to XML content.
    The problem is that there are other things to take care of besides just '&lt;' and '&gt;'.
    If you want to insert an XML node into an existing document, treat that as an XML node, not as a string.
    Anyway,
    Anyone that can help me to find out the required magic number
    That would be a bad idea. Fix what needs to be fixed.
    And please clearly state which part is failing : the C program or the PL/SQL code?
    I'd vote for PL/SQL, as pointed out in [4].

  • How can i add a file name(the text of the file name) as a child node to existing node in a treeView1 ?

    bool exists = false;
    TreeNode newNodeParsed = null;
    TreeNode rootNode = treeViewMS1.Nodes[0];
    TreeNode nextNode = rootNode;
    string f = Path.GetFileName(txtUploadFile.Text);
    TreeNode subnode = new TreeNode(txtDir.Text);
    TreeNode filename = new TreeNode(f);
    if (!txtDir.Text.Contains("/"))
    foreach (TreeNode node in rootNode.Nodes)
    if (node.Text == txtDir.Text)
    exists = true;
    break;
    if (exists == true)
    subnode.Nodes.Add(f);
    else
    rootNode.Nodes.Add(subnode);
    subnode.Nodes.Add(f);
    The rootNode is the root directory in the treeView1
    subnode is a node inside the root. For example the subnode name is manuelisback
    I'm checking if the subnode exist i want to add the file for example (lightning1.jpg) to be under subnode.
    If the subnode is not existing add the subnode to the root and then add the file name lightning1.jpg under the subnode.
    But the file name is never added under the subnode:
    I added manualy the lightning1.jpg under test.
    But the lightning1.jpg also should be added to be under manuelisback. There should be two lightning1.jpg here.
    One under manuelisback and one under test. The one under test i added manualy from my ftp server.
    But the one i want to be under manuelisback i'm trying to add from my program and it dosen't add it to there.
    And when i'm using a breakpoint i see on subnode the text manuelisback and i see on f the text lightning1.jpg

    If I understand your question correctly, you might want to try changing:
    if (!txtDir.Text.Contains("/"))
    foreach (TreeNode node in rootNode.Nodes)
    if (node.Text == txtDir.Text)
    exists = true;
    break;
    if (exists == true)
    subnode.Nodes.Add(f);
    else
    rootNode.Nodes.Add(subnode);
    subnode.Nodes.Add(f);
    to something like:
    if (!txtDir.Text.Contains("/"))
    foreach (TreeNode node in rootNode.Nodes)
    if (node.Text == txtDir.Text)
    subnode = node;
    exists = true;
    break;
    if (exists == true)
    subnode.Nodes.Add(f);
    else
    rootNode.Nodes.Add(subnode);
    subnode.Nodes.Add(f);
    rootNode.Nodes.Add(f);
    It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

  • Installing 11gR1 CRS and receive error when executing root.sh on 2nd node of 2 node cluster

    This is the error from the execution of root.sh on 2nd node of 2 node RAC cluster:
    dhzusbx98: /u01/app/crs # ./root.sh
    WARNING: directory '/u01/app' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    /etc/oracle does not exist. Creating it now.
    Setting the permissions on OCR backup directory
    Setting up Network socket directories
    PROT-1: Failed to initialize ocrconfig
    Failed to upgrade Oracle Cluster Registry configuration
    dhzusbx98: /u01/app/crs #
    This is what I find in the following log file:  /u01/app/crs/log/dhzusbx98/client\ocrconfig_6422692.log
    Oracle Database 11g CRS Release 11.1.0.6.0 - Production Copyright 1996, 2007 Ora                                                                                                             cle. All rights reserved.
    2015-02-11 11:21:07.384: [ OCRCONF][1]ocrconfig starts...
    2015-02-11 11:21:07.388: [ OCRCONF][1]Upgrading OCR data
    2015-02-11 11:21:07.455: [  OCROSD][1]utopen:7:failed to open OCR file/disk /dev                                                                                                             /lnkocrd01CC3 , errno=16, os err string=Device busy
    2015-02-11 11:21:07.465: [  OCRRAW][1]proprinit: Could not open raw device
    2015-02-11 11:21:07.465: [ default][1]a_init:7!: Backend init unsuccessful : [26                                                                                                             ]
    2015-02-11 11:21:07.467: [ OCRCONF][1]Exporting OCR data to [OCRUPGRADEFILE]
    2015-02-11 11:21:07.467: [  OCRAPI][1]a_init:7!: Backend init unsuccessful : [33                                                                                                             ]
    2015-02-11 11:21:07.467: [ OCRCONF][1]There was no previous version of OCR. erro                                                                                                             r:[PROC-33: Oracle Cluster Registry is not configured]
    2015-02-11 11:21:07.524: [  OCROSD][1]utopen:7:failed to open OCR file/disk /dev                                                                                                             /lnkocrd01CC3 , errno=16, os err string=Device busy
    2015-02-11 11:21:07.524: [  OCRRAW][1]proprinit: Could not open raw device
    2015-02-11 11:21:07.524: [ default][1]a_init:7!: Backend init unsuccessful : [26                                                                                                             ]
    2015-02-11 11:21:07.560: [  OCROSD][1]utopen:7:failed to open OCR file/disk /dev                                                                                                             /lnkocrd01CC3 , errno=16, os err string=Device busy
    2015-02-11 11:21:07.560: [  OCRRAW][1]proprinit: Could not open raw device
    2015-02-11 11:21:07.560: [  OCRAPI][1]a_init:6b!: Backend init unsuccessful : [2                                                                                                             6]
    2015-02-11 11:21:07.560: [ OCRCONF][1]Failed to initialized OCR context. error:[                                                                                                             PROC-26: Error while accessing the physical storage Operating System error [Devi                                                                                                             ce busy] [16]]
    2015-02-11 11:21:07.560: [ OCRCONF][1]Exiting [status=failed]...
    dhzusbx98: /u01/app/crs/log/dhzusbx98/client #
    dhzusbx98: /u01/app/crs/log/dhzusbx98/client #
    dhzusbx98: /u01/app/crs/log/dhzusbx98/client #
    dhzusbx98: /u01/app/crs/log/dhzusbx98/client # set -o vi
    dhzusbx98: /u01/app/crs/log/dhzusbx98/client # cat ocrconfig_6422692.log
    Oracle Database 11g CRS Release 11.1.0.6.0 - Production Copyright 1996, 2007 Oracle. All rights reserved.
    2015-02-11 11:21:07.384: [ OCRCONF][1]ocrconfig starts...
    2015-02-11 11:21:07.388: [ OCRCONF][1]Upgrading OCR data
    2015-02-11 11:21:07.455: [  OCROSD][1]utopen:7:failed to open OCR file/disk /dev/lnkocrd01CC3 , errno=16, os err string=Device busy
    2015-02-11 11:21:07.465: [  OCRRAW][1]proprinit: Could not open raw device
    2015-02-11 11:21:07.465: [ default][1]a_init:7!: Backend init unsuccessful : [26]
    2015-02-11 11:21:07.467: [ OCRCONF][1]Exporting OCR data to [OCRUPGRADEFILE]
    2015-02-11 11:21:07.467: [  OCRAPI][1]a_init:7!: Backend init unsuccessful : [33]
    2015-02-11 11:21:07.467: [ OCRCONF][1]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
    2015-02-11 11:21:07.524: [  OCROSD][1]utopen:7:failed to open OCR file/disk /dev/lnkocrd01CC3 , errno=16, os err string=Device busy
    2015-02-11 11:21:07.524: [  OCRRAW][1]proprinit: Could not open raw device
    2015-02-11 11:21:07.524: [ default][1]a_init:7!: Backend init unsuccessful : [26]
    2015-02-11 11:21:07.560: [  OCROSD][1]utopen:7:failed to open OCR file/disk /dev/lnkocrd01CC3 , errno=16, os err string=Device busy
    2015-02-11 11:21:07.560: [  OCRRAW][1]proprinit: Could not open raw device
    2015-02-11 11:21:07.560: [  OCRAPI][1]a_init:6b!: Backend init unsuccessful : [26]
    2015-02-11 11:21:07.560: [ OCRCONF][1]Failed to initialized OCR context. error:[PROC-26: Error while accessing the physical storage Operating System error [Device busy] [16]]
    2015-02-11 11:21:07.560: [ OCRCONF][1]Exiting [status=failed]...
    dhzusbx98: /u01/app/crs/log/dhzusbx98/client # cat /etc/oracle/ocr.loc
    ocrconfig_loc=/dev/lnkocrd01CC3
    local_only=FALSE
    Can I just retry the root.sh on the 2nd node?  or, do I have to do some sort of cleanup and then retry?  Please advise....  Thanks, Adolfo

    Are you using raw disk devices for Oracle 11g RAC? You might want to move to ASM. For starters, your version, 11.1 is no longer fully supported by Oracle Corp. You'll need to be on 11.2.0.3 or higher to be supported. The 11.2.0.3 version loses Extended Support in August I think. The 11.2.0.4 version loses Extended Support in January. All of this means your production Oracle RAC database should be on the 12c version by January. And guess what? Oracle 12c RAC does not support raw disk devices.
    Since you're starting with this cluster fresh, why not aim for a configuration that will allow you to go forth into the foreseeable future without major configuration changes?
    Cheers,
    Brian

  • Difference between Interface node and normal node?

    What is the main difference between  Interface node and normal node?
    Cheers
    Aisurya.

    Hi surya,
    Interface node or methods comes into picture whenever you want to use one component as used component. I mean to say
    Component usages. If you select node as interface node, it will available in another component so you can use that node or methods.
    Normal node means in that component only. Simply we can say for component usages we go for interface nodes.
    Cehck This...
    http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/79/555e3f71e41e26e10000000a114084/content.htm
    Cheers,
    Kris.

Maybe you are looking for