Retrieve DBID when Primary DB is not available

Oracle 10g R2 on AIX
For restore/recover DB, I need to set the DBID at the beginning of the RMAN process. From what I read till now, the easy way is to
1. copy down the DBID when I use the RMAN for backup first time and save it some where.
2. in the configure controlfile autobackup using the 'cf_F%' format, so it will hold the DBID as part of the file name.
Is any other way I can retrieve the DBID? from rman catalog if I use the catalog as part of rman backup?

1 You need to prepare for disaster recovery. If you need to retrieve the dbid when your database already has crashed, you are too late.
2 to recover you need a custom restore script.
The restore script sets the dbid
3 the %F modifier is mandatory in a controlfile autobackup
4 When you are using a catalog you don't need the dbid, as it is in the catalog.
5 the dbid is in the controlfile and can be retrieved using v$database.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Script to redirect a Application to secondary server if primary server is not available in a .ini file

    Hi Team,
    I want to write a script in the .ini file of an excel add-in on the users windows system , where if the primary server is not available it should automatically redirect to the secondary server. 
    Can someone help me in this?

    Hi Jrv, 
    As I said its an Add-in (Twuploader) in excel which uses a ini file to connect to a server. I want the addin to connect to another available server when the primary is not available. This is the ini file content below:
    [TradeWeb]
    Host=Server1
    Port=8002
    User=abcd
    [Upload]
    AutoMode=N
    UserInt=5
    [Toolbar]
    Visible=Y
    Row=26
    Pos=1
    Top=-32000
    Left=-32000
    Let me know how to edit this ini file so that if Server1 is unavailable it should connect server2. 

  • HT204266 I live in China, have Dutch nationality, and no US address or Credit Card; how can I have access to products from the US iTunes store, in particular music, when such items are not available from the China iTunes store? In general, what are the di

    I live in China, have Dutch nationality, and no US address or Credit Card; how can I have access to products from the US iTunes store, in particular music, when such items are not available from the China iTunes store? In general, what are the differences between countries' iTunes offerings? Does one really need an address and a credit card for any country to be able to access that countries iTunes store? Why these restrictions?

    You cannot.
    You cannot use another countrys itunes store.
    You must be physically locates inside the borders of a country to use that countrys itunes store and a credit card issued in that country with a valid billing address in that country.
    The owners of the distribution rights of movies/music/etc differ by country.  These distributors decide who can sell their content in that country.
    Buy from another source if your countrys itunes store does not carry somehting that you want.

  • Time Machine - using multiple drives when the first is not available

    Hello I have been succussfully using Time Machine with my USB external drive. I have been connecting it to my MacBook Air from time to time. Manual backups as well as the hourly backups when the drive has been connected worked without any problem.
    Recently, I connected Synology DiskStation (NAS) to my network and I have added it to the list of drives in my Time Machine setup. When my original external drive (first in the list) is not connected to my MacBook  the hourly backup is not initiated by the Time Machine at all. Manually started backup is runnign fine without any problem.
    The external drive is annotated with exclamation mark in Time Machines list with "not available" error - and it seems that this is causing the interruption of automatic hourly backup to any drive.
    Is there any way how to debug Time Machine? Or to get some logs of Time Machine?
    Any similar experience with multiple drive backup when the first of them is disconnected most of the time...?
    Thanks a lot for any help
    Petr

    Perhaps you should address this to Synology's tech support. Apple doesn't provide any support for third-party NAS, so your best bet is with Synology.

  • When Parameter id  is not available how to.....

    Hi Folks,
    I have an requirement to move to the MIRO when the user presses the AWKEY in the report.But AWKEY is not having any parameter id,then in such a case how can I set this.Can I take the first three char say AWK and call transaction MIRO?
    SET PARAMETER ID 'AWK' FIELD itfinal-AWKEY.
    CALL TRANSACTION 'MIRO' AND SKIP FIRST SCREEN.
    Will this work?
    Please let me know.
    Thanks,
    K.Kiran.

    Hi,
    you can take the first three characters of AWKEY  and double click on that if it is not available then the it is created as a Repository object and in which the value is stored...
    <b>SET PARAMETER ID pid FIELD f.</b>
    This statement saves the contents of field f under the ID pid in the SAP memory. The ID pid can be up to 20 characters long. If there was already a value stored under pid, this statement overwrites it. If you double-click pid in the ABAP Editor, parameters that do not exist can be created as a Repository object.
    regards,
    Ashok Reddy

  • How can I purchase even just the one month plan when the survey is NOT available in my country?

    The product is not available in my country, and I really need it for a study I'm conducting...
    Can you make this available in my country? or just me?
    Any ideas where I can post surveys for free?

    What country are you in?
    This is the list of supported countries:
    http://forums.adobe.com/docs/DOC-1375
    In order to purchase you need a credit card with a billing address in one of these countries.
    Randy

  • How can i fix my data connection on iPhone 4s when it tells me "not available" under carrier??

    for some reason, my iphone says "not available" under carrier in settings. Anyone know why??

    please tell me what u think can be the problem and the solution

  • Show Default Image when actual Image is not available

    Hi,
    The Customer is using BI Publisher to generate a Report with the Inventory Item Details. This report also shows an Image of the Item. These Image files are stored in a different server.
    We are able to dynamically show the Image based on the Item Numbers using the URL{} tag.
    We are facing an issue when there is an Item when there exists an Item with no corresponding Image File. The PDF is generated without any image. In such cases, the requirement is need to display a Default Image showing "NO IMAGE".
    During XML Extraction, we do not know whether the Image file is available in the server.
    How do we handle this specific requirement.
    Any assistance is highly appreciated.
    Thanks and Regards,
    Balachander.

    Having raised a service request with Oracle, it would seem that this is not possible -
    "Unfortunately, In the BIP core, there is no functionality to test that a file ( containing an image ) exists or not ."
    The problem I have is that the URL referencing the image is concatenated and includes the XML item for a reference number. That reference number, and therefore the XML item, is always available but the image that corresponds to it is not - so I can't test for a null or false return because BI Publisher does not recognise the concatenated string of the url as having a returned value.
    This would be a problem if the layout options in Word were more flexible (better) - being able to add an image to the background of a table or cell would have solved my problem but, sadly, that is not possible in the version of Word I'm using (2003). I'm not sure whether it's possible in newer versions though?

  • How to improve performance of select query when primary key is not referred

    Hi,
    There is a select query where we are unable to refrence primary key of the tables:
    Since, the the below code is refrensing to vgbel and vgpos fields instead of vbeln and posnr..... the performance is very  slow.
    select vbeln posnr into (wa-vbeln1, wa-posnr1)             
           from lips                                            
           where ( pstyv ne 'ZBAT'    
               and pstyv ne 'ZNLN' )  
               and vgbel = i_vbap-vbeln                         
               and vgpos = i_vbap-posnr.                        
    endselect.                                                 
    Please le t me know if you have some tips..

    hi,
    I hope you are using the select statement inside a loop ...endloop get that outside to improve the performance ..
    if not i_vbap[] is initial.
    select vbeln posnr into table it_lips
    from lips
    for all entries in  i_vbap
    where ( pstyv ne 'ZBAT'
    and pstyv ne 'ZNLN' )
    and vgbel = i_vbap-vbeln
    and vgpos = i_vbap-posnr.
    endif.

  • InDesign won't open when network drive is not available.

    Hi everyone,
    I have a laptop (MacBook Pro OSX10.9.5), which shares a network drive in my office. The drive is with a different computer. When I take the laptop out of the office network (to a meeting or home), InDesign will not open, it gives me the following error (see attached image). I've tried replacing the Defaults and SavedData files, and also re-installing InDesign from scratch. I still get the same error. Any idea what is happening or how to fix it? Thank you in advance.
    Rafa.

    Hi!
    I figured out what the issue was, finally. After playing around, I noticed that my InDesign Fonts folder, had "alias" links to some fonts that resided on that shared drive. As soon as I deleted all the ones that where aliases, the error went away. Hopefully this helps someone in the future.
    Rafa.

  • Client reconnect takes long when first node is not available

    Hi guys,
    I am looking for a way how to "speed up" client reconnect in following scenario:
    I have two brokers running in HA cluster configured against a DB2 database as storage for messages. I configured JNDI with a connection factory pointing to both clusters:
    imqAddressList = mq://localhost:7676,mq://localhost7677
    imqReconnectAttempts = 0
    On the client side I lookup the connection factory from JNDI and per request (or in other cases for more client requests) I create a connection from the factory. When I shut down first broker, second will correctly take over. The problem is that when I make new request it tries to create new connection from the same factory but first try will be timeouted because first broker is down. It takes another 3seconds to create correct connection to second broker. So every request until first broker is up again will take 3 seconds.
    I looked into the code and it doesn't seem there is a way how to configure it. Can you give me a hint in which direction to go? Should I :
    - implement a connection pool for JMS or
    - extend connection factory so it will change the order of addresses
    - hack it somewhere directly in the code?
    Many thanks.
    P.S. Running OpenMQ 4.2 in Spring with Atomikos transaction manager
    Edited by: eldzi on Jan 20, 2009 11:23 AM

    Invalidating connection factory is not possible because I received it from JNDI. The RANDOM stuff will partially help but still it will always take time for each connection created. For the moment it looks that implementing a connection pool is the best solution. It will reduce the time because there will be only one reconnect for a connection, then it will be prepared in the pool for reuse.

  • Problems when network drive is not available

    Hi everyone,
    I have a laptop (MacBook Pro OSX10.9.5), which shares a network drive in my office. The drive is with a different computer. When I take the laptop out of the office network (to a meeting or home), InDesign will not open, it gives me the following error (see attached image). I've tried replacing the Defaults and SavedData files, and also re-installing InDesign from scratch. I still get the same error. Any idea what is happening or how to fix it? Thank you in advance.
    Rafa

    Hi!
    I figured out what the issue was, finally. After playing around, I noticed that my InDesign Fonts folder, had "alias" links to some fonts that resided on that shared drive. As soon as I deleted all the ones that where aliases, the error went away. Hopefully this helps someone in the future.
    Rafa.

  • Time Capsule and PC Connectivity when Airport Utility is not available

    I want to connect a PC to a time capsule via Ethernet to use the LAN Connection. The PC does not have Airport Utility installed (corporate restrictions) and does not recognise the connection when I plug in the network cable. How can I fix this problem? Would putting a switch inbetween work?

    Did you replace the ethernet patch cord? Try a tested and known working good one.
    Put a switch in between the TC and the faulty computer.. or occasionally faulty computer.
    I am struggling to help because you feed bits of info in each post..
    Please give me the entire picture all in one go.. start from scratch.
    1. TC.. model from rubber foot. How old? Vista computer.. make, model how old?
    2. How is TC connected into your network?
    3. Do the connectivity lights come on when you plug in the vista computer?
    4. If you swap win7 computer what speed does it link at.. 10, 100 or 1000mbps?
    5. If you set the vista computer to 10mbps does it link?
    6. If the vista computer works in a different LAN what speed does it link at?
    7. What happens if you remove the TC from the network, do a factory reset and then plug in the vista computer.. fully isolated from the existing network. Use a different patch cable.. known and tested to be good. just a short one is fine.
    8. Run the vista computer on linux boot disk so you can test the hardware.

  • Adding new field to the page when the field source not available

    Hi,
    I have a requirement to add vendor_serial_number (manufacturer's serial number) to the page /oracle/apps/csi/instance/general/webui/InstanceDetailsPG. This column is available in mtl_serial_numbers_all_v table. I don't see any VO in that page has access to this. What is the best approach to add this field in the page.
    Create a new VO with the query to get the vendor_serail_number based on the item_number, serial_number.
    Attach the VO to the AM InstanceDetailsAM or create a new custom AM as we can't attach the new VO to the seeded AM.
    Add a item to the page that gets the column value from this new VO.
    Please suggest.
    Thanks,
    HC

    1. Create the textfield item using personalization.
    2. Create a View Object to get the field
    3. Extend the InstanceDetailsCO and attach the VO to AM programatically in the extended CO.
    Any suggestions.
    Thanks,
    HC

  • How to display a message in dashboard when the source is not available

    Hi,
    I had a requirement to display a custom message in the dashboard instead of showing the default error message like "Client commands are disabled by administrator" when the source is unavailble for the reports. I'm using Essbase as the source and when the cube is loaded, i have to dispaly the custom message and to hide all the reports in the dashboard, any suggestions are highly appreciated and will be highly helpful to me.
    Thanks
    Ashik

    Hi,if i understand your question....
    i believe you can manage it in 3 ways.
    1.you can make groups in order each one be able to "see" its own report..and so on...
    2.In the results section , there is a format other views-->No result, you can try it.
    3.There is a configuration in///....\OracleBI\web\msgdb\**your nls**\messages such as commmesages.xml and other , where you can handle your "error" report
    http://greekoraclebi.blogspot.com/
    ///////////////////////////////////////

Maybe you are looking for