Instance naming in rac 11gr2 question

I am installing 11.2.0.3 grid and database on AIX 61 platform. IN the past when building rac databases I have always picked a logical database name and then just let the instance name be derived from the database name...e.g. database_name= racdb instance_names= racdb1,racdb2.
This has worked perfectly in the past but now the manager I am working for would like the following...
database_name= orprod00 instance_names= ormockn1,ormockn2.
Is this possible when using dbca to create the rac database and instances? Also, is it a good idea to have the instance names different from the database name.
Thanks for any suggestions.

Is this possible when using dbca to create the rac database and instances? I don't know if the instance name is set when using dbca as I have always used the manual method but the database name is set at that time and I think instance name is as well using your naming convention. The instance name can always be changed afterwards. You set this when you export the ORACLE_SID and start the database. The instance name can be anything you want and does not need to relate to your database.
Also, is it a good idea to have the instance names different from the database name.Your naming convention is typically what is used as there is no confusion. All my database and instance names follow the same convention. ie [database_name][instance_number]
Why does your manager want different database and instance names. The database name of prod makes it pretty obvious it's a prod database, but instance name of "mock" doesn't make it obvious it's a prod database. In fact I would have assumed it's a mock database and not prod with that name.
Personally I think it's confusing having desperate instance and database names.

