Stop 1 node of a 2 node RAC how to move DB

I need to stop a node of a 2 node 10g RAC for server patching.  All fine judgment, but the PB is still running on node 1.  When the server is stopped, it will move to node 2?  Is there a way to move to node 2?

Janet

A "database" can never start. Revisit the terminology.

An Oracle database is nothing more than all of the files on the disk. These files include data files, tempfiles, control files, online redo logs, file settings and if used, the password file. The database provides permanancy. That's what persists when the machines are turned off.

The instance is the collection of memory and the processes that are running on the server. Process as PMON, SMON, etc and memory as the SGA and all its components.

When you start something, you start the instance... or in the case of Oracle RAC, start multiple instances. You never start the database. The database is never running. Technically, users cannot connect to a database, they can only connect to an instance.

Now to your question...

Here is the result of my 2 node RAC cluster:

ORA.resp.db ORA... se.type online ONLINE host01

I have stop just one instance:

[oracle@host01 bin] $ srvctl stop RESP d resp1 o-i immediate instance

Now we see the result:

ORA.resp.db ORA... se.type online ONLINE host02

So from the point of view of your original question... the database is now on the second node. To be precise, it is the _basededonnees resource_ in the sense of the OCR. All it means is that the resource database is available. Why it lists a specific host is beyond me because it comes to Oracle RAC and to be even more precise the database resource is available on all hosts that have instances that run on it for this database. Should be addressed on the State of the database for more information.

[oracle@host01 bin] $ srvctl status database-d RESP

Resp1 of the instance is not running on the node host01

Resp2 of the instance is running on the node host02

Resp3 of the instance is running on the node host03

See... two instances on the other two hosts. The output of crs_stat could have easily showed the resource online on host03 as well.

See you soon,.
Brian

Tags: Database

