Adding new database to RAC.

Instance not starting after adding new database to RAC.
CRS-0215: Could not start resource 'xxxxxxxxx.inst'.
PRKP-1001 : Error starting instance db on node host

Hi,
Can you check the tnsnames.ora for this iinstance on the node where you are trying to add the instance.
ex:
LISTENERS_MYRAC =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = inst1-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = inst2-vip)(PORT = 1521))
Regards,
vasu

Similar Messages

  • Adding new nodes in RAC Env

    http://www.oracle.com/technology/pub/articles/vallath-nodes.htmlAs per the above link; In setp 6. Before creating database in new node using dbca do we need to down database ??
    Thanks

    No

  • Manual of adding the new node on RAC with ASM

    Hello everbody
    Someone have the manual of the adding a new node on RAC with ASM for Solaris ?
    regards
    Spaulonci

    Go to http://www.oracle.com/technology/documentation/index.html, select your unknown database version and search for a manual named 'Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide'.
    Werner

  • Adding new column to production database

    I have to add a new timestamp column, that defaults to the current date/time, to an existing production database. The table is large - 150M records. I am trying to understand the ramifications of adding a new column to a table this large that gets hit often, mostly with inserts and reads. The column does allow null values and I am not going back and populating existing records with a value. Basically, I am looking for some best practice guidelines - how to prepare, what to expect, what other processes should be followed along with this schema update.

    Radiators wrote:
    Thanks, I have not found any %TYPE or %ROWTYPE dependencies on the table I am altering. But at the same time I do not understand how these types of dependencies would invalidate packages. I wouldn't be breaking any %TYPE dependency because I am not dropping columns, only adding a new one. And according to documentation for %ROWTYPE - "If columns are later added to or dropped from the table, your code can keep working without changes." Can you point me to Oracle documentation that describes your concern in detail? Thanks.you can test it yourself
    SQL> CREATE TABLE abc (c1 NUMBER);
    Table created.
    SQL> INSERT INTO abc
      2       VALUES (99);
    1 row created.
    SQL> CREATE OR REPLACE PROCEDURE test_proc
      2  AS
      3     v   abc%ROWTYPE;
      4  BEGIN
      5     SELECT c1
      6       INTO v
      7       FROM abc
      8       WHERE ROWNUM = 1;
      9  END;
    10  /
    Procedure created.
    SQL> SELECT object_name, status
      2    FROM user_objects
      3   WHERE object_name = 'TEST_PROC';
    OBJECT_NAME                STATUS
    TEST_PROC                    VALID
    SQL> ALTER TABLE abc ADD (c2 VARCHAR2(10));
    Table altered.
    SQL> SELECT object_name, status
      2    FROM user_objects
      3   WHERE object_name = 'TEST_PROC';
    OBJECT_NAME                 STATUS
    TEST_PROC                     INVALID
    SQL> you should also consider the chance that some where if people are using "select * into" using this table, which will fail since you added new column. i don't see any unusual performance bottlenecks by adding a new column. in case of the backups, yes the earlier backups will not have the column. if you restore it, you will see earlier table structure itself. i have one specific question. why are you not attempting this in development/test environment first? even if it is a simple insert, it's always important to do it in test environments before attempting on production db. one thing for sure i know is, after adding column, you will have to recompile all the invalid dependencies. i think, it's better if you attempt it in test db and come up with any issues you see rather than asking a general question where problematic scenarios are plenty and rarely unknown before hand.

  • New database creation in 10g RAC

    Hi,
    I'm trying to create a new database using DBCA in 2 node RAC cluster. When I select custom database and the password for sys and system users. In the next screen I select ASM and it is asking for password. When i give the password which i entered before for sys and system, it is not taking. Even i tried different password but getting an error password for user SYS is not valid. Any idea what the issue is?
    Thanks

    You must have created an ASM instance prior to creating the database. DBCA won't create an ASM instance alongside with a database.
    As the ASM instance apparently doesn't exist, you can't connect to it,
    Create an ASM instance first.
    Sybrand Bakker
    Senior Oracle DBA

  • Error when adding a new node to RAC 10g

    Hi all,
    I have a RAC 10g environment test in Linux Red Hat Umbreakble 5 with two nodes. This RAC is fine on 2 nodes.
    I want to add a new node (rac3) of the following way:
    - The node 1 (rac1) is started and the instance ORCL1 is online.
    - The node 2 (rac2) is offline. i.e the machine is off.
    - The node 3 (rac3). The machine is on and already configured
    So that when I execute the CRS_home\oui\bin\addnode.bat on node 1 and put the information of node 3 (Public node name, Private node name, Virtual host name) and press next I get the following message:
    OUI-35000: Fatal cluster error encountered (PRKC-1071 Nodes rac2 did not respond to ping in 30 seconds) - Sure: The machine is off;
    My question is: Can´t I add a new node on RAC if a node is off ?
    Anybody can help me.
    Thanks.
    (Wander Brazil)

    Interesting question.
    You might have better luck getting an answer if you ask where people discuss RAC, instead of asking where people report documentation issues. (Go to http://forums.oracle.com and scroll down to 'Grid Computing' to see RAC forums.)

  • Adding a database to the Oracle Restart Configuration

    Hi,
    I have:
    - 2 nodes - Linux RHEL 5
    - Grid Infrastructure 11.2.0.1
    - Database Standard Edition 11.2.0.1 + RAC
    - All database files on ASM (integrated with GI), software on local storage
    I manually created a clustered database and I am currently trying to add it the Oracle Restart Configuration. The first step is to create a cluster resource for the database using the 'srvctl add database' command. In the documentation I found [http://docs.oracle.com/cd/E11882_01/server.112/e10595/restart005.htm]
    Important:When you manually add a database to the Oracle Restart configuration, you must also add the Oracle grid infrastructure software owner as a member of the OSDBA group of that database. This is because the grid infrastructure components must be able to connect to the database as SYSDBA to start and stop the database.
    For example, if the host user who installed the grid infrastructure home is named grid and the OSDBA group of the new database is named dba, then user grid must be a member of the dba group.>
    In my test system I created the resource without adding the grid user to the OSDBA group of the database and all work fine (at least I don't see any problem). The database is correctly started every time the system starts.
    My question is why it is necessary to add the grid user to the osdba group?
    Regards,
    Tim

    Thanks for the reply.
    It's not so obvious for me. If it was written "...you should...", than it could be treated as recommended. I see "...you MUST also add..." and that for me means it's obligatory.
    When you create a database with DBCA, the grid user is not added to the OSDBA group of the database. I am trying to figure out why.
    Regards,
    Tim

  • Added new fields in vendor master in xk01 but data is not getting saved

    Hi experts,
    To add new fields in vendor master i have followed the following steps :
    1.) Appended a structure ZRTGS in LFA1 table with required fields and activated
    2.) Added new button in xk01( vendor master ) using spro -> logistics-general -> business partner -> vendors ->
    control ->adoption of customer's owaster data fields -> prepare modification free-enhancement of vendor master record
    Created a screen group ZR and defined label tab pages with function code ZRTGS and saved entries
    3.) Created a implementation for BADIs VENDOR_ADD_DATA and VENDOR_ADD_DATA_CS.
    4.) Created a program with my own subscreen for the required fields
    The button is getting displayed in XK01, XK02 and XK03 respectively. Whenever the button is clicked the subscreen with
    the fields is also displayed. But whenever i try to save the data in either XK01 or XK02 it is not getting saved in to the
    database table LFA1.
    Request your help in this regard.
    Thanks in Advance.

    Hi,
    You may need to check this include .
    EXIT_SAPMM06E_008  -->Import Data from Customer Subscreen for Purchasing Document
    Thanks,
    vamshi

  • Create a new Database in an other server using a copie of RMAN backup

    Hi all,
    I want to create an other instance for our production database. We have disk and tape in rman backup. My question is can i create a new database using our disk backup in an other server?
    If some procedure or steps is there, email it to my adresse [email protected]
    Hamid.
    Thanks

    By means of the use of Recovery Manager it is possible to duplicate a database out from a previously taken rman backup. The method will be outlined in the next few lines.
    Let's assume a source database named SRCDB and the target database, named GEMINI. A unix like environment is assumed, but it can be implemented on windows as well, just beware of the particular Oracle implementation on a windows platform (orapwd file name, service creation, path format)
    1. Create a password file for the Cloned (GEMINI) instance:
    orapwd file=/u01/app/oracle/product/9.2.0.1.0/dbs/orapwGEMINI password=password entries=10
    2. Configure tnsnames.ora and listner.ora
    Properly identify the database at the tnsnames.ora and have the instance manually registered against the listener.ora files, both files located at the $ORACLE_HOME/network/admin directory.
    2.a Manually register the database against the listener (listener.ora)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/9.2.0.1.0)
    (SID_NAME = GEMINI)
    2.b Added the target GEMINI to the tnsnames.ora
    GEMINI =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.mydomain.com)(PORT = 1521))
    (CONNECT_DATA =
    (ORACLE_SID = GEMINI)
    2.c Reload the listener
    lsnrctl reload
    3. Create a new init.ora for the cloned database.
    Next create an init.ora file for the cloned database. In case the same paths cannot be used on the target host, either because it is the same source host or because those paths are not reproducible on the target, then DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT may be required to be defined
    DB_NAME=GEMINI
    CONTROL_FILES=(/u02/oradata/GEMINI/control01.ctl,
    /u02/oradata/GEMINI/control02.ctl,
    /u02/oradata/GEMINI/control03.ctl)
    # Convert file names to allow for different directory structure.
    DB_FILE_NAME_CONVERT=(/u02/oradata/SRCDB/,/u02/oradata/GEMINI/)
    LOG_FILE_NAME_CONVERT=(/u01/oradata/SRCDB/,/u01/oradata/GEMINI/)
    # block_size and compatible parameters must match those of the source database
    DB_BLOCK_SIZE=8192
    COMPATIBLE=9.2.0.0.0
    4. Connect to the cloned instance
    ORACLE_SID=GEMINI; export ORACLE_SID
    sqlplus /nolog
    conn / as sysdba
    5. Create an SPFILE based on the init.ora
    CREATE SPFILE FROM PFILE='/u01/app/oracle/admin/GEMINI/pfile/init.ora';
    6. Start the database in NOMOUNT mode:
    STARTUP FORCE NOMOUNT;
    7. Connect to the TARGET, CATALOG and AUXILIARY databases.
    By means of the rman three connections are open, one for the Source Database (SOURCEDB), another for the Catalog database (RCAT), and one more for the cloned database (GEMINI)
    ORACLE_SID=GEMINI; export ORACLE_SID
    rman TARGET sys/password@SRCDB CATALOG rman/rman@RCAT AUXILIARY /
    8. Complete or Incomplete clone (recover)
    From the rman the database using one of the following commands:
    8.a Clone the database by means of a complete recover.
    DUPLICATE TARGET DATABASE TO GEMINI;
    8.b Clone the database up to a defined point in time in the past by means of an incomplete recover
    DUPLICATE TARGET DATABASE TO GEMINI UNTIL TIME 'SYSDATE-2';
    9. Process finished.
    Once the process is finished, the newly created GEMINI database is ready to be used as an independent new cloned database.
    Ref. RMAN Clone a Database
    ~ Madrid

  • Error when adding a database

    Hi
    I keep getting this error "Index was outside the bounds of the array. (microsoft.SQLserver.Smo)" when adding a new database.
    How can I fix this
    Thanks

    Hi,
    What version of SQL Server are you on?  What version of SSMS?
    Thanks, Andrew
    My blog...

  • Adding new node to the Clusterware fails with the root.sh script.

    Dear All,
    I had successfully added third node to the existing 2 node cluster. After adding new node I need to run the root.sh scripts, but it was faling with the below error.
    Please help me with the below issue:
    Instantiating scripts for add node (Monday, April 8, 2013 3:23:14 PM EDT)
    . 1% Done.
    Instantiation of add node scripts complete
    Copying to remote nodes (Monday, April 8, 2013 3:23:16 PM EDT)
    ............................................................................................... 96% Done.
    Home copied to new nodes
    Saving inventory on nodes (Monday, April 8, 2013 3:31:40 PM EDT)
    . 100% Done.
    Save inventory complete
    WARNING:
    The following configuration scripts need to be executed as the "root" user in each new cluster node. Each script in the list below is followed by a list of nodes.
    /u01/app/11.2.0/grid/root.sh #On nodes svphxwgdbprd06
    To execute the configuration scripts:
    1. Open a terminal window
    2. Log in as "root"
    3. Run the scripts in each cluster node
    The Cluster Node Addition of /u01/app/11.2.0/grid was successful.
    Root.SH Script Log:
    [root@svphxwgdbprd06 ~]# /u01/app/11.2.0/grid/root.sh
    Performing root user operation for Oracle 11g
    The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME= /u01/app/11.2.0/grid
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    The contents of "dbhome" have not changed. No need to overwrite.
    The contents of "oraenv" have not changed. No need to overwrite.
    The contents of "coraenv" have not changed. No need to overwrite.
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root script.
    Now product-specific root actions will be performed.
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
    Creating trace directory
    User ignored Prerequisites during installation
    OLR initialization - successful
    Adding Clusterware entries to inittab
    CRS-2672: Attempting to start 'ora.mdnsd' on 'svphxwgdbprd06'
    CRS-2676: Start of 'ora.mdnsd' on 'svphxwgdbprd06' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'svphxwgdbprd06'
    CRS-2676: Start of 'ora.gpnpd' on 'svphxwgdbprd06' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'svphxwgdbprd06'
    CRS-2672: Attempting to start 'ora.gipcd' on 'svphxwgdbprd06'
    CRS-2676: Start of 'ora.cssdmonitor' on 'svphxwgdbprd06' succeeded
    CRS-2676: Start of 'ora.gipcd' on 'svphxwgdbprd06' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'svphxwgdbprd06'
    CRS-2672: Attempting to start 'ora.diskmon' on 'svphxwgdbprd06'
    CRS-2676: Start of 'ora.diskmon' on 'svphxwgdbprd06' succeeded
    CRS-2676: Start of 'ora.cssd' on 'svphxwgdbprd06' succeeded
    ASM created and started successfully.
    Disk Group DATA created successfully.
    clscfg: -install mode specified
    clscfg: EXISTING configuration version 5 detected.
    clscfg: version 5 is 11g Release 2.
    Successfully accumulated necessary OCR keys.
    clscfg: Arguments check out successfully.
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Failed to initialize Oracle Cluster Registry for cluster, rc 105
    Oracle Grid Infrastructure Repository configuration failed at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6818.

    The document references posted already are very good ones. However, I would say that on personal experience (on Solaris and 10gR2) that the addnode tools gave me nothing but problems. Luckily, I was able to build a parallel cluster (with three nodes) on other hardware and then move the databases across via DataGuard. It was quicker and cleaner (and easier!) that way...
    Good luck!

  • TNS Protocol error in 11g when creating a new database

    Hi,
    I have installed 11g R2 64 Bit on Solaris 10 64 Bit. The installation happened successfully. Now when I use DBCA to create a new database it says ORA-12560 TNS:Protocol Adapter Error. I am accessing the server console and performing all operations there itself, I can't understand this issue.
    I have also created a listener.ora and tnsnames.ora and its running successfully (but don't really know if it is needed since I have not even created the database). The sqlnet.log shows following
    =====================================================
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/export/home/oracle/product/11.1.0/db_1/bin/oracle)(ARGV0=oracleTSG11G)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=sqlplus)(HOST=sol11oracle-vm)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Solaris: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Solaris: Version 11.2.0.1.0 - Production
    Time: 17-DEC-2009 10:30:52
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Protocol adapter error
    =====================================================
    Some excerpts from the trace is:
    =====================================================
    2009-12-17 11:14:38.776040 : nsopen:opening transport...
    2009-12-17 11:14:38.776097 : ntpcon:entry
    2009-12-17 11:14:38.776140 : ntpcon:toc = 1
    2009-12-17 11:14:38.776196 : sntpcall:entry
    2009-12-17 11:14:38.776221 : sntpcall:not detaching from parent with additional fork
    2009-12-17 11:14:38.796184 : sntpcall:hdl[IR]=13, hdl[IW]=12
    2009-12-17 11:14:38.796429 : sntpcall:result string is NTP8 0
    2009-12-17 11:14:38.796527 : sntpcall:Can't read from pipe; err[1] = 8
    2009-12-17 11:14:38.796571 : sntpcall:exit
    2009-12-17 11:14:38.796674 : ntpcon:exit
    2009-12-17 11:14:38.796755 : nserror:entry
    2009-12-17 11:14:38.796776 : nserror:nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=8, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    2009-12-17 11:14:38.796861 : nsopen:unable to open transport
    2009-12-17 11:14:38.796884 : nstoClearTimeout:entry
    =====================================================
    In /etc/host i have added server ip with host name.
    $ more /etc/host
    172.26.171.57 sol11oracle-vm
    The .profile of oracle user
    export TMP=/tmp
    export TMPDIR=$TMP
    export ORACLE_BASE=/export/home/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1
    export ORACLE_SID=TSG11G
    export PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:$ORACLE_HOME/bin
    Please suggest.

    $ more tnsnames.ora
    # tnsnames.ora Network Configuration File: /export/home/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    TSG11G =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TSG11G)
    $ tnsping tsg11g
    TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-DEC-2009 11:37:10
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /export/home/oracle/product/11.1.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TSG11G)))
    OK (50 msec)

  • Adding new Node in 10gR2(10.2.0.4) in AIX

    Hi Experts,
    i need your guidence actually we are planning to add new node in our exsisting two node RAC. i need a dacument or refrence links that can guide me in adding new node.
    your help will be very helpfull for me.thanx in advance
    regards,

    Hi,
    you can drive some tests using following docs:
    http://www.smaliz.com/notes/10g-AddNode-RAC-ASM-AIX.pdf
    http://blogs.oracle.com/AlejandroVargas/gems/RAC10gR2AddNode.pdf
    Or refer to the RAC admin books that you can find on http://tahiti.oracle.com/
    HTH,
    Thierry

  • Mailbox Issues in New Databases in DAG

    Ran across a strange problem after moving mailboxes into 2 new Databases in DAG. We have a 2 Server DAG that
    had 2 existing DBs. We created 3 additional DBs and planned on moving all MBs over to reclaim space from the older DBs. After moving 30 or so Mbs to the new Databases we found that while mailflow functioned, we could not access any shared mailboxes or mailboxes
    that had full control permissions could not be added. Users that had been moved but had shared MBs on another DB in Outlook would get error messages that Folders could not be expanded or Exchange Server was unreachable, all while mail flow was functioning.
    Moving these users back to the original DBs solves the issue. 
    Any ideas what could be happening to the new DBs added to the DAG? The DBs were mounted and copies were healthy.

    Hi ocean,
    Thank you for your question.
    Did you rebuild profile to check if the issue persist after we move mailbox to new DB?
    Are there multiple DCs in your organization? And please make sure sync is no problems between DCs.
    After we move mailbox, we could check if shared permission or Full Access Permission is missing on recipient mailbox.
    We suggest we post the entire error information to
    [email protected] for our troubleshooting.
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Jim Xu
    TechNet Community Support

  • Newbie....  How do I create a new database in mysql????

    I have added the mysql service, but I have no idea where the front end is, or how to access it so that I can create a new database, and set the user name and PW for this database??? I am used to using things like MAMP and XAMP, where it has the web front end. Does OSX server have the same thing? I want to configure a test Joomla test site.... Thank you...

    There's no built-in GUI for managing MySQL in Mac OS X, but you're free to install any of the MySQL tools to do so if you're not up to managing it via the command line.
    There's the free PHPMyAdmin, or the commercial NaviCat, amongst others.

Maybe you are looking for