Redo command of journal online in Oracle RAC

Dear,

If I have 2 Oracle RAC nodes:

Node 1:2 Online Redo log groups (Group 1 and group 2) - each Member of a group

Node 2:2 Online Redo log groups (Group 3 and group 4) - each Member of a group

Would like to know when the switch occurs on the redo log groups, it moves the Group 1 to group 2, then return in the Group 1... or

Group 1 to group 2, and group 3?

Concerning

Claude

Each Instance has a Thread.  So the Instance on node 1 has 1 wire that consists of groups 1 and 2.  Redo all written by instance of node 1 will always be to groups 1 and 2 only.  Never to groups 3 and 4 (except if they fell and added to 1 thread)

Similarly, the instance on node 2 will write for groups 3 and 4 only.

Hemant K Collette

Tags: Database

Similar Questions

  • Redo Log in Oracle RAC 11G

    Hello

    I work with oracle RAC 11gr2.0.3.

    We have an expectation to top event 'parallel log file reading', and other types of waiting as 'log sequential read', 'log file sync '...

    When I check the size of redo log = 50 M, while in the old database oracle 10 g 2 (no CARS), the size of redo log = 150 M.

    So, I want to know if I should increase our redo log in our Oracle RAC database, or not?

    Should be again small use connect oracle RAC, oracle RAC without difference?

    Thank you for your help.

    No matter the size, it is recommended to use at least 3 groups of newspapers by thread. This is particularly important if the archive log mode is activated.

    See you soon,.

    Brian

  • Error when trying to backup oracle rac to another location

    Hello

    I'm trying to backup of database to another location to a 11 GR Oracle RAC database version 2. Here is my script:

    #! / bin/ksh
    export ORACLE_SID = vvsms1
    ORACLE_BASE = / u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1; Export ORACLE_HOME
    BASE_PATH = / usr/sbin: $PATH; export BASE_PATH
    PATH = $ORACLE_HOME/bin: $BASE_PATH; export PATH
    /U01/app/Oracle/product/11.2.0/dbhome_1/bin/RMAN target sys/viviet@vvsms journal /home/oracle/log_rman/vvsms.log append < < EOF
    RUN {}
    CROSS-CHECKING OF BACKUP;
    OVERLAP ARCHIVELOG ALL;
    FORMAT of DISC TYPE ALLOCATE CHANNEL channel 1 ' / home/oracle/backup/vvsms/backup_%U';
    TAG 'incr_vvsms' DATABASE INCREMENTAL LEVEL 0 BACKUP;
    ARCHIVELOG BACKUP ALL.
    REMOVE OBSOLETE;
    CHANNEL1 CHANNEL OUTPUT;
    }
    EXIT;
    EXPRESSIONS OF FOLKLORE

    I write it to a file .sh and set crontab to run it. But when he does I get error like this:

    From 22 October 12 backup
    channels channel 1: start the incremental level 0 datafile backup set
    channels channel 1: specification of the datafile (s) in the backup set
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/sysaux.289.794242439 00002
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/ts_service.dbf 00006
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/ts_viviet.dbf 00007
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/viviet.dbf 00008
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/ts_vivietct_primary.dbf 00009
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/undotbs1.290.794242445 00003
    Enter a number of file datafile = 00001 name=+DISK2/vvsms/datafile/system.288.794242429
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/undotbs2.292.794242453 00004
    Enter a number of file datafile = 00005 name=+DISK2/vvsms/datafile/users.293.794242455
    channels channel 1: from room 1 to October 22, 12
    output channel: channel 1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of the backup command on the channel 1 channel at 22/10/2012 01:50:16
    ORA-19504: cannot create the file ' / home/oracle/backup/vvsms/backup_2anobqu5_1_1.
    ORA-27040: create file error, cannot create the file
    Linux-x86_64 error: 2: no such file or directory

    I don't know what I am wrong? The location is OK ("/ home/oracle/backup/vvsms /").

    Please suggest me some things about it. What should I do?

    Thanks in advance!

    P/s: sorry for my bad English.
    /u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms  log /home/oracle/log_rman/vvsms.log append
    

    This line may be your problem.
    As this database is a RAC and you are using a service with NLB 'vvsms' and ' / home/oracle/backup/vvsms ' is not a shared location. RMAN is starting a session on the other node where ' / home/oracle/backup/vvsms ' does not exist.

    Try changing:

    /u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms  log /home/oracle/log_rman/vvsms.log append
    

    This (using the easy connection method):

    /u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@localhost:1521/VVSMS  log /home/oracle/log_rman/vvsms.log append
    

    Where:
    localhost: your local node
    VVSMS: is at the service of database

    Also check if ' / u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora ' set up the line "NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT).

    PS: When RMAN start a session it shows where is recorded, control over the newspapers which RMAN instance has been registered.

    HTH,
    Levi Pereira

  • Need to understand the basics of Oracle RAC and grid technology, for training

    I need to understand the infrastructure Oracle RAC and grid, a manager / training perspective.

    I see links here and here , so a few questions:

    -What is the fundamental difference from the layman's point of view (for example, a Manager)?

    -What training options are available for a generic 11g DBA to learn this new technology? I've seen this course from a partner of Oracle ("" courses: Oracle 11 g: RAC and Grid Infrastructure Administration accelerated Release 2 ""), to a boat load of money, during 5 days I think. So we are looking for something a bit more reasonable (and accessible), for example, books, online, etc.

    WM Peck 1958 wrote:

    I need to understand the infrastructure Oracle RAC and grid, a manager / training perspective.

    I see the links here and here, so a few questions:

    -What is the fundamental difference from the layman's point of view (for example, a Manager)?

    -What training options are available for a generic 11g DBA to learn this new technology? I've seen this course from a partner of Oracle ("" courses: Oracle 11 g: RAC and Grid Infrastructure Administration accelerated Release 2 ""), to a boat load of money, during 5 days I think. So we are looking for something a bit more reasonable (and accessible), for example, books, online, etc.

    For a very basic definition, ACR is technology that is used by the database and IM is the infrastructure that makes the CAR work. In a response to the forum, this is probably all that can be said about the two. For a very long answer, you should read the links you cited.

    # 2, the course you are looking at is called accelerated because it combines two courses in one week training-RAC (4) and GI (3). So it's a day 7 curriculum that we would do in a 5 day course and who must justify its cost. But let me say, it's a really very good. But on the other side, it can be pretty intimidating to someone who does not already know these technologies. So I suggest that you send your team to each course individually and no doubt after doing some research. They can start to read the following books

    Pro Oracle Database 11g RAC on Linux

    https://www.mheducation.co.in/HTML/9781259004063.html

    And this link to doc,

    Online Oracle Database Documentation 11g Release 2 (11.2)

    Aman...

  • Oracle RAC 12.1.0.2 (GI battery) deployment on OEL 7 (3.8.13 - 35.3.4.el7uek) fails with ORA-27102

    Hi guys,.

    I am currently trying to deploy a complete installation (GI battery) of Oracle RAC 12.1.0.2 cool on OEL 7 (3.8.13 - 35.3.4.el7uek) with 2 nodes for validation purposes. However the installation itself went well, but 'Creation repository for Oracle Grid Infrastructure Management container' step fails with "ORA-01034: ORACLE not available / ORA-27102: out of memory / Linux-x86_64 error: 12: cannot allocate memory". The steps of runInstaller validation completed successfully, but I never take this step of configuration without jumping.

    Here is my configuration which should normally avoid such errors ORA.

    Host

    -bash - $4.2 uname - a

    Linux OELRAC1 3.8.13 - 35.3.4.el7uek.x86_64 #2 SMP Tue Jul 29 23:24:14 CDT 2014 x86_64 x86_64 x86_64 GNU/Linux

    "Creation of repository database for Oracle Grid Infrastructure Management container" error in /oracle/base/cfgtoollogs/dbca/_mgmtdb/trace.log

    From restoration to August 9, 14

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 12 type of device = DISK

    channel ORA_DISK_1: from the restore backup set data file

    channel ORA_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_DISK_1: restore datafile 00003 to + GRID

    channel ORA_DISK_1: backup /oracle/grid/12102/assistants/dbca/templates/MGMTSeed_Database.dfb piece reading

    channel ORA_DISK_1: ORA-19870: error when restoring the backup /oracle/grid/12102/assistants/dbca/templates/MGMTSeed_Database.dfb piece

    ORA-19504: could not create the file "+ GRID.

    ORA-17502: ksfdcre:4 cannot create the file + GRID

    ORA-15001: diskgroup 'GRID' does not exist or is not mounted

    ORA-01034: ORACLE not available

    ORA-27102: out of memory

    Linux-x86_64 error: 12: cannot allocate memory

    Additional information: 2663

    Additional information: 1565392897

    Additional information: 161480704

    switch to the previous backup

    Number of folder of the data file = 3 name = + GRID

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the restore command at 09/08/2014 19:41:47

    ORA-01119: error in creating file of database "+ GRID.

    ORA-17502: ksfdcre:4 cannot create the file + GRID

    ORA-15001: diskgroup 'GRID' does not exist or is not mounted

    ORA-01034: ORACLE not available

    ORA-27102: out of memory

    Linux-x86_64 error: 12: cannot allocate memory

    Additional information: 2663

    Additional information: 1565392897

    Additional information: 1614807040

    RMAN-06956: create the data file failed; try again after removing + OS GRID

    SHM / CPI (check the id of shm with previous information)

    -bash - $4.2 ipcs - a

    -Shared memory segments-

    key shmid owner perms bytes nattch status

    1565360128 0 x 00000000 grid 640 4096 0

    1565392897 0 x 00000000 grid 640 4096 0

    0xfba47600 1565425666 640 24576 29 grid

    Memory of the ASM instance setting

    SQL > see the memory settings

    VALUE OF TYPE NAME

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

    whole big memory_max_target 1076M

    whole large memory_target 1076M

    ASM disk groups

    SQL > select NAME, STATE, TOTAL_MB, USABLE_FILE_MB from v$ asm_diskgroup;

    NAME STATE TOTAL_MB USABLE_FILE_MB

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

    RACK MOUNTED 6144 4868

    / dev/shm to memory_target (more than enough free space)

    -bash - $4.2 df-h

    Size of filesystem used Avail use % mounted on

    tmpfs, 630M 2.4 G 3.0 G 21% / dev/shm

    Kernel for SHM limits set to unlimited parameter

    -bash - $4.2 sysctl - a | grep shm

    kernel.shmall = 1152921504606846720

    kernel.shmmax = 922337203685477580

    User limits on unlimited for memory

    -bash-4, $ 2 cat /etc/security/limits.conf

    # Oracle settings

    grid soft nproc 2047

    grid hard nproc 16384

    grid soft nofile 1024

    grid hard nofile 65536

    Oracle nproc 2047 soft

    Oracle nproc 16384 hard

    Oracle soft nofile 1024

    Oracle hard nofile 65536

    * hard memlock unlimited

    * soft memlock unlimited

    -bash - 4, $ 2 known - grid

    -bash - $4.2 ulimit - a

    the file size (blocks, - c) of base 0

    (kbytes, - d) data seg size unlimited

    scheduling priority (-e) 0

    size of the file (blocks, f) - unlimited

    pending signals (-i) 23953

    Max locked memory (kbytes, - l) unlimited

    size of the memory (k, m) max - unlimited

    open files (-n) 1024

    a size (512 bytes, - p) 8 hose

    (Bytes, - q) POSIX message queues 819200

    real-time priority (-r) 0

    size (Ko, - s) 8192 battery

    time processor (seconds,-t) unlimited

    Max user process (-u) 2047

    virtual memory (KB), - v) unlimited

    the locks on files (-x) unlimited

    So what the hell is wrong here? Why the instance ASM (+ ASM1) returns the error below, even if there is no memory limit / problem. The error with the disk group is also absolutely no sense.

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

    ORA-01119: error in creating file of database "+ GRID.

    ORA-17502: ksfdcre:4 cannot create the file + GRID

    ORA-15001: diskgroup 'GRID' does not exist or is not mounted

    ORA-01034: ORACLE not available

    ORA-27102: out of memory

    Linux-x86_64 error: 12: cannot allocate memory

    Additional information: 2663

    Additional information: 1565392897

    Additional information: 1614807040

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

    Someone at - he encounter the same problem with 12.1.0.2 by deploying the CDB for Grid Infrastructure Management repository? Is there something special with UEK3 (3.8.13 - 35.3.4.el7uek) on 7 OEL? Any necessary special kernel parameter (although the runInstaller controls do not mention)? I'm totally tapped by GI 12.1.0.2.

    Thank you.

    Best regards

    Stefan

    Hi guys,.

    I was finally able to solve this problem.

    She was related to a memory on the provisioning of problem in the virtual environment as both nodes are VMs. Unfortunately none of these errors of memory were populated / pushed somehow in the virtual machine.

    Best regards

    Stefan

  • relationship between redo log buffer, journal of redo and undo tablespace files

    What is the relationship between the redo log buffer, redo log files and undo tablespace?

    what I understand is

    redo log buffer is the logical area where all the news of recovery were stored until they are transferred by LGWR bank roll forward log online... but y at - it report any with the undo tablespace with these two?

    Please correct me if I'm wrong

    Thanks in advance

    redo log buffer is the logical area where all the news of recovery were stored until they are transferred by LGWR bank roll forward log online... but y at - it report any with cancellations

    tablespace with these two?

    There is a link between files redo log and buffer, but the undo tablespace is something else entirely.

    spend it here with this links

    REDO LOG FILES
    http://www.DBA-Oracle.com/concepts/redo_log_files.htm

    BUFFER REDOLOG
    http://www.DBA-Oracle.com/concepts/redo_log_buffer_concepts.htm

    UNDO TABLESPACE
    Undo tablespace to cancel files to undo or roll back uncommitted changes pray the database.

    Hope you understood.

  • How to check the version installed oracle RAC

    Hi all

    Y at - it a command or file to the version installed oracle RAC. I saw some post to the topic to connect to sqlplus and access the v version $ but I need a command that does not require database either upward. I mean, even if the database is down, I should be able to know the version of oracle RAC.

    Thank you very much for your help in advance,

    I must admit that I never installed Oracle without the GUI, but I strongly think it is works, no matter how you installed Oracle. opatch is one of the essential tools that comprise an oracle installation, without him you wouldn't be able to fix your installation.

    Bjoern

  • Scripts for Oracle RAC

    Hi the CAR experts

    You have a script that can help us to control this node is in place, so we can take backup of the node2 when both nodes are rising. In the case that node2 downstairs
    We will have to take the backup on node 1, until the node 2 is running again.

    The configuration is the following:

    -AIX 6.1
    -Oracle RAC /ASM / RDBMS 11.1.0.7
    -We have a script rman.ksh that take backups.

    Please help us

    Thank you

    you guessed it Haggy!

    that\s the way you do.

    subsequently make a control one another when the command fails that verifies that the nodes are upward with the n olsnodes

    hopefyully this helps.

    Also consult the metalink 243760.1

    Published by: Hub on November 16, 2009 18:02

  • How to change the Oracle initialization parameters in db Oracle RAC

    I want to change the settings AUDIT_SYS_OPERATIONS and SQL92_SECURITY to TRUE. I have an Oracle RAC database two nodes.

    Should I stop the clustering services, modify the settings on both nodes and restart? Or change the setting on a node (node 1), restart node 1, restart node 1 (no change)?

    ALTER SYSTEM SET AUDIT_SYS_OPERATIONS = TRUE scope = SPFILE;

    Thank you.

    The command

    ALTER SYSTEM SET AUDIT_SYS_OPERATIONS = TRUE scope=SPFILE SID='*' ;
    

    is the syntax. However, the CCR using a SPFILE the ' SID ='* ' "specification is the default value." IF you want to change a setting for the local (for example PROD1) instance to which you are connected to, specify SID = "PROD1";
    The documentation states that if you specify a remote instance (for example PROD2) Oracle changes the value in the memory on the remote instance.

  • Turning to Oracle RAC to the only Oracle database

    Hi all

    We are responsible for "make a copy" of Oracle RAC database a customer and our plan is to finish with the FCAC and allows you to host a new unique Oracle database. Very few of us familiar with CARS and looking for suggestions on how to do it (without affecting the source JAR).

    Can take a full expdb of the source database and simply use impdp to import into the standalone database server?

    Comments/suggestions appreciated.

    Thanks in advance.

    Can take a full expdb of the source database and simply use impdp to import into the standalone database server?

    It is an option. Data pump does not care if the source and/or destination is CARS or a mix. If the database is too large, it can take a lot of time to complete.

    Another option is to use the DOUBLE of RMAN feature. And another option is to restore the database from a backup.

    See you soon,.
    Brian

  • Oracle RAC and replacement of equipment

    Hello world

    next year our Oracle RAC (hardware) servers will be is more supported. We have a 2 node RAC (SE) running on Linux 5. For you, what is the strategy easier (and safer) to replace the equipment:

    • Reinstall complete with database exports / imports.
    • Adding new nodes to the cluster with new servers and delete 'old' (but it seems that the same version of operating system is required in accordance with the documentation).
    • Clone of the cluster according to the Oracle documentation on news servers.

    Thank you for all your ideas. I googled a bit, but I've not found much info.

    Carlos.

    • Adding new nodes to the cluster with new servers and delete 'old' (but it seems that the same version of operating system is required in accordance with the documentation).

    It's what I strive for. If your time with new nodes in the cluster is short (less than 24 hours), and you stay on the same distribution (i.e. OL5 to OL7), then several times, this isn't a problem. If you still have concerns and do not feel comfortable with this recommendation, then I'll recommend another avenue. I often used it when I was doing something similar for the production system was too critical to take no risk.

    1. Up new servers in a cluster. You can even start with the version of grid Infrastructure more later/more big who can save a future update maybe you.

      1. It will take a new OCR and voting disk new configuration.
    2. Attach the storage shared on the new cluster. For a short period of time, you will have storage mounted to both old and new.
    3. Install the RDBMS software on the new cluster. Wear on all the config files you might need more... tnsnames.ora, sqlnet.ora, etc..
    4. When you are ready to drop the database on the old cluster, cutting on the new cluster.
    5. Use "srvctl database add" to add the database to the new cluster.
    6. Use 'srvctl add instance' to add the instances to the new cluster.
    7. (Optional but normally a good idea), use 'srvctl add service' to add services to the new cluster.
      1. Steps 5 and 6 above usually use the same name of db, same instance names, same service name.
    8. You now have the database running on the new hardware. Stop the old servers

    The only other sticking point would be handling the SCAN and traditional VIP. When I made this drive, I usually my network guy change the SCAN VIP and traditional dignitaries to be alias in DNS that point to the new VIP.

    If you do your homework and have everything ready to go, the downtime can be less than 15 minutes for this approach.

    See you soon,.
    Brian

  • Oracle RAC

    Hello

    We have an Oracle RAC (11.1.0.7) with two active nodes on AIX 5. We plan to build a third node, working as a passive node.

    This is may be possible?

    Thank you!

    Hello

    Yes, you can add the third node to the cluster and keep it operational without any purpose. As Richard-1 mentioned, it is best to offer 3-node RAC and extend services through them. Unless you want a kind of DR? Having said that what you try to achieve?

    Kind regards

    EVS

  • Oracle RAC (physically separate buildings)

    Hello

    I would like to know who already had this experience to prepare an Oracle RAC in separate buildings.

    We have two data centers, and we intend to prepare two separate nodes physically in this building (each node in one building).

    Data centers are in the same city.

    Could this be possible?

    Thank you!

    This looks like an extended cluster, alias "stretched CARS." It's a reasonably normal environment, although there are some considerations. You'll need storage on each side with ASM mirror and a third independent unit (a NFS server is good) for a copy of the file with the right to vote. A 10 GHz ethernet link should be more than enough. If you need assistance configuring her, let me know

    --

    John Watson

    Oracle Certified Master s/n

  • Issue of INS-35354 when installing Oracle RAC 12 on infrastructure Oracle Grid 12

    Hello

    I am trying to install Oracle RAC 12.1.0.2 one node installation on Windows Server R2 2012, but the installer told me:

    'Valid [INS-35354] the system on which you try to install Oracle RAC One doesn't not part of a cluster.'

    On the same server I have is installed and running Oracle Grid Infrastructure + ASM.

    I don't know what is missing the installation program, which is possible to register? The installation program does not provide which had not passed the specific audit.

    Thanks for the tips

    Georg

    Hello

    A CCR node does not mean that you install the grid infrastructure in a single node and install a base of a RAC data on this node.

    Basically, a concept CAR is similar to active passive clustering to provide high availability. To have a node database RAC upward and launched, you will have to install clusterware on at least two server by selecting the option during the installation of the IM.

    Pls follow the below post for detailed answer

    INS-35354: validates the system on which you are trying to install Oracle RAC not part of a group when installing a 12 c RAC node database

    Concerning

    Krishnan

  • Java oracle rac connection using scan url

    Hey,.

    Im trying to connect to an oracle rac using jdbc thin. When I use the analysis as the host

    Like this

    String url = "jdbc:oracle:thin:@// < scan >: port/servicename;

    I get error 1153, connection refused

    but when I use the ip address of the RAC instead of analysis

    String url = "jdbc:oracle:thin:@// < ip >: port/servicename;

    the connection is successful

    is the issue at the level of the application? or is the problem with the server

    Thanks for the help.

    I solved the problem. I changed my ojdbc.jar from 14 to 6. I would like to know why it works because I've been using ojdbc14 for oracle 11g and I've never had a problem

Maybe you are looking for

  • My iPhone was fried

    my iPhone has been fried due to water damage how much will it cost? If anyone knows could you please tell me thanks

  • Selection problem 2014 Mac mini disk system

    Hello l have a 2014 mini Mac I used Bootcamp to install Windows 7. However it is unable to boot into OSX or Win7 institutionalized. It gets stuck at startup screen saying that you normally only see the option key. Have tried to adjust the correct ope

  • Lack of information video card

    My video card driver is out of date, and I can not download a new because I don't know what it is the map. When I check through all the usual methods, the info isn't available. I tried to check with Acer, but they need the serial number and the stick

  • How to edit S/MMS in ICS?

    Trying to highlight a block and then cut or copy in the CSI of, like, not worst editor that, pulling teeth. The SMS mounting is not as intuitive as it used to be. Anyone know how to get control of the SMS editor? Thank you.

  • Z10 blackBerry music player won't 'Play All'

    My music player will play the first song in a sequence of songs but won't move to the next, when the first is more.  I select ALL PLAY, but it is not good. I have to manually select the 2nd song. He will repeat that one too if I don't choose the thir