After a passage to the we modify the tnsnames address list or y at - it another option using TAF

We have work on Oracle running on Oracle Linux 6.7 11.2.0.3.   We have the only non rac primary and secondary instance unique instance no cars. We have installation Application transparent failure (TAF) that works very well, we have created service, the triggers for changes of role and configuring the listener.  We have after tns

TAFTEST =

(DESCRIPTION =

(ADDRESS_LIST =

(FAILOVER = ON)

(LOAD_BALANCE = OFF)

(ADDRESS = (PROTOCOL = TCP)(HOST = taf.one.us) (PORT = 1521))

(ADDRESS = (PROTOCOL = TCP)(HOST = taf.two.us) (PORT = 1521))

)

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = TAFTESTSERVICE)

)

)

TAF - one is the main stream.  everything is good.  We do a failover and TAF does its job.  Select continue, sessions already open before the work of swtichover very well subsequently without errors.

However, no meeting again fails with ORA-01033: ORACLE initialization or shutdown in progress since the taf-one-us is now not the day before the main.  If I manually modify the AMT so that taf - two.us is first then it works fine as it is now the main.

We tried (LOAD_BALANCE = ON) 1/2, but by the time we get the same error since it randomly chooses the standby address.

is this what we can add to the entrance of the AMT so that if the address of the 1st operation fails, it takes the second.  understanding is that it is the default behavior, but it doesn't work like that.   We do something wrong?  We followed the code in Re: TAF on 11g DataGuard with FSFO

I think I found the cause and solution.