Similar Messages

  • Instance naming in RAC environment

    DB version : 11.1.0.7
    OS : AIX 6.1
    It has been few months since i've installed a RAC DB.
    After the GRID/CRS installation, while DB creation, when you specify the DB name in DBCA , say orcl, DBCA will automatically create instances orcl1 and orcl2,...
    But in my new company, i've come across RAC environments where the Instance names of the DB is not like
    DB Name: ORCL
    instance 1: orcl1
    instance 2: orcl2Rather it is like
    -- From Node1
    SQL> select name from v$database;
    NAME
    MKESCU
    SQL> select instance_name from v$instance;
    INSTANCE_NAME
    mkes1uHow did they manage to do this?

    Why would anyone want instances for a RAC DB :MKESCU to be named as
    mkes1u
    mkes2uIs it for any security purpose?
    Isn't
    mkescu1
    mkescu2straightforward and easy to understand?

  • Using ZFS for Oracle RAC 11gR2 binaries

    Hi,
    We have following scenario,
    Two Node Cluster: Oracle RAC 11Gr2 with Clusterware on Solaris 10
    We want to keep Oracle & Clusterware binaries on ZFS mirror file system on each node locally and for Data files, FRA, Voting disks & OCR on shared SAN using ASM.
    My question, is the above scenario certified by Oracle or can we keep Oracle binaries on ZFS...?
    Will appreciate your input.
    Thanks

    Well my confusion started after reading this doc on oracle support:
    Certification of Zeta File System (Zfs) On Solaris 10 for Oracle RDBMS [ID 403202.1]
    "Oracle database 10gR2 (10.2.0.3 and higher patches), 11gR1 (11.1.0.6 and higher patches) and 11gR2 (11.2.0.1 and higher patches) are certified with Solaris 10 ZFS on Sparc 64-bit and Solaris x84-64. See Solaris ZFS_Best_Practices_Guide. This is for single instance ONLY. ZFS is currently not applicable to RAC and not Certified to use it as a shared filesystem."

  • ASM pfile lost in Oracle RAC 11gr2

    Hello Gurus,
    I am new to Oracle RAC 11gr2 and facing some issues. our spfile/pfile for asm instance is lost and I am not able to startup the asm instance.
    Environment is as below:
    RAC 2 nodes
    Oracle RAC 11gr2
    Enterprise Linux Server release 5.5 (Carthage)
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/db_1/dbs/init+ASM1.ora'
    Is there any way to recover the spfile/pfile ?
    Also getting following error while try to connect " sqlplus / as sysasm"
    $ sqlplus / as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Mar 27 11:26:02 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:
    Thanks and Regards,

    Hi,
    Do we need to Set variable ORACLE_HOME properly (Grid Home) while starting RDBMS instance?
    e.g ORACLE_HOME=/u01/app/11.2.0/grid*I recommend you set ORACLE_HOME properly for each Oracle Installation when you use SQLPLUS.
    i.e: cat /etc/oratab
    orcl:/u01/app/oracle/product/11.2.0/db_1
    db10g:/u01/app/oracle/product/10.2.0/db_1
    +ASM1:/u01/app/11.2.0/gridAlso you can startup/shutdown our database with SQLPLUS using ORACLE NET*, but it must be configured properly.
    My recommendation <s>is always</s> use SRVCTL and CRSCTL to manage to your environment. Track all the process of initialization processes through the logs using ADRCI utility (only 11.1 or later).
    When use SRVCTL or CRSCTL to manage I recomend you use (GRID HOME).
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-16038: log 3 sequence# 1067 cannot be archived
    ORA-19809: limit exceeded for recovery files
    ORA-00312: online log 3 thread 2: '+FRA/yyy/onlinelog/group_3.259.738489481'
    SQL>I give to you three options:
    1° - Add more asmdisk on Diskgroup +FRA
    2° - Make backup of all archivelog using RMAN and option delete input (i.e backup archivelog delete all input;)
    3° - If this database is for TEST ONLY and you not need backup or recovery of then you can delete all archivelog using RMAN (i.e delete archivelog all;)
    I recommend you create routine of backups of the database and archivelog to prevent this area becomes exhausted.
    If you need the database in archivelog but it is only to test then create routine to delete archivelogs periodically.
    If you dont need the database in archivelog, then just disable it.
    Regards,
    Levi Pereira

  • Easy ORACLE RAC 11g question....

    Hi everyone.....
    Im new at this .... I've setup using VMware a 2 node cluster that works fine... 11g
    Im planning to move our production database that is currently 10g ...
    Heres the question... Is it possible to run a 10g instance on 11g RAC... without an upgrade??
    Its 11g compatible to run 10g instances?

    Your instance is mapped with oracle database. You installed oracle software first then create a database.
    If you upgrade your database to 11g then your instance will be 11g. Instance is oracle memory structure and background processes. Actually we upgrade oracle binaries and oracle database.
    Regards
    Asif Kabir

  • How to migrate DB from single node 10gR2 to RAC 11gR2 on diff platform?

    How to migrate DB from single node 10gR2 to RAC 11gR2 on different platform with possible minimum downtime? We have a situation of upgrade/migrate oracle 10gR2 single instance DB to 2-node RAC 11gR. The source OS is Solaris 10 on SPARC and the target OS is Linux (the target servers could be changed to Solaris 11 x86 if needed). What is the best solution on that?
    Thanks,

    Technically, can do the following for upgrading and migration?
    1. Create 11gR2 oracle home on the same server and upgrade the database from 10gR2 to 11gR2 by running conversion (2 hour down time?)
    2. Set up Heterogeneous Primary and Physical Standbys by RMAN. The standby is the RAC with ASM. No need down time. (from Solaris Space to Linux - this may be a problem)
    3. At the cutoff time, activate the standby DB from the RAC ASM.
    If feasible, do we have some detail guild line for each step?

  • Best Practice for monitoring RAC 11gR2

    Hi,
    I have RAC 11gR2+ASM on two nodes.
    I would like to get your advice what are the most critical things i should monitor - Regarding RAC COMPONENCTS
    Thanks

    Hi,
    here i am mentioning some basic monitoring
    1)interconnect switch is working properly or not(private network)
    2) check which instances are running on which nodes
    3) check if ASM,listeners,nodeapps,gsd,vip..... are running or not.
    Each instance carrying planned load (balanced?).
    – Shared storage access is equal.
    – Interconnect Load
    -Latency
    – High CPU usage - Oracle processes getting enough resources.?
    Thanks

  • Oracle rac 11gr2 + sga

    Hi all,
    I have a 2 nodes rac 11GR2 on linux redhat with 12Go RAM each one.
    Since 15 days, a dba add more memory on each node (+ 24Go RAM) and modify SGA like :
    On each node :
    create a pfile from spfile, modify memory_max_target on pfile (from 7Go to 8Go), and restart each instance from this pfile.
    Now, the problem are :
    Each node consume 36Go of 36Go RAM,
    The parameter spfile is empty (show parameter spfile).
    Do you an idea why all RAM is consumed on each node ?
    Thanks.

    Problem 1: Why is that a problem? How did you establish 36 Gb is used. The Unix tools are notoriously for providing incorrect information as the SGA is accounted for in every process.
    Problem 2: Evidently the "DBA' used an incorrect procedure to change these parameters, and didn't convert the pfile to spfile again, and started using the 'startup pfile' command.
    The action plan for this twofold
    - educate the "DBA' or don't hire him anymore
    - use the create spfile from pfile command, and restart the database.
    Sybrand Bakker
    Senior Oracle DBA

  • ORA-00354, ORA-00353 on RAC 11gR2

    Hello All,
    I have a database Oracle RAC 11gR2 on OEL linux 5.5 32bit.
    When i am trying startup my database I am facing the below errors: this error is occuring on the startup of any node
    ERROR at line 1:
    ORA-00354: corrupt redo log block header
    ORA-00353: log corruption near block 2651 change 1172351 time 10/12/2011
    13:22:43
    ORA-00312: online log 1 thread 1: '+DATA/orcl/onlinelog/group_1.261.761845161'It seems that my online redo log is corrupted. how can i solve that ?
    knowing that my database is running in NOARCHIVELOG mode and i do not have any backup.
    and why i am not able to start up any of the nodes? redo logs is not related to each node seperately ?
    I tried: srvctl start instance -d orcl -i orcl1 or srvctl start instance -d orcl -i orcl2
    but the same error, where is the High Availibilty in that case, the redo log file group_1 is for thread 1 only. SHould not be able to start Instance 2?
    Regards,
    Edited by: NB on Oct 13, 2011 5:12 PM

    since my database is runing in NOARCHIVELOG mode and i have no backups and the current is logfile was the corrupted one and my database was not starting.
    I solved that by ceating a pfile and adding the : allowresetlogs_corruption=TRUE
    regards,

  • Steps to stop / start CRS & ASM in RAC 11gr2

    Hello Gurus,
    Environment is as below:
    RAC 2 nodes
    Oracle RAC 11gr2
    Enterprise Linux Server release 5.5 (Carthage)
    I am new to Oracle RAC 11gr2 and facing some issues while stop / start crs & asm.
    We want to reboot both nodes and for that I have done following steps.
    1. srvctl stop database -d <db name> -- from one node
    Databse is down now.2. srvctl stop nodeapps -n <hostname> -- from both nodes
    services are down now.3. Now I want to stop asm
    $ export ORACLE_HOME=/u01/app/11.2.0/grid ( Grid Home)
    $ srvctl stop asm - This is not stopping ASM instance.
    4. crsctl stop crs -- this is also not working.
    I would appreciate if you please give me full steps.
    Thanks and Regards,

    In 11gr2, gsd remains offline. When I had checked with metalink, they said that it is fine.
    In 11gr2 you can stop all resouces as below
    <CRS_HOME>/bin/crsctl stop has
    or you can stop in the following sequence
    stop or relocate service using srvctl
    stop instnace using srvctl
    stop asm using srvctl
    stop nodeapps using srvctl
    stop cluster resources as root - <CRS_HOME>/bin/crsctl stop has
    To start
    <CRS_HOME>/bin/crsctl start has - it should bring all resources automatically
    verify the services status and start or relocate it back.

  • Error while deleting instance in 10g RAC

    Hi,
    I am trying to delete an instance in node 3 using DBCA. I am in node 2 and when I give username and password (Instance Management --> Delete Instance) i get the following error
    "SID given in connect descriptor could not be resolved.
    Connection to the database failed. Please make sure that service "xxxxxx" is registered with the listener. Username Sys has SYSDBA privleges, password is correct and then try again."
    The local_listener parameter is set to the listener name.
    Please provide suggestions...Its urgent.

    Hello,
    I think you should refer to this Doc ID:  269320.1 : Removing a Node from a 10g RAC Cluster ; this might be helpful to you. You can also try srvctl command to remove instance from the RAC and follow the instructions.
    Make sure you take backup of OCR before removing the node /instances.
    Can you connect from node2 to node 2 using explicit connection string, how is your tnsnames.ora configured? If not able to connect correct that issue and try again
      sqlplus username/password@NODE3_INSTANCE;
    Regards

  • How to restore a single instance database to RAC (10g) using RMAN ?

    Hi all,
    I have a single instance database configured using file system in a unique server, so now I need to restore this database using RMAN to a new RAC environment with two nodes and ASM also.
    Does anyone can help with this documentation or a link about any information about this restore using rman ?
    I tryied found on metalink but threres isn´t this specific case. Only how to convert single instance to 10g RAC, but without how to use with rman information.
    System: Windows 2003
    Oracle 10g R2
    Thanks.
    Wander(Brazil)

    Wander(Brazil) wrote:
    Hi all,
    I have a single instance database configured using file system in a unique server, so now I need to restore this database using RMAN to a new RAC environment with two nodes and ASM also.
    In essense you are really doing nothing more than restoring a backup on a new host. If you want a blow by blow detail of how to accomplish it take at http://www.oracledistilled.com/oracle-database/restore-database-to-another-host-using-rman
    In order to write the files to the ASM Disk groups you will use the SET NEWNAME FOR DATAFILE in your restore script. You will also need to create the ORACLE_BASE/admin/<DBSID> structure on all of node. Once you get the database completely restore you will need to edit the SPFILE to include the proper value for the CLUSTER* parameters and each the node specific parameters. Sorry that it is kind of higher level than what you are probably looking for but the link above and what I put here should get you were want to go.

  • Which file decide instance name in RAC 10g ?

    Which file decide instance name in RAC 10g ?
    How does RAC know which instance should start from which machine?
    Thanks.

    The spfile is NOT the correct answer, actually.
    1. The instance name for any Oracle instance, whether in a RAC or not, is derived from the value for the ORACLE_SID parameter which is in force at the time the startup command is issued. If you were to:
    export ORACLE_SID=SALES
    sqlplus / as sysdba
    startup...you would just have created an instance called SALES.
    2. The spfile (or init.ora if you're not using an spfile) contains a parameter called INSTANCE_NAME. That defaults to whatever ORACLE_SID is set to as an environment variable when the instance is started, hence point 1 above. But you can force an instance to acquire a non-SID name by deliberately setting it to something different. That's unusual to do, though, except in a RAC context where you want to subvert the default load balancing mechanism.
    2b. The spfile (or init.ora) also contains a parameter called DB_NAME -but that is the name of the database, not the name of the instance, and is therefore irrelevant for the purposes of working out how instances get their names,
    3. Neither of the above answers has got anything to do with RAC knowing what instance runs on which machine. That is the job of the Oracle Cluster Registry file (OCR), for which you have to provide about 100MB of space on a shared hard drive during the RAC installation itself.
    You populate that file by running DBCA to create your RAC instances (and DBCA then automatically updates the OCR to record the fact that it created instance X1 on Node A and X2 on Node B, and therefore that's what will happen in the future unless you change things).
    Or you can update the OCR yourself by using the SRVCTL utility. You'd do something like: srvctl add instance -d DB1 -i X3 -n C (add an instance called X3 to run on Node C as part of database DB1).
    A little more details about the OCR is available in Section 13 of this article, for example: http://www.dizwell.com/prod/node/26?page=0%2C5

  • Consumer Group/Resource Plan to use only one instance of a RAC

    What would be the way to create a Consumer Group/Resource Plan to use only one instance of a RAC? I have 10.1.0.5 database
    running on 10.1.0.5 RAC.
    Thanks,

    You should use "services" to limit workload to just one specific node of RAC:
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10739/create.htm#sthref400

  • Can we assign one Conc,Manager to any one instance of a RAC DB

    Hi All.
    Can we assign one concurrent request which is submitted by a particular Conc,Manager to any one instance of a RAC DB
    Thanks

    Does anyone have any documentation explaining how to do this? I've set up a new RAC service for batch processing -- I'd like some of my concurrent requests (all running through one Concurrent Manager) to use this RAC service. How do I tell a Concurrent Manager to use a specific RAC service? Does the Concurrent Manager have to point to a primary Application server (we also have PCP enabled), and then update the tnsnames.ora with the RAC service? I've tried that, but I still don't see how the request will be channeled through to the "batch01_svc" service. Thanks!

Maybe you are looking for

  • Deployment issue in weblogic 10.3

    Hi, I am facing the below error when am trying to deploy the ear on my weblogic server in Linux Env. I have gone through the posts here for similar problem and tried all the suggestions with no results. Tries changing the permissions on _WL_TEMP_APP_

  • How to send Java Mail with EXCEL attachment?

    I tried the following: ByteArrayDataSource bs = new ByteArrayDataSource (is, "application/excel"); as my datasource (all other apis are fine) But when I send this message with this datasource as attachment,I get a ParseException with the VM complaini

  • Pre-order number

    I pre-ordered my iPhone 6 this morning online and I remember seeing a pre-order number but I can't find the email. How can I get the order number to confirm its being processed?

  • Field selection in th Project Builder

    Hi PS gurus I want to make the Recipient field and the vendor field in the Purch. data tab of a Component mandatory How do i do that Can somebody help Amit Fernandes

  • HRMD_A IDoc in error not raising an event

    I have workflows enabled for IDocs in error. If an inbound order IDoc (ORDERS) arrives in status 51, it triggers a workflow. If an HR master data IDoc (message type HRMD_A) arrives in status 51, no workflow is triggered. Here is what I have checked: