BECAUSE a node: when to stop through SQL * more...


Hello

I installed a CCR node for the first time and playing with it to get better knowledge. The underlying cluster has two nodes, call them the Node_A and node_b.

The cluster database itself is called upon to DEVELOP, DEVELOP_1 instance is running on the node Node_A, instance DEVELOP_2 is supposed to work on node_b. The preferred node is

NŒUD_A.

When testing database online relcation everything works as expected: DEVELOP_1 instance Gets the stop on Node_A node - instance DEVELOP_2 is started on node_b.

But what closing instance DEVELOP_1 on Node_A with SQL * more I was surprised of the result:

-C' is not instance DEVELOP_2 which began on node_b - it was DEVELOP_1 for instance!  (Because of this my control sews has changed - but is not the issue of this discussion).

Now my questions are:

-is the clusterware responsible for the DEVELOP_1 instance on node_b startup behavior when I stop instance DEVELOP_1 down on Node_A via SQL * more?

- and if this behavior is documented? I went through the RAC documentation node, but could not find something useful

Any help will be appreciated.

Rgds

Jan

Hi Jan,

Yes, its expected behavior in a node of the FCAC, please consult the document below.

"Oracle Real Application Clusters one node Overview" (Page 1) (relocation of the database online)

http://www.Oracle.com/technetwork/products/Clustering/overview/TWP-rac1nodev1-1-130698.PDF

Tags: Database

