ASM and Dataguard

Hi,
can we make asm database (i.e. database is managing by asm disk groups) as primary database in one server and configure secondary database in another server.

Hi,
If I understand your question, you are asking if you can have the following on the primary...
+ASM/DB_NAME/DATAFILE/system01.123.456.789
...and the following on the standby...
/u01/app/oradata/DB_NAME/system01.dbf
...on the standby?
Yes you can. Look into db_file_name_convert and standby_file_management in the documention at tahiti.oracle.com.
HTH,
Steve

Similar Messages

  • RAC,  ASM and Dataguard compatibility

    We have a Dataguard setup with 3 node RAC. The primary is a 3 node RAC but the standby is a single instance. The ASM version is 10.1. Currently we have switchover the roles.
    Can upgrade the ASM to 10.2 on standby then make it primary?
    All I want to know is if we can have ASM 10.2 on primary and ASM 10.1 on physical standby?

    The note for latest ASM [ 10.2  ] indicates a level of backward compatibility I believe
    What version is the database ?

  • Infrastructure for installing advanced features like RAC, ASM and DataGuard

    I have been working in Oracle for an year now and would like to start working on advanced features like ASM, DataGuard and RAC. Currently I use a 32bit laptop with OEL6.3 installed with 4GB RAM. Is this system sufficient to install and practice  ASM, DataGuard and RAC. To be more specific I would like to know whether 32bit would suffice OR I need a 64bit  system for this?

    I'd say you are pushing it.
    These features are usually used in multi-server environments.
    You could work with multiple VM's, but 4 GB sounds very limited.
    I had a quick look at introduction to the Data Guard Hands On Lab, and it seems it's hosted in the Amazon Cloud.
    http://www.oracle.com/technetwork/database/features/availability/data-guard-hol-basic-427660.html

  • ASM , TTS, and dataguard

    I am going to be migrating from Itanium (hpux) san using serviceguard and VCS, to AMD (x86_64) with ASM, I know the endian type change, and I have gone through a test of converting the database and bringing the datafiles into ASM, and importing the metadata. All good.
    The question I have is, when I bring them into ASM I create them with
    convert datafile
    '/disk1/dbs/my_tbs_f1.df',
    '/disk1/dbs/my_tbs_f2.df'
    format '+diskgroup';
    I then look at ASM to find the correct name and bring them into the database with
    TRANSPORT_DATAFILES=(
    '+DISKGROUP1/tts/datafile/my_tbs_f1.300.672929651',
    '+DISKGROUP1/tts/datafile/my_tbs_f2.286.672929651')
    What is going to happen when I run this same convert datafile on the Physical standby ? will the datafiles have the same name, or how do I keep a standard name across my databases ?
    My goal is to bring them into ASM on the primary and the physical standby, and have the oracle import them into both databases without reinstantiating.

    What is going to happen when I run this same convert datafile on the Physical standby ? will the datafiles have the same name, or how do I keep a standard name across my databases ? The datafiles will not have same name. Raise an SR with oracle support for your issue.
    [email protected]

  • RAC and dataguard

    With reference to this thread
    is Dataguard and standby dbs is HA
    RAC and DATAGAURD are two different approches for high availability and desaster recovery.
    We are planning to implememt RAC and DATAGAURD but there are budget issues also.
    With RAC As i understand we have multiple instances governing a single database. So multiple node/machines governing a single database server.
    With DATAGAURD,we have a DR solution at another location.If the primary server fails,standby database takes up the role of primary.
    With RAC alone,if any node fails, there is another node to do instance recovery or the server still continues. But what if database server crashes. WIth RAC alone and no dataguard, won't it allow downtime?

    Hi Hashmi,
    RAC and DataGuard are indeed different things, as you understood.
    Regarding your question, there is no database server, that's the whole thing. There is one database (which resides on external redundant storage like Netapp, EMC, etc.) and there are several servers that are running the instances. Downtime will occur only if the storage crashes. And if you don't trust your storage you can have ASM redundancy, so storage failure will not cause downtime as well.
    The down side, is that there is one database, so if you have logical corruption, human error, or something similar you can loose data or have downtime.
    However, the high availability is real.
    In DataGuard, once the primary is down it takes some time (not long) to activate the standby, but it has a different IP, so you should configure your DNS/clients (in advance or at failover) to connect to the activated standby.
    HTH
    Liron Amitzi
    Senior DBA consultant
    [www.dbsnaps.com]

  • The Script root.sh problem - ora.asm and ASM and Clusterware Stack failed

    Folks,
    Hello. I am installing Oracle 11gR2 RAC using 2 VMs (rac1 and rac2) whose OS are Oracle Linux 5.6 in VMPlayer according to the website http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
    I am installing Grid infrastructure. On step 9 of 10 - execute script /u01/app/grid/root.sh for 2 VMs rac1 and rac2.
    After run root.sh in rac1 successfully. I run root.sh in rac2 and get an error as below:
    [root@rac2 grid]# ./root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= ora11g
    ORACLE_HOME= /u01/app/grid
    Enter the full pathname of the local bin directory: [usr/local/bin]: /usr/local/bin
    Copying dbhome to /usr/local/bin ...
    Copying oraenv to /usr/local/bin ...
    Copying coraenv to /usr/local/bin ...
    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.sh script.
    Now product-specific root actions will be performed.
    2012-03-05 16:32:52: Parsing the host name
    2012-03-05 16:32:52: Checking for super user privileges
    2012-03-05 16:32:52: User has super user privileges
    Using configuration parameter file: /u01/app/grid/crs/install/crsconfig_params
    Creating trace directory
    LOCAL ADD MODE
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Adding daemon to inittab
    CRS-4123: Oracle High Availability Services has been started.
    ohasd is starting
    CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node rac1, number 1, and is terminating
    An active cluster was found during exclusive startup, restarting to join the cluster
    CRS-2672: Attempting to start 'ora.mdnsd' on 'rac2'
    CRS-2676: Start of 'ora.mdnsd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.gipcd' on 'rac2'
    CRS-2676: Start of 'ora.gipcd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'rac2'
    CRS-2676: Start of 'ora.gpnpd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac2'
    CRS-2676: Start of 'ora.cssdmonitor' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'rac2'
    CRS-2672: Attempting to start 'ora.diskmon' on 'rac2'
    CRS-2676: Start of 'ora.diskmon' on 'rac2' succeeded
    CRS-2676: Start of 'ora.cssd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.ctssd' on 'rac2'
    Start action for octssd aborted
    CRS-2676: Start of 'ora.ctssd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.drivers.acfs' on 'rac2'
    CRS-2672: Attempting to start 'ora.asm' on 'rac2'
    CRS-2676: Start of 'ora.drivers.acfs' on 'rac2' succeeded
    CRS-2676: Start of 'ora.asm' on 'rac2' succeeded
    CRS-2664: Resource 'ora.ctssd' is already running on 'rac2'
    CRS-4000: Command Start failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/grid/bin/crsctl start resource ora.asm -init
    Start of resource "ora.asm -init" failed
    Failed to start ASM
    Failed to start Oracle Clusterware stack
    [root@rac2 grid]#
    As we see the output above, at the end of the output
    1) Start of resource ora.asm -init failed
    2) Failed to start ASM
    3) Failed to start Oracle Clusterware stack
    The runInstaller is in the first VM rac1. My question is:
    Do any folk understand how to solve the script root.sh in rac2 problem ( 3 fails of ora.asm, ASM and Clusterware stack as above) ?
    Thanks.

    Please check there is no firewall exist:
    try this like:
    root.sh fails on second node
    MOS note:
    11gR2 Grid: root.sh Fails to Start the Clusterware on the Second Node Due to Firewall on Private Network [ID 981357.1]
    Grid Infrastructure 11.2.0.2 Installation or Upgrade may fail due to Multicasting Requirement [ID 1212703.1] (Most probabily this issue)

  • About ASM and SAN...

    Hello Guys,
    I have to implement 3 nodes RAC 10gR2 ob centOS4 operating system. I have study so many documents about rac instaltion and configurations. I have learn how to set the network requirements with private, public and virtual IPs and all other stuff. I have learn installtion of clusterware and database with cluster enable functionality.
    BUT the storage options are still not clear to me. We have purchases SAN and we are planning to implement ASM for the storage. Now i want to know:
    How many disk and disk partitions 3 node structure will require on SAN?
    How ASM will access SAN, or you can say OS will access this shared storage?
    Voting disk and OCR can not be store on sharted storage and need to be store on raw devices... what these raw device can be? How it can be access by all nodes?
    Above three questions are disturbing me a lot. If they are clear to me the whole storage concept will be clear and i can implement RAC.
    Please help me by answering the above 3 questions. I will be vert greatful to you.
    Regards,
    Imran

    How many disk and disk partitions 3 node structure will require on SAN?
    There's no real answer to that! With Oracle generally, RAC or no RAC, the answer to how many disks you should have is "as many as possible". Partitioning is really up to you, too, depending on what you find easiest to manage. If you have a single SAN array, for example, comprised of 15 disks that you choose to partition into three or four logical volumes so that you can call one 'data', one 'redo', one 'OS', and one 'other' -that's entirely up to you, since Oracle could care less how you partition, what you call them or how many of them there are. Moreover, everything on every partition is being striped across those 15 disks anyway, so who cares?
    I think, however, you might be thinking of the RAC-specific issues of the voting disk and the Oracle Cluster Registry. If you were using a cluster file system, they could be just two files on the file system, about 120M in size between them. Since you are going to use ASM and these two elements can't be stored inside an ASM array, you'll have to create two raw partitions for this purpose. The rest you then chop up for ASM's use.
    It is NOT true, incidentally, that "Voting disk and OCR can not be store on sharted storage". By definition, the voting disk and OCR must be on shared storage! Indeed, raw partitions, ASM arrays and cluster file systems are ALL shared storage technologies. It just so happens that those two files can't use ASM... but raw or cfs are fine.
    A raw partition is not, of course, intrinsically 'shared storage'... but if it's a raw partition on your SAN, to which all three of your nodes are physically attached, then it is shareable. It's shareable simply because three nodes can see it. And because there's no file system there with exclusive and blocking file locks, what one node does to a raw partition doesn't stop another node accessing it simultaneously (which is the definition of shared storage, of course).
    How will ASM access SAN? By you partitioning the SAN into a number of logical volumes, each one of which will be kept raw, and you then declaring each such volume as a candidate disk. You'll wrap all candidate disks up into an ASM disk group... and then Oracle will write to that disk group and hence through to the underlying logical volumes. Which comes back to the original question: how many logical volumes should you create out of, say, a 15 disk LUN on a SAN?
    Depends, as I said, on a lot of things, but for example RAID5 runs best when there are either 5 or 9 disks in the array (or did when last I looked at an EMC Clariion SAN!). So if your underlying RAID technology was going to be RAID5, you might well create 3 5-disk logical volumes on the one LUN. To let ASM use all 15 disks, you'd then create a 3-disk diskgroup (where 1 ASM disk = 1 SAN logical volume). On the other hand, you might want to keep some disks back for future storage, in which case a 1-disk ASM diskgroup representing a single 9-disk logical volume might be the go, with the remaining 6 disks on the LUN available for future expansion.
    It's a complicated topic, unfortunately. You're dealing with physical storage which is already abstracted into logical volumes and then abstracted even further by wrapping those logical volumes up into ASM disk groups. You balance performance, expandability, management convenience, your SAN vendor's optimisation tricks and so on... and hopefully come out with something that works for you!

  • Migrating Non ASM, Non RMAN to New Server with ASM and RMAN - Possible?

    We currently have a database ( Oracle 10g R1 ) on a Sun Solaris server that is NOT using ASM or RMAN. The database is about 300GB. We are getting a new server and we want to install Oracle 10g R2 with ASM and RMAN and migrate the database.
    I have seen the documentation on migrating non ASM to an ASM server but the methods all use RMAN. Is it possible to migrate to an ASM database without using RMAN? Would datapump import/export work if I created a new database on the new server with all the same tablespaces? Or, do I have to bite the bullet, install RMAN on the old server and do the backup?
    Thanks.

    If you're not using RMAN that doesn't mean you can't use it to perform a single backup, rman is contained in every oracle RDBMS installation version 10G or higher.
    this is only a sample of how to do it
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '<file_system_path>/%U.DBF';
    --first we allocate the channel default channel.
    RMAN>RUN
    ALLOCATE CHANNEL DEFAULTCHANNEL TYPE DISK;
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    BACKUP DATABASE;
    SHUTDOWN
    }then once you have it, you can do what you want.
    It should also be possible to manually restore the database from the original datafiles but it's better to follow the solution involving RMAN.
    Bye Alessandro

  • Business continuity 11i and dataguard

    Hi,
    Is there a white paper/best practice for business continuity on 11i with single 10g instance and Dataguard solution? i've tried looking and cannot find and thing.
    thanks
    M.

    Hi,
    Please refer to:
    Note: 403347.1 - MAA Roadmap for the E-Business Suite
    Note: 464167.1 - Is Logical Standby Feature Supported For Oracle Applications Release 11i
    Comparing Oracle Data Guard vs. Active Data Guard for EBS Environments
    http://blogs.oracle.com/stevenChan/2008/10/comparing_oracle_data_guard_vs_active_data_guard_f.html
    Regards,
    Hussein

  • Cloning a database on ASM and rawdevices.

    Hi list,
    I am in the process to "test" a clone procedure in a database which is using ASM and "rawdevices".
    Is there any special Note that I can follow to accomplish this process?
    How can I copy a raw device from one server to another one?
    Any advice will be really appreciated.
    Thanks in advance.
    Kind regards,
    Francisco Mtz.

    Hello Martin,
    Yes you can clone ASM database from one server to another server. Here is the brief overview of how i was able to do in the same RH Linux 4 and 10g R2
    1) source - take a RMAN backup (ASM databases can be backed up using RMAN only
    2) target -
    a) create a ASM instance on the target
    b) let your unix SA create a raw device disk with the same capacity of the source
    c) create a new diskgroup that includes this new raw device disk using $ORACLE_HOME/bin/dbca of the target's ASM instance (it will be automatically mounted)
    d) Now use RMAN DUPLICATE database option to create a duplicate database (clone) of the source database.

  • How can I remove asm and ocr installation in AIX?

    Hi,
    I try to install single instance with using ASM in AIX.
    But I did not make successfully.
    Now I want to remove ASM and OCR installation then
    I will plan to make new clear installation.
    How can I remove asm and ocr ??
    Or How can I control my removing is fully correct ?

    1) ASM Instance Clean-Up Procedures
    Stop all of the databases that use the ASM instance that is running from the Oracle home that is on the node that you are deleting.
    On the node that you are deleting, if this is the Oracle home which from which the ASM instance runs, then remove the ASM configuration by completing the following steps. Run the command srvctl stop asm -n node_name for all of the nodes on which this Oracle home exists. Run the command srvctl remove asm -n node for all nodes on which this Oracle home exists. If there are databases on this node that use ASM, then use DBCA Disk Group Management to create an ASM instance on one of the existing Oracle homes on the node, restart the databases if you stopped them.
    If you are using a cluster file system for your ASM Oracle home, then ensure that your local node has the $ORACLE_BASE and $ORACLE_HOME environment variables set correctly. Run the following commands from a node other than the node that you are deleting, where node_number is the node number of the node that you are deleting:
    rm -r $ORACLE_BASE/admin/+ASMnode_number
    rm -f $ORACLE_HOME/dbs/*ASMnode_number
    If you are not using a cluster file system for your ASM Oracle home, then run the rm or delete commands mentioned in the previous step on each node on which the Oracle home exists.
    2) Deleting an Oracle Clusterware Home Using OUI in Silent Mode
    !!! Oracle recommends that you back up your voting disk and OCR files after you complete the node deletion process.
    If you ran the Oracle Interface Configuration Tool (OIFCFG) with the -global flag during the installation, then skip this step. Otherwise, from a node that is going to remain in your cluster, from the CRS_home/bin directory, run the following command where node2 is the name of the node that you are deleting:
    ./oifcfg delif –node node2
    Obtain the remote port number, which you will use in the next step, using the following command from the CRS_home/opmn/conf directory:
    cat ons.config
    From CRS_home/bin on a node that is going to remain in the cluster, run the Oracle Notification Service Utility (RACGONS) as in the following example where remote_port is the ONS remote port number that you obtained in the previous step and node2 is the name of the node that you are deleting:
    ./racgons remove_config node2:remote_port
    On the node to be deleted, run rootdelete.sh as the root user from the CRS_home/install directory. If you are deleting more than one node, then perform this step on all of the other nodes that you are deleting.
    From any node that you are not deleting, run the following command from the CRS_home/install directory as the root user where node2,node2-number represents the node and the node number that you want to delete:
    ./rootdeletenode.sh node2,node2-number
    If necessary, identify the node number using the following command on the node that you are deleting:
    CRS_home/bin/olsnodes -n
    Perform this step only if your are using a non-shared Oracle home. On the node or nodes to be deleted, run the following command from the CRS_home/oui/bin directory where node_to_be_deleted is the name of the node that you are deleting:
    ./runInstaller -updateNodeList ORACLE_HOME=CRS_home
    "CLUSTER_NODES={node_to_be_deleted}"
    CRS=TRUE -local
    Deinstall the Oracle Clusterware home from the node that you are deleting using OUI as follows by running the following command from the Oracle_home/oui/bin directory, where CRS_home is the name defined for the Oracle Clusterware home:
    ./runInstaller -deinstall –silent "REMOVE_HOMES={CRS_home}"
    Perform step 9 from the previous section about using OUI interactively under the heading "Deleting an Oracle Clusterware Home Using OUI in Interactive Mode".

  • RAC with ASM and without ASM

    Hi all,
    we planing to install RAC 11g instance active/active . and we are using SAN storage RAID 10.
    I know ASM is nice feature . but it need more maintenance in future . This is what I see
    it from Manual and training . for patching ..... because it maintain as instance.
    why I do need ASM since I have SAN and I can control mirroring ...etc
    I need sold answer here ?? why I need to use this feature that already can be covered using another facility like SAN.
    Best Regards,

    What I have found in a RAC world is there is maintenance no matter which way you go, A cluster file system will require upgrades, patches, etc. RAW volumes will require extra effort in allocation, etc. as well as increase the number of files in the database. ASM requires additional instance on each node to maintain which is quite simple and rolling patches in ASM is becoming reality slowly. I have found that removing the management of RAW volumes is more trouble then the maintenance of the ASM instances and the added benefits of ASM outweigh the maintenance for sure. I found that the cluster file system mainteance is pretty well a wash.
    As for ASM being widely used, the most recent RAC clusters (last 3) I have built have all been ASM....... 1 on HPUX and 2 on Linux (Red Hat and Oracle Enterprise Linux) and future clusters coming up that I know of are all going to be ASM as well. While it may be true that a lot of existing RAC environments have not yet gone to ASM almost all new RAC environments are. It is certainly taking hold. If you look at the effort on a large database to move to ASM from RAW volumes or cluster file system it can appear to be a lot of work and that is true, but in the long run my experience with ASM has been positive therefore I would not hesitate to recommend new RAC clusters be built with ASM and existing clusters should have a migration plan in place. As with some cluster file systems like veritas, GPFS, etc. There is addtional cost involved where ASM does not have the additional cost so moving existing clusters can save $$........ RAM volumne management may not fall on the DBA but someone has to manage all those volumnes at a SAN level and that is additional management just may not really be with the DBA.
    Just my additional 2 cents worth.
    Hope this helps.

  • ASM and Cold backup

    Is there any way to coldbackup a database that is using ASM?
    My development server has a database of 500GB in size. To move this to the production server I used to do cold backups but unable to do it with ASM.
    I was planning to use EXPORT utility but I read a few articles saying the export files should be more than a few GB.
    Has anyone got any ideas how to move large database that is using ASM from dev to prod?
    Thanks

    RMAN is the only option to take backups of databases using on ASM and you can use RMAN to take the cold backup of your database. First shutdown the database cleanly and then mount it and issue "backup database" at rman prompt to the cold backup. Read oracle doc for more information on RMAN setup.
    Daljit Singh

  • Standby and Dataguard

    I'm new to DBA tasks.....and i supposed to setup Datagurad on oracle 9i
    Bit confused with standby and dataguard, Could any one please expalin what is standby and what is dataguard, and the difference between two

    http://download.oracle.com/docs/cd/B10501_01/server.920/a96653/concepts.htm#1027493

  • ASM and IBM's SVC (SAN Volume Controller)

    Has anyone used ASM on SVC?
    Can anyone point me in the direction of any documentation regarding ASM and SVC.
    Any assistance greatly appreciated.
    Gavin Rayner

    Hi,
    I am also looking at recommendations for using IBM's SVC with AIX. (We are not using ASM in this instance).
    Can anyone post their experiences, tips and lessons learnt using this disk architecture?
    Cheers.

Maybe you are looking for

  • Authentication error while logging in to analytics url

    Hi, I have installed OBIEE 11g on Windows XP 64 bit server recently. I'm unable to login to analytics page "http://xxxxxx:7001/analytics"/"http://xxxxxx:9704/analytics"  But  able to login to enterprise manager('http://xxxxxx:7001/em')and console . I

  • ADF delete a record

    Hi, Iam using Jdeveloper 10g. I have made a jsp page. In this page, Iam using <html:select> for selecting database information. After selecting of one item, I will delete record inside the database. How can I do that. Iam using ADF and struts. Regard

  • Pictures are not clear

    my ipod was working great. All of sudden the colour of the pictures are faded. Sound is ok

  • Transfering MP3 to Iphone

    Recently I had to reload my windows XP workstation I was able to reload ITUNES 10.6.1.7 but since then I have not been able to create playlists or add any MP3's I think it is related to the fact I origionally synched the IPHONE to the computer before

  • IMac slowing down/crashing/etc

    Hiya all... I've been having some mondo problems with my iMac lately (iMac G5 1.8GHz w/1GB memory - non mac)... the computer has been crashing when doing just about anything, and when the app crashes there's no turning back. I have to just turn the c