Now to delete a RAC database manually

Hi,
Could someone provide the neccessary steps to drop a rac database manually?
I ran dbca to delete the database. It hanged after delete the datafiles. I run dbca again and still shows the database as disabled but is not able to remove it.
Thanks
Gustavo

So no version number, no details, you just went in and tried something and it didn't work and you want us to help you.
Hmmmmm. <g>
Lets go back to basics.
What version number (3+ decimal places)
What operating system?
What storage solution? ASM? OCFS? NFS?
Did you drop the clusterware?
Oracle rarely works well when at first you just guess and then ask for help. <g>
Give us enough details to be able to help you.

Similar Messages

  • Manual creation of Oracle RAC Database

    Hello Guru's,
    I successfully installed Oracle Grid(clusterware) and Oracle RDBMS 11.2.0.1.0 for RAC containing 2 nodes on Linux 5.3 64 bit.
    All the clusterware services and ASM instance are running fine on both nodes.
    Now im planning to create database manually on node1 (RAC-NODE1).
    1) configure the environmental variables as follows
    export TMP=/tmp
    export ORACLE_HOSTNAME=`hostname`
    export ORACLE_SID=finance1
    export ORACLE_UNQNAME=finance
    export ORACLE_BASE=/rdbms1/app/oracle/
    export ORACLE_HOME=/rdbms1/app/oracle/product/11.2.0/db_home/
    export ORACLE_TERM=xterm
    export PATH=$ORACLE_HOME/bin:$PATH:.
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    2) created the pfile and modified the parameters as follows
    db_name='finance'
    processes = 200
    audit_trail ='db'
    db_block_size=8192
    db_domain='vod.com'
    diagnostic_dest='/oradump/oradata/finance/dump'
    sessions=200
    remote_login_passwordfile='EXCLUSIVE'
    undo_tablespace='UNDOTBS1'
    control_files = +CTRL
    compatible ='11.2.0'
    job_queue_processes = 10
    undo_management = 'AUTO'
    finance1.instance_name = finance1
    db_create_file_dest = +DBFILE
    db_create_online_log_dest_1 = +REDO1
    db_create_online_log_dest_2 = +REDO2
    3) Created the password file as follows
    $ orapwd file=orapwfinance1 passwors=syspassword entries=10
    4) edit the /etc/oratab file as follows
    finance1:/rdbms1/app/oracle/product/11.2.0/db_home:N
    5) created the rac db script as follows.
    CREATE DATABASE FINANCE
    DATAFILE '+DBFILE' SIZE 500M
    AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL
    SYSAUX DATAFILE '+DBFILE' SIZE 500M
    AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED
    DEFAULT TEMPORARY TABLESPACE TEMP
    TEMPFILE '+DBFILE' SIZE 100M AUTOEXTEND ON NEXT 10M MAXSIZE 500M
    UNDO TABLESPACE UNDOTBS1
    DATAFILE '+DBFILE' SIZE 100M AUTOEXTEND ON NEXT 10M MAXSIZE 500M
    DEFAULT TABLESPACE USERDATA
    DATAFILE '+DBFILE' SIZE 100M AUTOEXTEND ON NEXT 10M MAXSIZE 500M
    LOGFILE
    GROUP 1 ('+REDO1','+REDO2') SIZE 20M,
    GROUP 2 ('+REDO1','+REDO2') SIZE 20M,
    GROUP 3 ('+REDO1','+REDO2') SIZE 20M
    MAXINSTANCES 8
    MAXLOGHISTORY 300
    MAXLOGFILES 64
    MAXLOGMEMBERS 5
    MAXDATAFILES 150
    USER SYS IDENTIFIED BY "sys_123"
    USER SYSTEM IDENTIFIED BY "system_123";
    6) started the instance as follows.
    $ sqlplus / as sysdba
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 217157632 bytes
    Fixed Size 2211928 bytes
    Variable Size 159387560 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 5226496 bytes
    SQL> @rac_db.sql
    CREATE DATABASE FINANCE
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '+CTRL'
    ORA-15045: ASM file name '+CTRL' is not in reference form
    ORA-17502: ksfdcre:5 Failed to create file +CTRL
    ORA-15081: failed to submit an I/O operation to a disk
    It shows that oracle unable to create control file on +CTRL diskgroup, i found that there is a problem with permissions on disks in diskgroups.
    brw-rw-r-- 1 grid asmadmin 8, 49 Apr 8 04:25 CTRLDISK1
    brw-rw-r-- 1 grid asmadmin 8, 50 Apr 8 04:25 CTRLDISK2
    brw-rw-r-- 1 grid asmadmin 8, 51 Apr 8 04:25 CTRLDISK3
    brw-rw-r-- 1 grid asmadmin 8, 52 Apr 8 04:25 CTRLDISK4
    since all the disks in diskgroup has 664 permision and owned by grid user primary group is asmadmin.
    # id grid
    uid=1001(grid) gid=501(oinstall) groups=501(oinstall),504(asmadmin),505(asmdba),506(asmoper)
    # id oracle
    uid=1002(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),503(oper),505(asmdba)
    please help me to overcome the above problem.
    regards,

    Thanks for comments,
    I successfully created the database, once i restared the database it is unbale to mount because of unbale to open +CTRL group file.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 217157632 bytes
    Fixed Size 2211928 bytes
    Variable Size 159387560 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 5226496 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    alert log:
    ORACLE_BASE from environment = /rdbms1/app/oracle/
    Thu Apr 11 09:36:34 2013
    ALTER DATABASE MOUNT
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: '+CTRL'
    ORA-17503: ksfdopn:2 Failed to open file +CTRL
    ORA-15045: ASM file name '+CTRL' is not in reference form
    ORA-205 signalled during: ALTER DATABASE MOUNT...
    Thu Apr 11 09:36:42 2013
    NOTE: initiating MARK startup
    raw devices:
    # ls -l /dev/sd*
    brw-rw-r-- 1 grid asmadmin 8, 16 Apr 11 09:04 /dev/sdb
    brw-rw-r-- 1 grid asmadmin 8, 17 Apr 11 09:51 /dev/sdb1
    brw-rw-r-- 1 grid asmadmin 8, 18 Apr 11 09:51 /dev/sdb2
    brw-rw-r-- 1 grid asmadmin 8, 19 Apr 11 09:51 /dev/sdb3
    brw-rw-r-- 1 grid asmadmin 8, 20 Apr 11 09:45 /dev/sdb4
    brw-rw-r-- 1 grid asmadmin 8, 32 Apr 11 09:04 /dev/sdc
    brw-rw-r-- 1 grid asmadmin 8, 33 Apr 11 09:30 /dev/sdc1
    brw-rw-r-- 1 grid asmadmin 8, 34 Apr 11 09:30 /dev/sdc2
    brw-rw-r-- 1 grid asmadmin 8, 35 Apr 11 09:30 /dev/sdc3
    brw-rw-r-- 1 grid asmadmin 8, 36 Apr 11 09:05 /dev/sdc4
    brw-rw-r-- 1 grid asmadmin 8, 48 Apr 11 09:04 /dev/sdd
    brw-rw-r-- 1 grid asmadmin 8, 49 Apr 11 09:51 /dev/sdd1
    brw-rw-r-- 1 grid asmadmin 8, 50 Apr 11 09:51 /dev/sdd2
    brw-rw-r-- 1 grid asmadmin 8, 51 Apr 11 09:51 /dev/sdd3
    brw-rw-r-- 1 grid asmadmin 8, 52 Apr 11 09:30 /dev/sdd4
    brw-rw-r-- 1 grid asmadmin 8, 64 Apr 11 09:04 /dev/sde
    brw-rw-r-- 1 grid asmadmin 8, 65 Apr 11 09:51 /dev/sde1
    brw-rw-r-- 1 grid asmadmin 8, 66 Apr 11 09:51 /dev/sde2
    brw-rw-r-- 1 grid asmadmin 8, 67 Apr 11 09:51 /dev/sde3
    brw-rw-r-- 1 grid asmadmin 8, 68 Apr 11 09:30 /dev/sde4
    brw-rw-r-- 1 grid asmadmin 8, 80 Apr 11 09:04 /dev/sdf
    brw-rw-r-- 1 grid asmadmin 8, 81 Apr 11 09:51 /dev/sdf1
    brw-rw-r-- 1 grid asmadmin 8, 82 Apr 11 09:51 /dev/sdf2
    brw-rw-r-- 1 grid asmadmin 8, 83 Apr 11 09:51 /dev/sdf3
    brw-rw-r-- 1 grid asmadmin 8, 84 Apr 11 09:30 /dev/sdf4
    brw-rw-r-- 1 grid asmadmin 8, 96 Apr 11 09:04 /dev/sdg
    brw-rw-r-- 1 grid asmadmin 8, 97 Apr 11 09:51 /dev/sdg1
    brw-rw-r-- 1 grid asmadmin 8, 98 Apr 11 09:51 /dev/sdg2
    brw-rw-r-- 1 grid asmadmin 8, 99 Apr 11 09:51 /dev/sdg3
    brw-rw-r-- 1 grid asmadmin 8, 100 Apr 11 09:30 /dev/sdg4
    brw-rw-r-- 1 grid asmadmin 8, 112 Apr 11 09:04 /dev/sdh
    brw-rw-r-- 1 grid asmadmin 8, 113 Apr 11 09:51 /dev/sdh1
    brw-rw-r-- 1 grid asmadmin 8, 114 Apr 11 09:51 /dev/sdh2
    brw-rw-r-- 1 grid asmadmin 8, 115 Apr 11 09:51 /dev/sdh3
    brw-rw-r-- 1 grid asmadmin 8, 116 Apr 11 09:30 /dev/sdh4
    asm disks:
    [09:52 AM [email protected] disks]# ll
    brw-rw-r-- 1 grid asmadmin 8, 65 Apr 11 09:05 ARCLOGDISK1
    brw-rw-r-- 1 grid asmadmin 8, 66 Apr 11 09:05 ARCLOGDISK2
    brw-rw-r-- 1 grid asmadmin 8, 67 Apr 11 09:05 ARCLOGDISK3
    brw-rw-r-- 1 grid asmadmin 8, 68 Apr 11 09:05 ARCLOGDISK4
    brw-rw-r-- 1 grid asmadmin 8, 49 Apr 11 09:05 CTRLDISK1
    brw-rw-r-- 1 grid asmadmin 8, 50 Apr 11 09:05 CTRLDISK2
    brw-rw-r-- 1 grid asmadmin 8, 51 Apr 11 09:05 CTRLDISK3
    brw-rw-r-- 1 grid asmadmin 8, 52 Apr 11 09:05 CTRLDISK4
    brw-rw-r-- 1 grid asmadmin 8, 33 Apr 11 09:05 DBFILEDISK1
    brw-rw-r-- 1 grid asmadmin 8, 34 Apr 11 09:05 DBFILEDISK2
    brw-rw-r-- 1 grid asmadmin 8, 35 Apr 11 09:05 DBFILEDISK3
    brw-rw-r-- 1 grid asmadmin 8, 36 Apr 11 09:05 DBFILEDISK4
    brw-rw-r-- 1 grid asmadmin 8, 113 Apr 11 09:05 FRADISK1
    brw-rw-r-- 1 grid asmadmin 8, 114 Apr 11 09:05 FRADISK2
    brw-rw-r-- 1 grid asmadmin 8, 115 Apr 11 09:05 FRADISK3
    brw-rw-r-- 1 grid asmadmin 8, 116 Apr 11 09:05 FRADISK4
    brw-rw-r-- 1 grid asmadmin 8, 81 Apr 11 09:05 REDODISK1
    brw-rw-r-- 1 grid asmadmin 8, 82 Apr 11 09:05 REDODISK2
    brw-rw-r-- 1 grid asmadmin 8, 83 Apr 11 09:05 REDODISK3
    brw-rw-r-- 1 grid asmadmin 8, 84 Apr 11 09:05 REDODISK4
    brw-rw-r-- 1 grid asmadmin 8, 97 Apr 11 09:05 REDODISK5
    brw-rw-r-- 1 grid asmadmin 8, 98 Apr 11 09:05 REDODISK6
    brw-rw-r-- 1 grid asmadmin 8, 99 Apr 11 09:05 REDODISK7
    brw-rw-r-- 1 grid asmadmin 8, 100 Apr 11 09:05 REDODISK8
    brw-rw-r-- 1 grid asmadmin 8, 17 Apr 11 09:05 VOTEDISK1
    brw-rw-r-- 1 grid asmadmin 8, 18 Apr 11 09:05 VOTEDISK2
    brw-rw-r-- 1 grid asmadmin 8, 19 Apr 11 09:05 VOTEDISK3
    brw-rw-r-- 1 grid asmadmin 8, 20 Apr 11 09:05 VOTEDISK4
    [09:53 AM [email protected] ~]# ls -l /rdbms1/app/oracle/product/11.2.0/db_home/bin/oracle
    -rwsr-s--x 1 oracle asmadmin 210824720 Apr 8 13:39 /rdbms1/app/oracle/product/11.2.0/db_home/bin/oracle
    I know this problem is coming for improper assiging of permissions, but i could not pin point. kindly clarify the same.
    one more thing i need to know.., whenever i rebooted nodes, both of raw devices and asm disks are come to default permission brw------, i have to change every time to brw-rw-r--. is there any way to make these disks and devices permissions make permenet.
    Thanks in advance.

  • Creating Oracle 11g Database Manually on ASM on 11g R2 Grid

    Hi:
    Earlier added this issue alongwith Grid installation. Only Jorg replied to me but could not find a complete solution. So thought of starting a new thread.
    Wanted to know if any one of you have successfully created Oracle Database Manually on ASM on Oracle 11g R2 Grid.
    I have installed Oracle 11g R2 grid (grid user) and Oracle 11g R2 DB software succesfully (oracle user).
    Now trying to create a database manually on ASM as Oracle user.
    First I create an pfile in $ORACLE_HOME/dbs
    then I started by db on nomount stage. when I create a spfile on to my ASM diskgroup I get
    I have created 2 diskgroups '+DGASMSPFILE' (ASM Spfile) and '+DGDBDATA' (for database)
    Grid is up and running.
    From Oracle user:
    Have created a sample initDBRAC.ora
    Now I want to create Oracle Database Global Spfile into '+DGASMSPFILE'
    export ORACLE_SID=DBRAC
    $ sqlplus / as sysdba
    SQL> create spfile='+DGASMSPFILE/spfileDBRAC.ora' from pfile;
    ORA-17502:ksfdcre:4 failed to create file +DGASMSPFILE/spfileDBRAC.ora
    ORA-12547: TNS lost contact
    "Oracle user" should have privileges to access ASM diskgroup right? What is the permission set for /dev/sdc* (earlier it was root:oinstall I changed it to grid:oinstall even then no difference.
    Trace output:
    ASM_DISKSTRING= /dev/sdc*
    ***********************************************************************1st trace file
    Fatal NI connect error 12547, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/crs/11.2.0/grid/bin/oracle)(ARGV0=oracle+ASM1_o000_dbrac)(ENVS='ORACLE_HOME=/crs/11.2.0/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(enable=setuser)(CONNECT_DATA=(CID=(PROGRAM=oracle@skyit6)(HOST=skyit6)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Linux: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 01-JUN-2011 01:27:07
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS for Linux: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 01-JUN-2011 01:27:07
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS-12547: TNS:lost contact
    ns secondary err code: 12560
    nt main err code: 517
    TNS-00517: Lost contact
    nt secondary err code: 32
    nt OS err code: 0
    ERROR: Failed to connect with connect string: (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/crs/11.2.0/grid/bin/oracle)(ARGV0=oracle+ASM1_o000_dbrac)(ENVS='ORACLE_HOME=/crs/11.2.0/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(enable=setuser))
    Wed Jun 01 01:27:07 2011
    ERROR: slave communication error with ASM; terminating process 16772
    Errors in file /oraeng/app/oracle/product/diag/rdbms/dbrac/DBRAC/trace/DBRAC_ora_16772.trc:
    Regards
    Dinesh

    Hi Sebastian:
    When I installed grid software, oracle db software and created oracle db manually things worked fine.
    When I restart the RAC environment I found the following issues:
    1) all the resources does not come up automatically, once i issue crs_start -all all the services comes up. (most of the resources related to node1 comes up but cluster resources related to node2 does not come up) crsctl check crs shows that things are online.
    2) wanted to recreate a database manually after restarting the RAC enviroment. To start of as usual tried to create a spfile in ASM disk "Create spfile='+DGDBSPFILE' from pfile'
    I get ORA-17502:ksfdcre:4 failed to create file +DGDBSPFILE'
    12547: TNS: lost contact
    looks like permission problem.
    The same command worked before restarting the RAC environment. Pls let me know if I am missing out anything.
    Is it because i am unable to access ASM instance.
    3) As you had mentioned tried to set the sbit by executing the following statement:
    $ /opt/grid/bin/setasmgidwrap o=/opt/oracle/product/11.2.0/db/bin/oracle
    should this be put into "rc" folder in linux so that it gets set everytime linux starts up. because once i restart the permission get changed.
    I should execute it from grid user to change the permission of 'oracle' binary in 'oracle user' right?
    Can you explain me why is this required (sbit).
    Thanks.
    Regards
    Dinesh

  • Rebuilding RAC database from RAC database

    Hi All,
    Oracle : 10.2.0.4
    OS : Linux
    I am rebuilding a new RAC database from different RAC database manually from hot bacckup.
    Everthing is ok for me but when we try to recoer the new db it will asks you archs to apply.
    It will prompt you for the first arch from any thread , after applying the 1st it will not prompt you without giving next arch sequence no from any thread.
    I spent time on it and finally get to know that its an oracle bug .
    I just want to know wheather is thr any options for us by which we can know the arch sequence no.
    Any suggestions wud b appreciated.
    Thanks.
    Virender

    Hi Hemant,
    I know the v4recovery_log option to check the next archive.
    ut below is the situation m facing.
    M trying to apply the arch asked by oracle but still its not applying it and showig it in v$recovery_log. Kindly check teh below output:
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 5033164800 bytes
    Fixed Size 2090880 bytes
    Variable Size 2097154176 bytes
    Database Buffers 2919235584 bytes
    Redo Buffers 14684160 bytes
    SQL> @controlfile.sql
    Control file created.
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 135795310 generated at 03/25/2010 16:05:37 needed for thread
    3
    ORA-00289: suggestion :
    /etrade/plt/eeo/dbs/PLTEC2R/arch/arch_PLTEC2R_3_1585_710012162.log
    ORA-00280: change 135795310 for thread 3 is in sequence #1585
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /etrade/plt/eeo/rac/PLTEC2R1/bkup/bkup1/arch_PLTEP2R_3_1585_710012162.log
    ORA-00279: change 135795310 generated at needed for thread 1
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /etrade/plt/eeo/rac/PLTEC2R1/bkup/bkup1/arch_PLTEP2R_3_1586_710012162.log
    ORA-00325: archived log for thread 1, wrong thread # 3 in header
    ORA-00334: archived log:
    '/etrade/plt/eeo/rac/PLTEC2R1/bkup/bkup1/arch_PLTEP2R_3_1586_710012162.log'
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1:
    '/etrade/plt/eeo/dbs/PLTEC2R/data1/PLTEC2R.system_01.dbf'
    SQL> select * from v$recovery_log;
    THREAD# SEQUENCE# TIME
    ARCHIVE_NAME
    3 1585 25-MAR-10
    /etrade/plt/eeo/dbs/PLTEC2R/arch/arch_PLTEC2R_3_1585_710012162.log

  • Help needed in deleting nodes from RAC database

    Our DB is 10g RAC database and the servers are Window 2003 server. Initially the database was configured to have 4 nodes. For some reason we stopped the instances in the first two nodes and the current database is running on node3 and node4. I queried the v$thread view and it shows 3 records. Thread 2 is closed and disabled. Thread 3 is open and public and thread 4 is open and private. Now we need to disconnect nodes 1 and 2 from RAC db and cluster ware (We use Oracle cluster ware) and plan to use those two servers for other purposes. Although I read through the Oracle doc regarding deleting node from RAC “11 Adding and Deleting Nodes and Instances on Windows-Based Systems” and wrote down the steps we need to take but I am still not comfortable in doing it since it is production env and we don’t have any dev env to practice those steps. So I would like to borrow your experiences and your lessons learned while you were doing those. Please share your thoughts and insights with us.
    Thank you so much for your help,
    Shirley

    what's your full version? I can warn about specific issues in 10.1.0.3 and 10.2.0.1 - for example, in some cases (depending on how the listener was configured), it will be impossible to delete the listener for the deleted node. Known bug.
    To avoid many many known bugs, you may want to upgrade to at least 10.2.0.2 before removing a node (from my experience, this is the first stable RAC version).
    In any case, deleting a node is a rather delicate process. I really really recommend practicing. Take any pc/laptop, install VMWARE, define two virtual machines, install RAC and remove one node. It will take you an extra day or two, and could save your production.

  • How to register RAC database to new listener manually in 10g?

    Hi Rac Experts,
    OS : Red Hat Enterprise Linux AS release 3 (Taroon Update 6)
    Oracle 10.2.0.2.0 database
    I am working on to register my two node RAC database to the new listener which i have created manually, after listener creation when i start the listener it only handles local instance but not the remote instance. Please advice....
    Please note that netca is not working on this machine and i am working from remote location, so i don't have gui access from here.
    Following is my listener on node1:
    LISTENER_OR44D1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = virtual ip)(PORT = 1527)(IP = FIRST)))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = actual ip)(PORT = 1527)(IP = FIRST)))
    SID_LIST_LISTENER_OR44D1 =
    (SID_LIST =
    (SID_DESC = (ORACLE_HOME = /u01/app/oracle/product/oracle10/db)(SID_NAME = or44d1))
    -- PTLDBA.

    Hi,
    I did as per you advice but facing below error, i am i missing anything here. Please advice...
    SQL> show parameter liste
    NAME TYPE VALUE
    local_listener string LISTENER_or44d1
    remote_listener string LISTENERS_or44d
    SQL>
    SQL> show parameter service
    NAME TYPE VALUE
    service_names string or44d
    SQL>
    SQL> alter system set local_listener=or44d1 instance='or44d1';
    alter system set local_listener=or44d1 instance='or44d1'
    ERROR at line 1:
    ORA-02065: illegal option for ALTER SYSTEM
    SQL>
    SQL> alter system set local_listener='or44d1' instance='or44d1';
    alter system set local_listener='or44d1' instance='or44d1'
    ERROR at line 1:
    ORA-02065: illegal option for ALTER SYSTEM
    --PTLDBA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Unable to startup 12c RAC database, can't open spfile in ASM

    hello,
    I'm testing 12cRAC database on RHEL5 and need your help to troubleshoot and fix the following issue  -
    DBCA fails at the end of the configuration to create and startup new RAC database with the following errors
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file '+DATA/TDB1/spfileTDB1.ora'
    ORA-17503: ksfdopn:2 Failed to open file +DATA/TDB1/spfileTDB1.ora
    ORA-15056: additional error message
    ORA-17503: ksfdopn:2 Failed to open file +DATA/TDB1/spfiletdb1.ora
    ORA-01017: invalid username/password; logon denied
    I also tried executing script (which was created by DBCA) to create the new DB  manually and got the same results - it happens during first attempt to start it up using SPFILE after new DB was successfully created (it was started up using pfile)
    Clusterware with ASM install was successful, binaries were also installed without issues,
    cluster seems healthy, I see correct files within ASM using asmcmd etc ..
    got stuck here and need some directions ... very confused by ORA-01017 password error
    wonder if anyone had same or similar issues ?
    Thank you !

    Fixed.
    Thank you everyone for suggestions and recommendations -
    ASM is accessible using asmcmd and I can see all the DB files incuding spfile, they were created by DBCA, alert log showed same information I posted
    After extensive troubleshooting and testing the issue was idedntified and fixed - 'dba' group needs to be the primary group for 'oracle' user, not the secondary one. I suspected that something was not right with 'oracle' user access to asm based on that strange password error. There is more I need to check as the issue and fix with swapping groups seems strange. Secondary group is not enough ti have proper rights ??? my first reaction was - seriously ? wtf ?
    Anyway - I need to move one now ...
    Thank you again !

  • Uninstall Oracle 11gr2 RAC database in grid infrastructure

    Hi all,
    After several attempt to install my Oracle database RAC with grid infrastructure, i want now to do a fresh installation as i have attempted 3 times and now i have all the procedure on installing the database and RAC.
    Actually i have installed it correctly but now i want to cleanup my server and remove all oracle installation directory and do a fresh installation.
    My question is what is the procedure to uninstall an Oracle RAC database and Clusterware with grid infrastucture and cleanup oracle base installation.
    The architecture is:
    GRID and clusterware: Oracle grid 11gR2
    Database: Oracle database 11gR2
    Database and grid storage: ASM
    OS: linux centos 6
    Thank you.
    Raluce.

    The deinstallation of Oracle GI could be not so easy thing to do, because it contains many components one should be aware of.  The proper deinstall is important because it will safe you from many issues with next install on these servers
    In general we need to be sure that:
    1. all sowftware stopped properly
    2. removed from oraInventory
    3. binaries removed
    4. /etc/oracle cleared
    5. ocr and votes cleared using dd
    6. /etc/oratab updated
    7. .profile updated
    8. init.d files in /etc/ cleard
    Usually its recommended to use deconfigure scripts, if they fails for some reason, the manual procedure should be followed.
              How to Deconfigure/Reconfigure(Rebuild OCR) or Deinstall Grid Infrastructure [ID 1377349.1]
    How to Deinstall Oracle Clusterware Home Manually [ID 1364419.1]
    As general recommendation its good idea to save your crs configuration for future reference.
    Regards
    Ed Rudans
    http://erudans.blogspot.com

  • NETCA listener configuration error for RAC database

    Hi,
    WE have a RAC setup on 2 nodes and now we want to change the default listener port for RAC database.
    Database ver: 10.2.0.4
    We now that srvctl does not work to add listener manually to CRS.
    We are now using netca to create new listener on both the RAC nodes but it gives error throwing :
    Problem in configuration : Node(S): hostname
    Try again...
    When we try to start the listener say listener_I it throws following error:
    Problem in configuration :node1
    Listener start to failed:Listener may already be running
    CRS-0215:Could not start resource
    This is urgent
    any help is appreciated.
    Regards,
    Milan

    user12073248 wrote:
    How you fix it? write to [email protected]
    Hi Mauricio,
    In this forum we help for free regardless of priority.
    First you try to help in the forum if the author of the post request your e-mail you give to him.
    Hope you understand it.
    Thanks in advance for doing your part to make this community as valuable as possible for everyone!
    Levi Pereira

  • Upgrade 10.2.0.2 RAC database to 10.2.0.4

    Hi,
    I have two RAC databases(say dev and qa) having the same ORACLE_HOME. The oracle version is 10.2.0.2.
    Now I want to upgrade only the Dev database to 10.2.0.4.
    For this upgarde process, I am planning to proceed as below
    1) Install 10.2.0.2 binaries in new Oracle Home
    2) Apply the patch for 10.2.0.4 on 10.2.0.2 new home to upgrade the binaries to 10.2.0.4
    3) Change the reference of the oracle Database i.e. Dev only to the new oracle home using srvctl
    4) Then start the database in startup upgrade and run catpatch.sql .
    I am not sure whether it is the correct way to proceed.
    Please let me know is it the correct way to follow for upgradation, if not please give the excat possible way to upgrade to 10.2.0.4
    Thanks in advance,
    Mahi

    If you want a step by step description of exactly what commands to execute, you would need to post more information than you would ever divulge. Then someone would surely write the commands for you. But then, they would also have to charge you because that's what consultants are for.
    Have you read the README that comes along with the upgrade? Have you read the installation manuals for your as of yet undisclosed platform?
    http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b14265/toc.htm#NTDNX110

  • Recreating a database manually

    Hi,
    I have a database and a full import does not work well. So the suggestion was to recreate the database. To recreate the database manually I deleted first: datafiles, control files, archive, redo log. I forgot to shutdown. Now if I want to startup in nomount to run the script for manually creating the database is necessary to have control files (which were deleted).
    What to do?
    Thank you,
    Mihaela

    Check the udump directory, if it is still around. If you executed an 'alter database backup controlfile to trace' any time recently, you will have a trace file that contains everything you need to rebuild the control file. Also check bdump for the alert log. When you start the database, the parameters that are set to nondefault values are recorded in the alert log. You can recreate an init.ora file with those values to use when you create your database.
    One option is to create a simple database, create the user that owns the schema, and try the import to bring the database in. Best of luck in recovering.

  • Application v/s RAC database

    Hi Team,
    Please clear me these doubts
    As of now my application connects to the single instance oracle10g database
    with IP, port and service
    ex: 192.168.2.79:1521:orcl
    Fine,
    now we have a newly set 2 node RAC setup on RHEL4
    how can i connect application to the RAC Database?
    i have following scenarios
    1. if i connect my application to node1's public ip:port:service
    if node1 fails how failover happens2. Is there anything required for the application to explicitly specify for connecting RAC database 2 nodes
    if you are not clear with above
    my application identifies any single instance oracle database with IP:port:service
    how can i make this to work for RAC databaseCan anyone please lighten me on this.
    Thanks in Advance
    AJ

    You didn't post a version and 10g RAC is a different animal from 9i RAC.
    A client will always be connected to 1 instance only.
    Other than that I recommend you read up on Transparent Application Failover (in a standard install your tnsnames.ora already has been configured for TAF) and on FCF for Oracle 10g. Both are in the Net administrators manual.
    Sybrand Bakker
    Senior Oracle DBA

  • Restoration of ASM/RAC database to another clustered set of servers for DataGuard implementation

    Hi all,
    I've been working with single instance Oracle DBs for several years and we're now looking into RAC. I'm trying to gather as much info as possible in areas I think may be challenging if/when we implement RAC.
    Can someone please help me with some info with regards to the scenarion below:
    Assuming I already have a 2 node RAC database running and I want to set-up a failover RAC database, would the following steps be correct(assuming 11g):
    Configure hardware, networking and O/S for 2 node RAC cluster (I know there's a lot in this single line, but let's just assume that's all done)
    Configure disks for ASM
    Clusterware installation
    Oracle ASM software installation
    Oracle11g software installation with RAC option
    Database creation
    ***I'm not sure of the steps after database creation:
    Export primary database up to a specific SCN (data pump gives the ability to specify scn)
    Import into failover database
    Switch on dataguard and sync failover starting from scn specified at export.
    Please, help correct these steps and any useful link where this process is treated thoroughly would be highly appreciated.

    This is a very high level overview of the steps, but here are some additions/amendments I can make:
    Clusterware installation
    Oracle ASM software installation
    -- The above 2 steps are done at the same time. In 11g, the Oracle 11g Grid Infrastructure includes both the Clusterware and ASM installation and configuration.
    Oracle11g software installation with RAC option
    Database creation
    ***I'm not sure of the steps after database creation:
    Export primary database up to a specific SCN (data pump gives the ability to specify scn)
    Import into failover database
    Switch on dataguard and sync failover starting from scn specified at export.
    Will you be using Data Guard for a physical standby? If so, using RMAN would be the correct method in creating the standby database. The general steps would be:
    - Oracle 11g software installation
    - Backup Primary Database
    - Configure Data Guard Parameters on Primary
    - Duplicate Primary to Standby RAC using RMAN (can be done manually or through the RMAN DUPLICATE command)
    - Enable log transport from primary, enable managed recovery on standby, and verify log transport and apply is working as intended.
    Again this is a very general overview on the entire process, there are other factors that you'll have to take into consideration when planning such a project:
    - Which protection mode will you be using? Maximum Performance, Availability, or Protection? The business' recovery goals and SLAs will be able to determine which mode you will choose.
    - Will the standby be used for reporting purposes?
    - Recommended to have your standby site have the same hardware configuration as the primary.
    - Do you have an EM site already set-up? Data Guard Broker should be considered in the configuration of the Data Guard environment.
    This is just a few things quickly off the top of my head. What OS do you have/plan on using? I don't have the link handy on me at the moment, but the official Oracle documentation should provide detailed guidance.
    EDIT:
    At a bare minimum, read the 2 Day RAC Guide. There is more detailed information in the RAC Admin and Deployment Guide, as well as the Data Guard Concepts and Admin Guide. Also here's a step-by-step guide provided by Oracle. You can also find several blogs that provide a more concise step-by-step guide, such as here, here, and here. RACSIG also has a number of very useful whitepapers, but something seems to be wrong with their search function and I can't link anything at the moment. However, I would highly recommend reading through the official documentation as this has more comprehensive information, especially if you are deploying on a production system.
    Regards,
    Oscar

  • How can I have a collective AWR report for RAC database in 10gR2 and 11gR1?

    Plz correct me here
    awrrpt.sql takes the snapshot at the instance level and incase we have 5 instances we have to take 5 awr reports for a particular period.correct???
    If above is true ,any wayout to collect a single collective AWR report for RAC database which includes information on all the instances in Oracle 10g R2 or 11gR1 ?
    Thanks in advance
    Gagan

    I have never come across a way for this. though I can n't say it is not there.
    But I guess it may not be feasible too becuase as we know the current AWR report contains data which is specific for one instance.
    Various hit ratios, top events, instance effeciency reports.... what not ..
    It would be really nice to see something is a new format where it lists values from each instance in a single report.. I guess such a thing Does not exiist as of now.

  • ORA-20600 error while trying to add RAC database

    I'm receiving the following error while trying to add the RAC database in grid control. Any idea?.
    ORA-20600: The specified target is in the process of being deleted
    This database doesn't exists in targets. But, I'm still unable to add.

    Check the metalink Note: Unable To Add Rac Database To Grid Control Getting Error Ora-20600 [ID 1218797.1]
    You need to wait for a while and check the status.

Maybe you are looking for

  • Multiple iphones on one shared itunes account.

    I have an Iphone and itunes account.   My children also have iphones which are listed under my account.   I'm having a problem when we use icloud, where all our contacts are getting added to each others phone and if I try to delete a contact, it dele

  • Material analyses report.

    Hi gurus, what are all involved in a  and what is a material analyses report <b>Material Price Analysis Report</b> could u plz explain. regards, siri. Message was edited by: sireesha yalamanchili

  • MaxMessageSizeExceededException

    Hi all,           Was wondering if anyone has encountered this error before on the           Administration Server. I am using Weblogic 7.0.4           In my environment I have an admin server on 10.122.10.162 and a managed           server on 10.122

  • Help phone won't update

    Hello I have a Live with Walkman and I have rooted it and flashed it with a custom firmware and now I want to update to ICS they said that I have modified software and it can't b updated. So if there is a way to revert the changes or so. (btw I tried

  • How long does it take to delete admin account on iMac and creating a disk image

    I recently upgraded to a new iMac. In the process, I used Migration Assistant to transfer data, network settings and user accounts from my old iMac. I ended up with two admin accounts. I reset permissions and began the process of deleting the second