RAC DBs

I created new DBs on RAC environment, on node 2 i can see that DBs , but not on node1 .
Any idea?
<NODE2>
ps -ef | grep pmonoracle 15461 1 0 Nov07 ? 00:00:00 asm_pmon_+ASM2
oracle 16167 1 0 Nov07 ? 00:00:02 ora_pmon_ESM01P2
oracle 18238 1 0 Nov07 ? 00:00:02 ora_pmon_FDCOF01T2
oracle 23896 1 0 Nov07 ? 00:00:02 ora_pmon_FDCM02P2
oracle 24249 24070 0 09:58 pts/4 00:00:00 grep pmon
<NODE1>
ps -ef | grep pmonoracle 7322 1 0 Nov07 ? 00:00:00 asm_pmon_+ASM1
oracle 27036 1 0 09:52 ? 00:00:00 ora_pmon_ESM01P1
oracle 2736 2550 0 09:57 pts/4 00:00:00 grep pmon

srvctl start database -d ESM01Pricsflgrd402.ric.infineon.com - ASM01P2:/opt/oracle
srvctl start database -d FDCM02PPRKP-1001 : Error starting instance FDCM02P1 on node ricsflgrd401
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.FDCM02P.FDCM02P1.inst' has placement error.

Similar Messages

  • 9i RAC DBs management notes/documents

    Looking for some good source to study for 9i RAC DBs administration...

    It depend om what OS you using, for Linux OCFS is preferred. But I feel NFS( like NetApps) is best to use for 9i/10g RAC.
    Have a look on following article
    RAC Filesystem Options

  • Application Dependencies for RAC DBs

    What are application Dependencies for RAC DBs specially there connectivity, and High availability?

    You'll probably get lots of suggestions based on lots of experiences, however, those things may or may not happen to your application. The best and always-applicable advice you'll get is that you absolutely must test your application in every possible scenario (and even scenarios you think are impossible) for how it reacts to failure as well as how it scales with parallelism and how much contention it creates due to its design. Create a realistic test environment, ensure you can produce realistic, real-world load on the application, and then start testing. With 11g, the load generation gets a lot easier to do with Real Application Testing. With earlier releases, it will be using more traditional methods/tools.
    So, you'll get good advice, but it won't be a substitute for doing the actual testing work yourself with your application.

  • Applications Dependencies for RAC DBs

    What are application Dependencies for RAC DBs specially there connectivity, and High availability?

    Hi, not must exist any dependency, for the applications must be transparent. The application only can see the service database where it cans connect and work.
    Regards.

  • Can 1 ASM Disk group serve multiple RAC DBs?

    DB version: 11gR2
    Platform : Sun OS 5.10
    Number of Nodes : 2
    We currently have a 2 node RAC DB called PMDB1 running with a Disk group called DG1_DATA of 1 Tera Byte.
    We would like to add another Database in this cluster.
    Can this DB use the same Disk Group (DG1_DATA) which PMDB1 use?

    Hi Haiti
    Can this DB use the same Disk Group (DG1_DATA) which PMDB1 use?Yes. No problem.
    One ASM instance in RAC can be associated with several DBs' instances. Right?Right
    Regards,
    Levi Pereira

  • Inventory pointer file in RAC DBs

    Grid version:11.2.0.3
    DB versions: 11.2.0.3, 10.2.0.5
    Platform : Solaris / AIX
    In our RAC servers, I have noticed that the inventory pointer file (oraInst.loc) of RDBMS HOMEs point to the Grid inventory
    --- inventory pointer file of 11.2.0.3 GRID HOME
    $ cat /u01/grid/11.2/oraInst.loc
    inventory_loc=/u01/grid/11.2/oraInventory
    inst_group=dba-- inventory pointer file of a 10.2.0.5 RDBMS HOME running in this cluster
    $ cat /u01/oracle/10.2/db/oraInst.loc
    inventory_loc=/u01/grid/11.2/oraInventory
    inst_group=dba-- inventory pointer file of a 11.2.0.3 RDBMS HOME running in this cluster
    $ cat /u01/oracle/11.2/db/oraInst.loc
    inventory_loc=/u01/grid/11.2/oraInventory
    inst_group=dbaIs this a pre-requisite or a standard practice ?

    In Solaris, the default location for the inventory location file is /var/opt/oracle/oraInst.loc. Make sure they all point to the same inventory and make sure they are all up-to-date. You also want to make sure that this "global/central" inventory has READ/WRITE for grid and oracle users. You can take an existing inventory (or delete all of them) and use the runInstaller to create and/or add a new home;
    Start here:
    http://docs.oracle.com/cd/E11882_01/em.112/e12255/oui2_manage_oracle_homes.htm
    look for
    ./runInstaller -silent -attachHome ORACLE_HOME="<Oracle_Home_Location>"
    "CLUSTER_NODES={<node1,node2>}" LOCAL_NODE="<node_name>" <<--note for clusters, the "local_node" - so do this on all nodes
    There is also a "detachHome"

  • How many OC clusters can in installed / implemented on a node & RAC DBS

    In a cluster,
    How many OC clusters can be installed and How many RAC Database can a single OC cluster can support.
    Can i share single VG & LV to manager two OC clusters each with one RAC Database.
    Thanks in Advance.
    Regards
    Satish

    What are referring to here as "OC clusters"? By any chance, are you referring to Oracle Clusterware? If yes, you can install only one Oracle Clusterware in a cluster, and I don't think there is a hard limit on number of databases it can support as far it is not constrained by the OS resources and the entries it can make in the OCR.
    Can i share single VG & LV to manager two OC clusters each with one RAC Database.Since you can not install more than one Clusterware on a cluster, this question doesn't arise.
    Hope this helps.
    Thanks
    Chandra

  • Question on Redo logs in RAC

    DB version:11.2
    Platform : Solaris 10
    We create RAC DBs manually. Below is a log of the DB creation from Node1 . Instance in Node2 is not yet created (only binary is installed in Node2).
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup nomount pfile=/u03/oracle/11.2/db_1/dbs/initnehprd1.ora
    ORACLE instance started.
    Total System Global Area 1252643278 bytes                                      
    Fixed Size                  2219208 bytes                                      
    Variable Size             771752760 bytes                                      
    Database Buffers          469762048 bytes                                      
    Redo Buffers                8929280 bytes  
    SQL> CREATE DATABASE nehprd MAXINSTANCES 8 MAXLOGFILES 16 MAXLOGMEMBERS 4 MAXDATAFILES 1024
      2  CHARACTER SET AL32UTF8 NATIONAL CHARACTER SET AL16UTF16
      3  DATAFILE '+DG_DATA01/nehprd/nehprd_system01.dbf' SIZE 1000m EXTENT MANAGEMENT LOCAL
      4  SYSAUX DATAFILE '+DG_DATA01/nehprd/nehprd_sysaux01.dbf' SIZE 600m
      5  DEFAULT TEMPORARY TABLESPACE temp
      6  TEMPFILE '+DG_DATA01/nehprd/nehprd_temp01.dbf' SIZE 2000m EXTENT MANAGEMENT LOCAL UNIFORM SIZE 5m
      7  UNDO TABLESPACE undotbs11 DATAFILE '+DG_DATA01/nehprd/nehprd_undotbs1101.dbf' SIZE 700m
      8  LOGFILE
      9          GROUP 1 ('+DG_DATA01/nehprd/nehprd_log01.dbf') SIZE 150m,
    10          GROUP 2 ('+DG_DATA01/nehprd/nehprd_log02.dbf') SIZE 150m,
    11          GROUP 3 ('+DG_DATA01/nehprd/nehprd_log03.dbf') SIZE 150m
    12  /
    Database created.
    Elapsed: 00:00:18.95
    SQL> CREATE UNDO TABLESPACE undotbs12 DATAFILE '+DG_DATA01/nehprd/nehprd_undotbs1201.dbf' SIZE 700m;
    Tablespace created.
    Elapsed: 00:00:01.30
    SQL> ALTER DATABASE ADD LOGFILE thread 2 GROUP 4 '+DG_DATA01/nehprd/nehprd_log04.dbf' SIZE 150m;
    Database altered.
    Elapsed: 00:00:00.25
    SQL> ALTER DATABASE ADD LOGFILE thread 2 GROUP 5 '+DG_DATA01/nehprd/nehprd_log05.dbf' SIZE 150m;
    Database altered.
    Elapsed: 00:00:00.43
    SQL> ALTER DATABASE ADD LOGFILE thread 2 GROUP 6 '+DG_DATA01/nehprd/nehprd_log06.dbf' SIZE 150m;
    Database altered.But after the above activity, the following log files are created in the DB.
    6 log groups for each Instance and they all are on the same location +DG_DATA01/nehprd  !
    INST_ID     GROUP# STATUS  TYPE             MEMBER                                   IS_
             1          1         ONLINE  +DG_DATA01/nehprd/nehprd_log01.dbf             NO
             1          2         ONLINE  +DG_DATA01/nehprd/nehprd_log02.dbf             NO
             1          3         ONLINE  +DG_DATA01/nehprd/nehprd_log03.dbf             NO
             1          4         ONLINE  +DG_DATA01/nehprd/nehprd_log04.dbf             NO
             1          5         ONLINE  +DG_DATA01/nehprd/nehprd_log05.dbf             NO
             1          6         ONLINE  +DG_DATA01/nehprd/nehprd_log06.dbf             NO
             2          1         ONLINE  +DG_DATA01/nehprd/nehprd_log01.dbf             NO
             2          2         ONLINE  +DG_DATA01/nehprd/nehprd_log02.dbf             NO
             2          3         ONLINE  +DG_DATA01/nehprd/nehprd_log03.dbf             NO
             2          4         ONLINE  +DG_DATA01/nehprd/nehprd_log04.dbf             NO
             2          5         ONLINE  +DG_DATA01/nehprd/nehprd_log05.dbf             NO
             2          6         ONLINE  +DG_DATA01/nehprd/nehprd_log06.dbf             NO How was redo log group 4,5,6 created for thread 1 and how was redo log group 1,2,3 created for thread 2 ?

    Hi,
    To make things worse, when you query v$logfile , It will show 6 redo logfiles belonging to 6 redo groups for each instance.The fact that it shows all groups of redo does not mean it belongs to that instance. Try to query v$database or v$datafile, this means that database/datafiles belongs to only one instance, of course not.
    Isn't this a bit of a bug ?Of course not. It's concept.
    To understand it you need understand the difference between instance and database. An database (i.e files) can be opened by many instances.
    An Oracle database server consists of a database and at least one database instance (commonly referred to as simply an instance). Because an instance and a database are so closely connected, the term Oracle database is sometimes used to refer to both instance and database. In the strictest sense the terms have the following meanings:
    Database
    A database is a set of files, located on disk, that store data. These files can exist independently of a database instance.
    Database instance
    An instance is a set of memory structures that manage database files. The instance consists of a shared memory area, called the system global area (SGA), and a set of background processes. An instance can exist independently of database files.
    Database: (v$database)
    CONTROLFILE (v$controlfile)
    DATAFILE (v$datafile)
    ONLINELOG (v$logfile,v$log)
    ARCHIVELOG (v$archivelog)
    SPFILE
    These views above will show the same values in either instance, because if the file (database) is changed it is modified in all instances. That's means you not need use gv$ because the information are the same in all instances, also you not need get info connecting in each instance querying theses v$ because the inf are the same independent of the instance
    Instances: (v$instance)
    PARAMETERS (v$parameter)
    MEMORY STRUCTURE (e.g v$session)
    The view v$session will show information about sessions from that instance only. In RAC each instance have you own info about session so you will need query gv$session because it get information about session from others instances.
    The fact that each instance assign its own REDO/UNDO not mean they are part of the instances, REDO/UNDO are part of Database. They can be write by assigned instance and read by all instance (just it)
    It's not a bug when you query v$datafile, v$logfile, v$controlfile in all instances you will get same result, because it's the DATABASE. (An database (i.e files) can be opened by many instances).
    Levi Pereira

  • Notes to manage Oracle RAC

    Is there any notes on metalink to manage Oracle RAC DBs?

    You should be more specific, since you didn't define the version, 9i, 10g, 11g ? nor the platform.
    As an starting point, you can read this:
    Oracle® Database 2 Day + Real Application Clusters Guide
    10g Release 2 (10.2)
    Part Number B28759-01
    ~ Madrid

  • Post-installation RAC maintenance

    DB version ==> 10.2.0.4
    OS ===> Solaris SPARC 5.10
    For the last 7 months , i have been working in two RAC DBs (both of them are 2 node RACs). Apart from few instance restarts, i haven't actually done anything in these DBs because they have been very stable. Wish it wasn't because i never got to learn anything.
    If you were asked what are the top 3 RAC maintenance tasks (apart from restarts), what would you say?

    Hi,
    Tasks of a DBA.
    Initial and complete study of system
    Continuous monitoring of database using advanced monitoring and alert tools
    Routine health checks of database and proactive maintenance.
    Regular database backups and validation of backups.
    User and security management
    Database growth planning and management.
    Performance monitoring and periodic tuning.
    Regular report on the activities performed and database health
    Emergency support for production outages
    Guaranteed response to production outages (based on SLA)
    Proactive Maintenance
    - Gather optimizer statistics
    - Manage the Automatic Workload Repository
    - Use the Automatic Database Diagnostic Monitor (ADDM)
    - SQL Tuning Advisor: helps you to find critical or improvable statements
    - SQL Access Advisor: gives you suggestion about possible indexes or materialized view that can improve performance of a statement or of a set of statements.
    - Memory Advisor: controls SGA usage and performance
    - MTTR Advisor: this checks checkpointing attivity, sintetically estimates MTTR. Check FAST_START_MTTR_TARGET parameter
    - Segment Advisor
    - Undo Advisor
    - Set warning and critical alert thresholds
    - You can define some baselines and on those baselines are based warning and critical thresholds.
    Oracle Enterprise Manager Concepts gives an overview of what can be managed.
    http://download.oracle.com/docs/cd/B19306_01/em.102/b31949/database_management.htm
    Oracle RAC Monitoring: Keeping your RAC under control
    http://www.databasejournal.com/features/oracle/article.php/3676451/Oracle-RAC-Monitoring-Keeping-your-RAC-under-control.htm
    This has a lot of work.
    Regards,
    Levi Pereira

  • RAC management utilities

    srvctl
    srvconfig
    EM
    crs_ctl
    gsdctl
    what other utilities we can use to manage RAC DBs, any body has some notes for RAC Utilies?

    If you go to http://forums.oracle.com you may note a 'topic' titled 'Grid Computing with a number of RAC related forums. You may ALSO get relevant answers to your RAC question by asking people who are heavily interested in RAC.
    In the mean time - your list misses SQLPLUS and RMAN to name a few.

  • Can't we start a RAC instance without local pfile ?

    DB version : 11.1.0.7.0
    OS : Solaris 10 SPARC
    --Info about the cluster
    2 Node RAC
    Both instances using spfile stored in ASM Diskgroup
    Passwordless SSH configuration is not working currently (i gather ssh is not mandatory after installation)
    We have 7 RAC DBs running in our 11.1 CRS.
    After a reboot of our 2 Node RAC servers, in Node2, 4 instances didn't come up.
    None of these down instances have a local pfile. The ones that are up in Node2 have it.
    So, When i manually tried to bring up the ones that are down
    $ sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.7.0 - Production on Fri Mar 2 21:28:22 2012
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/11.1/db_1/dbs/initorcl2.ora'
    SQL> exit
    Disconnected-- Tried directly with spfile (No such option in oracle, but still tried ! )
    SQL> startup spfile='+ORCL_DATA01/ORCL/spfileorcl.ora'
    SP2-0714: invalid combination of STARTUP options-- Tried from Node1
    -- This might have failed because ssh is not working currently. Not sure
    $ srvctl start instance -d orcl -i orcl2
    PRKP-1001 : Error starting instance orcl2 on node manhclust199
    CRS-0215: Could not start resource 'ora.orcl.orcl2.inst'.
    $ srvctl start database -d orcl
    PRKP-1001 : Error starting instance orcl2 on node manhclust199
    CRS-0215: Could not start resource 'ora.orcl.orcl2.inst'.Finally I had to create a local pfile on node2 for each instances in OH/dbs
    The content of each local pfile is like
    $ cat initorcl2.ora
    spfile='+ORCL_DATA01/orcl/spfileorcl.ora'Now the startup worked without any issue for all 4 instances
    SQL> startup
    ORACLE instance started.
    Total System Global Area 2137886720 bytes
    Fixed Size                  2155464 bytes
    Variable Size            1593838648 bytes
    Database Buffers          536870912 bytes
    Redo Buffers                5021696 bytes
    Database mounted.
    Database opened.So, local pfile is mandatory for all RAC instances ?

    Hi,
    My question is whether this instance specific local pfile must be there in OH/dbs directory ?YES
    Didn't get a clear answer yet.
    It seems that it is mandatory. And this is most probably the reason these instances didn't come up after the reboot of this node.Startup Sequence:
    Startup of Cluster:
    Using "srvctl" to start your database/instance:
    Srvctl read the OCR and check the parameter SPFILE from your database registration:
    If parameter SPFILE in OCR have a value the srvctl will use this value to start your database instance.
    If parameter SPFILE in OCR don't have a value (i.e null) Oracle will try find the file SPFILE<ORACLE_SID>.ora on $ORACLE_HOME/dbs
    If the file SPFILE<ORACLE_SID>.ora does not exists, Oracle will try use the file init<ORACLE_SID>.ora
    If init<ORACLE_SID>.ora does not exist... the startup will fail.
    From ORACLE_HOME of your database execute command above to get value of Spfile parameter on OCR:
    srvctl config database -d <DB_NAME> |grep SpfileStartup manually from SHELL using SQLPLUS:
    Using SQLPLUS to start a database Oracle always first use SPFILE<ORACLE_SID>.ora stored on $ORACLE_HOME/dbs/ if this file does not exist he will try use INIT<ORACLE_SID>.ora to start Database Instance.
    If your spfile is stored on ASM you must create a INITFILE pointing to SPFILE stored on ASM.
    e.g From instance 1
    cat /oracle/oracle/product/11.2.0/db_1/dbs/initorcl1.ora
    SPFILE='+DATA/ORCL/spfileorcl.ora'Regards,
    Levi Pereira

  • Local pfile for all RAC instances

    DB Version: 10Gr2
    OS : Solaris 5.10
    2 node RAC
    In one of our RAC DBs, we use local pfile for both of our instances.
    If we had used a common (shared) spfile, we need to change parameter only once and it will be persistent across reboots.
    Can you think of any other disadvantages of using local pfile? Are there any advantages in using pfile in RAC enviroments ?

    Yes .. you are right ..
    Oracle recommends that you manage parameters using an SPFILE. If you use client-side parameter files, then Oracle does not preserve parameter changes made for self-tuning after shutdown.
    Check Oracle Documentation :
    http://download.oracle.com/docs/cd/B19306_01/install.102/b14203/params.htm#CIHFCHGH
    Regards
    Rajesh

  • RAC DB creation Notes

    Any body has notes to create RAC DB , version is 10g Cluster & storage is Varitas
    I am used to create RAC DBs with dbca on oracle Clusterware and ASM...How this is different on Varitas cluster and storage?

    On the linux and windows environments there is the OCFS, which will give you a Cluster File System, so at this point you'll have a file system. But protection relies on the kind of redundancy you have configured for your shared storage. On the ASM issue, this performs tasks such as mirroring and stripping for load balancing and fail over.
    ASM is a volume manager for Oracle Datafiles Only, so the difference is that Oracle scope is only at the database storage level, meanwhile veritas is a complete file system.
    ~ Madrid

  • 11gR2 Post-Upgrade Questions Regarding tnsnames, listener, pwd, and init

    Hello.
    Am planning on upgrading a significant # of RHEL5 10gR2 RAC and non-RAC DBs to 11gR2 (11.2.0.3.1, specifically). The servers are still not available to me, but I have been poring on the install and upgrade documents as well as referencing several blogs of users who have done them. I have almost literally read the guides verbatim. I will be using the DBUS - not doing a manual upgrade. Since I cannot test of the upgrade yet, I have a few questions related to POST_UPGRADE actions in terms of the listener, tnsnames, password, and init files.
    1.) The upgrade document indicates on p 3-24, "DBUA then proceeds to create new configuration files (parameter and listener files) in the new Oracle home." Will the init file (assuming spfile will be copied as we are using one everywhere now) have deprecated parameters REMOVED after it is copied over to the NEW/TARGET home?
    2.) While the install/upgrade guides do not call for it, several blogs indicate that the tnsnames and password files should be copied over from the old/source DB network/admin location ($TNSNAMES/admin) to the new/target DB /network/admin location. Do I need to do this or with the DBUA also copy them over? If all 4 files (tnsnames/listener/spfile/password) are copied over, I am not sure why the document doesn't indicate this.
    3.) Other than the spfile being copied over and modified, I don't see any difference between the old/source and new/destination copies of the listener, tnsnames, and password file. Do you agree?
    I am just trying to figure out what really need to be copied over and what doesn't in lieu of the DBUA doing it for me.
    Thank you all for your help. If I had HW to test this out, I would do it. In the meantime, I am writing the procedures to do the actual upgrade.
    Matt

    page 3-24 corresponds to following
    http://docs.oracle.com/cd/E11882_01/server.112/e23633/upgrade.htm#CHDDCBHG
    which states
    You must run the Oracle Net Configuration Assistant before running DBUA. See "Configuring the Listener When Upgrading from Oracle9i".
    If you are upgrading an existing Oracle Enterprise Manager Database Control or if you are configuring a new Oracle Enterprise Manager Database Control for the new Oracle Database 11g release, then the listener must be running before upgrading Oracle Enterprise Manager. If DBUA detects that an Oracle Enterprise Manager upgrade or configuration is requested, and DBUA does not see a listener running, then it prompts you and starts the default listener in either of these cases.
    running netca from new home results in creating a new listener.ora file, this could complain that listener is already used if the old listener is running with the same name or port (default 1521) taken.
    I think the "+DBUA reloads the listener.ora file in both the old and new Oracle Database environments.+" which point c in that list has to be taken in context with the two previous points a, b, where the usecase is shown how services , entries are removed from one listener.ora file and added to another. So to make sure those services are started from the "now" correct home those listener.ora are reloaded.
    If you look in the 11.1 upgrade guide this text is written as "DBUA removes the entry of the upgraded database from the old listener.ora file and reloads the listener of the old database." http://docs.oracle.com/cd/B28359_01/server.111/b28300/upgrade.htm#i1011982
    If after the upgrade old oracle home is not used anymore (no database is running out of that) you can ignore the listener.ora on the old home.

Maybe you are looking for