Restoring a database on the passive cluster - is it possible?

We have a database we need to restore and we plan to place it outside our AGs so it would need to be restored on both the active and passive cluster. Is this possible? I've read something about being "shared" on SANS so you don't have to "restore"
but you can't use SSIS because SSIS is not cluster-aware. Are there any articles or white papers out there that might clarify how to automate the restore of the database on the SQL Cluster.
We are running SQL Server 2012.
Thx,
Sue

Please try this:
Automation of DB Restore in a Cluster Enviroment
Cheers,
Saeid Hasani
Database Consultant
Please feel free to contact me at [email protected] as well as on Twitter and Facebook.
[My Writings on TechNet Wiki] [T-SQL Blog] [Curah!]
[Twitter] [Facebook] [Email]

Similar Messages

  • Drop Database in Active/Passive Cluster

    Hi,
    database is 10.2.0.4 on RHEL AS 4. Database is using ASM for the storage of physical files. This database is part of Active Passive cluster.
    Can you please guide me as how can I drop this database and also remove the entry from cluster.
    Thanks

    Panicked DBA wrote:
    Hi,
    database is 10.2.0.4 on RHEL AS 4. Database is using ASM for the storage of physical files. This database is part of Active Passive cluster.
    Can you please guide me as how can I drop this database and also remove the entry from cluster.
    For dropping the database, using the DBCA is the best approach. After the removal, use the command srvctl to remove the entries from the OCR.
    HTH
    Aman....

  • Multiple Database behind the Weblogic cluster

              Hi,
              We are working on an enterprise-level EJB based application. Because the scalability and fail-over requirement of the application, we have to at least have 2 database in the backend. Ideally, the 2 database should like one for the Weblogic servers in the app server cluster that are accessing them. There are severl possible solutions:
              1. Have one database as the master data source and another database as stand-by. When the master dabase fails, we could use the Oracle hot-failover to failover to the standby database (am I right? ). The bad thing about this solution is that we are wasting a big box doing nothing, just as standby.
              2. Use a database cluster. I saw some of the discussion in the newsgroup. Basically, the database(s) in the cluster will look like one logical database for the app server cluster. Does anyone have any comments on this solution? Please provide details.
              3. We come up a solution which requires partition of the application into several logical funtion groups and partition the data as well. Even though the solution works technically, it will create a management nightmare for the server cluster.
              Anyone has experience with this? Please comment. Thanks a lot!
              Adam
              

              Weblogic 7 has a new concept called network channel, where there is a section talking
              about clustering over multiple NIC cards. I was confused by the cluster address in
              customized network channel (no example there). I tried to use multiple NIC cards
              for the purpose of network failover, but failed in clustering environment, although
              I succeed in single server environment.
              Kumar Allamraju <[email protected]> wrote:
              >You can set Interface address via admin console's
              >Cluster >> {Cluster Name }
              >
              >on the right hand side you will find InterfaceAddress box.
              >
              >--
              >Kumar
              >
              >zevit wrote:
              >
              >>>It's the JVM & OS who will take adv. of multiple NIC's. We don't have
              >>>anything in WLS that does this thing.
              >>>
              >>>Alternatively you can bind each WLS instance to a specific NIC card
              >>>to effeciently utilize each NIC card.
              >>>
              >>
              >> thank u kumar.. Could u please tell me how do i bind each WSL instance
              >> to a specific NIC ?
              >>
              >
              

  • One Listener : two Databases in the same system : is it possible ?

    Hi,
    I am trying to setup a single listener to listen to two Databases running in the same system. We are experimenting a Network Architecture & this is a part of our experiment to see what happens..( most of the documentation I have read point out that running two DBs on a sing le system isn't a good idea..).
    One of the Databases is an Oracle Application Server Infrastructure Metadata Respository ( OraInfra ). The other database has been configured for use with Oracle Content Database ( OraContentDB ) .
    The two databases are up & running successfully - however, the problem is with the listener. The two listener.ora files are as follows :-
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\OraContentDB\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\product\10.2.0\OraContentDB)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 152.69.191.100)(PORT = 1522))
      )and
    # listener.ora Network Configuration File: C:\OraInfra\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\OraInfra)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = 152.69.191.100)(PORT = 1521))
            (ADDRESS = (PROTOCOL = TCP)(HOST = 152.69.191.100)(PORT = 1522))
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
      )However, everytime I try to connect via SQLPLUS, I can only connect via the first Listener. If I try to connect via the second listener, I only get this error :-
    SQL> connect scott/tiger@localhost:1522/CONTENTDB
    ERROR:
    ORA-12541: TNS:no listenerCan anyone shed some light on this ?
    Thanks,
    Sandeep

    Hi,
    Thanks to everyone for your time ! Yes, I now have an understanding of the architecture & I am trying to set up my listener...
    Paul, I reconfigured my Listener.ora and started it :-
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\OraInfra)
          (PROGRAM = extproc)
        (SID_DESC =
          (GLOBAL_DBNAME = ORAINFRA.idc.oracle.com)
          (ORACLE_HOME = C:\OraInfra)
          (SID_NAME = ORAINFRA)
        (SID_DESC =
          (GLOBAL_DBNAME = CONTENTDB.idc.oracle.com)
          (ORACLE_HOME = C:\oracle\product\10.2.0\OraContentDB)
          (SID_NAME = CONTENTDB)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = 152.69.191.100)(PORT = 1521))
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
      )I started the listener from the command line and this si what I see :-
    C:\OraInfra\bin>c:\OraInfra\bin\lsnrctl
    LSNRCTL for 32-bit Windows: Version 10.1.0.4.2 - Production on 16-AUG-2006 10:12
    :38
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> start
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 10.1.0.4.2 - Production
    System parameter file is C:\OraInfra\network\admin\listener.ora
    Log messages written to C:\OraInfra\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=152.69.191.100)(PORT=152
    1)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=152.69.191.100)(PORT=152
    1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.1.0.4.2 - Produ
    ction
    Start Date                16-AUG-2006 10:12:45
    Uptime                    0 days 0 hr. 0 min. 2 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\OraInfra\network\admin\listener.ora
    Listener Log File         C:\OraInfra\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=152.69.191.100)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
    Services Summary...
    Service "CONTENTDB.idc.oracle.com" has 1 instance(s).
      Instance "CONTENTDB", status UNKNOWN, has 1 handler(s) for this service...
    Service "ORAINFRA.idc.oracle.com" has 1 instance(s).
      Instance "ORAINFRA", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>It didn't look suspicious to me I had a peek at the Listener.Log :-
    TNSLSNR for 32-bit Windows: Version 10.1.0.4.2 - Production on 16-AUG-2006 10:12:43
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    System parameter file is C:\OraInfra\network\admin\listener.ora
    Log messages written to C:\OraInfra\network\log\listener.log
    Trace information written to C:\OraInfra\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=3308
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=152.69.191.100)(PORT=1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    16-AUG-2006 10:12:45 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=balajsub))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168821762)) * status * 0
    16-AUG-2006 10:12:46 * service_died * 1183The message "service_died" looked fishy & I tried to conect :-
    C:\OraInfra\bin>sqlplus /nolog
    SQL*Plus: Release 10.1.0.4.2 - Production on Wed Aug 16 10:18:26 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL> connect scott/[email protected]:1521/ORAINFRA.idc.oracle.com
    SQL> Connected
    SQL> connect scott/[email protected]:1521/CONTENTDB.idc.oracle.com
    ERROR:
    ORA-12537: TNS:connection closedI now understand that the Listener is trying to open a connection to the Database - but, I am not sure why the connection dies with with the ORA-12537 error. It looks like the error is somewhere deeper in the TNS Layer...
    Can you throw some light on this as well ?
    Regards,
    Sandeep

  • Restore BizTalk Servers on the same SQL Server

    Hi
    If I need to do a recovery of the BizTalk databases to a point in time before a hardware failure on the same SQL Server, how do I achive this?I have seen the only recommended method is to use log shipping, but is this to restore Databases onto another SQL
    Server? If I just want to restore all Databases onto the same server, how would I achive this.
    Thanks in advance

    The only supported Backup/Restore scenario for BizTalk Server, is using the SQL Agent job: 
    Backup BizTalk Server (BizTalkMgmtDb)
    If you had this job running before the hardware failure, it will have backed up your databases both Full and Log (Differential). 
    Use these backup files for restore, just as you normally would when restoring SQL Server databases.
    Morten la Cour

  • Restore Rac database in another cluster

    Hello, I have a rac database in a clusterware compose by two node, for example node_1 and node_2, but now I need to pass the rac database from this original cluster to another that already exist.
    I have two idea but I do not know if they are correct. One is create a template from my Rac database, and then in the second cluster create a rac database from it. The second idea is to make a copy of the pfile and level 0 RMAN backup in one node of the second cluster and then restore the database there.
    Maybe twice idea are bad or maybe exist a better form to do it. I hope you can help me.

    Hi,
    Well, I believe that I was not clear in my last explanation.
    The hypothetical scenario is:
    One database using ASM (database name orcl) , two inatances in two separated servers (nodes serv1 and serv2) and two instances ( orcl1 and orcl1).
    In this scenary I lost everything and just have the backups of spfile, controlfile, database and archives.
    So the steps to recovery is (using serv1):
    1- Create the cluster (install clusteware, create CRS/Vdisk, create ASM instance)
    2 - Just install the oracle files in all nodes serv1 and serv2, but don't create the instance orcl1 and orcl2.
    3 - restore/recover spfile - rman
    4 - restore/recover controlfile - rman
    5 - restore/recover database with until clause - rman
    After these steps the instance orcl1 will be restored by RMAN in the serv1 and the database orcl was created in the ASM.
    But, plese correct if I'm wrong, the instance and database will not be registered in CRS (RMAN not register the instance).
    So I need to registry the instance and database with srvctl, doing:
    1 - create PFILE in serv1 for orcl1 (that point to SPFILE in ASM) and ORAPWD file.
    2 - add the database orcl to CRS
    3 - add the instance orcl1 to CRS
    4 - add the dependency about ASM and orcl1 from the node serv1 (using srvclt)
    But after this I have the instance orcl2 in serv2 to create.
    Just the instance, because the binaries already installed and the database was already created.
    TO complete I need to do the steps:
    1 - Copy/Create PFILE for instance orcl2 in serv2
    2 - add the instance orcl2 to CRS (using srvctl add instance)
    3 - add the dependency about ASM instance (that exists in server2) and Instance orcl2 from the node serv2 (using srvctl)
    4 - create PFILE and ORAPWD file.
    The question is, RMAN will registry the instanci and database in CRS?
    Another question, the RMAN will create PFILE and registry all instances of the original cluster?
    I believe that not for two questions, correct?
    Exists another path to restore/recover the RAC in this scenary?
    Thanks.

  • SQL Server wants to open properties of wrong database and cannot restore logs of different databases at the same time

    We have implemented our own way of logshipping by backing up the transaction logs of all our non-system databases every hour. Then we transfer the backups (before SQL Server 2008 R2 with additional zip and unzip steps) to the second environment where we
    restore them only during the night on databases in standby-state (Like this, our developers can access the databases without disturbing the productive system and we can restore the t-logs during night, so not shutting out the developers during the day).
    Now since we replaced our hardware in the productive environment, we replaced the hardware in the second environment with the servers from previous productive environment. Same SQL Server 2008 R2, same Service Pack (SP2), same installation procedure. But
    since then the SQL Server in the second environment behaves different:
    - When the logs of some database "A" are restored, I cannot access the properties of any database, i.e. database "B", I only get the error message "Cannot show requested dialog. (SqlMgmt) Database 'A' cannot be opened. It is in the
    middle of a restore. (Microsoft SQL Server, Error: 927)"
    - Our logshipping runs multiple instance at the same time, so restoring multiple databases' logs. But since the change, two of the instances fail restoring of datatbases, i.e. "B" and "C" with the error message "Database 'A' cannot
    be opened. It is in the middle of a restore.". The jobs guarantee to restore only logs of the database they need to restore, they have strictly separated sets of target databases and only try to restore the databases of their sets.
    Before the new installations, we did not have these strange behaviours. But as said, it is the same SQL Server version, the same service pack, and we followed the same installation document but maybe with the small changes in settings. The user the jobs
    are running under is a domain admin, the login they use has dbcreator, processadmin, db_owner and db_backupoperator roles. My login on the SQL Server has sysadmin rights and as described similar problems.
    Is this problem known or does somebody have an idea where to go looking for?
    Thanks, Chris

    Hi Christar,
    According to your description, after you configuring Log shipping between two database, you remove the hardware from production environment to dev environment, in this hardware, there are saved the transaction logs of your database.
     When restoring  your database, there will occurs error 927, right?
    SQL Server Log shipping allows you to automatically send transaction log backups from a
    primary database on a primary server instance to one or more
    secondary databases on separate secondary server instances. It consists of three operations:
    1.Back up the transaction log at the primary server instance.
    2.Copy the transaction log file to the secondary server instance.
    3.Restore the log backup on the secondary server instance.
    Since you want to move your hardware avoiding copy job, we need to verify if .mdf and .ldf file are not saved in your hardware, or else,
     if you move your hardware, you could not open your database in your Primary Server. I recommend you can refer to the following steps.
    Full back up your primary database and restore it into the secondary database. It would have been set up as WITH STANDBY ,the databases would read StandBy/ Read Only.
    Perform transaction log backups via a SQL Server Agent job running on the primary server instance, save them in your hardware.
    In night, you move hardware to your dev environment, you can manually restore these transaction log backups or set up a SQL Server Agent job to restoring them from your hardware.
    There is detail about how to configure log shipping in SQL Server 2008R2 step by step, you can review it.
    http://mostafaelmasry.wordpress.com/2013/01/02/log-shipping-in-sql-server-2008r2-step-by-step/
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Error - Logical file is not part of database. Use RESTORE FILELISTONLY to list the logical file names

    I made a script to restore .bak or backup files. It works for some databases, but not for one. How do I make it work for any type of .bak file ? This is in sql server 2008. The error message is -
    Msg 3234, Level 16, State 1, Line 1
    Logical file 'Northwind_Data' is not part of database 'Northwind'.
    Use RESTORE FILELISTONLY to list the logical file names.
    Msg 3013, Level 16, State 1, Line 1
    RESTORE DATABASE is terminating abnormally.
    Script -
    IF DB_ID('Northwind') IS NULL
    BEGIN
    RESTORE DATABASE [Northwind]
    FILE = N'Northwind_Data'
    FROM
    DISK = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\Backup\Northwind.bak'
    WITH FILE = 1,
    MOVE N'Northwind_Data'
    TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\DATA\Northwind.mdf',
    MOVE N'Northwind_Log'
    TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\DATA\Northwind_0.LDF',
    NOUNLOAD, STATS = 10
    END

    Hello,
    The issue you are facing might be related to below link
    http://support.microsoft.com/kb/2487231/en-us
    As per link this is known issue.Can you please check service pack level of SQL Server 2008 .It should be SP3.Please apply SP3 and see if the error subsides.
    Also error suggests  logical file name 1 which you are giving is not part of the backup set from which you are trying to restore.You should first use below query to determine right file then proceed with restoration of the same.
    restore filelistonly from disk='C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\Backup\Northwind.bak'
    if file ID is 3 may be your restore script would be like below
    F DB_ID('Northwind') IS NULL
    BEGIN
    RESTORE DATABASE [Northwind]
    FILE = N'Northwind_Data'
    FROM
    DISK = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\Backup\Northwind.bak'
    WITH FILE = 3,
    MOVE N'Northwind_Data'
    TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\DATA\Northwind.mdf',
    MOVE N'Northwind_Log'
    TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\DATA\Northwind_0.LDF',
    NOUNLOAD, STATS = 10
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • SQL SERVER Failover Cluster switch failure because the passive node automatically reassign drive letter

    I switch the sql server resource group to the standby node , when the disk resource ready bring online in the passive node ,then occur exception. because the original dependency disk resource the drive letter is 'K:' , BUT when the disk bring online , it
    automatically reassign new drive letter 'H:' ,  So the sql server resource couldnot bring online . And After Manual modify the drive letter to 'K:' in the passive node , It Works !  So my question is why it not use the original drive letter
    and reassign a new one . what reasons would be cause it ? mount point ? Some log as follows:
    00001cbc.000004e0::2015/03/12-14:41:11.377 WARN  [RES] Physical Disk <FltLowestPrice_K>: OnlineThread: Failed to set volguid \??\Volume{e32c13d5-02e6-4924-a2d9-59a6fae1a1be}. Error: 183.
    00001cbc.000004e0::2015/03/12-14:41:11.377 INFO  [RES] Physical Disk <FltLowestPrice_K>: Found 2 mount points for device \Device\Harddisk8\Partition2
    00001cbc.00001cdc::2015/03/12-14:41:11.377 INFO  [RES] Physical Disk: PNP: Update volume exit, status 1168
    00001cbc.00001cdc::2015/03/12-14:41:11.377 INFO  [RES] Physical Disk: PNP: Updating volume
    \\?\STORAGE#Volume#{1a8ddb8e-fe43-11e2-b7c5-6c3be5a5cdca}#0000000008100000#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
    00001cbc.00001cdc::2015/03/12-14:41:11.377 INFO  [RES] Physical Disk: PNP: Update volume exit, status 5023
    00001cbc.000004e0::2015/03/12-14:41:11.377 ERR   [RES] Physical Disk: Failed to get volname for drive H:\, status 2
    00001cbc.000004e0::2015/03/12-14:41:11.377 INFO  [RES] Physical Disk <FltLowestPrice_K>: VolumeIsNtfs: Volume
    \\?\GLOBALROOT\Device\Harddisk8\Partition2\ has FS type NTFS
    00001cbc.000004e0::2015/03/12-14:41:11.377 INFO  [RES] Physical Disk: Volume
    \\?\GLOBALROOT\Device\Harddisk8\Partition2\ has FS type NTFS
    00001cbc.000004e0::2015/03/12-14:41:11.377 INFO  [RES] Physical Disk: MountPoint H:\ points to volume
    \\?\Volume{e32c13d5-02e6-4924-a2d9-59a6fae1a1be}\

    Sounds like you have an cluster hive that is out of date/bad, or some registry settings which are incorrect. You'll want to have this question transferred to the windows forum as that's really what you're asking about.
    -Sean
    The views, opinions, and posts do not reflect those of my company and are solely my own. No warranty, service, or results are expressed or implied.

  • Restore database in the same server but with other sid (name)

    i try to restore the database in the same server but with other sid (name) . The backup is on tape and
    I want to know the steps I should follow.
    thank.

    To perform restore of database in same host to choose another DB name you can go for
    1) duplicate using RMAN.
    Directory structure should be different so take care of db_file_name_convert & log_file_name_convert parameters
    Also check the Tns services exactly is it pointing to target & auxiliary
    http://www.shutdownabort.com/quickguides/clone_rman.php
    http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php

  • Restoring the database for the bcm using 2010 office pro

    I running win 7 professional and running the office 2010 professional using the bcm and it's working, but when I try restoring the database it gives me an error saying that I'm not the owner of the file. What's the problem?  I have backed up the from
    win 7 professional x'64' and trying to restore the file on a 32 bit application (office 2010 professional) I am the owner of the file that I'm trying to restore, and trying to avoid keying the transaction into the database on the 32 bit. Also I'm using the
    business contact manager to restore the file. Can anyone help? this is regarding outlook 2010 bcm.
    Mike Horrigan

    Hi Mike
    Try this
    Close Outlook
    Locate Outlook.exe on the file system
    Right-Click on Outlook.exe and select RunAs and Start Outlook as the Machine Administrator
    Then, try restoring the BCM Database
    Hope this helps!
    Larry - MSFT

  • How to find the total size of the database before the Restore.

    Hi Guys,
    I'll do a Restore, but I do not know the environment and need to know what the total size of the database to create a storage area.
    Is there any way to find out the total size of the database(including all datafiles and temp) using only the RMAN catalog before running the Restore.
    I'm using Tivoli TSM with ASM.
    Levi Pereira

    Hi tychos,
    break on report
    compute sum of TOTAL_DB on Report
    select 'DataFiles' NAME, SUM(ROUND(bytes/1024/1024/1024)) TOTAL_DB from rc_datafile
    where db_name = 'ORCL'
    UNION ALL
    select 'TempFiles' NAME, SUM(ROUND(bytes/1024/1024/1024)) TOTAL_DB from rc_tempfile
    where db_name = 'ORCL'This query returned I had 372 Gbytes of data.
    At the end of the Restore Database got the size of 408 Gbytes.
    The total size of all Redo was 3Gbytes that was not being counted anyway there was a difference of 33Gbytes.
    I need to understand the reason for the difference in sizes.
    It makes no sense to me RMAN catalog does not inform the total size of the database (Datafiles, tempfiles, Redo and controlfile) before the Restore since it's information is already somewhere.
    Thanks for your help.
    Levi

  • When I switch libraries I lose the majority of the material in my main library and can only restore it by repairing the database. Can anyone tell me why this is happening and how I can resolve the problem? Thanks

    When I switch libraries I "lose" the majority of the material in my main library (or at least I can't see it) and can only restore it by repairing the database. Can anyone tell me why this is happening and how I can resolve the problem? Thanks

    I seem to have found a way around it. Rather than switching libraries by going into files/switch libraries I used Aperture Preferences to change them. I've done it a couple of times and it appears to work OK.
    That is an interesting finding. It suggests, that your "Preferences" file "com.apple.Aperture.plist" may have been corrupted and you fixed it this way. Can you now switch between libraries the usual way? If not, I'd try to remove the "preferences" file from the user library to the Desktop and relaunch Aperture.
    The Aperture 3: Troubleshooting Basics:http://support.apple.com/kb/HT3805
    describe how to remove the user preferences.

  • Active - Passive Cluster

    Hey, I have to manage an active passive cluster on SLES10 SP4. Oracle 10.2.0.4
    All oracle binaries are on a DRBD Device on mountpoint /oradata.
    This mountpoint includes the binaries and all datafiles.
    I havent installed these systems. At one stage on node died and got reinstalled by a systemadministrator.
    After a switch from the running node to the standby node, the cluster is not starting.
    Jan 3 14:36:01 a logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.6114.
    Jan 3 14:36:14 a logger: Waiting for Oracle CSS service to be available before starting
    Jan 3 14:36:14 a logger: ASM instance +ASM. Wait 2.
    After issung $ORACLE_HOME/bin/localconfig add the cluster is starting, the asm instance is coming up, and also the database instance is starting.
    Shortly after that the db instance dies. Alertlog is showing something like recursive sql error.
    Looks like writing to the datafiles is not working.
    In asmcmd the diskgroups are showing DISMOUNTED (show MOUNTED before)
    so what to do ?
    a) Why is it necessary to issue "localconfig add" to make the cluster starting ?
    b) What could be a reason for not being able to write to the database ?
    c) How would you guys install an active/passive cluster ?
    c1) Install OS on both nodes
    c2) Install oracle binaries
    c2.1) on both nodes in the local files system and do the mapping to the drbd afterwards?
    c2.2) only on one node and just switch the mountpoint ?
    Chris

    Hi,
    first of all please clarify, if you have Oracle clusterware installed, or just the local configuration for local ASM.
    There is a big difference between the 2, and also using DRBD has nothing to do with Oracle clusterware (and is not supported by Oracle).
    a.) Localconfig may be necessary for a local ASM installation in 10.2. Main reason is, that the CSS service configuraton includes the hostname (which changed if you switched nodes). Hence may not be able to start ASM. With localconfig you are fixing this issue.
    Very important: It is not a good idea to run this is a cluster configuration, since it will break things (a lot of things).
    b.) If the ASM diskgroup got dismouned, then the database cannot write. Hence your problem. Why the diskgroup dismounted, you should find in the ASM alert.log
    c.) I would go for RAC One Node. Which has this all preconfigured. So it makes life easier. Search for "RAC One Node" on OTN for more information. At least I would take a manual cluster, and do mirroring by ASM, and not DRBD....
    c1.) Yes install Oracle cluster (or Grid infrastucture in 11.2) on both nodes. Like a RAC.
    c2) Install database software on both nodes locally.
    c2.1) No. No DRDB.
    c2.2) Both nodes. Same installation.
    Regards
    Sebastian

  • Planning System Center Operation Manager 2012 R2 on SQL 2012 Active/Passive Cluster

    Dears,
    I'm planning to deploy System Center Operation Manager 2012 R2 on SQL 2012 Active/Passive Cluster which have other sql instances running for other applications. And i'm planning to create a new instance for SCOM, kindly provide me recommendation
    whether i can install all sql databases for SCOM on same sql instance or does it require separate instances for opsmanger database , dw database and ACS database?
    Thanks in advance..

    Hi,
    Yes, all SCOM SQL databases can run on the same instance of SQL server.
    As well, look at some helpful posts for the topic:
    http://technet.microsoft.com/library/dn281933.aspx
    http://blogs.technet.com/b/kevinholman/archive/2013/10/18/opsmgr-2012-r2-quickstart-deployment-guide.aspx
    Natalya
    ### If my post helped you, please take a moment to Vote as Helpful and\or Mark as an Answer

Maybe you are looking for