Similar Questions

  • Two-node Rac (11204) Cluster node 1 has failed to stop with error: impossible to get in touch with the loan of cluster service. duty to force stop

    Newly build Production environment (don't use it yet)

    OS: Linux redhat 64-bit 2.6.18

    Cluster version: 11.2.0.4

    This environment clusterware installed last December, we are trying to install oracle RDBMS, so try to first stop the crs.  However on node 1, the v$ asm_diskgroup shows nothing under total_mb /free_mb on diskgroup OCR.  and stop the crs shows: impossible to get in touch with the loan of cluster service.

    Alerts cluster log shows below:

    2014-03-25 03:50:01.429:

    [crsd (8608)] CRS-1013: the location of the OCR in ASM disk group is inaccessible. Details in u00/app/11.2.0.4/grid/log/oprd100/crsd/crsd.log.

    2014-03-25 03:50:01.433:

    [crsd (8608)] CRS - 0804:Cluster Ready Service interrupted due to the Oracle Cluster registry error [PROC-26: error when accessing the physical storage]

    ]. Details at (: CRSD00111 :) in u01/app/11.2.0.4/grid/log/orpd100/crsd/crsd.log.)

    2014-03-25 03:50:02.123:

    [ohasd (12490)] CRS - 2765:Resource 'ora.crsd' failed on the server "orpd100".

    2014-03-25 03:50:03.407:

    [crsd (8623)] CRS-1013: the location of the OCR in ASM disk group is inaccessible. Details in u01/app/11.2.0.4/grid/log/orpd100/crsd/crsd.log.

    2014-03-25 03:50:03.411:

    [crsd (8623)] CRS - 0804:Cluster Ready Service interrupted due to the Oracle Cluster registry error [PROC-26: error when accessing the physical storage]

    The NEWSPAPER of the ASM alerts:

    Wed Mar 25 03:21:49 2014

    WARNING: Waited 15 seconds IO to write to the disk of PST 1 in Group 1.

    WARNING: Waited 15 seconds to write IO to disk of PST 2 in Group 1.

    WARNING: Waited 15 seconds IO to write to the disk of PST 1 in Group 1.

    WARNING: Waited 15 seconds to write IO to disk of PST 2 in Group 1.

    Wed Mar 25 03:21:49 2014

    NOTE: process _b000_ + asm1 initiating (21071) 1.1807368888 disk offline (OCR_0681_2EF4) with mask 0x7e in Group 1

    NOTE: process _b000_ + asm1 initiating (21071) 2.1807368889 disk offline (OCR_0681_2EF5) with mask 0x7e in Group 1

    NOTE: check PST: grp = 1

    GMON seeking ways of disc for Group 1 to 5 pid 27, DiSo 21071

    ERROR: read no quorum within Group: required 2 found 1 records

    NOTE: audit PST grp 1 fact.

    NOTE: start the PST update: grp = 1, dsk = 1/0x6bba42b8, mask is 0x6a, op = clear

    NOTE: start the PST update: grp = 1, = 2/0x6bba42b9 dsk, mask is 0x6a, op = clear

    GMON update modes of disk for the Group 1 to 6 for 27, DiSo 21071 pid

    ERROR: read no quorum within Group: required 2 found 1 records

    Wed Mar 25 03:21:49 2014

    NOTE: disassembly of the cache (not clean) Group 1/0x35AAB27B (OCR_DATA)

    WARNING: For disk offline OCR_0681_2EF4 0x7f mode failed.

    2 node rac cluster is normal.  We were able to stop the crs without force.

    What should I look at to understand what is happening here?

    Thanks to adavnace.

    WARNING: For disk offline OCR_0681_2EF5 0x7f mode failed.

    NOTE: e-mail CKPT suspend pins Unix process pid: 21073, image:

    No default value is 1 M

  • Connection speed slow on one node to a node RAC 2 put in place

    Hi all

    Having a little trouble with one of the nodes in a node 2 CARS set up
    We have sent traffic directly to the node in question (using a service that runs only on node 1)

    Forced connection to this node (sqlplus) since an application server remote takes 3 times as long does if we force fitting to the second node RAC.

    If I try to connect locally - connection speed is instantaneous-

    There is NO problem with the server performance

    There is NO problem with the perfromance instance / database - it is only noticed when the initial connection

    I've been in the network of the node and can see nothing wrong - so I was wondering if there was anything you guys might have experienced while the connection time is slow for a single node only (949 ms - compared to 247 ms on node 2)

    If anyone out there is interested or falls on this issue

    The problem has proved to be the mount point options MP Linux Volumes

    I had configured them as part of best practices for RAC / NetApp / Direct NFS - hjowever I also got the binaries for both nodes in order to have greater availability.

    Thereffore I would have had the Mount for NŒUD UNIQUE options.

    The change was to

    -stop the instance

    -unmoiunt binary files

    -change the following on fstab

              NFS rw, bg, hard, nointr, rsize is 32768, wsize = 32768, tcp, to = 3, timeo = 600, actimeo = 0 0 0

    TO

              NFS rw, bg, hard, rsize = 32768, wsize = 32768, to = 3, nointr, timeo is 600, tcp

    -start the instance and repeat on node 2

  • Disable the single node rac 11 GR 2

    Hello

    We have 2 node rac 11r2 aim to test how to disable a node oracle 11 g 2?

    Thank you

    Hello

    Still not very clear, but what I understand is -.

    "We have 2 node oracle rac 11rg r2 for the objective test when running on the database of the two node 1 & 2 we must restart the node 2nd server sometimes." What happens to the databases and cluster? "

    As you're running 2 bow TIE, if stop you the instance on node 2, db will still be available for access that users can connect to the instance on node 1 1. If take you down the instance and the cluster on node 2, node always 1 and 1 instance will be available to the user.

    HTH

    Anand

  • Reboot node RAC, ASM/crs all restarted but the database

    Version of the OS: linux redhat 5
    DB version: 11.2.0.3
    2 node RAC

    He used everything works well. I just configured and implemented hugepages lately and boxes of restarted.

    everything else like ASM, listener, crs all restarted, but db did not.

    What should I check to ensure that the work of automatic restart of the oracle?
    Thank you.

    Hello

    If you stopped the db with "srvctl stop database", then this is recorded in the OCR. And restart the clusterstack it does not restart the database (since you said clusterware, he should be arrested).

    Works as expected.

    If you want the cluster to start over, database simply stop the clusterware (crsctl stop crs).

    Concerning
    Sebastian

  • How do I know the master node RAC?

    Hi Experts,

    We have implemented 2-node RAC 11 g R2 on Linux platform. My query is how do we know that the master node RAC?

    Thank you
    Vincent

    Hi Vincent

    Good query.

    1 Master can be found by searching ORACLE_HOME/log/nodename/cssd/ocssd.log.
    2. for the master of a queue with Oracle RAC resource, you can select from v$ view ges_resource. Check the column "master_node."

    It could be that useful...

    Thank you
    LaserSoft

  • Redirect TNS on 2 node RAC returns host name, should be the FQDN

    Hello

    our 2-node RAC (11 GR 1 matter, Linux x 64) listeners return only a host without a domain name name when TNS redirects sending (when you load balancing server-side). Is it possible to configure them to send complete domain names? Listener.ora files are configured with full domain names on both nodes.

    I really want the FQDNs, because clients must connect from multiple DNS domains.

    Oracle takes the name of vip of the local_listener parameter set to the database.
    So make sure your whole DB instance local_listener parameter the name of domain name vip.

    local_listener=LISTENER_DB1
    
    --- on tnsnames.ora file, it lists as follows:
    
    LISTENER_DB1=
    (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = node1-vip.domain_name)(PORT = 1521))
    )
    
  • Creation of the DB service in 3 node RAC

    IM and DB Version: 11.2.0.3

    We have a 3-node RAC. We have about 15 applications connecting to 25 different patterns in this PB. For each request, we create a DB CARS service. Should add US 2 instances as the privileged forum or 1 privileged forum and 2 instance available?
    That one is recommended
    srvctl add service -d ORCL -s GRN_SV -r ORCL1,ORCL2 -a ORCL3
    
    or
    
    srvctl add service -d ORCL -s GRN_SV -r ORCL1 -a ORCL2,ORCL3
    A related question:
    You guys add all other parameters (such as BASIC, PRECONNECT,.. .etc) for the creation of such services as mentioned in the documentation below?

    http://docs.Oracle.com/CD/E11882_01/RAC.112/e16795/srvctladmin.htm#i1008562

    Hello

    It depends on what you want to achieve.

    If a service is running on 2 instances (command 1), while already connections between customer first are spread across 2 instances.
    If a service runs only on a single instance (command2), then all connections of clients will be will to the same instance.

    If the instance 1 fails, then the scenario will take place as follows:

    1.) only 50% of users will recognize the failure and TAF will apply to 50% of the users. Users connected on 2 instance are not affected at all (almost... There may be an impact on the performance of small due to reconfiguration).
    2.) will affect all users. But TAF will switch to the new instance (which can be ORCL2 or ORCL3) of all sessions

    Take a look at this article:
    http://www.Oracle.com/technetwork/products/Clustering/overview/awm11gr2-130711.PDF

    Concerning
    Sebastian

  • 2 node RAC - administrator managed on the basis of ORpolicy-managedDatabase - what is the best

    We intend to build a GR 2 2 node RAC 11. I went through the documentation and found that datbase managed administrator is better when the number of nodes are very less.

    Need your input on what we are still in the design phase of the installation.

    Shashi,

    This all goes back to your goal. As you said, it's two RAC nodes and I assume that you will use this database cluster for a single application. If this is the case, then go with administrator managed the database because then you will have more control and be configured in less. Policy management is more useful when you implement a solution true grid where database is used as a service and multiple applications accessing data through services based on data provided within the system of large real application cluster. When I say database as a service, people may want to consolidate smaller databases in a RAC system to reduce costs and operational overhead while providing the same level of access to data for applications.

    So to answer your question, go with administrator managed RAC. I hope that I have you provided enough information for your decision :-)

    Concerning
    http://www.oraxperts.com

  • Could not connect to the node RAC

    Hi all
    I have install an Oracle RAC on 2 nodes (Windows Server 2008) with iSCSI as a storage device. Currently I'm checking the availability of ACR using the following situation: Reboot the first node and and at the same time connect to FCAC, by using the VIP of that node. But I get the following error.
    "Network adapter could not establish the connection.

    My hypothesis is that the connection request will be redirected to node 2. But that won't happen. Could you explain the situation.

    Concerning
    KRA

    (1) with 11 GR 2, use the unique name of the customer access and not RAC node VIP - also for the test, because that's what your applications are supposed to use also

    (2) RAC node VIP is a special resource, put in place to overcome the limitations of network layer. To do this, not failover to another node to be accessible, but to return a very fast error message (independent of the rules on the network layer), so that a time of connection failover can be done immediately to another node RAC VIP. You had a false idea in mind how RAC node VIP is supposed to work; That is why your test does not give you the desired result.

    Kind regards
    Uwe Hesse

    http://uhesse.WordPress.com

  • ORA-27504: error of IPC create context OSD - error on nodes RAC times

    Hello

    I did Rman cloning Linux 3 (32-bit) for Linux 5 (64 - bit) with success. Then settings of cluster enabled in pfile (two-node Rac) and autoconfig enabled for two databases ORACLE_HOME because it's the Oracle Applications database.

    VERSION OF DB - 10.2.0.2
    CRS - 11g
    Linux version - Red Hat Enterprise Linux Server version 5.4 (Tikanga)
    Application version - 11.5.10.2

    I am new to cars and this database is up and working now, I see that following error messages in the alert log of the two instances at each start

    **********
    Thu Jan 20 07:33:35 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Thu Jan 20 07:33:35 2011
    Errors in the /u01/app/oracle/admin/udev/udump/udev1_ora_28252.trc file:
    ORA-27504: create context of OSD IPC error
    ORA-27300: OS dependent operating system: skgxnqtsz failed with status: 0
    ORA-27301: OS Error Message: error 0
    ORA-27302: an error: SKGXN not av
    clsssinit ret = 21
    interconnection there is no OCR information
    WARNING: No cluster interconnect has been specified. According to the
    the communication configured cluster traffic Oracle driver
    may be addressed to the public interface of this machine.
    Oracle recommends that the RAC grouped be configured databases
    with a simple soldier of interconnection for security improved and
    performance.
    SNA system picked latch-free 3
    With the help of LOG_ARCHIVE_DEST_1 parameter value default as/u01/app/oracle/product / 10 g 2, db, dbs, arch
    Autotune undo retention is enabled.
    LICENSE_MAX_USERS = 0
    ****************

    Please let me know if I have to put the DB services to the cluster.

    Thank you
    Muhammad Tanveer

    Hello

    11.2 or 11.1 clusterware is?

    If it's 11.2 see Please note:

    Pre 11.2 Database issues in environment Infrastructure grid 11 GR 2 (Doc ID 948456.1)
    https://supporthtml.Oracle.com/EP/faces/secure/km/DocumentDisplay.JSPX?ID=948456.1

    Concerning
    Sebastian

  • Routing connections via a single node in a cluster 2 node RAC

    Hello world

    My client has the following requirement: a RAC cluster active/active (for example/node1 node2), but with only one of the nodes being used (node1) and the other sitting there just in case.

    For things like services, I'm sure it's pretty simple - just have the value preferred on node1 and available on node 2.

    For connections, I guess I'd just the VIP in order in the file of tns, but with LOAD_BALANCING = OFF, so they go through tns entries in the order (ie the node 1 and node 2), then this would allow even the vip failover if node 1 is out of service.

    What sounds right? Did I miss something?

    Thank you very much
    ORS

    user573914 wrote:

    My client has the following requirement: a RAC cluster active/active (for example/node1 node2), but with only one of the nodes being used (node1) and the other sitting there just in case.

    Why? What is the reason for a node ' + just in case + '- and how and when is "turned on" when this situation of just-in-case?

    It is not much any sort of sense of sight high availability or redundancy.

    For connections, I guess I'd just the VIP in order in the file of tns, but with LOAD_BALANCING = OFF, so they go through tns entries in the order (ie the node 1 and node 2), then this would allow even the vip failover if node 1 is out of service.

    What sounds right? Did I miss something?

    Does not work on 10g - may not work on 11g. The listener can and don't transfer connections, according to what say the TNS connect string. If you do connect not via a SID entry but through a SERVICE entrance, and this service is available on several nodes, you can't (and won't often) be connected to instantiate on only one IP address that you have used in your connection to TNS.

    Basic example:

    // note that this TEST-RAC alias refers to a single specific IP of a cluster, and use
    // SERVICE_NAME as the request
    /home/billy> tnsping test-rac
    
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 18-JAN-2011 09:06:33
    
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    
    Used parameter files:
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/sqlnet.ora
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS=(PROTOCOL=TCP)(HOST= 196.1.83.116)(PORT=1521)) (LOAD_BALANCE=no) (CONNECT_DATA=(SERVER=shared)(SERVICE_NAME=myservicename)))
    OK (50 msec)
    
    // now connecting to the cluster using this TEST-RAC TNS alias - and despite we listing a single
    // IP in our TNS connection, we are handed off to a different RAC node (as the service is available
    // on all nodes)
    // and this also happens despite our TNS connection explicitly requesting no load balancing
    /home/billy> sqlplus scott/tiger@test-rac
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 18 09:06:38 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
    
    SQL> !lsof -n -p $PPID | grep TCP
    sqlplus 5432 billy    8u  IPv4 2199967      0t0     TCP 10.251.93.58:33220->196.1.83.127:37031 (ESTABLISHED)
    
    SQL> 
    

    So we have connected to the node RAC 196.1.83.116 - and this listener we handed over to node RAC 196.1.83.127. The GR 11 2 earpiece seems to behave differently - it does not have a transfer of work (based on a quick test, I did on a RAC 11.2.0.1) in the above scenario.

    This question-how do you deal with just-in-case situation? How do you get the clients to connect to node 2 when node 1 is out of service? Do you rely on the virtual IP address of the node 1 be set on node 2? It's a safe and 100% guaranteed method?

    It may take a while (minutes, maybe more) for an address virtual IP switch to another node. Meanwhile, any client using this virtual IP address connection will fail. Is this acceptable?

    I don't know - I don't like this concept of your customer to treat the RAC nodes as a sort of database waiting for a situation of just-in-case . I don't see any logic in this approach.

  • I want to stop using iCloud for storing my original photos, how do I download the on my device?

    I want to stop using iCloud for storing my original photos, how do I download the on my device?

    When I disable iCloud for photos, it is said that the original for more than 600 photos will be deleted because they have not been downloaded on my device. So, how can I do to download everything on my iPhone?

    Display the information below, to get help with your photo library - Apple Support iCloud

    To disable iCloud photo library for a device unique iOS, go to settings > iCloud > Photos and disable the iCloud photo library.

    To disable iCloud photo library for a Mac, go to System Preferences > iCloud > Options next to Photos, then deselect iCloud photo library.

    If you need to optimize storage on, you all your photos and original videos may not be on your device. To download the photos and videos on your original iOS device, go to settings > iCloud > Photos and select Download and keep the originals. On your Mac, open the photo, choose Photos > Preferences, and select to download the originals of this Mac. Then you can cut iCloud photo library. You can also select the photos and videos you want tΘlΘcharger iCloud.com.

  • HP Simpletouch stop working on my laptop ENY 6 m how trouble shoot

    HP Simpletouch stop working on my laptop ENY 6 m how trouble shoot?

    Hi BigMike,

    Welcome to the HP Forum!

    SimpleTouch is a Nook eReader. ?

    If you mean SimplePass, then

    start by:

    • Unplug everything from the laptop,
    • It stops completely
    • Perform the Hard Reset .  Start the computer and connect

    Then, take a look at this guide:

    Simple Instructions for upgrade HP SimplePass

    Click on the star of congratulations !

    It's a nice way of saying 'Thank you' for help.

    Although I strive to reflect best practices of HP, I do not work for HP.

  • Iusually access my mail through the mail on my keyboard button. This button has stopped working completely, and I don't know how to access my mail at all. How can I get to my email?

    Iusually access my mail through the mail on my keyboard button.  This button has stopped working completely, and I don't know how to access my mail at all.  How can I get to my email?

     
     
    In case you wanted to tell Outlook Express...
     
    Right click on the desktop | New | Shortcut. Navigate to "c:\program files\outlook express\msimn.exe". Click next | Click Finish.  It will be a new shortcut on the desktop.
     
     
    Once an icon on the desktop, you can drag it to the taskbar for easy access.

Maybe you are looking for