10g ASM instance and 11g database

Hello,
does anybody ever connected ASM instance10.2 and database 11.1? Is there any sense in it? When I have two databases: 10.2 and 11.1 running on the same host, should they both use separate ASM instances or is it possible to connect them to the common one?
Thanks,
Aliq

Yes, such combination is supported with asm 10.2 and database 11.1.
You can check metalink note 337737.1 as well.

Similar Messages

  • Create a new user for oracle 10G ASM instance with sysdba system privilege

    Hi,
    In our Golden Gate Project, we require the SYS user credential to connect to the Oracle 10g  ASM instance to read the database transaction logs.But our client is not providing the SYS user credential to  connnect to ASM instance.
    I'm getting the error message "ORA-01109:  database not open",When I tried to create a new user using the  below the steps in oracle 10g ASM instance
    1. Login using "sqlplus / as sysdba"
    2. Create user <username> identified by <password>;
    But in oracle 11g ASM instance, I'm able to create new  user  by connecting the ASM instance with SYSASM role without issues.
    Is there is any workaround to create a new user with sysdba system privilege in oracle 10g ASM instance?.
    Thanks in advance .

    Hi,
    Recreate the password file for the ASM instance as follows:
    Unix:
    orapwd file=<ORACLE_HOME>/dbs/PWD<SID> password=<sys_password>
    Windows:
    orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password>
    Now sys password is reset, we are ready to use sys for ASM management. I decided to create another user ASMDBA as I tried above.
    SQL> create user ASMDBA identified by test01;
    User created.
    SQL> grant SYSASM, SYSOPER to ASMDBA;
    Grant succeeded.
    SQL> select * from v$pwfile_users;
    USERNAME SYSDBA SYSOPE SYSASM
    SYS TRUE TRUE TRUE
    ASMDBA FALSE TRUE TRUE
    Please see this link : http://orachat.com/how-to-change-asm-sys-password-creating-sysasm-user-11g/
    Thank you

  • ORA-06553: PLS-908 when calling 10g remote procedure from 11g database

    Hi,
    I have 2 instances: 11g (11.1.0.7) and 10g (10.2.0.4). When I try to call 10g (remote) procedure from 11g database, there is errors:
    ORA-04052: error occurred when looking up remote object CUSTOMER.PRL_PK2_GENERAL@CUSTOMER_LINK
    ORA-06541: PL/SQL: compilation error - compilation aborted
    ORA-06553: PLS-908: The stored format ofCUSTOMER.PRL_PK2_GENERAL@CUSTOMER_LINK is not supported...
    But, if I call the same procedure from another 10g instance, it's OK.
    How can I fix the problem?
    Thx,
    qtpham

    As you can see ,it seems like the workaround that was mentioned there is currently the only way to remove this ORA.
    Workaround: Remove the function call(s) from the called subroutine's
                package's spec.

  • Possible to create new ASM instance and "import" existing diskgroup?

    This is my worst nightmare. Two days before a server was about to be shut down, it crashed on me, corrupting the filesystem where Oracle was installed. Setup was an HP-UX 11.11 server running Oracle 10g with ASM storage on a disk array. Both instances were in the filesystem that got corrupted, and amazingly, we don't have a backup, so I'm not able to restore the instance configs and restart the database. Presumably, my data is still sitting there on the disks that belong to the ASM diskgroup, but I don't know how to get at it. I started by creating a new ASM instance, but I can't figure out if there's a way to create a diskgroup out of those 16 disks without wiping out what's on them.
    V$ASM_DISK shows all the disks as MEMBERs, with the CREATE_DATE that they were originally created, so I know at least the headers are intact. So is there any way I can manually recreate that diskgroup in my new instance so it will mount the disks and let me at the data?
    I realize that not having backups is the height of stupidity, but that boat has sailed. My company also chose not to pay for Oracle Support this year, so I'm kind of on my own. If anybody can at least point me in the right direction or tell me that it's a lost cause, I'd appreciate it.

    Well, a little progress. I was able to finally mount the disks in my new ASM instance, and using asmcmd, I can actually see my datafiles sitting there. So now I'm thinking I should try manually creating a new database instance pointing to the spfile that's in there and try starting that. I'm also going to try using RMAN and the XMLDB FTP trick to copy those datafiles somewhere else so I know I can play with them.

  • I have created TM lock in oracle 9i and 11g databases. by using same query

    here is the query uesd for finding a lock in database.
    select /*+ RULE */ 'DATAPOINT # ' bpb,
    l.sid, ' # ',
    s.username, ' # ',
    s.sql_address, ' # ',
    x.sid, ' # ',
    y.username, ' # ',
    l.type, ' # ',
    l.id1, ' # ',
    l.id2, ' # ',
    decode(X.LMODE,
    0, 'None',
    1, 'Null',
    2, 'Row Share',
    3, 'Row Excl',
    4, 'Share',
    5, 'Shr Row Excl',
    6, 'Exclusive',
    decode(L.REQUEST,
    0, 'None',
    1, 'Null',
    2, 'Row Share',
    3, 'Row Excl',
    4, 'Share',
    5, 'Shr Row Excl',
    6, 'Exclusive',
    from v$session s, v$lock l, v$lock x, v$session y
    where l.ctime > 120
    and s.lockwait = l.kaddr
    and l.type in ('TM', 'TX', 'UL')
    and l.id1 = x.id1
    and l.id2 = x.id2
    and x.sid != l.sid
    and x.sid = y.sid
    and x.lmode >0;
    after doing further investigation i found that for 11g condition s.lockwait = l.kaddr not satisfied where as for 9i it's gives correct results
    here are the lockwait and kaddr values for 9i and 11g databases.
    for oracle 9i
    SQL> select lockwait from v$session where sid in (10,12);
    LOCKWAIT
    67B4E10C
    SQL> select kaddr from v$lock where sid in (10,12);
    KADDR
    67B4E088
    67B4E10C
    for oracle 11g
    SQL> select lockwait from v$session where sid in (70,134);
    LOCKWAIT
    070000002FA080D8
    SQL> select kaddr from v$lock where sid in (70,134);
    KADDR
    0700000030C595C0
    0700000030C59830
    00000001108E3E58
    00000001108E3E58
    070000002FA6CB30
    SQL>
    please advise if there is any change for calculations for lockwait,kaddr for 11g.

    can you post your query with explain plan for both 9i version and 10g version.
    Thanks,
    karthick.

  • Trouble using asm instance for new database

    I have an asm instance and am trying to create a new database that will use the asm storage. I'm using dbca to create the new database. This is a test system on windows so I'm using the asmtool -create flatfiles for disks with the asmallow_only_raw_disks parameter set to false.
    If I have #SQLNET.AUTHENTICATION_SERVICES = (NTS) commented out in my sqlnet.ora, then I can't get into asmcmd:
    ORA-01031: insufficient privileges (DBD ERROR: OCISessionBegin)
    and dbca won't create the new database that uses asm because the dbca gets the same 01031 error when trying to create the control files for that database.
    If I have SQLNET.AUTHENTICATION_SERVICES = (NTS) NOT commented out, the I can get into asmcmd, but I can't startup the databases using sys, even though I am sitting at the server,
    AND, dbca won't create the new database that uses asm becuase the dbca can't start the instance
    credential retrieval failure.
    I'm in a catch 22. Something is not right with my system but I just can't seem to figure out what it is.
    The asm instance does have a password file.

    I let the dbca create scripts and am currently walking through the scripts. I think it's my asm database that is actually creating the problem. I did the orapwd and oradim manually and can startup nomount the instance just fine. The create database statement fails on creating the controlfile but it's saying it already exists. I suspected the dbca form wasn't giving me all the errors like it should.
    Thanks for your suggestion on the password file.

  • Asm, instance and service failing to start 10g rac redhat el5

    hi,
    i have been following a how to guide from oracle's website about implementing a 10g rac system using el5 (http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html), by the end of the installation and setup I had both the nodes up and running and all services were up and running. Then under the root account I rebooted one of the nodes. now when I check the status of the services I get this:
    [oracle@rac01 ~]$ crs_stat -t
    Name           Type           Target    State     Host
    ora.orcl.db    application    ONLINE    ONLINE    rac01
    ora...._taf.cs application    ONLINE    ONLINE    rac02
    ora....cl1.srv application    ONLINE    OFFLINE
    ora....cl2.srv application    ONLINE    ONLINE    rac02
    ora....l1.inst application    OFFLINE   OFFLINE
    ora....l2.inst application    ONLINE    ONLINE    rac02
    ora....SM1.asm application    OFFLINE   OFFLINE
    ora....01.lsnr application    ONLINE    ONLINE    rac01
    ora.rac01.gsd  application    ONLINE    ONLINE    rac01
    ora.rac01.ons  application    ONLINE    ONLINE    rac01
    ora.rac01.vip  application    ONLINE    ONLINE    rac01
    ora....SM2.asm application    ONLINE    ONLINE    rac02
    ora....02.lsnr application    ONLINE    ONLINE    rac02
    ora.rac02.gsd  application    ONLINE    ONLINE    rac02
    ora.rac02.ons  application    ONLINE    ONLINE    rac02
    ora.rac02.vip  application    ONLINE    ONLINE    rac02though I can start the asm instance manually by
    srvctl start asm -n rac01and it starts but the instance and service on the rebooted node still wont start. is there a log file which tells me what the error is when it tries to start the instance? what can I do to ensure that if a node is rebooted that all of the services get started correctly and the node automatically rejoins the cluster (i thought I had set all of this from the instructions of the guide I was following).
    Regards
    Martin.

    Check ASM resource:
    crs_stat -p "resource_name
    $ crs_stat | grep NAME\= | grep ASM1
    NAME=ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    ACTIVE_PLACEMENT=0
    *AUTO_START*=1
    CHECK_INTERVAL=600
    DESCRIPTION=CRS application for ASM instance
    What do you see AUTO_START?
    if 1 = auto start:
    or check error ASM while start... at ASM_HOME/log/rac01/racg/*
    If AUTO_START=2
    Oracle Clusterware is configured to start the VIP, listener, instance, ASM, database services and other resources during system boot. Starting with 10.1.0.4, it is possible to modify some resources to have their profile parameter AUTO_START set to the value 2. This means that after node reboot, or when Oracle Clusterware is started, resources with AUTO_START=2 will need to be started manually via srvctl. Please work with Oracle Support if you need to modify this attribute.
    If AUTO_START=2 and need to change to 1:
    Example:
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    ACTIVE_PLACEMENT=0
    AUTO_START=2
    $ crs_stat -p ora.rac01.ASM1.asm > ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm
    $ crs_unregister ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    CRS-0210: Could not find resource 'ora.rac01.ASM1.asm
    $ vi ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm.cap
    AUTO_START=2
    to
    AUTO_START=1
    $ crs_register ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    *AUTO_START=1*
    Edited by: Surachart Opun (HunterX) on Jul 31, 2009 1:06 PM

  • Having both 10g and 11g database in single xp machine Not working

    Hi everyone ,
    I installed an oracle 10g database and it was working fine and i wanted to have an 11g database installed and so i did in a separate folder and it got installed successfully but all the net service of my 10g is not getting recognized and so i uninstall 11g and it worked fine and back to normal.
    1. Can't i install both 10g and 11g in a database.
    2. How can i have both them installed without issues in Windows XP SP3 32 bit.

    Mo2 wrote:
    I have 10G express installed on XP and I was planning to install 11G.
    So what I learned from this thread:
    -Yes it is possible to install 11g and 10G on the same xp machine.
    -To use both version you must change few parameters every time.
    so basically it is possible but not recommended. is that a fair description?
    No that is not a fair description. It is possible and quite easily managed. But you do have to be aware of where you are. If you want to just pop in a CD, click 'install.exe', then click an icon to magicly connect to the correct database, then yeah, I'd say it's not recommended, but that says more about the user than the product ...
    Of course, could go even further and say I don't think Windows should be recommended, period. I've worked with IBM mainframes (s-370, OS-VS, OS-MVS, VM, OS/x, etc.), DEC's vms, IBM OS/2, every version of Windows since it's birth, Solaris, AIX, HP-UX, and Red Hat Linux. Windows is the worst excuse for an OS of any of them.
    If you are doing this on your on PC as a learning tool, I'd strongly suggest you
    1) go to vmware.com and get a free copy of vmware player and install it on your pc
    2) go to oracle.com and get free copy of Oracle Enterprise Linux and install that into a virtual machine under vmware player
    3) go to oracle.com and get free copies of whatever oracle products you want and install them on that virtual linux machine.
    By the way, I installed 11g on Vista machine and it is working fine but I uninstall 10G first on that machine.

  • Upgrade direct from 9i File System DB to 10g ASM instance

    Can I upgrade from a 9i file system based instance directly to a 10g ASM based instance? without the middle step of a 10g file system instance.
    Thanks
    MN

    The minimum compatibility for ASM storage system is 10.1.0, it is not possible to manage 9i instances in ASM, and there is no way to waive the 10g migration requirement.
    If you are planning to use 10g ASM storage then you will have to migrate or upgrade your database to 10g first. Next you will have to move your datafiles, control and log files into the ASM storage.
    0. Configure your +ASM instance
    1. Upgrade to 10g (Upgrade procedure) or Migrate (exp from 9i/imp to 10g)
    2. In case you upgraded then use RMAN as stated in the below given reference to move your datafiles to the ASM instance, or if you created the database in 10g make sure you defined +ASM as the default storage mechanism
    Ref. Oracle® Database Backup and Recovery Advanced User's Guide
    10g Release 2 (10.2)
    Part Number B14191-03
    Chapter 16.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmasm.htm#i1016581
    ~ Madrid
    http://hrivera99.blogspot.com

  • Importing a few Oracle 10g schemas into oracle 11g database

    Hi,
    I have the task to import a few schemas that are on oracle 10g database (10.2.0.4) into oracle 11gR2 database (11.2.0.2). Now I have only oracle 10g export and import utility (the 11g server is in not where I am given the import rights).
    Can I do the export of the 10g schemas using the 10g export utility and then import into 11g database using the 10g import utility? I ran a test to do that and found it works but would also like to have expert opinion on it.
    Also another question is: if the source schema is 11g - suppose- in that case can the 10g export/import utility still work? I mean export the schema from say db1 (which is 11g) using 10g export utility and import them into 11g database db2 (which is again 11g) using 10g import? I am asking because I don't have access to 11g server and trying to find what I can do with the 10g utilities.
    Thanks,

    set up a database link to the 10gR2 version database in the 11gR2 database.
    Now using the 11gR2 client impdp utility use
    impdp network_link=<link to 10gR2 database>
    Done.
    Your 'objection' you don't have access to 11gR2 doesn't count as you can install a 11gR2 client.
    Also generally speaking you should not use a lower version imp to imp to a higher version database
    Also exp and imp are deprecated in 10g and higher.
    Sybrand Bakker
    Senior Oracle DBA

  • Use of 10g libclntsh.so with 11g database

    Does anyone have any experience using a 10g pro*c library like libclntsh.so with an 11g database? In testing, it failed looking for libclntsh.so.10.1 but we were able to fix it with a link like such:
    ln -s libclntsh.so.11.1 libclntsh.so
    We are not in a position to recompile and link with the new 11g library, but want confidence the 10g library will work after a 10g->11g upgrade.
    Any ideas?
    thanks,
    rick

    Hi Rick,
    If I understand you correctly you have an executable that was built with Pro*C and linked to a 10g version of the client shared library (libclntsh), correct? That library is not specific to Pro*C, but is used as you have obviously discovered!
    Now you want to use that executable (with no relink) on a server that does not have a 10g version of the library, but only has the 11g version, correct?
    I realize this may not be super helpful, but I have done what you describe (soft link) a couple of times in a test environment, but never long-term. I did not experience any issues with the test environment, but I suppose you could open an SR with Oracle to verify if that is a supported activity.
    - Mark

  • Oracle 10gAS and 11g Database

    hi,
    I am planning to upgrade our existing Oracle 8i & forms6i to oracle 11g database and 10g AS.
    I have only one server for both. 10gAS has a database along with the installation.
    But i need to use 11g DB. so my questions are
    1.how do we avoid installing 10g databse as a part of AS.
    2. Which one to install first. 11g database or 10gAS(i have only one server).
    3. 10g Developer suite will be in my local PC. is it right ?

    I guess it really depends on what you want to do :
    If you want to change as little as possible, I would advise the Forms and Reports Services Standalone, available from OTN. This version is certified with RDBMS 11gR1 but not with RDBMS 11gR2. Note that additional functionality such as Single Sign-On will not be available in this standalone version.
    Should you want the full blown functionality, I would advise to skip AS10g and go straight for FMW11gR2 (11.1.1.2). You will need an infrastructure but that can be done with Identity Management 10.1.4.3 with an 11gR2 (11.2.0.4) database. The FMW11g documentation will tell you how.
    BTW - the developer suite most likely need to be on your local PC. For FWM 11gR2, the builders are only supported on Linux 32 bits and Windows 32 bits platforms.
    Hope this helps,
    EJ

  • V$instance and V$database

    Hi
    Are these tables can contain more than one row? in which situation?

    Sagi wrote:
    Thinks for the help
    I'm trying to figure out some things about RAC environment and SBDB.What is SBDB?
    Is out of tables ($ V $ V INSTANC and DATABASSE) I can know whether the environment is a RAC environment
    I would suggest to look for the parameter cluster_database in the parameter file. If this parameters comes as true , that means you are on a clustered database. Otherwise, it would be false all the time. I don't have a db with me to test the output of both the views but based on the documentation, there is no column in both which does tells you that its a rac or non-rac db.
    and how NODE / DB / INSTANCE have around, same goes for SBDB environment.Sorry, I couldn't parse your statement. Can you rephrase please?
    Aman....

  • One instance and two databases?

    Hello, I've installed oracle database on my server. I've read a lot of documentation to learn the basic concepts.
    Ok, I have a question. I have read that one instance only can manage ONE database. Is it true? If it's true, how on earth I can create two database? for example, I want to create database-one and database-two.
    I would create these with CREATE DATABASE command. How does Instance know if I want to access to database-one or database-two. How I indicate it in initilitation parameter file of my instance?
    In sumary, Can one instance works with two databases?

    Look at the following output. If I do not set my ORACLE_SID variable, the 9.2.0.7 client connects to the 9.2.0.7 database instance. If I set my ORACLE_SID , the same 9.2.0.7 client now connects to the 10.2.0.1 database (the database specified in the ORACLE_SID variable).
    C:\>set ORACLE_SID=
    C:\>sqlplus kkishore/kkishore
    SQL*Plus: Release 9.2.0.7.0 - Production on Mon Jul 17 09:27:55 2006
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    SQL> exit
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    C:\>set ORACLE_SID=ORA10GR2
    C:\>sqlplus kkishore/kkishore
    SQL*Plus: Release 9.2.0.7.0 - Production on Mon Jul 17 09:29:31 2006
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> disconnect
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>Message was edited by:
    Kamal Kishore

  • Combine multiple oracle 10g db as one 11g database with different schemas

    We have 3 10g databases on a solaris machine
    We are planning to migrate them and upgrade to 11g rel2 on linux machine
    and finally merge those into one database as different schemas
    has anyone got good ideas of the best strategy to do that
    thanks

    has anyone got good ideas of the best strategy to do thatexpdp/impdp

Maybe you are looking for