Create guaranteed restore point in oracle 10g RAC ASM

Hi DBAs,
In our production environment we have 2 node master RAC database (Oracle 10.2.0.5) (node1 name=master1 and node2 name=master2)
for which there is going to be a release tonight so want to create a guaranteed restore point for this RAC database.
I have googled many and found some ways, but before I implement it wanted a reviews from experts here.
Note: We already have db_recovery_file_dest set up in ASM...db_flashback_retention_target=1440 and db_recovery_file_dest_size=200GB with arch mode ON.
The steps are
STOP the RAC Database on Both Nodes...
Node1:
$srvctl stop database -d
$Srvctl stop database –d master1
Node2:
$srvctl stop database -d
$Srvctl stop database –d master2
And now start one instance only in mount state:
On node1:
SQL> startup mount
Now enable flashback on Node1...
SQL> alter database flashback on;
SQL> alter database open;
SQL>CREATE RESTORE POINT before_upgrade GUARANTEE FLASHBACK DATABASE;
Now start the second instance…
$srvctl start instance -d -i
$srvctl start instance –d master1 –d master2
Please let me know if there is something needs to be rectified.
Regards,
Ritz

The steps look fine.
Presumably you've already checked to see if the database is in flashback mode and it isn't...hence you putting it into flashbac mode?
Probably just typos but it looks like you have interchanged database names and instance names in your commands....you have the following commands.  The srvctl commnds can be run from any node  (ie you do not have to run it on node1 to shutdown instance1 and node2 to shutdown instance2).
Node1:    srvctl stop database –d master1
Node2:    srvctl stop database –d master2
You would run either:
Any node:    srvctl stop database -d master (assuming you database name is master...this will shut down both instances)
OR shutdown each instance individually
Any node:    srvctl stop instance -d master -i master1
Any node:    srvctl stop instance -d master -i master2
Same commnds as above to start using "srvctl start"...the following start commands do not look right to me:
srvctl start instance -d -i
srvctl start instance –d master1 –d master2