Similar Questions

  • get my IPAddress through sql * more

    Hello all;

    I tried to use
    select sys_context('Userenv', 'ip_address') from dual;
    to get my ip address and it's back a white, again I tried to use
    select utl_inaddr.get_host_address('johnp') from dual
    and it gives me the following error below
           *
    ERROR at line 1:
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at "SYS.UTL_INADDR", line 19
    ORA-06512: at "SYS.UTL_INADDR", line 40
    ORA-06512: at line 1
    and I give all the subsidy required to the user associated with the help
    grant execute on utl_inaddr to financecc;
    Published by: user13328581 on March 13, 2012 08:06

    user13328581 wrote:

    I know Ipconfig in the command windows... and I know the difference between the client and the server computer. I'm doing a simple test that is to know if there is an ip address any available when you have a client and a server running on the same computer

    The server will see IP address of the client in this case if the client-server connection has been made by IP. A local connection using CPI (direct process-to-process communication). No IP involved. And so the server does not recognize the customer as a client IP.

    Example:

    // local connection that does not use TCP/IP
    /usr/lib/oracle/xe> sqlplus "/ as sysdba"
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 14 18:10:16 2012
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    
    SQL> select sys_context('user', 'ip_address' ) as CLIENT_IP from dual;
    
    CLIENT_IP
    ---------------
    
    SQL> exit
    

    Only when the client is an IP connection, the server has the means to determine the IP address of the client. For example

    // force a TCP/IP connection via the Listener via localhost
    /usr/lib/oracle/xe> sqlplus scott/tiger@"(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)) (CONNECT_DATA=(SID=vlk)))"
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 14 18:12:14 2012
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    
    SQL> select sys_context('user', 'ip_address' ) as CLIENT_IP from dual;
    
    CLIENT_IP
    ---------------
    127.0.0.1
    

    by the way your syntax

    ! ipfconfig> 
    

    does not work, it gives the following errors below

    It depends on where run you it from. This command is intended for SQL * more and gives instructions to create a child process that calls the operating system command line. For example

    SQL> ! /sbin/ifconfig eth0
    eth0      Link encap:Ethernet  HWaddr 70:71:bc:ac:3d:49
              inet addr:10.251.93.30  Bcast:10.251.93.255  Mask:255.255.255.0
              inet6 addr: fe80::7271:bcff:feac:3d49/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:17171605 errors:0 dropped:2200 overruns:0 frame:0
              TX packets:9055411 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:11744534737 (11.7 GB)  TX bytes:1429625375 (1.4 GB)
              Interrupt:20 Memory:fe400000-fe420000
    
    SQL>
    

    This isn't a PL/SQL statement (language server).

    Note that all side code Server (SQL and PL/SQL) is sent by SQL * more to the server process. In addition, SQL * Plus itself has a primitive vocabulary control and these commands it runs on the client.

    This is why I pointed to the possible confusion of client-server, because there is a very clear and definitive separating SQL * more and its commands and the Oracle server and its languages SQL and PL/SQL.

  • Database demo of vision: how to access the database through SQL * more?

    I'm totally new in this space, so forgive my beginner questions.

    What I want to do, is to integrate EBS with APEX. To get there I downloaded (of delivery) and installed the Vision database unique node in a VirtualBox. To do this, I followed this video on YouTube: https://www.youtube.com/watch?v=8JgxMDPsd6s

    Now I want to install APEX and for this I need to access my database as SYS. Now for my questions:

    1. How can I use SQL * more in the VirtualBox?

    2. What is the default password for SYS with this demo database?

    Thanks, Alex

    File under $ORACLE_HOME and the owner is the user 'oracle '.

    You will need to source the file VISION_ebs.env , and then deliver "env | fate"and you should see the set env variables. You can connect as sysdba.

    Thank you

    Hussein

  • Special characters could not load DB via SQL * MORE

    Hi, I have a pl as .accidentally sets sql script which will insert data in database. The question is there are some records are missing and these missing records contains a special character: Sansao and Strasse. The strange was if I run the script via F5 (Toad), all data can be inserted successfully but run through SQL * MORE (Toad), all records that contain special characters are not inserted.

    Anyone here know why it didn't load these special characters via SQL * MORE?

    Probably because you have given unicode (multi byte charsets) you read with a customer of standard single-byte character set.

    It's SILLY to loading data using SQL * more. It's the wrong tool used for loading the data. It does not support the bind variable. It doesn't support liaison in bulk. It does not support direct path inserts. It is not SQL * Loader.

  • Can I connect to SQL * more as SYS after connecting as a user and then run a GRANT?

    Oracle 11 g 2

    Linux RHEL 6.3

    SQL * Plus 11.2.0.2 on Windows 7

    ------------------------------------------------

    I am running a script SQL through SQL * more connected as "DOE, JOHN".

    In the SQL script, I need to connect as SYS to make a GRANT EXECUTE on a SYS package (e.g. GRANT EXECUTE ON DBMS_CRYPTO to JOHN;).

    But it fails with the following error:


    GRANT EXECUTE ON TO JOHN DBMS_CRYPTO
    *
    ERROR on line 1:
    ORA-01917: user or role 'JOHN' does not exist

    But of course, 'JOHN' are.  The rest of the SQL script is running "DOE, JOHN" without any problem.

    The code segment of SQL script in question is:

    connect sys/password as sysdba
    GRANT EXECUTE ON DBMS_CRYPTO TO ROYSECITYDATA;  <-fails here
    to connect/DOE

    Please advise on what my being the issue.

    tx103108 wrote:

    I connect to a remote database.  All dbs distance have the same instance name as they are all images.  I see where you're going (I think).  Should I try

    I'll try to connect sys/password@MYDB

    Sounds like a plan... (the instance_name returned with what you expected? or something else?)

  • Need to import via SQL more application advice

    Hello


    I have a sql file.
    I need to import the given in a workspace of some, but I have not access to Apex Builder request to do an import wizard.
    Can I please get some directions making this import via SQL Plus, where can I find documentation in this regard so that I can import successfully.

    Thanks in advance,
    Deepa

    Hi Deepa,

    I understand now, thanks.

    To import an application using SQL * Plus, the workspace must exist (with the ID of the same workspace). The best way to ensure that the workspace ID are the same is to export the workspace to one instance and import it in another.

    In addition, you cannot change the ID of the app through SQL * more - so, if you import the application via SQL * more, either one) this application ID cannot exist, or b) if exists, it must exist in the same workspace that you import into.

    Now - with all these conditions are met, the DBA can only run as a normal SQL through SQL script * more.

    Joel

  • Error loading XML file in the column of XMLTYPE through SQL loader

    Hi gurus,

    I am trying to load the XML file into the column of XMLTYPE through SQL Loader but the errors themselves. Here are the details

    Databases
    SQL*Plus: Release 10.2.0.3.0 - Production on Tue Jul 24 17:17:55 2012
    
    Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.
    
    
    Connected to:
    Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for Linux: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    The table structure
    CREATE TABLE TH_XML
    (
      COL_ID_1   VARCHAR2(100 BYTE),
      IN_FILE_1  XMLTYPE
    )
    XMLTYPE IN_FILE_1 STORE AS CLOB (TABLESPACE SMDAT)
    XML (simple.xml) file
    <?xml version="1.0"?>
     <catalog> 
     <book id="bk101"> 
               <author>Some Author1</author> 
               <title>Some Title1</title> 
               <genre>Computer</genre> 
               <price>44.95</price> 
               <publish_date>2000-10-01</publish_date> 
               <description>creating applications</description> 
       </book> 
       <book id="bk112"> 
               <author>Some Author2</author> 
               <title>Some Title2</title> 
               <genre>Computer</genre> 
               <price>49.95</price> 
               <publish_date>2001-04-16</publish_date> 
               <description>Microsoft Visual Studio 7 is explored in depth</description> 
    </book> 
    </catalog>
    Control file
    LOAD DATA
    INFILE 'c:\simple.xml'
    APPEND
    INTO TABLE TH_XML 
    XMLTYPE(in_file_1)
    (
    col_id_1 filler  CHAR (100),
    in_file_1 LOBFILE(CONSTANT "c:\simple.xml") TERMINATED BY EOF
    )
    LOG file
    SQL*Loader: Release 10.2.0.3.0 - Production on Tue Jul 24 16:42:25 2012
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Control File:   c:\my_file.ctl
    Data File:      c:\simple.xml
      Bad File:     c:\simple.bad
      Discard File:  none specified
     
     (Allow all discards)
    
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array:     64 rows, maximum of 256000 bytes
    Continuation:    none specified
    Path used:      Conventional
    
    Table TH_XML, loaded from every logical record.
    Insert option in effect for this table: APPEND
    
       Column Name                  Position   Len  Term Encl Datatype
    ------------------------------ ---------- ----- ---- ---- ---------------------
    COL_ID_1                            FIRST   100           CHARACTER            
      (FILLER FIELD)
    IN_FILE_1                         DERIVED     *  EOF      CHARACTER            
        Static LOBFILE.  Filename is c:\simple.xml
    
    Record 1: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 2: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 3: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 4: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 5: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 6: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 7: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 8: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 9: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 10: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 11: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 12: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 13: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 14: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 15: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 16: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 17: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 18: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 19: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 20: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 21: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 22: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    Record 23: Rejected - Error on table TH_XML.
    ORA-00904: "SYS_NC_ROWINFO$": invalid identifier
    
    
    Table TH_XML:
      0 Rows successfully loaded.
      23 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
    
    
    Space allocated for bind array:                    256 bytes(64 rows)
    Read   buffer bytes: 1048576
    
    Total logical records skipped:          0
    Total logical records read:            23
    Total logical records rejected:        23
    Total logical records discarded:        0
    
    Run began on Tue Jul 24 16:42:25 2012
    Run ended on Tue Jul 24 16:42:26 2012
    
    Elapsed time was:     00:00:00.23
    CPU time was:         00:00:00.05
    I get error ORA-00904: "SYS_NC_ROWINFO$": invalid identifier in the logfile (mentioned above). Could someone help me know where I am doing wrong?

    Thanks in advance.

    Published by: 876991 on 24 July 2012 14:18

    Hello

    This remove the control file:

    XMLTYPE(in_file_1)
    

    It is used only if the target table is an array of XMLType object.

    For an XMLType column LOBFILE is sufficient, for example:

    LOAD DATA
    INFILE *
    APPEND INTO TABLE TH_XML
    (
     col_id_1  CHAR (100),
     in_file_1 LOBFILE(CONSTANT "c:\simple.xml") TERMINATED BY EOF
    )
    begindata
    MYID1
    

    It tells SQL * Loader data consisting of one record with COL_ID_1 = "MYID1" and content = "c:\simple.xml" IN_FILE_1

    SQL> CREATE TABLE TH_XML
      2  (
      3    COL_ID_1   VARCHAR2(100 BYTE),
      4    IN_FILE_1  XMLTYPE
      5  );
    
    Table created.
    
    SQL> host sqlldr control=test.ctl
    Username:dev
    Password:
    
    SQL*Loader: Release 11.2.0.2.0 - Production on Mer. Juil. 25 01:30:46 2012
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    Commit point reached - logical record count 1
    
    SQL> set long 5000
    SQL> column col_id_1 format a15
    SQL> select * from th_xml;
    
    COL_ID_1        IN_FILE_1
    --------------- --------------------------------------------------------------------------------
    MYID1           
                     
                     
                               Some Author1
                               Some Title1
                               Computer
                               44.95
                               2000-10-01
                               creating applications
                       
                       
                               Some Author2
                               Some Title2
                               Computer
                               49.95
                               2001-04-16
                               Microsoft Visual Studio 7 is explored in depth
                    
     
    
  • Search tool crashes Windows Explorer when I stop the search

    My XP search tool (the one with the little dog) goes on and during the search, and if I found what I need I stop searching and getting back to work.  I could do in W2K, but in XP - SP3 when I stop the search, Windows Explorer crashes.  So, I have to restart my XP.  Y at - it a fix for this, or do I have to use another search tool?

    My XP search tool (the one with the little dog) goes on and during the search, and if I found what I need I stop searching and getting back to work.  I could do in W2K, but in XP - SP3 when I stop the search, Windows Explorer crashes.  So, I have to restart my XP.  Y at - it a fix for this, or do I have to use another search tool?

    I have this problem on my own XP machines and have seen several times on client computers. I think it's one that Microsoft will have to work, because I can not find a solution.  It seems to be the installation of third party software that does this, because a stock installation of XP with all updates to this day doesn't seem to have this problem.

    YOU DO NOT HAVE TO RESTART WINDOWS TO RECOVER FROM THIS.

    If Explorer crashes and your icons and the taskbar disappear, the solution is simply to wait for Explorer itself to begin again, or issue a ctrl-alt-delete, start Task Manager, click on file-> new task (run)-> and then enter "Explorer" (without the quotes) and click 'OK '. The icons and the taskbar will be back and XP will then operate normally.

    If some of the icons in the system tray are missing after Explorer restarts, you can quickly sign out and then sign back in to fix this problem, after you saved all work and close programs. The programs represented by missing icons are, in this case, which is still running, so it's only a cosmetic problem.

    Until Microsoft or someone else found a real solution, you may need to reinstall XP to resolve this problem. Not knowing the real cause, this problem could happen again. Not all facilities have this problem, or is it all the time.

  • First Pro CC blocks when you scroll through the sequence in the timeline - Audio Waveform will Virgin first

    The description is in the title: first Pro CC blocks when you scroll through the sequence in the timeline - Audio Waveform will Virgin first.

    Just started today, will not stop now blocks after a minute or two, and he always does when I scroll through the timeline of a sequence.  First of all, the audio waveform becomes empty.

    What is going on?

    Date/time:2014-10-22 12:16:16.078-0400
    OS version:Mac OS X 10.9.5 (13F34)

    Report Version: 11

    Anonymous UUID: E1BCDCD7-6284-3012-9151-FF85491060DA

    Crashed thread: 0 dispatch queue: com.apple.main - wire

    Exception type: EXC_BAD_ACCESS (SIGBUS)

    Exception codes: KERN_PROTECTION_FAILURE at 0x000000011d74b000

    VM regions near 0x11d74b000:

    VM_ALLOCATE000000011d 748000-000000011d74b000 [12K] rw-/ rwx SM = PRV
    -> BATTERY CARE[000000011d74b000-000000011d74c0004 K]-/ rwx SM ZERO battery guard for threading 4 =.
    Battery000000011d74c000-000000011d7ce000 [520K] rw-/ rwx SM = COW 4 wire

    Thread 0 crashed: Dispatch queue: com.apple.main - wire

    Hi 5 deadly venoms

    This problem is resolved in the 9.0.1 update. Please update the application of a patch.

    Thank you

    Kevin

  • When I stopped virtual machine she hang on to 95%.

    When I stopped virtual machine she hang on to 95% for a long time. y at - it another way to shut down the computer if it blocks 95%. because the other option turn off at the same time.

    You can try one of the following:

    1. VMware-cmd - l = list all running virtual machine, copy and paste the full path to the command below.
      VMware-cmd < config > stop trysoft

    2. VM-help - x - list of vmid
      VM-support - X < vmid > to kill him...

    3. ps - ef | more
      find the process related to the world
      kill him.

    I think that option 1 will not longer work, best bet is option 2.

    Duncan

    VMware communities user moderator

    -

  • Can I configure Thunderbird to close all tabs when I stopped it for the next session starts fresh.

    I'd rather have a working platform clearly every time I start Thunderbird and only see relevant tabs at this session. If the program can be assigned to close all tabs automatically when I stopped, which would solve my problem.
    Thank you
    Keith Marshall.

    I guess your best bet is to click the left tab-"Close other tabs" before closing in Thunderbird.

  • When Mac stop iPhoto books?  I had a print in December.  Photo books have fewer options

    When Mac stop iPhoto books?  I had a print in December.  The format of the photo books have fewer options for books

    .

    The end of March 2016.

    (141540)

  • When Apple stop producing iPhones 5s?

    Hello, I want to buy iphone 5s, but not now.

    When Apple stopped producing and selling the iphone 5 s?

    Until Apple makes an announcement, or until he arrives, no one here would know.

    They have already stopped making all models of 5 waiting space grey and silver 16gig 16gig.

  • Satellite L755D: Start button / stop static is red when I stop

    I have a Toshiba laptop, L755D.

    Recently, when I stop the laptop and turn off the power, the power led turns on a few seconds after stopping.
    He remains a static red color until I connect upward when it returns to normal color blue/white.
    While the stop of the battery loses the power of 1 to 2%.

    Can anyone help please?

    > While the stop of the battery loses the power of 1 to 2%.
    Check this box:
    Why lose 2 to 4% battery by turning off then back on my mobile device?
    http://APS2.toshiba-tro.de/KB0/FAQ9C012L0001R01.htm

    It is normal for a unit to lose between 2-4% battery, when to stop and reverse.
    Battery re-gauge it's self when starting back from an engine out of State. An accurate reading of the battery can take up to 5 minutes.

  • I use images fixed high resolution but when the vid play they blur. They look strong when I stop. ***?!

    I use images fixed high resolution but when the vid play they blur. They look strong when I stop. ***?!

    Never had this problem before or on iMovie.

    Try to set a better quality in the view drop-down list top right of the Viewer window.

Maybe you are looking for