Passage to the DataGuard

Hello!
I have a functional configuration of Dataguard 10 g created by EM 10.
I have a number of clients connected to the primary. Customers use tnsnames to connect.
When the main breaks down all my contacts to loose customers.
Is it possible to configure my tnsnames on customers so that they also passes the current database?

/ Roger

Roger,
We have a similar situation where we implemented when the connection failover in tnsnames.ora
You must save the two databases with two listeners and add the backup database in the entrance of the NER for primary.
http://www.Oracle.com/technology/deploy/availability/PDF/MAA_WP_10gR2_ClientFailoverBestPractices.PDF
can help if this isn't your needs (we have a simple web-based application so CTF is fine for us)

If this isn't for you then you will probably need to speak with the developers of applications and choose one of the options in the file above.

Greg

Tags: Enterprise Manager

Similar Questions

  • Stop listener as part of the transition to the DataGuard?

    I have a database of primary and Standby, configured with DataGuard. A third server runs the process of observation to monitor from the database when the principal becomes unavailable. It all works and we are happy with it from the point of the DB of the things. The database version is 11.2.0.4 running on RedHat 6.4

    The demand side, we use WebLogic and have set up the connection string of JDBC using the following format:

    (DESCRIPTION=(ADDRESS_LIST=(FAILOVER=ON)(LOAD_BALANCE=OFF)(ADDRESS=(PROTOCOL=TCP)(HOST=production-db-a)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=production-db-b)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=abc)))

    When the primary database server is stopped, then the observer notices and will be a change occurs and just continues to work.

    However, what's happened is that there are delays in network that caused the observer make the pass on the eve (production-db-b) and makes it the main. What is expected (except for wait times of network that is under review). Finally, the network problem disappeared and the original primary server (production-db-a) is back on the network and he opted to be a watch. So far so good. If all goes well on the side of the things database. However, on the side of the demand of the things, the application attempts to connect to production-db-a, since it is now available again, but service is on production-db-b because he has fallen.

    If we move off the coast of the production-db-a listener, then all is good again. We have configured listeners, LISTENER to database service and LISTENER_DGMGRL for dataguard that runs on port 1522. So just stop LISTENER while LISTENER_DGMGRL running on production-db-a seems to fix the problem.

    The question is now, peut LISTENER stop automatically DataGuard during the passage of the day before and started for the primary, or is there another solution for this problem?

    Your tnsnames.ora connection string refers to

    (CONNECT_DATA = (SERVICE_NAME = abc))

    What is the deault for the database service? If so, do not use it. On the contrary, create another service with and start it by calling DBMS_SERVICE. START_SERVICE in a trigger to start (or after triggering change in role) which checks if the database is currently a primary or secondary.

  • Passage of Oracle Dataguard and DNS

    Hi, a few days ago, we planned a passage in a configuration of 10g dataguard (dataguard pasive) between the 2 servers.

    primary: Europe.com APP

    secondary: APP1 in Asia.com

    The two databases was Oracle 10.2.0.3 in Redhat (single instance)

    Everything is going well with databases and the digital switchover but what happened with the web-based applications?

    I have a lot of web PHP applicattion provided with a string of connection with OIC and oracle customer, all have the connection as user/pass@dbname where dbname is defined in the local tnsnames.ora with DNS host names.

    (All have xxx/xxx@APP), and was APP (host:europe.com and SID = APP)

    Europe.com was ip 1.1.1.1

    Asia.com has been ip 2.2.2.2

    My primary instance was APP (name sid) and the standby APP1 (name sid) but what happened when I pass the dataguard?

    Yes, because we have a lot of requests and we don t change the connection string, each of them tries to connect to the new basis of Eve physics APP which is in Europe.com. (and the main news is APP1 in Asia.com)

    Well, first of all, I must change the SID in the database (same as the primary database) waiting for the connection string, for which I have: (thus development are don't want to change the string of connection...)

    (1) immediate stop aid database

    (2) remove the dataguard broker configuration,

    (3) change the instance name in the spfile APP1 to APP.

    (4) change the name of db in the spfile APP1 to APP.

    (5) change the setting fal_client (INSTANCE_NAME = APP1) to (INSTANCE_NAME = APP)

    (6) change the app APP1 orapwd file

    (7) Exchange configuration bash_profile APP and re start the database pending.

    (8) check the listener.ora, so that the new listening service is APP and no APP1

    (8) with respect to the dataguard broker configuration config

    OK, everything works very well and we have the main and the database pending with the same SID.

    But what happened with the dns servers? because the web-based applications will try to connect to APP but APP has been defined as Europe.com and I want to redirect Asia.com as primary database.

    Well, first of all, I changed all my settings and broker dataguard over IP and not dns configuration files, so I made a guide to procedure for the passage to the then when we said that, first we must transition to digital, data bases and then the surface NET must change the DNS for new Europe.com dns point to 2.2.2.2 ip

    After that, everything works great!

    So in conclusion, to forward a permutation with dataguard (which was an excellent feature) check the connection of the chain of applications and take care of them) and if necessary, use the same SID for the two (databases) and emergency

    (In Oracle 12 c, we have a lot of thing to use as a continuation of the app for that)

    Kind regards

    Hernan

    Hi Herman,.

    Maybe I'm mistaken, please correct me if this is the case.

    Assuming you are using oracle customer why not just use the construction in the mechanism for this purpose? DNS has nothing to do with it, but I see people using it yet for this - it is not only suitable for failovers, I do not have my TTL of 60 seconds or less to my recordings of A.

    I had a project for banking HA where after permutation is launched the application (Tomcat) could in a minute to connect automatically to the database of watch on the Internet. First, you must use the database instead of SID service, so you can have the same service on the previous day. What more have a service, you can be sure that it will run the day before until it becomes primary, otherwise you can find yourself in a funny situation. Secondly, why not using built in failover of the connection string parameter, this way you can queue db (s) and in the case where your primary does not that the oracle client will simply try to connect to the waiting (to search for the same service). To ensure that the standby database does not have the service at any time, you can deploy trigger (AFTER startup) to check the role of database, if it is 'primary' it starts just the database service.

    Kind regards

    EVS

  • Wheel rotation during the passage of the apps

    Hello

    I frequently meet the spinning wheel during the passage of the apps. For example an app can do one, but open window have not been used for a while and then when I click on the window to use it I get the wheel spinning for a few seconds.

    I am running Yosemite 10.10.5 on a MacPro Mid 2010) with 16 GB of ram and 12 GB available on the 300 GB SSD drive. I just realized that maybe space on the boot drive may be the cause, so I'll empty now and update if there is no change.

    Also, my SSD is a 500 GB Samsung SSD 840 EVO media and I think that the TRIM is not enabled? I read that TRIM was not based with SSDS of third party on my machine and was picking up information contradictory as to the time it was a problem or not. The lack of TRIM could be the cause of the spinning wheel?

    Duane

    You ran a 'cleaning', 'optimize' or 'speed up' apps on your Mac?  Have you installed an antivirus software?

    The 12 GB of free space must be sufficient and not to be the cause of the problem. Don't let him get any small however.

  • Mac Pro is not displayed after the passage of the screens

    OK, so this is a strange problem but it's very annoying (at least for me). I just bought a LG Ultrawide 29 "display and connected via a HDMI cable to my Mac Pro (Home machine) and a second HDMI cable to my Macbook Pro (desktop computer). The Mac pro / Macbook pro good work with the big screen, HOWEVER, when I use my Mac pro and select the tilt of the screen to switch to the HDMI 2 connection, it works and rocking on my Macbook pro. But when I try to switch it back to HDMI 1 (Mac Pro), it comes back with a black screen and says no signal. Even if I plug the HDMI cable it does not work. I set the timer to 3 hours sleep, doesn't always help. I know he's not missing sleep because itunes can be played when I spend and still playing music throughout and continued when I try to switch back. The only way I could get is long, press the button on my Mac Pro and restart.

    The only reasonable difference that I know is that the Macbook pro is running Yosemites, while my Mac Pro running Beta El Capitan. I have a feeling, this is probably the cause, but I just wanted to know if someone has solved this problem somehow.

    Thank you

    Hello Hemlock70,

    Thank you for using communities of Apple Support.

    I understand that your external screen remains completely black, with a message no signal, during the passage of the views.  For assistance with this problem, please go through the steps in the link provided below.

    Get help with graphical problems on external displays connected to your Mac.

    Take care.

  • I tried to install 300 photos on a USB I installed 170 photos and come with an Ox80070052 error message. Please advis how can I install the rest of the photos without the passage of the error.

    I tried to install 300 photos on a USB I installed 170 photos and come with an Ox80070052 error message. Please advis how can I install the rest of the photos without the passage of the error.

    Hi BrendaMay,

    Take a look at this link http://social.technet.microsoft.com/Forums/en/itprovistasetup/thread/bf17ed76-5164-4380-9140-16bd74e7c8c7 and check if the post by Ira Horowitz to Monday, December 24, 2007 15:04 is a good one to try.

    Kind regards

    SAP

  • I tried to install 300 photos on a USB I installed and come with an Ox80070052 error message. Please advis how can I install the rest of the photos without the passage of the error.

    I tried to install 300 photos on a USB I installed and come with an Ox80070052 error message. Please advis how can I install the rest of the photos without the passage of the error.

    Hello BrendaMay,

    ·         What exactly do you mean by saying that you install photos?

    ·         You try to copy photos from your computer to the USB key?

    Try to format the hard disk to the NTFS Format USB and check if you can copy the photos.

    If does not work, try to format to FAT32.
    1. type devicemgmt.msc in the Vista Start menu or in the Run dialog box.

    2 expand disk drives, right-click on your USB key that you want to format it in NTFS file system, and then select Properties.

    3. on the Policy tab, select optimize for performance option. Click OK and return to my computer.

    4. right click on your key USB. Select Format.

    5. Select NTFS from the drop-down list (you can also select FAT32).

    6. click on apply to format your drive to NTFS.

    Note: The pilot of formatting will destroy all data on the disk.

    If this does not work, try to create a new folder in the drive, and then copy the photos on this folder.

    Thank you

    Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think.

  • HP LaserJet Enterprise 600 m602 slow printing during the passage of the trays

    Hello world!

    On the HP LaserJet Enterprise 600 m602, who met breaks in print jobs during the passage of the trays?  Example, we are going to print invoices and we have a rule configuration that prints on plate 2 with the exception of the last page that is perforated paper tray 3.  So, in a job of 5 pages, pages 1-4 are the tray 2 paper... then page 5 is perforated tray 3.  There is a 2 to 3 seconds when the last page is extracted from tray 3.  If the invoice is only 2 pages, the print job appears super slow.

    This printer was working fine with no delay until we applied the firmware 2302786_433718.  Now, the delay is very noticeable.  We do not know if it was intentional or not in the new firmware.

    We use the latest PCL 5 Universal Print Driver.  The only thing that has changed is the firmware.  We even tried a full reset of firmware.  Problem is still there.

    I worked with HP support, but we were told to wait... the next version of firmware that may or may not fix everything.

    Any help or insight is appreciated.

    We have this same problem with our printer HP Laserjet 600 M602.

    Could solve by setting the Print Mode to all papertypes that are used for the same parameter.  We thought initially can be a problem, issue or firmware of the Board of adjustment, but in reality was the paper type settings. We set up printer for ordinary paper into tray 2 and tray 3, default regular bond has been set at light mode printing and binding for the print mode binding. Each time dial-up printer and trays, he stops to configure different paper type settings.

    Hopefully the other help solve their printing problems

    Enjoy your day,

  • Competitor not starting not not to DR after passage in the

    Hello

    We have successfully configured recovery disaster for 11i ebs on windows environment.

    Redo log shipping and applying normally and its working fine.

    After the passage of the primary on the eve, we synchronized with the new primary database application services.

    But while watching the concurrent managers, we are facing questions.

    In the concurrent Manager log as its display error

    Could not contact Service Manager FNDSM_ORACLEAP_HRDR. The TNS alias could not be located, the listening on ORACLEAP process could not be contacted or the listener cannot generate the process from the Service Manager.

    Could not contact Service Manager FNDSM_ORACLEAP_HRDR. The TNS alias could not be located, the listening on ORACLEDB process could not be contacted or the listener cannot generate the process from the Service Manager.

    We have made the steps below but make even persistent.

    (1) connect apps/primaryapps

    (2) exec FND_CONC_CLONE. SETUP_CLEAN;

    (3) validation;

    (4) run cmclean.sql

    (5) run on nodes DB, CM & WEB autoconfig.

    (6) run @%FND_TOP%\patch\115\sql\afdcm037.sql sccripts also.

    (7) we have correct host entries in the system hosts file.

    Kindly help me to solve this problem.


    Thanks and greetings

    Villi Kumar

    Hello

    The problem is solved now concurrent Manager is up and running after the digital switchover.

    Solution:

    After the passage of the database:

    ------------------------------------------

    Complete the Configuration of database:

    ----------------------------------------

    connect the apps/primaryapps

    SQL > exec fnd_net_services.remove_system ('HRDR');

    SQL > commit;

    SQL > exec fnd_conc_clone.setup_clean;

    run the automatic configuration on db

    lsnrctl stop STHRDR

    lsnrctl start STHRDR

    Synchronization of the application:

    -------------------------------

    disable the listener applcaiton both on the odes before running the automatic configuration.

    Run the autoconfiguration on cm node service

    Run the autoconfig on the node of the Web

    Check the node values using query below:

    ----------------------------------------------------

    Select nodeName in fnd_nodes;

    Select CONCURRENT_QUEUE_NAME from FND_CONCURRENT_QUEUES where CONCURRENT_QUEUE_NAME like '% FNDSM'; ---> to the result of the query, for me web node hostname only came so I ran script below.

    @%FND_TOP%\patch\115\sql\afdcm037.sql ---> this script updates the table with the details of the cm node

    now, it seems very well.

    Select CONCURRENT_QUEUE_NAME in the FND_CONCURRENT_QUEUES where CONCURRENT_QUEUE_NAME like '% FNDSM ';

    Then restart all servers.

    Now start the database and applications.

    Problem will solve itself.

    Concerning

    Villi Kumar

  • Hi, I have adobe creative cloud and a Macbook. I want to the passage of the mouse to pen. Any recommendations?

    Hi, I have adobe creative cloud and a Macbook. I want to the passage of the mouse to pen. Any recommendations?

    The best solution is to buy a wacom tablet, go wrong with breakfast as the draw Intuos | Wacom , Intuos Photo | Wacom or the Art of Intuos | Wacom this way you cn get used to it.

  • CC in Lightroom on Windows 10 crashes during the passage of the library to develop.

    Everyone has a problem with Frost during the passage of the library to develop modules in Lightroom on Windows 10 CC?

    Hi mgmagney,

    This could be because of the graphics processor.

    Go to the Lightroom preferences > performance > uncheck 'use the graphics processor' > restart Lightroom, and then check out.

    Kind regards

    Claes

  • Larger images Popup during the passage of the mouse on the photos (was: in Dreamweaver CC 2015...)

    I have thumbnails that I would have larger popup on the passage of the mouse. Can't do it in any way. Any help?

    Here is an example usage of CSS3 transform:

    div #socialmedia a {img:hover
    -webkit-transform: scale (1.3);
    Transform:scale (1.3);
    -ms - transform:scale (1.3);
    }

  • How to make a passage from the mouse inactive before a click?

    Hello

    IM new at this request, but I like it a lot!

    My question is how to activate a button with a 'click' or any other action that is the only thing before for example a passage of the mouse becomes active? I would like to make this infographic that gives you the ability to click a button, then a rectangle is displayed, then you hover over the rectangle and the text appears.

    Thanks in advance

    Casper

    I would use animate() for mouseenter and mouseleave events.

    Example here:

    Dropbox - double action btn.zip

  • Can I use the SQL function while setting of passage in the links?

    4.2.1

    Hello

    I have a report that is a hypertext link (using the column binding feature standard apex) to another page. One of the parameters (columns) I spend is a varchar column with & values. Now, there is a restriction on the passage, & in the apex in 4.2.1. I was wondering if we can use something as a replacement (COLUMN1 # #, ' & ','-')) in the connection settings?

    Unfortunately, the column does not have an equivalent id that can be used.

    All of the suggestions.

    Thank you
    Ryan

    ryansun wrote:
    4.2.1

    Hello

    I have a report that is a hypertext link (using the column binding feature standard apex) to another page. One of the parameters (columns) I spend is a varchar column with & values. Now, there is a restriction on passage and in the apex in 4.2.1. I was wondering if we can use something like a replace(#COLUMN1#,'&','-')) in the connection settings?

    Unfortunately, the column does not have an equivalent id that can be used.

    All of the suggestions.

    Thank you
    Ryan

    You can create another field in your query that might contain the value "prepared" - you set this to be a hidden column in the report definition and use it in the URL.

  • need to understand how the dataguard works in a CCR environment

    We had a dba has just left, and I inherited the system now. I want to make sure that I followed the right information on the dataguard.

    Help please.

    Hello

    Read http://docs.oracle.com/cd/E11882_01/server.112/e25608/manage_ps.htm#i1005610

    Anand

Maybe you are looking for

  • How to block a call

    How can I block a call from a specific number?

  • m9426f is by inheritance or UEFI bios

    I am trying to determine if the bios is a legacy or a UEFI to a desk top HP Pavilion m9426f.  Anyone now how to know? I want to improve to win 10 using a USB to download an ISO file.

  • I can't open my attachments

    Images appear as grey areas with the link, ex: CIMG3399. JPG, but I am unable to do anything. Any suggestions?

  • Win 7 Home Basic Activation

    Diagnostic report (1.9.0027.0):-----------------------------------------Validation of Windows data--> Validation code: 50Validation caching Code online: n/a, hr = 0xc004f012Windows product key: *-* - 4F8XQ - X38JY-8YGJHThe Windows Product Key hash: C

  • How to rename a sequence

    HelloHow can I rename the sequence name circeld on the Image, do a right click is not working, I need this because I use a rendering Server to automatically render my projects, when I'm done and it takes the name of the movie file, but I can't rename