Similar Messages

  • Oracle 10g RAC+ASM - Storage Issue

    I’ve an issue related to Oracle 10g RAC.
    I’ve 2 node cluster each being Dell 2850 Server with RHEL 4.0
    I’ve EMC CX300 SAN storage with following partitions
    /orasoft     10 Gb          OCFS2 File system
    /oracrs          2 Gb          OCFS2 File system
    /orabackup      100 Gb          OCFS2 File system
    The datafiles are on ASM which is not directly visible in OS.
    I’ve common Oracle Home installed in /orasoft/db_1 which is shared by both nodes in cluster.
    I’ve faced an issue recently related to EMC storage.
    The /orasoft partition displays 1.4 Gb space available using df command.
    With both nodes sharing the common Oracle Home (/orasoft/db_1), when ever I try to touch a file I get an error as No Space left on device. I’m unable to start any service with the same reason.
    Is this setup correct ??
    Can anyone help me with this storage issue ??

    Hi,
    If you create a new diskgroup you may be to add the same diskgroup to parameter file or spfile and which will be needing down time.
    sugestion: Instead of creating new diskgroup you should to add disk to existing group.if you add asm disk to existing group your all problem will be solved and Oracle itself will be managing all.And than i am sure no need to add entry in the parameter or spfile like +db_create_file_dest=.....
    regards,
    Sher khan

  • Oracle 10g RAC + ASM

    Hi,
    We are installing Oracle10g RAC with Oracle clusterware with ASM on Solaris 10. Does anybody have a installation/configuration manual for this combination.
    Thanks,
    Murtuja

    Murtuja,
    Oracle Clusterware and Oracle Real Application Clusters Installation and Configuration Guide for Solaris Operating System (SPARC 64-Bit) has got all the information you would need to install Oracle RAC on Solaris 10. This guide is available from http://otn.oracle.com
    Thanks & Regards

  • Oracle 10g RAC, ASM or GPFS ?

    Dear all,
    We are implementing RAC 10g R2 on AIX 5.3, two nodes, using ASM.
    The question is, using ASM do we still need to configure GPFS ?
    (I come from development side, so I need to ask this question..)
    Thank you,
    xtanto

    Dear xtanto,
    I have several environments using 10gR2+ASM+GFS and works great and they are very stable. I will recommend it.
    Cheers,
    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • Guaranteed Restore Point

    I did set a guaranteed restore point for the database which was a business requirement and after a while the database had to be bounced and then restarted. I know that the restore point will still be there. But now my concern is do I have to create a new restore point after the database restarted or will the one created before the bounce will be good if I have to restore a database?

    A guaranteed restore point will stay FOREVER until you manually drop it. It will stay across restart.
    But now my concern is do I have to create a new restore point after the database restarted or will the one created before the bounce will be good if I have to restore a database?I think you are missing the point of a Restore Point as opposed to a Backup.
    A Restore Point is a label for a SCN. If you make a Guaranteed Restore Point, Oracle will retain the flashback logs for as long the restore point exists so it can FLASHBACK (and not RESTORE) to that SCN. You do it before you want to do a big change in database and want to have a mean to rollback the database very fast if something goes wrong. You DO NOT create Guaranteed restore points and leave it there for long time. You take a BACKUP for this purpose.
    Creating a new Restore Point is unrelated to the old one and in your case looks unnecessary.

  • Solaris 10 and Hitachi LUN mapping with Oracle 10g RAC and ASM?

    Hi all,
    I am working on an Oracle 10g RAC and ASM installation with Sun E6900 servers attached to a Hitachi SAN for shared storage with Sun Solaris 10 as the server OS. We are using Oracle 10g Release 2 (10.2.0.3) RAC clusterware
    for the clustering software and raw devices for shared storage and Veritas VxFs 4.1 filesystem.
    My question is this:
    How do I map the raw devices and LUNs on the Hitachi SAN to Solaris 10 OS and Oracle 10g RAC ASM?
    I am aware that with an Oracle 10g RAC and ASM instance, one needs to configure the ASM instance initialization parameter file to set the asm_diskstring setting to recognize the LUNs that are presented to the host.
    I know that Sun Solaris 10 uses /dev/rdsk/CwTxDySz naming convention at the OS level for disks. However, how would I map this to Oracle 10g ASM settings?
    I cannot find this critical piece of information ANYWHERE!!!!
    Thanks for your help!

    You don't seem to state categorically that you are using Solaris Cluster, so I'll assume it since this is mainly a forum about Solaris Cluster (and IMHO, Solaris Cluster with Clusterware is better than Clusterware on its own).
    Clusterware has to see the same device names from all cluster nodes. This is why Solaris Cluster (SC) is a positive benefit over Clusterware because SC provides an automatically managed, consistent name space. Clusterware on its own forces you to manage either the symbolic links (or worse mknods) to create a consistent namespace!
    So, given the SC consistent namespace you simple add the raw devices into the ASM configuration, i.e. /dev/did/rdsk/dXsY. If you are using Solaris Volume Manager, you would use /dev/md/<setname>/rdsk/dXXX and if you were using CVM/VxVM you would use /dev/vx/rdsk/<dg_name>/<dev_name>.
    Of course, if you genuinely are using Clusterware on its own, then you have somewhat of a management issue! ... time to think about installing SC?
    Tim
    ---

  • Guaranteed restore point Vs catdwgrd.sql downgrade for oracle 12c

    I understand that we have two ways to downgrade (assuming compatible parameter is not modified) when we upgrade a 11.2.0.3 database to oracle 12c.
    I am curious to know advantages of catdwgrd.sql when compared to guaranteed restore point downgrade. I think guaranteed restore point looks very simple
    compared to catdwgrd.sql. Also I think oracle doesn't exactly bring the database back to the same state when we use catdwgrd.sql whereas
    guranteed restore point brings us back to the same state.
    Thank You
    Sarayu

    Which method you choose will depend on your circumstances. This blog post may help
    https://blogs.oracle.com/UPGRADE/entry/is_there_a_fallback_strategy
    A third possible option is to simply restore the database from backups
    HTH
    Srini

  • Shared Storage allocation for Oracle 10g RAC

    Hi,
    I am about to implement a Two Node Oracle 10g RAC on Windows 2008 (32-Bit) servers. We are going to use EVA4400 storeage and we have 600 GB for Oracle RAC and database.
    I intend to follow the steps given in RACGuides_Rac10gR2OnWindows.pdf mentioned in Note 811271.1 (RAC Assurance Support Team: RAC Starter Kit and Best Practices (Windows)).
    I would like to know how should I allocated the storage for OCR,Vote, Database and Flash Recovery Area. Meaning how many LUNs and of what size to be created and presented to both the servers. To start with I need to create a 25 GB database. We will be using Raw Device for OCR and Vote and ASM for Database and Flash Recovery Area.
    Please advice.
    Thanks,
    Thiru

    I am about to implement a Two Node Oracle 10g RAC on Windows 2008 (32-Bit) servers. Oracle 10g on Windows 2008 is not supported. Anyway installing a cluster as of today i would use a 64-bit operating system together with a 64-bit database. Everything else is not state-of-the-art anymore.
    As of today i would go with 11g Release 1 (11.1.0.7.0) plus latest patches for Clusterware and ASM. Because you are using Windows 2008 you must use 11g Release 1 for the database as well. Bear in mind that Windows 2008 R2 is at this point in time not supported for 11g R1 or 11g R2 either.
    I would like to know how should I allocated the storage for OCR,Vote, Database and Flash Recovery Area. Meaning how many LUNs and of what size to be created and presented to both the servers. This is said in the installation documents. Rule of thumb: At least three LUNs of 2 GB for OCR and three LUNs of 2 GB for Voting disk.
    To start with I need to create a 25 GB database. We will be using Raw Device for OCR and Vote and ASM for Database and Flash Recovery Area.According to Oracles recommendations: Two disk groups: one for database files, the other for the flashback area.
    But your setup may be different (more disk groups,....)
    Ronny Egner
    My blog: http://ronnyegner.wordpress.com

  • Oracle 10g RAC on Windows

    Installed Oracle 10g RAC on Windows... Everything was
    working fine, now when I install CRS it completed at 100% and then in the configuration it gives error
    INFO: exitonly tools to be excuted passed: 0
    INFO: Starting to execute configuration assistants
    INFO: Command = C:\WINDOWS\system32\cmd /c call C:\oracle\product\10.2.0\crs/install/crssetup.config.bat
    PROT-1: Failed to initialize ocrconfig
    Step 1: checking status of CRS cluster
    Step 2: creating directories (C:\oracle\product\10.2.0\crs)
    Step 3: configuring OCR repository
    ocr upgrade failed with (-1)
    Execution of the plugin was aborted
    INFO: Configuration assistant "Oracle Clusterware Configuration Assistant" was canceled.
    *** Starting OUICA ***
    Oracle Home set to C:\oracle\product\10.2.0\crs
    Configuration directory is set to C:\oracle\product\10.2.0\crs\cfgtoollogs. All xml files under the directory will be processed
    INFO: The "C:\oracle\product\10.2.0\crs\cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
    I am using VMware WorkStation 5
    http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnWindows2003UsingVMware.php
    I can see my disks from both machines. Open the "Computer Management" dialog (Start > All Programs > Administrative Tools > Computer Management
    I use Windows XP SP2 as the host operating system
    Any suggestion?
    Message was edited by:
    MEXMAN

    You know its not certified?
    My first thought when I read the subject of this thread, and before reading what you posted, is that you've either done no research on RAC or didn't understand what you've read.
    You can create a RAC cluster using any operating system certified by Oracle.
    But the operating system is the least important part of creating a cluster. The questions you need to be able to address are:
    1. What is your solution to created shared storage?
    2. What is your solution to create the cache fusion interconnect and VIPs?
    If you don't have an answer to these questions you can not build a RAC cluster.

  • Oracle 10g RAC using ASM - Storage Issue

    I’ve an issue related to Oracle 10g RAC.
    I’ve 2 node cluster each being Dell 2850 Server with RHEL 4.0
    I’ve EMC CX300 SAN storage with following partitions
    /orasoft     10 Gb          OCFS2 File system
    /oracrs          2 Gb          OCFS2 File system
    /orabackup      100 Gb          OCFS2 File system
    The datafiles are on ASM which is not directly visible in OS.
    I’ve common Oracle Home installed in /orasoft/db_1 which is shared by both nodes in cluster.
    I’ve faced an issue recently related to EMC storage.
    The /orasoft partition displays 1.4 Gb space available using df command.
    With both nodes sharing the common Oracle Home (/orasoft/db_1), when ever I try to touch a file I get an error as No Space left on device. I’m unable to start any service with the same reason.
    Is this setup correct ??
    Can anyone help me with this storage issue ??

    Need a clarification here...what do you mean by "Storage System"...do you mean a server/node or the SAN storage system. If you are referring to a server/node's local storage, then it would NOT be possible for use by RAC, since the disk space has to be shared among the nodes.
    Here is what you can do:
    - Create two partitions/devices (for example Disk_1 and Disk_2) in the SAN storage
    - Create a ASM disk group which would mirror Disk_1 to Disk_2.
    Again, please note that the partitions have to be visible and be accessible read/write from both the nodes/servers.
    HTH
    Thanks
    Chandra Pabba

  • Using Clob with TopLink 9.0.4.5 and Oracle 10g RAC

    I am trying to store an XML file in a Clob type field of a DB table using TopLink 9.0.4.5 and Oracle 10g RAC and need some guidance about how to do it. I got some directions to start it with the Tip "How-To: Map Large Objects (LOBs) to Oracle Databases with OracleAS TopLink" but still need some more helps.
    When using the Oracle JDBC OCI driver, the tip gives the code block for a Clob field:
    DirectToField scriptMapping = new DirectToField();
    scriptMapping.setAttributeName("script");
    scriptMapping.setFieldName("IMAGE.SCRIPT");
    descriptor.addMapping(scriptMapping);
    As I understand, TopLink creates instances of the Descriptor class at run time for each of the descriptor files and stores them in a database session, where is the proper place (in SessionEvent of TopLinkSessionEventHandler?) for me to get a reference to such an instance of my Descriptor class in Java code so that I can add the above mentioned additional Mapping? Are the above String values of "script" and "IMAGE.SCRIPT" predefined in TopLink API? Can I accomplish the same thing just using the TopLink Workbench tool instead? If yes, please advise the detailed steps to do so.
    The tip also states to call the following code in case of using Clob:
    DatabaseLogin login = session.getLogin();
    login.useStringBinding();
    Should the above 2 lines of code be called after the following lines of code?
    SessionManager sessionManager = SessionManager.getManager();
    Server serverSession = (Server)sessionManager.getSession("MY_SESSION_NAME");
    Besides the above extra coding for the Session and Descriptor Mapping, is there any special handling in between Data model and DB table mapping? Can I map a Java String type to a DB Clob field using the Direct-to-field mapping?
    Appreciate any help.

    Never mind ....... I had already figured it out .....

  • Oracle database not starting up in oracle 10g RAC

    Hi!
    Recently I came across one problem with one node oracle 10g RAC.When the Oracle database is started,while opening it is giving ORA-03113:End of file on communication channel error.When I saw the the alert trace file and other trace files I found Disk group is exhausted error and it is not able to create .dbf files.Actually it is not a production server and I gave archive log destination in SAN.Even the spfile(content of init_database.ora) is in SAN..
    I tried Asmcmd utility to delete the archive log files.As the oracle is not available I am not able to asmcmd prompt.
    How to change the destination of archive log and to remove the old archive log files(as it is a testing environment we can remove) from SAN?Please let me know.
    Thanks & Regards
    Srikanth MVS

    keithrust wrote:
    On VMware there's a known issue with Oracle databases on a Windows client not starting up properly all the time and a manual startup using oradim -start -sid <whatever> is required to get it fully running. Hmmm, doing it several time, and never seen such issue. Which "known issue" and by who are you talking about ?
    I created a brand new Oracle VM Windows 2003 32-bit server, installed the Oracle drivers for paravirtualization, and whammo, the problem is still hereI'm sure, you miss something somewhere in the config. Right now, you're on supported configuration, you could either raise a SR to the support, or get help from your peer on Oracle Database General forum.
    Ah, but it's not a Windows issue. On a non-VM Windows box the database starts just fine all the time. Again, this is a known issue acknowledged by Oracle on the VMware side, I'm just surprised it exists on the Oracle VM side.Again, give more details about this "known issue". Never heard about that, eventhough I've been around for years.
    I was afraid you were going to ask that. I'll have to search for it again, but I think you can do the same as well....Well, I doubt you could find a Metalink note about Oracle on VMWare. So far, Oracle has always refused to support database on OS virtualized on VMWare (or any VM software other than Oracle VM). Based on that, you could be sure, your "known issue" is not an issue on Oracle VM.
    If you want more help, again, give more details about your issue.
    Nicolas.

  • Problem with Oracle 10g RAC VIP network setting at Solaris 9

    Dear All,
    I have tried to set up a Oracle 10g RAC Release 2.
    With OS solaris 9, and 2 nodes.
    The nodes setting as the following:
    nodes 1:
    Public address: 172.16.0.121
    Private address: 192.168.0.121, 192.168.1.121 (dual path for heart beat)
    nodes 2:
    Public address: 172.16.0.122
    Private address: 192.168.0.122, 192.168.1.122
    And i have assigned two IP adress 172.16.0.131, 172.16.0.132 as the VIP address for the
    RAC.
    And the following is the /etc/hosts file:
    root@shk01 # cat /etc/hosts
    # Internet host table
    127.0.0.1 localhost
    # public address
    172.16.0.121 shk01 loghost
    172.16.0.122 shk02
    # heart beat
    192.168.0.121 shk01-priv1
    192.168.1.121 shk01-priv2
    192.168.0.122 shk02-priv1
    192.168.1.122 shk02-priv2
    # VIP address
    172.16.1.131 vip-shk01
    172.16.1.132 vip-shk02
    But when i run the command "$ ./runcluvfy.sh comp nodecon -n shk01,shk02 -verbose"
    it shows the error:
    ERROR:
    Could not find a suitable set of interfaces for VIPs.
    Result: Node connectivity check failed.
    I did try to add the VIP address on bge0:1, as i using bge0 for the public address.
    Both nodes i did using the same interface name for it.
    Anyone have idea for me to check out the error?
    Also, I have other question about the raw device.
    As there is option for setting for ASM or raw device. If choosing raw device, does it mean that it just need to
    format the storage disk but without newfs it? And then the Oracle program will able to handle it?
    Thanks,
    Xentar

    You don't seem to state categorically that you are using Solaris Cluster, so I'll assume it since this is mainly a forum about Solaris Cluster (and IMHO, Solaris Cluster with Clusterware is better than Clusterware on its own).
    Clusterware has to see the same device names from all cluster nodes. This is why Solaris Cluster (SC) is a positive benefit over Clusterware because SC provides an automatically managed, consistent name space. Clusterware on its own forces you to manage either the symbolic links (or worse mknods) to create a consistent namespace!
    So, given the SC consistent namespace you simple add the raw devices into the ASM configuration, i.e. /dev/did/rdsk/dXsY. If you are using Solaris Volume Manager, you would use /dev/md/<setname>/rdsk/dXXX and if you were using CVM/VxVM you would use /dev/vx/rdsk/<dg_name>/<dev_name>.
    Of course, if you genuinely are using Clusterware on its own, then you have somewhat of a management issue! ... time to think about installing SC?
    Tim
    ---

  • Log Directories in Oracle 10g RAC environment

    Hi all,
    Would you please tell me in which directories, the following log files will be created, in a Oracle 10g RAC enviroment.
    evmd.log
    crsd.log
    ocssd.log
    Best Regards,
    Narayan

    U should try login as root and then type:
    find / -name nameoffileyouaresearchingfor
    This command will show You location of those files.

  • Installation of  oracle 10g rac on open solaris  for X86 Machine

    Hi
    Can you please let me know the advantages of installation of oracle 10g rac on open solaris on x86 machine.And also let me know the detail steps involved in instatllation of oracle 10g rac on open solaris on x86. please suggest the recommdendation for the installation
    Thanks
    Saiprasath

    If by "advantages of installation of oracle 10g rac on open solaris on x86 machine" you mean advantages over RAC on Linux or AIX or HP/UX there aren't any.
    If you want to know the advantages of RAC over stand-alone they generally relate to:
    1. Eliminating the server as a single point of failure
    2. Transparent fail-over
    2. Incremental horizontal scalability

Maybe you are looking for

  • Field Cost Ctr is a required field for G/L account BP01 44972001

    Dear Experts, When I am Creating J1IIN I am getting this error Field Cost Ctr is a required field for G/L account BP01 44972001+ Message no. F5808 For this I Checked 1. Field status Group of GL account                             2. Corresponding Pos

  • GetApplicationModule() depreciated in 10.1.2

    hi, i migrated an ADF UIX app to Jdev 10.1.2 and i now get warnings on compile of most of my data actions: Warning(16,41): method getApplicationModule() in class oracle.adf.model.binding.DCBindingContainer has been deprecatedThe java doc help says th

  • **********CS ACS 4.2.1 SOFTWARE DOWNLOAD***********************

    Hi Guys,               I need to upgrade my current acs 4.2.0 to 4.2.1, multi docs say that i can just download the software from the cisco web site. However, on the cisco web site I found two version non appears to be the correct one. 1. ACS 4.2.1.1

  • Why are flash buttons not a good idea?

    I'm trying to figure out a problem I'm having with flash buttons (mainly that I don't want users to have to click twice to make them work), and I keep seeing posts (particularly by Murray) asking if the poster knows that flash buttons aren't a good i

  • IPhoto quits unexpectedly when I try to add an effect

    Hi there, I have had this issue with iPhoto 9 and now 11, that when I click on the Effect tab, it exits and asks if I want to reopen. Does anyone have any ideas on whats causing it? Cheers MashKittyMinX