Installation of ASM, RMAN repository

All,
I have a database instance running on a server together with its associated ASM group. I wish to create another database but when I go through the dbca assisstant and get to the page which asks the question about selecting the storage mechanism you would like to use for the database I do not know which option to select. If I select ASM I am told by dbca that asm is not installed on the server, yet it is. I therefore guess that each database has to have its own ASM?
Is it possible to have therefore two ASM instances running on a server?
another thought I had was to get a trace file of the existing database and use that as the basis for another database but because the existing database is ASM I get lines in the trace file as follows
DATAFILE
'+DG1/test/datafile/system.262.612197107',
I do not know how to go about creating another database from this trace file. Is anyone able to help?
ps
the existing database has been RAC enabled, if this makes a difference.
rgds
Alan

The single ASM instance can be used for multiple databases. How was the ASM instance created, manually or with DBCA? If manual, make sure there is an entry for it in /etc/oratab

Similar Messages

  • Oracle 10g R2 installation with ASM+RAC

    Gurus,
    Need some suggestuon on Oracle 10g R2 installation with ASM and RAC option.
    We have found many documents on the Oracle, HP, HP-Oracle CTC and third party web sites, but nothing that is specific to this particular combination of separate
    ORACLE_HOMEs, ASM and 10g RAC CRS. It is unclear for me from the documentation how this combination of ASM and 10.2g RAC may best be installed.
    The high level steps i got after reading lot of docs as follows - but i am not sure whether these are correct or not. if they are correct, can any one share their experience/notes please?
    1) Install CRS
    2) Install RDBMS for ASM HOME - create separater oracle home for ASM instance using OUI
    3) Install RDBMS for RAC Database Home - create separater oracle home for RAC database using OUI
    4) Create ASM database using DBCA -
    5) Use dbca to create database.

    Oracle provides 'paint by numbers' tutorials called 'Oracle By Example'. (Go to OTN, check under the Training tab)
    They have one for a Windows based ASM/RAC that you might want to review. Not your specific environment, but the steps will be dag-nabbed close.
    I recommend walking the path (http://otn.oracle.com >> training:OBE >> Database 10g Release 1:VMWare:Installation
    http://www.oracle.com/technology/obe/obe10gdb_vmware/install/racinstallwin2k/racinstallwin2k.htm

  • Oracle Standalone DB 11g installation with ASM on Windows 2008

    Hi Experts,
    I would like to install Oracle Database 11g R2 on Windows 2008 with ASM .
    Since I want to do it as a standalone database server , I did not confiugre any shared storage. I have a single disk on my machine with 1 TB space.
    There is a free space of 750 GB and want to use that space for ASM disks.
    Can someone guide me on how to configure ASM disks ?.
    Thanks

    859875 wrote:
    Thanks Fiedi. Thanks a lot for your response.
    Last month I did RAC installation where I need format raw devices using below commands :
    clean all
    create part ext
    create part log
    Is it not required for standalone DB installation with ASM ?
    Basically preparing disk for ASM on RAC or non RAC is the same
    >
    >
    I am able to create 4 logical raw devices (175GB) each. 2 for Data and 2 for DB flash. However I am not able to clean those raw devices with "clean all" command.
    Can you help me ?
    what error did you get?. Try delete the logical partition and recreate it

  • Create a new RMAN Repository

    What are the steps/Commands to Create a new RMAN Repository?

    sqlplus / as sysdba
    SQL> create tablespace rmantbs;
    SQL> create user rman identified by rmansecretpassword default tablespace rmantbs temporary tablespace temp quota unlimited on rmantbs;
    SQL> grant recovery_catalog_owner to rman;
    rman catalog rman/rmansecretpassword
    RMAN> create catalog;

  • Oracle10gRAC installation with ASM, SGeRAC and Oracle Clusterware on Ita64

    Hello!
    Does anyone have an installation guide for the configuration: Oracle10gRAC with ASM, SGeRAC and Oracle Clusterware on Itanium?
    Thanks in advance, Mara

    859875 wrote:
    Thanks Fiedi. Thanks a lot for your response.
    Last month I did RAC installation where I need format raw devices using below commands :
    clean all
    create part ext
    create part log
    Is it not required for standalone DB installation with ASM ?
    Basically preparing disk for ASM on RAC or non RAC is the same
    >
    >
    I am able to create 4 logical raw devices (175GB) each. 2 for Data and 2 for DB flash. However I am not able to clean those raw devices with "clean all" command.
    Can you help me ?
    what error did you get?. Try delete the logical partition and recreate it

  • Rman repository and target

    Hi,
    my RMAN repository is in 10g R2, and target is in 8.1.7.4. I want to know when I backup by RMAN what would be the RMAN version executing the job ? RMAN 8.1.7 or RMAN 10g ? Thanks and regards.

    Yo would be using the RMAN executable in the target ORACLE_HOME (ie, RMAN would be 'local' to the database).

  • Where to backup RMAN repository?

    Oracle recommendation is to backup databases with RMAN using RMAN Repository Database. But how about RMAN Repository? Should it become client of the same repository(itself)? Right now I am using RMAN to backup repository database into control file.
    Not sure that's right thing to do though ... I need some guidance from experienced dba's.

    Hi,
    Include the recovery catalog in your backup and recovery strategy. If you do not back up your recover catalog and a disk crash occurs, you may lose some or all of your data.
    Make Logical Backups
    Make Regular Backups
    Back up the recovery catalog with the same frequency that you back up your target database. For example, if you make a weekly whole database backup of your target database, then back up your recovery catalog immediately after each target database backup. The backed up catalog will have a record of the target backup preceding it, so if you are forced to restore the catalog you will also be able to use it to restore the target database backup
    see this link
    http://www.pafumi.net/manage_rman_repository.htm#11.%20Backing%20Up%20and%20Recovering%20the%20Recovery

  • Oracle 11gr2 database installation using ASM on standalone Server.

    Hello Guys,
    Environment is as below:
    Oracle 11gr2
    ASM
    Enterprise Linux Server release 5.5 (Carthage)
    I never did oracle 11gr2 installation using ASM and I need to install Oracle software on standalone server and then create database 11g Release 2.
    I have following doubts:
    1. Do we need to install Grid infrastructure software for standalone server as well ?
    2. Does Grid Infrastructure software comes separately or alongwith DB software ?
    3.Is Grid software same for RAC and standalone server setup ?
    4.Do we need to create user Grid for installation of Grid for standalone server as well ?
    can anyone give me full steps from scratch ?
    Regards,
    Edited by: LazyDBA11g on Apr 10, 2011 12:44 AM
    Edited by: LazyDBA11g on Apr 10, 2011 12:47 AM

    Hello sb,
    Please find below the output of desired commands:
    [oracle@yyy ~]$ id
    uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)
    [oracle@yyy ~]$ env | sort
    _=/bin/env
    G_BROKEN_FILENAMES=1
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME=yyy.in
    INPUTRC=/etc/inputrc
    LANG=en_US.UTF-8
    LD_LIBRARY_PATH=:/u01/app/oracle/product/11.2.0/db_1/lib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;0 1:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.b tm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31: *.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:* .bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3 5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    PATH=/u01/app/oracle/product/11.2.0/db_1/bin:/usr/kerberos/bin:/usr/local/bin:/b in:/usr/bin:/home/oracle/bin
    PWD=/home/oracle
    SHELL=/bin/bash
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_CLIENT=172.20.1.139 4320 22
    SSH_CONNECTION=172.20.1.139 4320 172.20.1.11 22
    SSH_TTY=/dev/pts/1
    TERM=xterm
    USER=oracle
    Regards,

  • EM and RMAN repository...

    I need some more clarification on something.
    I know Enterprise Edition allows setup of Enterprise Manager repository and RMAN repository. Can those be setup on a different box then the one where the main database is? I ask this because I want to have some redundancy by not using the same box for monitoring and backups.

    Hello,
    YOu can setup grid control and monitor not only one but several database server from it. On db server you just have install agent to talk to grid control and you will be in business.
    Regards

  • RMAN repository maintenace and the availability

    I have 10 production and 10 test databases in 2 servers(Test and Production). RMAN Backups have setup and add all the 20 databses in to a repository in one of the Test server database called CODP.
    So my question is as all the databases added to CODP db repository and codp database also add in to the same database repository it self. If CODP database corrupted all the data in the repository will be lost and no way to recover unless there is a another backup or setup.
    So my question is what would be the best approach to handle this situation?? Appriciate any comments or advices.
    Regards
    Karunika

    Hello,
    Consider RMAN repository database as one of the production database and you should have a proper backup strategy for your RMAN repository database so that in case any problem happens, you immediately restore the RMAN repository. Put your RMAN repository in archivelog mode and take backups regularly and if appropriate, you can setup replication of RMAN repository schema in another remote database.
    Salman

  • RMAN repository clean up

    Hi,
    I am having 10g db and backup policy uses RMAN.
    Daily backup is taken by RMAN and my retention policy is default.
    Now my total catalog db size is 12 GB,
    but i want to remove entries before 1 months from repository because all the archives are already taken in backup and also applied to stand by db.
    Is there any method to clean up RMAN repository ?
    Thanks in advance

    Viral,
    This is what I do to reconcile the contents of the recovery catalog with the backup files on disk. Check out Oracle's documentation on RMAN commands before executing these commands.
    Bill
    $ su – oracle
    $ export ORACLE_SID=<SID of target database>
    $ rman rcvcat rman/<password>@<recovery catalog instance>
    RMAN> connect target
    RMAN> LIST EXPIRED BACKUP;
    RMAN> CROSSCHECK BACKUP;
    RMAN> LIST EXPIRED BACKUP;     
    RMAN> DELETE EXPIRED BACKUP;               (Respond “y” to delete objects.)
    RMAN> LIST EXPIRED BACKUP;     
    RMAN> LIST BACKUP OF DATABASE;
    RMAN> LIST BACKUP OF DATABASE SUMMARY;
    RMAN> LIST EXPIRED ARCHIVELOG ALL;
    RMAN> CROSSCHECK ARCHIVELOG ALL;
    RMAN> LIST EXPIRED ARCHIVELOG ALL;
    RMAN> DELETE EXPIRED ARCHIVELOG ALL;     (Respond “y” to delete objects.)
    RMAN> LIST EXPIRED ARCHIVELOG ALL;
    RMAN> LIST BACKUP OF ARCHIVELOG ALL;
    RMAN> LIST BACKUP OF ARCHIVELOG ALL SUMMARY;

  • ASM RMAN backup to File System

    Hi all,
    I have a rman backup (datafile and controlfile) which was took in an ASM instance (not a RAC) ORACLE 11.2.0.2 in a Linux server, now I want restore the backup in a new database in windows/Linux OS using general File System storage (single instance rdbms) instead of ASM.
    Is this possible?
    Can I restrore an ASM rman backup in a file system storage mechanisim in a new server?
    Kindly clarify my question.
    Thanks in Advance..
    Nonuday

    Nonuday wrote:
    Hi Levi,
    Thanks for your invaluable script and blog.
    can you clarify me on this query:
    I have a RMAN backup taken from ASM and the backup is database and controlf file backup which contains datafiles and controlfiles.
    Now I need to restore this on my system and here I dont use ASM or archive log, I use single instance in no archive log mode database.
    I have restored the control file from the RMAN controfile backup.
    Before restoring the control file I have checked the orginal pfile of the backup database which had parameters like
    'db_create_file_dest',
    'db_create_online_log_dest',
    'db_recovery_file_dest_size',
    'db_recovery_dest',
    'log_archive_dest'.
    Since I am not gng to create a DB in no archive log mode, I didnt use any of the above parameters and created a database.
    Now my question is:
    If i restore the database and the datafile will get restored and after renaming all the logfiles, database will be opened.
    I want to know whether this method is correct or wrong and will the database work as it was working previously. Or do i need create the db_file_recovery and other parameters also for this database.About Parameter:
    All these parameters should reflect your current environment any reference to the old environment must be modified.
    About Filesystem used:
    Does not matter what Filesystem you are using the File (datafile/redolog/controlfile/archivelog/backuppiece) are created on Binary Format which depend on Platform only. So, The same binary file ( e.g datafile) have same format and content on raw device, ASM, ext3, ext2, and so on. So, to database it's only a location where file are stored, but the file are the same. ASM has a different architecture from Regular Filesystem and need be managed in a different manner (i.e using RMAN).
    About Database:
    Since your database files are the same even using different filesystem what you need is rename your datafiles/redofiles on controlfile during restore, the redo files will be recreated.
    So, does not matter if you database are noarchivelog or archivelog, the same way which you will do a restore on ASM is the same way to restore on Regular Filesystem. (it's only about renaming database file on controlfile during restore)
    On blog the post "How Migrate All Files on ASM to Non-ASM (Unix/Linux)" is about move the file from filesystem to another. But you can modify the script used to restore purposes;
    ## set newname tell to RMAN where file will be restored and keep this files location on memory buffer
    RMAN> set newname for datafile 1 to <location>;
    ### swich get list of files from memory buffer (rman) and rename on controlfile the files already restored.
    RMAN>switch datafile/tempfile all ;With database mounted use this script below:
    I just commented three lines that are unnecessary in your case.
    SET serveroutput ON;
    DECLARE
      vcount  NUMBER:=0;
      vfname VARCHAR2(1024);
      CURSOR df
      IS
        SELECT file#,
          rtrim(REPLACE(name,'+DG_DATA/drop/datafile/','/u01/app/oracle/oradata/drop/'),'.0123456789') AS name
        FROM v$datafile;
      CURSOR tp
      IS
        SELECT file#,
          rtrim(REPLACE(name,'+DG_DATA/drop/tempfile/','/u01/app/oracle/oradata/drop/'),'.0123456789') AS name
        FROM v$tempfile;
    BEGIN
    --  dbms_output.put_line('CONFIGURE CONTROLFILE AUTOBACKUP ON;'); ### commented
      FOR dfrec IN df
      LOOP
        IF dfrec.name  != vfname THEN
          vcount      :=1;
          vfname     := dfrec.name;
        ELSE
          vcount := vcount+1;
          vfname:= dfrec.name;
        END IF;
      --  dbms_output.put_line('backup as copy datafile ' || dfrec.file# ||' format  "'||dfrec.name ||vcount||'.dbf";');  ### commented
      END LOOP;
      dbms_output.put_line('run');
      dbms_output.put_line('{');
      FOR dfrec IN df
      LOOP
        IF dfrec.name  != vfname THEN
          vcount      :=1;
          vfname     := dfrec.name;
        ELSE
          vcount := vcount+1;
          vfname:= dfrec.name;
        END IF;
        dbms_output.put_line('set newname for datafile ' || dfrec.file# ||'  to  '''||dfrec.name ||vcount||'.dbf'' ;');
      END LOOP;
      FOR tprec IN tp
      LOOP
        IF tprec.name  !=  vfname THEN
          vcount      :=1;
          vfname     := tprec.name;
        ELSE
          vcount := vcount+1;
          vfname:= tprec.name;
        END IF;
        dbms_output.put_line('set newname for tempfile ' || tprec.file# ||'  to  '''||tprec.name ||vcount||'.dbf'' ;');
        END LOOP;
          dbms_output.put_line('restore database;');
        dbms_output.put_line('switch tempfile all;');
        dbms_output.put_line('switch datafile all;');
        dbms_output.put_line('recover database;');
        dbms_output.put_line('}');
    ---   dbms_output.put_line('alter database open;');  ### comented because you need rename your redologs on controlfile before open database
        dbms_output.put_line('exit');
    END;
    /After restore you must rename your redologs on controlfile from old location to new location:
    e.g
    ##  use this query to get current location of redolog
    SQL>  select group#,member from v$logfile order by 1;
    ## and change from <old_location> to <new_location>
    SQL > ALTER DATABASE
      RENAME FILE '+DG_TSM_DATA/tsm/onlinelog/group_3.263.720532229' 
               TO  '/u01/app/oracle/oradata/logs/log3a.rdo'  When you change all redolog on controlfile issue command below:
    SQL> alter database open resetlogs;PS: Always track database in real time using alert log file of database.
    HTH,
    Levi Pereira

  • Creating RMAN Repository for 2 production databases

    I have 2 production databases DB1& DB2 .
    I want to create a recovery catalogue database which will be used for storing the RMAN repository of Database DB1 and DB2 .
    What steps do i take to do the same.Can anyone guide me.
    Yachendra

    Hi :
    Please refer the following URL:
    It is good to create the catalog DB in a different Server other than the DB's.
    Here is a good pointer.
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96565.pdf
    Regards,
    BMP

  • 11gR2 Database Installation with ASM - NOT RAC

    Hi ,
    Im littel bet confused about the "Grid Infrastructure" in 11gR2.
    In oracle 10gR2 i had to install oracle software twice.
    1. one for the rdbms instance and the second software on for the ASM instance.
    2. Then from the asm home i run dbca and choose "configure automatic storage management" and continue with the installation.
    3. Finally i run dbca from the rdbms home and attached the dabs to the asm.
    11gR2 intreduce the "Grid Infrastructure" also asm with for non-rac installation .
    I would like to know if i still need to install twice the oracle software (once for the asm home and second for the rdbms home) and
    only then continue with the "Grid Infrastructure" , or the : "Grid Infrastructure" already contain the asm software , for the asm home
    Thanks

    Is that true that you have to install a separate set of binaries for ASM and one for the RDBMS. I don't think it is in either 10g or 11gr1.
    I do know that in 11gr2 you only need one home for the ASM_HOME and CRS_HOME which saves one installation.
    John
    www.jhdba.wordpress.com
    Edited by: user11221636 on Dec 3, 2009 9:46 PM

  • OID Installation Priority (new ORACLE_HOME & repository???)

    I am looking to install the following Oracle Products:
    1.) OID
    2.) Oracle 8.1.7 w/ Intermedia
    3.) Oracle App. 9i AS
    Should I install OID first with a new repository and ORACLE_HOME???? Then install 8i, then 9i AS ??? Like the order listed above 1)...2)...3) ?
    I currently have a fresh install of win2K and just want to take the easiest route to get things up and running properly. I am installing everything on a single server for now(prototype development).
    Thanks ahead of time for your patience and problem resolution.
    Eric Robitaille

    Hi Eric:
    The order in which you want to install these products is fine. Actually it is ideal especially if your going to install all of these products in the same Oracle Home. When you install OID make sure you set your NLS_LANG environment setting to AMERICAN_AMERICA.UTF8 prior to installation. When you install OID it will install an 8i database at the same time. All of the other products you mentioned need to have an 8i database as well and you can use the same database created for OID.
    You will probably need to increase your USER tablespace by about 200MB to make room for all of the products your trying to install. One question I have for you is do you really need intermedia context? I thought that was only nessesary if you are installing iFS. If you do a Standard install of 9iAS you dont need iFS or Intermedia. Just a suggestion.
    Thanks,
    Jay
    null

Maybe you are looking for

  • IMac 27'' mid 2011 hard disk failure with FileVault 2

    Hi, Recently I had had some troubles with my iMac and everything is pointing out to the hard disk. 2 weeks ago I rebooted the iMac and i lost all my data because of a hard disk failure. The disk just got corrupted according to what i could see. From

  • ESS - Deployment Error Webdynpro for Java

    Hi All To enhance the functionality of CatsApproval (sap.com/msscatapproval), We have created a custom DC and copied the source code from the above DC. After we enhanced the functionality in new DC, we have undeployed the old DC to avoid name clash a

  • How to make the start up faster?

    I bought my MBP on April. During the first couple of weeks, the start up was impressive! So quick! But after I installed couple of programs I use at uni, it start up seems to slowed down a bit. Recently I installed Flash, Photoshop, Dreamweaver and c

  • Why do folders not hold more than 9 app's

    have apple suddenly gone against there sliding style, Why a max of 9 in a group you should allow unlimited and scroll them left to right or up and down. Is there only me that finds that annoying i like to have all my games the games group Message was

  • ApplicationControlBar with top edges and bottom round off square

    desire to make a  ApplicationControlBar as the image that follows below. I searched the internet and found nothing that helps me to  change the edges of the object