FAILOVER - which TNSNAMES should be updated - Client's or Database's

Hi All,
I have installed a two node cluster and want to configure TAF , my questions are
1. Do I need to insert the following only in db TNSNAMES or in clinet TNSNAMES as well?
(LOAD_BALANCE = ON)
(FAILOVER = ON)
FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 1)
2. I created the database through dbca , can i configure the default database service for TAF or do I have to make another service. This is what I get when I try to check the status of default service
C:\Documents and Settings\OnyxAdmin>srvctl status service -d usis -s usis
PRKO-2120 : The internal database service usis cannot be managed with srvctl.
Please help.

You can configure TAF without any additional services.
Use the same TNSNAMES file on client and database. It contains an entry for
RAC_INST =
(description =
(failover = yes)
(address_list =
(load_balance = off)
(address= (protocol = tcp)(host=vip-inst1)(port=1521))
(address= (protocol = tcp)(host=vip-inst2)(port=1521))
(connect data =
(server=dedicated)
(service_name=RAC_INST.blah.blah)
(failover_mode =
(backup = RAC_INST2)
(type=select)
(method = preconnect)
(retries=1)
(delay=1)
Same entry for RAC_INST1, still specifying RAC_INST as the service, still specifying RAC_INST2 as the backup
Same entry for RAC_INST2, still specifying RAC_INST as the service, but RAC_INST1 as the backup & swap the vip-addresses in the list.
There's also entries for the listeners:
LISTENER_RAC_INST =
(address_list =
(address= (protocol = tcp)(host=vip-inst1)(port=1521))
(address= (protocol = tcp)(host=vip-inst2)(port=1521))
Same entry for LISTENER_RAC_INST1
Same entry for LISTENER_RAC_INST2, but swap the vips around.
You may need to use VIP actual IP addresses on the clients if you can't connect...there's something on metalink on that but I can't quite recall.
I figured this out after some trial and error - hope it works for you as well.
Gavin
Edited by: Gav Scott on 4/12/2008 19:55

Similar Messages

  • Iam still using v 3.6.24, I have W XP and have 478Mb of RAM, which version should I update to?

    Some websites now demand a more up-to-date browser, but as I have only 478Mb RAM I am wondering if v 8 will run slowly, I don't need an all-singing all-dancing browser, which version should I upgrade to?

    for me stay in 3.6.24 :
    http://www.mozilla.org/en-US/firefox/3.6/system-requirements/
    Minimum Hardware
    Pentium 233 MHz (Recommended: Pentium 500 MHz or greater)
    64 MB RAM ('''Recommended: 128 MB RAM or greater''')
    52 MB hard drive space
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Which website should I update my plug-in to if Firefox does not direct me to just one website?

    picasa.com offered many websites

    Plugins are installed via external programs and you need to update a plugin by visiting the the website of a plugin.
    The plugin check website only knows about some commonly used plugins and doesn't recognize the others.
    *https://support.mozilla.org/kb/Popular+plugins

  • Which product should i install??

    I am useing Windows 7 64-bit, which product should i download??
    - Oracle Database 10g Release 2 (10.2.0.1.0) for Microsoft Windows (x64)
    or
    - Oracle Database 10g Release 2 (10.2.0.1.0) for Microsoft Windows (64-bit Itanium)
    and could you please tell me what are the differences between x64 and x64 Itanium ??????????????
    Note: I have downloaded 64bit and i get the error :(
    thanks.

    user8944100 wrote:
    please somebody tell me what are the differences between these two operating systems???Perhaps it will make more sense when you realize that itanium is a different computer chip than the x86 and it's cousin the x86-64.
    http://en.wikipedia.org/wiki/Itanium
    The operating system is the same. The binaries, however, are different to account for the different computer chip.

  • Best way to do batch update of an online database

    We have a periodic process which will do batch update of the online database. I would like to have some advice on what is the best way to avoid this operation affecting cache.
    We have multiple environments using shared cache, so the total cache size is pretty big. Each environment on average refresh once a day. Some are pretty big in the DB size but not necessary have high traffic, and thus doesn't have high count in the cache. I am wondering if I do a refresh (basically lots of puts) to the db, will the affect the cache? if so, is there a way to not affect the cache?
    If there is a way to disable caching of the LN at environment level, that should also work for us as we a 1st tier object cache.
    Also, I would like to cleanup the log at the end of the batch update. Will the cleanup process block the reader threads which are set at read_uncommitted?
    Thanks!
    Edited by: JoshWo on Mar 9, 2010 5:20 PM

    Josh,
    It is possible to use a base API Cursor (with the CacheMode configured) to write entities in a destination EntityStore after reading them from a source EntityStore. The idea is to read the entities using a DPL cursor from the source store, and then use the binding of the destination store to convert the entities to DatabaseEntry objects, and finally store the DatabaseEntry objects using a base API cursor from the destination store.
    import com.sleepycat.je.CacheMode;
    import com.sleepycat.je.Cursor;
    import com.sleepycat.je.DatabaseEntry;
    import com.sleepycat.je.OperationStatus;
    import com.sleepycat.persist.PrimaryIndex;
    import com.sleepycat.persist.EntityCursor;
        PrimaryIndex srcIndex = ... // index of source store
        PrimaryIndex destIndex = ... // index of destination store
        EntityCursor<MyEntity> srcCursor = srcIndex.entities();
        Cursor destCursor = destIndex.getDatabase().openCursor(null, null);
        destCursor.setCacheMode(CacheMode.UNCHANGED);
        EntityBinding<MyEntity> destBinding = destIndex.getEntityBinding();
        DatabaseEntry key = new DatabaseEntry();
        DatabaseEntry data = new DatabaseEntry();
        for (MyEntity e : srcCursor) {
            destBinding.objectToKey(e, key);
            destBinding.objectToData(e, data);
            OperationStatus status = destCursor.put(key, data);
            assert status == OperationStatus.SUCCESS;
        destCursor.close();
        srcCursor.close();Please let me know if you have questions.
    Obviously, this would be a lot easier if there were an EntityCursor.put method, so that the CacheMode could be set on the EntityCursor. I'll file an enhancement request to add such a method.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Which configuration should set in tnsnames.ora

    Dear All,
    Need ur help. I with zero knowledge in oracle. Now i need to conenct to Oracle Database from my window server via SQLPlus, which configuration should i set in my tnsnames.ora? A or B?
    Set A
    PNTP =
    (DESCRIPTION =
    (LOAD_BALANCE = on)
    (FAILOVER=on)
    (ADDRESS_LIST=
    (SOURCE_ROUTE=yes)
    (ADDRESS = (PROTOCOL = TCP)(HOST = Hostname1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Hostname2)(PORT = 1521)))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = pntp)
    Set B
    PNTP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Hostname1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Hostname2)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = pntp)
    )

    How can i make sure the pointer are D:\oracle\ora92\network\ADMIN and not another folder? Can check from "environment variables "? WHich part?I suggest you go back to the documentation and read.
    Please look at following:
    http://download.oracle.com/docs/cd/B19306_01/install.102/b14312/post_install.htm#CHDBIHEE
    Then, on each client computer, configure either of the following settings:
          Set the TNS_ADMIN environment variable to specify the location of the tnsnames.ora file and specify a service name from that file.
          Place the tnsnames.ora file in the ORACLE_BASE\ORACLE_HOME\network\admin directory, and make sure that the ORACLE_HOME environment has been set to this Oracle home.Your tnsnames.ora file must contain the following assuming you have (n) number of nodes:
    PNTP =
    (DESCRIPTION =
    (LOAD_BALANCE = on)
    (ADDRESS_LIST=
    (ADDRESS = (PROTOCOL = TCP)(HOST = Hostname1-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Hostname2-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Hostname(n)-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = pntp)
    )Please mark the questions as helpful and correct and close the thread as answered.
    Regards.
    Edited by: user11150436 on Mar 21, 2011 8:54 AM

  • Which Method Should be overriden to update a column in master?

    Hi,
    I have a Master/Detail relationship with the requirement to update master depending on some column in detail. This update of master can raise an exception and it should be done at post time. The way to update master changes depending on the DML action. If an exception is raised I want to rollback the changes made to master.
    I tried prepareForDML, postChanges methods. In both cases the exception is ignored and the transaction is not commited and does not display any message visible. But the exception can be catched and visible on console.
    I tried creating a validation method on detail entity. In the validation method I update master and call master.validate. This seems to work but the validation method can be called more than once and thus can update master more than once which is invalid.
    So which method should I use to post changes of the master?
    I present detail data as a ADF-Table. I want to display the exception as attached to a row in ADF-Table, just below the row in the table. Is it possible?
    Regards,
    Salim

    Jan,
    I have OrderItems and deliveryItems entities with 1..* relationship. I want to update OrderItems.deliveredQuantity and OrderItems.returnedQuantity fields based on delivery Type (i.e return, accept). OrderItems entity has an entity-level validation rule as quantity >= deliveredQuantity - returnedQuantity. So it might throw exceptions on Validate.
    I decided to implement this functionality in deliveryItemsImpl.postChanges, deliveryItemsImpl.prepareForDML and finally in an entity level validation rule (method) in deliveryItemsImpl. In postChanges and PrepareForDML it just ignores the exception, does not commit, does not give any error messages. In the last case it retries to validate the entity continously and cannot validate. To my opinion it should stop saying this entity is invalid. Isn't?
    Jdev 10.1.3.3
    ADF-Faces, ADFBC
    Regards,
    Salim

  • I have a website for my artwork.  I had a PC and. Now an iMAC.  I've used Dreamweaver to update the website.  I used to go to Filezilla on the PC a upload the updated pages which would then show updated on the internet.  What file like FileZilla should I

    I have a website for my artwork.  I had a PC and. Now an iMAC.  I've used Dreamweaver to update the website.  I used to go to Filezilla on the PC a upload the updated pages which would then show updated on the internet.  What file like FileZilla should I use?

    You can download it here:
    https://filezilla-project.org/download.php?show_all=1
    Click the Source Forge link - make sure you reject offers for any other software during the installation, Source Forge usually will ask you to install other stuff in addition to what you want (Filezilla).
    It works well on Mac.
    Dreamweaver also has built-in FTP functionality if you want to check that out.

  • I have updated my iOS to 4.3.5.... And after that my 3gs iPhone still behaving like previous. Versions of iOS....... My iPhone. Showing no new feature which apple has added to iOS 5 like icloud , imessage... Should I update it again...?

    I have updated my iOS to 4.3.5.... And after that my 3gs iPhone still behaving like previous. Versions of iOS....... My iPhone. Showing no new feature which apple has added to iOS 5 like icloud , imessage... Should I update it again...?

    anshulmajoka wrote:
    I have updated my iOS to 4.3.5.... And after that my 3gs iPhone still behaving like previous. Versions of iOS....... My iPhone. Showing no new feature which apple has added to iOS 5 like icloud , imessage... Should I update it again...?
    iOS 4.3.5 is not the same as iOS 5. iOS 5 with the new features you list has not been released.
    Stedman

  • How to secure connection in sql server 2008? my main problem is which certificate should i add in mmc

    i'm recently working on hardening of sql server 2008. now i face with a problem. my problem is  how to secure connection in sql server 2008?  my main problem is which certificate should i add in mmc? what are these certificates about?and guide
    me in choosing the appropriate certificate.
    and how should i know that the connection in sql server is secured?
    plz guide me from the beginning cause i'm rookie in this subject.
    thanks in advance.

    Hi sqlfan,
    Question 1: my problem is how to secure connection in sql server 2008?
    Microsoft SQL Server can use Secure Sockets Layer (SSL) to encrypt data that is transmitted across a network between an instance of SQL Server and a client application. For more information about Encrypting Connections to SQL Server, please refer to the following
    article:
    http://technet.microsoft.com/en-us/library/ms189067(v=sql.105).aspx
    Question 2: my main problem is which certificate should i add in mmc? what are these certificates about?and guide me in choosing the appropriate certificate.
    To install a certificate in the Windows certificate store of the server computer, you will need to purchase/provision a certificate from a certificate authority first. So please go to a certificate authority to choose the appropriate certificate.
    For SQL Server to load a SSL certificate, the certificate must meet the following conditions:
    The certificate must be in either the local computer certificate store or the current user certificate store.
    The current system time must be after the Valid from property of the certificate and before the Valid to property of the certificate.
    The certificate must be meant for server authentication. This requires the Enhanced Key Usage property of the certificate to specify Server Authentication (1.3.6.1.5.5.7.3.1).
    The certificate must be created by using the KeySpec option of AT_KEYEXCHANGE. Usually, the certificate's key usage property (KEY_USAGE) will also include key encipherment (CERT_KEY_ENCIPHERMENT_KEY_USAGE).
    The Subject property of the certificate must indicate that the common name (CN) is the same as the host name or fully qualified domain name (FQDN) of the server computer. If SQL Server is running on a failover cluster, the common name must match the host
    name or FQDN of the virtual server and the certificates must be provisioned on all nodes in the failover cluster.
    Question 3: how should i know that the connection in sql server is secured?
    If the certificate is configured to be used, and the value of the ForceEncryption option is set to Yes, all data transmitted across a network between SQL Server and the client application will be encrypted using the certificate. For more detail about this,
    please refer to Configuring SSL for SQL Server in the following article:
    http://technet.microsoft.com/en-us/library/ms189067(v=sql.105).aspx
    If you have any question, please feel free to let me know.
    Regards,
    Donghui Li

  • How to update client profile manually (without APNs)

    Currently implementing an OS X Server with a specific goal of device management using the Profile Manager. I have a thorough understanding of APNs roll in this where communication is sent to APNs which then gives the client a notification to "check-in" with the server for updates. So the actual data exchange is only between the server and client. (Like the diagram below...)
    However, for security reasons I want to be able to accomplish Client-Server mdm checkin manually without APNs if I want to. In theory, this should be possible because the client obviously runs code to search for the server, communicate, and apply any changes to its configuration profile. Based on the OS X server documentation for this, it does this over SSL to the server for an mdm_checkin. The client also automatically checks the server on each startup, so restarting the machine does in-fact tell it to check the server and gets any profile changes that are holding as tasks. (Obviously, its not ideal to restart every time I want a change...)
    Again, for security and troubleshooting purposes, I want to avoid APNs and do this communication manually. I'd also like to avoid downloading from the myDevices portal, or transferring a profile to be double-clicked/opened, etc etc. However, for the life of me I can't find any other documentation or code that may direct me how to do this! It seems like there should be sometime to run or few terminal commands to accomplish this...
    Has anyone else attempted this or had success telling a client manually to talk to it's mdm server? (or even using mdmclient?)
    Thanks!

    Enrolling a device to an MDM e.g. Apple's Profile Manager does not require APNs, it merely requires 'installing' the enrolment profile and optionally a trust profile. However normally if you make a change to a profile this would be 'pushed' to client devices by sending an APN message to tell the client to 'phone home' to download the new profile.
    I install the trust and enrolment profiles during a DeployStudio imaging workflow and at the moment use APNs to send notification for updates, however for another different network I am looking at the following instead of APNs.
    The latest Munki software now supports installing Profiles directly, before it used to be necessary to wrap the profiles inside Apple installer packages.
    Note: Profiles can be distributed 'over the air' via APNs, hosted as files to b manually downloaded from a web server, or emailed to users/devices as a file attachment, and as mentioned above wrapped inside an Apple Installer package which would run a post-install script to install the profile.
    Therefore you could generate the updated profile and use Munki 2.2 to manage distributing and installing the updated versions. Of course an important limitation is that Munki is for Macs only and does not cover iOS devices. Munki does not use APNs. The Munki client needs to be able to talk to your Munki server which ideally should only be contactable on your LAN, a VPN connection would work.
    Note: It is probably not worth looking at Casper Suite even though it supports iOS as it uses APNs.

  • Noip dynamic update client

    Installed noip dynamic update client from community repo for ssh access if my ip changes while at work.
    No info in wiki or man pages.  Resorted to "noip2 help" no-ip.com support pages and Google for config info.
    Have noip installed and working, although it's not automatically updating no-ip.com when my dynamic ip changes.
    Have noip2 in my daemons list in /etc/rc.conf
    Can access my home computer from work via "ssh *********.no-ip.org" rather than ip addy.
    Logging into no-ip.com account after ip changes shows it does not update the ip.
    Running "noip" in a terminal updates the ip in my no-ip.com account.
    Ran sudo noip2 -C  to configure x times and still have an empty no-ip2.conf,  except for "0.0.0.0"
    Running "sudo noip2 -S" get the following:
    1 noip2 process active.
    Process 18169, started as noip2, (version 2.1.9)
    Using configuration from /etc/no-ip2.conf
    Last IP Address set 7*.***.***.***
    Account j*******@*****.***
    configured for:
    host *********.no-ip.org
    Updating every 10 minutes via /dev/eth0 with NAT enabled.
    Using nano rather than leafpad to look at no-ip2.conf shows the following:
    0.0.0.0^@^@^@^@^@^@^@^@^@
    ^@!L2JA\^@^@^@^A^A^A^@eth0^@^@^@^@^@^@^@^@^@^@^@^@dXNlcm5hbWU9amVmZnJzMTIlND5jb20mcGFzcz1tYXh4d29vZCZoW109amV==
    Should I manually put something into the no-ip2.conf and if so, what?
    I see a bunch of files similar names to this "NO-IPinGDWE" now that are empty in /etc.
    It'd be cool if someone who knows more than me would start a noip wiki page. If no one bites, I'll make one after I get this figured out.
    Last edited by jeff story (2012-07-21 04:50:24)

    Thanks Mektub,
    Yea I'm pretty sure the password was correct and verified by running "noip2" in a terminal and that updated it.  Thanks for the binary no-ip2.conf info. That explains what I saw.  Any idea why would it be a binary file?
    Got it updating now. First prob, I think originally, I ran noip2 -C as user rather than root. Second may have been file permission for no-ip2.conf was read write root only. I changed "root group" and "others" to read only access.
    Not sure which change fixed it but it's updating the ip correctly now.

  • Open orders should not update in MD04

    Hi, SD gurus,
    I have the below requirement,
    My business scenario is
    when  total open sales order quantity crosses a particular number(Ex:1000 Pcs) in a month, after that whatever the sales order we create it should not update in MD04.
    Our Business process,
    1. Creating a sales order
    2. Allocation run (here system will execute Credit check, availability check, and listing an Exclusion etc. here we need to enter sales order no, plant, allocation type)
    3. Creating a delivery
    4. Invoicing the customer
    Note:
    Usually when we de check MRP type and allocation in Scheduline category system should not update in MD04, but if we de check this as for our business process system should  not execute Allocation run
    Thanks in Advance
    Yuvaraj.

    Respected Lakshmipathiji,
    Thanks for your clarification but i have query here..
    ""if the users are ready to do this manually once a line item exceeds 1000 pcs a month, well and good""
    How users will check material wise?(suppose if sales order contains more than 100 line items and each line item will have its own requirement updates--will they do this material wise?)
    Is there any report which give the Status on Requirements for group of materials(MD04 status) in Standard SAP??
    Phanikumar

  • Should I update my iPhone 4 (4.1 to 5.0.1) or stay outdated? NEED HELP, PLEASE!!!!!!?

    Ok, I know that this may be long but bear with me, really need your help guys!!!!
    Ok, so a few years ago, I bought an iPhone 4 (I was in Zimbabwe, now in the US) that was factory unlocked from what I can tell. Reason why I "THINK" it's unlocked is because
    1. It did not have Cydia installed when I got it, just stock with native apps only
    2. Running on 02.10.04 Baseband (That cannot be Cydia Unlocked), I manage used several Network Providers and all Sim cards worked and still do, no problems. (Using T-Mobile Now)
    3. Model Number is MC603B, and according to my research, it is a factory unlocked model.
    Unless im mistaken???????
    Here we go. The iOS 5.0.1 is out and I am now running iOS 4.1 (Jailbroken), which is really bakward, so loads of tweaks and apps cant run on my outdated iOS and i want iOS 5. I have heard people all over the internet complain that after the iOS5 upgrade, their phones locked-up and can't dowgrade or activate after the update, so if that happens im STUCK forever, and I really dont know what to do!!!!
    HERE ARE MY QUESTIONS:
    1. Is my phone really factory unlocked, based on what I listed above? Or is there any other way of checking???
    2. If I DO update, do I risk locking-up my phone????
    ***3. Should I update it "while preserving my baseband" and still manage to Activate it, or just leave it to update my baseband????? PLEASE HELP. Read my questions carefully and answer on what you think.
    Thanks alot guys

    Well, since the iPhone is not officially sold in Zimbabwe, & that's where you purchased it, you can pretty much count on the fact that it was hacked to unlock it, regardless of what you think or see. Thus, you can be pretty much assured that if you update software your phone will be re-locked to the carrier it was originally locked to.

  • When the user press the button Calculate Tax (see attached doc) and click on Tax details then this should be updated automatically. But it does not work it is empty and the user has to update manually.

    When the user press the button Calculate Tax  and click on Tax details then this should be updated automatically. But it does not work it is empty and the user has to update manually.
    All setup looks fine.
    Please let me know what can be done on this?
    Regards,
    Peu

    HarryAustralia wrote:
    I recently updated my ipad wifi only to the new ios 6.1.2 and initially I had the auto cover lock option which can be seen in the Generals tab, but then it stoped working!! Before the update, the auto cover lock worked fine. So after trying all the options, I then did a complete reset on the ipad and now its gone all together from the General tab!! I can no longer see the "auto cover lock" option.
    The iPad cover lock is for when you use a cover with magnets in it to lock and unlock the iPad when you close the cover or open it. Try running a refrigerator magnet along the sides of the iPad and see if that trips the iPad Cover Lock back into the settings.
    That is not the same thing as the iPad Auto Lock setting which allows you to set an allotted time before the iPad goes to sleep.
    You can try resetting all settings to see if the Auto Lock feature retinrs to the iPad.
    Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. This can be a little time consuming re-entering all of the device settings again.

Maybe you are looking for