After some research (for example https://docs.oracle.com/cd/B28359_01/server.111/b28294/role_management.htm), I found that there was an additional trigger.  Failovers undergo a transition of role. Therefore, a relaxation on the role changes to start and stop the service as needed.

The following trigger

create trigger WHENROLECHANGE after DB_ROLE_CHANGE ON DATABASE
declare
v_role varchar (30);
Start
Select database_role in the v_role of the v database $;
If v_role = "PRIMARY" then
DBMS_SERVICE. START_SERVICE ('drrpt');
on the other
DBMS_SERVICE. STOP_SERVICE ('drrpt');
end if;
end;
/

now makes the configuration of the work.  Selects existing continues to work to pick up where they were on the other server, existing connections continue to meet, and new connections go to the correct server without getting an error.  When we make him switch to return chooses to continue to work and new connections to connect to the appropriate server.

Note that this is usually done for logical standby, but we need for physical too checksection 8.2.1 perform a failover of a physical database from the previous day

Step 4 Verify that the goal of the digital switchover is ready to be switched to the primary role.

Step 5 place yourself in the role of physical standby database target the main role.

Run the following SQL statement on the basis of Eve physical target:

SQL> ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY WITH SESSION SHUTDOWN;

6. open the new primary database.

SQL> ALTER DATABASE OPEN;

Step 7 Start repeat if applied on the new information physical standby database.

Note that there no restart of the previous day, triggering of start on not be triggered.  had he been restarted while this would have worked, since it was not we need the additional trigger for the role to change.

Thank you all for your efforts and work.

Tags: Database

Similar Questions

  • Is there a way to find the IP address associated with a device that is currently using my Apple ID?

    Hi, is it possible to find the IP address associated with a device that is currently using my Apple ID? There is a device currently using my Apple ID, and I would like to know its IP address. When I connect to appleid.com, the device is listed. The device is an iPhone. It is an emergency situation. Thank you.

    Unless it's on your local network, the IP address won't be useful to you in any way. (and no, you can do that)

    If this is really an "emergency", inform the authorities.

  • Some how my address book is only showing the personal address list and not list collected and the list of groups. How can I restore these

    I don't know what happened, but the display of my address book has changed for visible group names and also a visible tab to show the collected addresses. I see now are the personal address list

    Open the address book
    In the Menu bar select view-page-directory pane

    No menu bar? Press the ALT key.

  • Some components missing CUCM sauvegardΘ after you have changed the IP address of a Subscriber

    a strange problem with cucm backup... After we migrated the cucm one taken sub. from one place to another and changed the ip address, some components were not in the backup, including TFTP

    Backup successfully(100%) finishing, but when we check some five components were not in the backup.

    When I searched in Cisco site, I received the following:

    "Sometimes, after an upgrade, some services are not registered to DRS.

    Workaround

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

    Step 1 during the maintenance window, log on to the server in the CLI editor and run the utils disaster_recovery show_registration servername command.

    This command lists all the components registered with DRS for the backup on the server for the specified Subscriber.

    Step 2 disable and re-enable any component that is not registered to this server backup.

    Step 3 run the utils disaster_recovery show_registration servername command again to check the component is registered for backup. "

    Can someone help me with the command to disable and enable a backup component?

    Thanks in advance,

    Fox.

    You have to basically disable & re-enable the service associated with this component not registered. for example if TFTP is a constituent unregistered, then disable & re-enable the service TFTP Cisco of the activation of the service. Then CLI, issue command 'utils disaster_recovery show_registration' & you should see the TFTP component registered with DRS.

    Similar procedure must be done for the other missing items.

    GP.

    Pls rate helpful messages by clicking on the stars below the post!

  • The parameters section passes from one form to another form (using java script)

    Hello

    IAM two forms as A and B

    in my form of results of research/B that allows to display the results on the basis.

    If I call this shape A it should take the values of A and proceed to page B and run the query.



    I have my VO as

    Select * from cust_ont_order_details where ORDER_ITEM =: 1;


    And I wrote a method called 'initQuery' and the execution of this method as a result and Iam passing here bind values.


    ' Public Sub SearchParams (pageContext OAPageContext, OAWebBean webBean)
    {
    CustAttFindASpareViewVOImpl vo = getCustAttFindASpareViewVO1();
    String ItemId = "";

    If (pageContext.getParameter ("ItemId")! = null & &! pageContext.getParameter("ItemId").equals(""))
    {
    System.out.println("0001");
    StateSearch = pageContext.getParameter("ItemId").toString ();
    vo.setWhereClauseParam(0,ItemId);
    }
    on the other
    {
    vo.setWhereClauseParam(0,null);
    }

    }


    This works very well if am looking for page B, how can I pass values to a?

    IAM using Java script to open the B of a form.

    Mahesh

    If the two are OA pages have your tried using the pageContext.putSessionValue method.

    Thank you
    AJ

  • Satellite P500 - after update BIOS on the numeric keypad does not work anymore

    I just had a Satellite P500 and am running Windows 7. I downloaded all the latest drivers and updated the system BIOS to version 1.70 (from Toshiba support website). Now, my numeric keypad of the keyboard does not work.

    The NumLock light is on and when I hit the key "6" on the pavement, he turns the power light, but the behavior of the other keys does not change that it is on or off. The '-' key to enter a '6', but none of the other keys (except "enter" does nothing.

    I removed the keyboard driver and rebooted to reinstall the keyboard driver, but has no effect. The keyboard has worked for a few days after that I flashed the bios but seems to have stopped since I started using a USB mouse. I tried to uninstall the USB mouse driver, but who have nothing do either (it was a Logitech driver).

    Anyone have any ideas? Thanks in advance

    > I did not upgrade bios 1.7
    Maybe you should try upgrading the BIOS
    As another user has suggested upgrading the BIOS 1.7 helped, even if the end user has updated the BIOS twice

  • The first Installation fails after first Boot of the Satellite L750

    Hello.

    I turned on my brand-new Satellite L750 - 04K 010 for the first time tonight (bought new) and start going through the initial setup process for Windows 7 Home Premium. The installation must "Installing devices" and then hung up without activity for about 2 hours, how I decided to restart.

    Then I kept getting the error windows installation has failed and would then need to restart the installation process. The computer will restart but kept coming up with the same error and the loop would continue even once.

    I have not received the installation discs.

    I tried to press F8 to see if the computer repair would work but only gave options to repair the system to a previous state. No Toshiba option was available.

    Help!

    Thanking you in advance,

    Greg

    It's pretty stupid situation now.
    If there is no way to launch the installation of recovery once again I recommend your dealer and ask for help. With other words, ask for the replacement of the laptop.

    What you can also do is to contact the nearest Toshiba service provider and explain the situation. I put t know what they can do for you, but I imagine that you will get a DVD of recovery for the installation of the OS.

    Of course I n don't know what the right solution, but I don't see another option for you.

  • How can I change the default topics listed in Windows Explorer?

    When I look at the files in Windows Explorer there are positions that I find little use for me. I would like to change the default headings listed to display only those that I use most often as update, size, Type and Date of creation. How can I change the default settings for securities so that these topics, such as tags and side are not displayed?

    To change the headers, right-click on the header bar, and click more.  You will see a list of options to be included in the header, and you can place about to adapt to your desires.  But they will not stick unless you modify the template for this type of file.  Procedures for this follow-up.

    Here's how to change the default template for a folder: http://www.vistax64.com/tutorials/70819-windows-explorer-folder-view-settings.html.  Default behavior is to select the model based on the first type of file placed in the folder (you must choose something).  Vista sets the folder type template according to what are the types of files in the window and the settings display window Explorer. This will show you how reset the display settings of Windows Explorer folder (which is what I think you want), disable Automatic folder Type discoveryand increase the view of the folder cache to have Vista don't forget not the display, model of file type settings, the size or the position of a window for when it was still closed to the location of specific path.

    It does not work with the Sub record under, Open with, open in a new tab (Internet Explorer), etc... dialog windows of type through the good File menu bar item. These don't seem to be able to have their size or their position to recall. For the latter, you can use the free program http://autosizer.en.softonic.com/ to resize them.

    Here is another article on how to modify the columns in Windows Explorer and sort in Vista: http://www.vistax64.com/tutorials/108665-column-customize.html.  This will show you how Add, Remove, move, change the widthand change the sort order of the columns in Windows Explorer in the way that you want.

    Here is another article on how to change the display of the default folders in Vista (but she argues, it is not a perfect solution and can revert to the previous behavior is not as good as the two prior links provided: http://news.cnet.com/8301-13880_3-10019957-68.html.)

    I hope this helps in your situation.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to do to restore one bookmark, another option 'restore' then in the library?

    I know how to restore the bookmarks in mozilla firefox, but I want another option to restore the bookmarks in firefox where I can put just the name of the bookmark and it restore automatically if the file is found. Please reply if anyone knows of any other method to restore the bookmark.

    One way to automatically restore bookmarks is to delete the places.sqlite and place the JSON backup as the only or the most recent bookmarks.json file in the folder bookmarkbackups.

  • JCA does not appear in the drop-down list in Eclipse3.5.2 IDE Protocol

    I create service business OSB with the file * db.jca, which is imported from JDeveloper. It creates .biz and .wsdl files in the directory. Then, I'm changing the service business transport JCA. The JCA Protocol does not appear in the drop-down list in eclipse IDE Protocol. I use oepe_11gR1PS2 and Oracle SOA Suite 11 g 1 (11.1.1.3). I have to install a plugin for this? If Yes, where can I get it.

    You may be using a 64-bit instead of a 32-bit jvm? If so try to switch to the 32 bit one and try again

  • How to find the IP address of the virtual machines from the host Linux

    Hello

    Y at - it a tool that can resolve the IP address of the linux host running VMS, when using NAT and DHCP networking?

    I can find by logging on virtual machines, but I need to retrieve automatically these addresses for the host scripts will not have to be changed manually when IPs change.

    Thank you

    Host: Ubuntu 8.10 64 bit, WS6.5

    Probably the easiest solution is to use static IP addresses... Having said that, what I meant was:

    Each machine (real and virtual) has a unique MAC address. If I create a file (database type) with the name and the MAC address of each virtual machine, then I could use nmap or arp commands to get the IP address. For example, I create a table and put it in a file like this:

    VMName1 00:14:BF:19:45:61

    VMName2 00:0E:5 C: 1 has: 44:1E

    Name of the machine 3. etc.

    Then I could run a combination of arp and/or nmap to find the MAC address of active machines and their respective IP addresses. For example, running:

    sudo nmap - sP 10.0.2.0/24

    This gives on my local network:

    Starting Nmap 4.76 ( http://nmap.org ) at 2009-08-14 18:09 EDT

    Host 10.0.2.1 seems to be upward.

    MAC address: 00:14:BF:19:45:61 (Cisco-Linksys)

    Host 10.0.2.99 appears to be upward.

    MAC address: 00:10:83:BB:08:99 (Hewlett-Packard Company)

    Host 10.0.2.130 appears to be upward.

    MAC address: 00:0E:5 C: 1 has: 44:1E (Motorola BCS)

    Host 10.0.2.134 appears to be upward.

    Nmap done: 256 IPS (4 hosts upward) scanned at 3.71 seconds

    So, now, I know that the machine VMName1 with MAC 00:14:BF:19:45:61 has IP 10.0.2.1 and is it my Linksys router.

    Just a thought.

  • How to change the IP address of the linux server

    Hello

    I want to change the IP address of my RHEL 4 server. I use 10.2.0.4 with R12.1.3 E-business and my instance is the only level. I have doc "How change the IP address on a R12 EBusiness Suite Installation [ID 554843.1]" but it could not help me.


    Thank you
    Krishna

    Salvation;

    Please see below note and links. If you have any questions please update thread:
    How to change IP address in an Oracle Applications environment [ID 553318.1]
    How to change IP on a R12 EBusiness Suite Installation [554843.1 ID]

    See also:
    http://AppsLab.blogspot.com/2009/08/IP-address-change-on-existing-R12.html
    change the IP Address of the server.

    Respect of
    HELIOS

  • Regarding the change address details account Page

    Hello

    In the detail account Page, I'm not able to change the billing address IE documents created by other users. In the account object related information "Addresses", read/change then if the problem is resolved. But don't nt related Information Section dealing with the tabs under the details of the accounts or ideas page him perform the billing address in detail Page also?

    Kindly, help with the same

    Thank you.

    Billing and shipping information you enter @ top doing the account address list cmdlet (your would have observed) so, technically, I guess he's using the same for storage / extraction I think that yes the access restriction also applied to two places

    -John CRMIT

  • 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

  • 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.

Maybe you are looking for

  • Example: HpLaserJetP1102w: up to about ordinary

    Hello Can comment I add UN computer which is connected to the network with RJ45 cable and no that does not have wifi thanks [Personal information]

  • digitization of photo negatives

    I have a photosmart all-in-one B110 series.    Model number: CN245.   Serial number: CN15J4JB02 It is possible to scan my negatives photo with this product.   If so, how.   I'm a complete novice with all this. Thanking you in advance, ohdear.

  • Opening files Tiff under Windows 7

    When trying to open files Tiff under Windows 7 using the Windows Photo Viewer PC freezes and you have to shut down the PC? Y at - it another program to open files Tiff under Windows 7?

  • the icon is frozen and unresponsive.

    Original title: Hi iam Edmon sometimes freeze and not responde in widows 7 icon I turned my computer everything worked okay after that a 15-30 minute became icon freezing and not responding in windows 7

  • CPD Watchdog Violation with link to Blackberry?

    I just bought a new Dell Inspiron 15R with Windows 8 for the home/business.  As I had already bought a new BB Q10 (running on the Bell network), I downloaded Blackberry link and tried several times to synchronize: My contacts of the BB (well work the