Redirect TNS on 2 node RAC returns host name, should be the FQDN

Hello

our 2-node RAC (11 GR 1 matter, Linux x 64) listeners return only a host without a domain name name when TNS redirects sending (when you load balancing server-side). Is it possible to configure them to send complete domain names? Listener.ora files are configured with full domain names on both nodes.

I really want the FQDNs, because clients must connect from multiple DNS domains.

Oracle takes the name of vip of the local_listener parameter set to the database.
So make sure your whole DB instance local_listener parameter the name of domain name vip.

local_listener=LISTENER_DB1

--- on tnsnames.ora file, it lists as follows:

LISTENER_DB1=
(ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node1-vip.domain_name)(PORT = 1521))
)

Tags: Database

Similar Questions

  • Reboot node RAC, ASM/crs all restarted but the database

    Version of the OS: linux redhat 5
    DB version: 11.2.0.3
    2 node RAC

    He used everything works well. I just configured and implemented hugepages lately and boxes of restarted.

    everything else like ASM, listener, crs all restarted, but db did not.

    What should I check to ensure that the work of automatic restart of the oracle?
    Thank you.

    Hello

    If you stopped the db with "srvctl stop database", then this is recorded in the OCR. And restart the clusterstack it does not restart the database (since you said clusterware, he should be arrested).

    Works as expected.

    If you want the cluster to start over, database simply stop the clusterware (crsctl stop crs).

    Concerning
    Sebastian

  • Duplicate host names found in the node information table

    Hi all

    I'm installing RAC Oracle 11 GR 2 Windows. I have prepared two nodes and modified the etc/hosts.

    After that when I run the installation of the grid while giving details of the node after the installation of tpical menu I get the below error.

    Untitled.png

    Please help me to solve this error.

    Thanks in advance.

    Hi all

    The error is cleared. The mistake I made was like a secondary IP in the network card settings, I added the VIP.

    I tried removing the same and just give the details of the intellectual property in the etc/hosts file. The installation is successful.

    Thank you for your valuable answers.

  • Former (incorrect) host names remain in the DNS system on the new unique domain

    Hello.

    Months ago, we have merged a few areas in a new and unique area. We have three domain controllers (Windows 2008 R2) and all work DNS. DNS is integrated with Active Directory.

    I was just poking around today and noticed that the old host of an old domain DNS names. I deleted the folders, but they just come back. These computers were recreated, to my knowledge, there should not be any residual information from the old domain on computers.

    I run nslookup and checked for the old servers DNS, but the only one of the name servers that are found are the three new DC, as expected. I also connected on each domain controller and delete records on each, thinking that maybe the records have been replicated throughout the domain.

    I don't have any idea how these folders are created. Can anyone offer insight? It drives me crazy!

    Thank you very much.

    Post in the Windows Server Forums:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer/

  • Then the specified mail server host name differs from the certificate CN

    My BIEE installation is 11.1.1.7 and SMTP server configured in EM. I put the root CA for SSL certificate file.

    He calls the error message "then hostname specified mail server differs from the certificate CN", when agent is running.

    The SMTP certificate common name is "pop.mydomain.com", and the hostname of the SMTP protocol is "SMTP.mondomaine.com". If the names are different, it works fine with Outlook and other email clients.

    All the solutions to fix it?

    You are right. For the security certificate should be identical to the host. But the smtp server is not placed under the responsibility of us. I modified the file hosts as a workaround. I can't find any biee configuration option to ignore the incompatibility.

  • Routing connections via a single node in a cluster 2 node RAC

    Hello world

    My client has the following requirement: a RAC cluster active/active (for example/node1 node2), but with only one of the nodes being used (node1) and the other sitting there just in case.

    For things like services, I'm sure it's pretty simple - just have the value preferred on node1 and available on node 2.

    For connections, I guess I'd just the VIP in order in the file of tns, but with LOAD_BALANCING = OFF, so they go through tns entries in the order (ie the node 1 and node 2), then this would allow even the vip failover if node 1 is out of service.

    What sounds right? Did I miss something?

    Thank you very much
    ORS

    user573914 wrote:

    My client has the following requirement: a RAC cluster active/active (for example/node1 node2), but with only one of the nodes being used (node1) and the other sitting there just in case.

    Why? What is the reason for a node ' + just in case + '- and how and when is "turned on" when this situation of just-in-case?

    It is not much any sort of sense of sight high availability or redundancy.

    For connections, I guess I'd just the VIP in order in the file of tns, but with LOAD_BALANCING = OFF, so they go through tns entries in the order (ie the node 1 and node 2), then this would allow even the vip failover if node 1 is out of service.

    What sounds right? Did I miss something?

    Does not work on 10g - may not work on 11g. The listener can and don't transfer connections, according to what say the TNS connect string. If you do connect not via a SID entry but through a SERVICE entrance, and this service is available on several nodes, you can't (and won't often) be connected to instantiate on only one IP address that you have used in your connection to TNS.

    Basic example:

    // note that this TEST-RAC alias refers to a single specific IP of a cluster, and use
    // SERVICE_NAME as the request
    /home/billy> tnsping test-rac
    
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 18-JAN-2011 09:06:33
    
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    
    Used parameter files:
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/sqlnet.ora
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS=(PROTOCOL=TCP)(HOST= 196.1.83.116)(PORT=1521)) (LOAD_BALANCE=no) (CONNECT_DATA=(SERVER=shared)(SERVICE_NAME=myservicename)))
    OK (50 msec)
    
    // now connecting to the cluster using this TEST-RAC TNS alias - and despite we listing a single
    // IP in our TNS connection, we are handed off to a different RAC node (as the service is available
    // on all nodes)
    // and this also happens despite our TNS connection explicitly requesting no load balancing
    /home/billy> sqlplus scott/tiger@test-rac
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 18 09:06:38 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
    
    SQL> !lsof -n -p $PPID | grep TCP
    sqlplus 5432 billy    8u  IPv4 2199967      0t0     TCP 10.251.93.58:33220->196.1.83.127:37031 (ESTABLISHED)
    
    SQL> 
    

    So we have connected to the node RAC 196.1.83.116 - and this listener we handed over to node RAC 196.1.83.127. The GR 11 2 earpiece seems to behave differently - it does not have a transfer of work (based on a quick test, I did on a RAC 11.2.0.1) in the above scenario.

    This question-how do you deal with just-in-case situation? How do you get the clients to connect to node 2 when node 1 is out of service? Do you rely on the virtual IP address of the node 1 be set on node 2? It's a safe and 100% guaranteed method?

    It may take a while (minutes, maybe more) for an address virtual IP switch to another node. Meanwhile, any client using this virtual IP address connection will fail. Is this acceptable?

    I don't know - I don't like this concept of your customer to treat the RAC nodes as a sort of database waiting for a situation of just-in-case . I don't see any logic in this approach.

  • 2 node RAC - administrator managed on the basis of ORpolicy-managedDatabase - what is the best

    We intend to build a GR 2 2 node RAC 11. I went through the documentation and found that datbase managed administrator is better when the number of nodes are very less.

    Need your input on what we are still in the design phase of the installation.

    Shashi,

    This all goes back to your goal. As you said, it's two RAC nodes and I assume that you will use this database cluster for a single application. If this is the case, then go with administrator managed the database because then you will have more control and be configured in less. Policy management is more useful when you implement a solution true grid where database is used as a service and multiple applications accessing data through services based on data provided within the system of large real application cluster. When I say database as a service, people may want to consolidate smaller databases in a RAC system to reduce costs and operational overhead while providing the same level of access to data for applications.

    So to answer your question, go with administrator managed RAC. I hope that I have you provided enough information for your decision :-)

    Concerning
    http://www.oraxperts.com

  • Anonymous host names

    Hello. I had chosen not to send the host name real return to the dashboard so that all as anonymous servers. When it's time to make the reports how the dashboard indicate the actual host names. If the question is never download this information, how to prepare a report for the customer with host names that they recognize - rather than a bunch of anonymous servers?

    Thank you

    That's the problem with sending information identification does not: you can not identify the systems! The scenarios will give you a number of necessary guests. Investment is not really a problem if they use the DRS still. It can become a hindrence try to identify exceptions. You can always run the planner of the PAC reports.

    Dave

  • VPN host name address in config

    I am trying to create my vpn tunnel to use ip instead of host names, so in the case where change us the ip addresses I don't need to change a load of routers.

    However when I get my orders as below, the host name resolves automatically and when I do a show that is executed, it displays the ip address again. How do config record with host names?

    edited config, some commands used:

    crypto ISAKMP peer hostname

    &

    defined by peers

    You can not use FQDN counterpart hostnames with a VPN IPsec LAN - LAN that uses keys pré-partagées for authentication.

    To do this, you will need to deploy certificate based authentication.

  • Remote touch the codec using the host name - matching cache of IPv4

    Pairing for some of the features of my remote client contact is often lost/broken. It uses the DHCP protocol for codecs and uses dynamic DNS entries as 'host name' at the time of the twinning contact to the codec devices.
    While this works for pairing at first, it seems the cache keys resolved IPv4 address of the codec instead of the host name. Whenever the IP address of the codec changes, the pairing is lost.
    Am I wrong? I came to the conclusion that codecs must be treated using static IPs or DHCP reservations for Peel remote to work reliably
    Click Select codec manually..., enter the IP address or host name of the codec and tap Start matching.
    THX
    / David

    Appears this is a limitation of the Touch and/or codec, see bug CSCua05282.  The contact must use the IP address, which is why when you entered the hostname of the endpoint it solved its IP address and used it.

  • NETCA use configure my IP to the listener instead of my host name

    Hi I use NETCA to configure my interlocutor.

    But NETCA always configure my IP instead of my host name.

    I would love to see that my host name is in the Configuring the listener automatically (by NETCA)

    So I've got something I can change in my answer file to force this config?

    Below you will find my response file

    ###################################################################### 
    ## Copyright(c) 1998, 2012 Oracle Corporation. All rights reserved. ## 
    ##                                                                  ## 
    ## Specify values for the variables listed below to customize your  ## 
    ## installation.                                                    ## 
    ##                                                                  ## 
    ## Each variable is associated with a comment. The comment          ## 
    ## identifies the variable type.                                    ## 
    ##                                                                  ## 
    ## Please specify the values in the following format:               ## 
    ##                                                                  ## 
    ##         Type         Example                                     ## 
    ##         String       "Sample Value"                              ## 
    ##         Boolean      True or False                               ## 
    ##         Number       1000                                        ## 
    ##         StringList   {"String value 1","String Value 2"}         ## 
    ##                                                                  ## 
    ######################################################################
    ##                                                                  ## 
    ## This sample response file causes the Oracle Net Configuration    ##
    ## Assistant (NetCA) to complete an Oracle Net configuration during ##
    ## a custom install of the Oracle12c server which is similar to     ##
    ## what would be created by the NetCA during typical Oracle12c      ##
    ## install. It also documents all of the NetCA response file        ##
    ## variables so you can create your own response file to configure  ##
    ## Oracle Net during an install the way you wish.                   ##
    ##                                                                  ## 
    ###################################################################### 
    
    
    [GENERAL]
    RESPONSEFILE_VERSION="12.1"
    CREATE_TYPE="CUSTOM"
    
    
    #-------------------------------------------------------------------------------
    # Name       : SHOW_GUI
    # Datatype   : Boolean
    # Description: This variable controls appearance/suppression of the NetCA GUI,
    # Pre-req    : N/A
    # Default    : TRUE
    # Note:
    # This must be set to false in order to run NetCA in silent mode. 
    # This is a substitute of "/silent" flag in the NetCA command line.
    # The command line flag has precedence over the one in this response file.
    # This feature is present since 10.1.0.3.
    #-------------------------------------------------------------------------------
    #SHOW_GUI=false
    
    
    #-------------------------------------------------------------------------------
    # Name       : LOG_FILE
    # Datatype   : String
    # Description: If present, NetCA will log output to this file in addition to the
    #       standard out.
    # Pre-req    : N/A
    # Default    : NONE
    # Note:
    # This is a substitute of "/log" in the NetCA command line.
    # The command line argument has precedence over the one in this response file.
    # This feature is present since 10.1.0.3.
    #-------------------------------------------------------------------------------
    #LOG_FILE=""/oracle12cHome/network/tools/log/netca.log""
    
    
    [oracle.net.ca]
    #INSTALLED_COMPONENTS;StringList;list of installed components
    # The possible values for installed components are:
    # "net8","server","client","aso", "cman", "javavm" 
    INSTALLED_COMPONENTS={"server","net8","javavm"}
    
    
    #INSTALL_TYPE;String;type of install
    # The possible values for install type are:
    # "typical","minimal" or "custom"
    INSTALL_TYPE=""typical""
    
    
    #LISTENER_NUMBER;Number;Number of Listeners
    # A typical install sets one listener 
    LISTENER_NUMBER=1
    
    
    #LISTENER_NAMES;StringList;list of listener names
    # The values for listener are:
    # "LISTENER","LISTENER1","LISTENER2","LISTENER3", ...
    # A typical install sets only "LISTENER" 
    LISTENER_NAMES={"LISTENER"}
    
    
    #LISTENER_PROTOCOLS;StringList;list of listener addresses (protocols and parameters separated by semicolons)
    # The possible values for listener protocols are:
    # "TCP;1521","TCPS;2484","NMP;ORAPIPE","IPC;IPCKEY","VI;1521" 
    # A typical install sets only "TCP;1521" 
    LISTENER_PROTOCOLS={"TCP;1521"}
    
    
    #LISTENER_START;String;name of the listener to start, in double quotes
    LISTENER_START=""LISTENER""
    
    
    #NAMING_METHODS;StringList;list of naming methods
    # The possible values for naming methods are: 
    # LDAP, TNSNAMES, ONAMES, HOSTNAME, NOVELL, NIS, DCE
    # A typical install sets only: "TNSNAMES","ONAMES","HOSTNAMES" 
    # or "LDAP","TNSNAMES","ONAMES","HOSTNAMES" for LDAP
    NAMING_METHODS={"TNSNAMES","ONAMES","HOSTNAME"}
    
    
    #NOVELL_NAMECONTEXT;String;Novell Directory Service name context, in double quotes
    # A typical install does not use this variable. 
    #NOVELL_NAMECONTEXT = ""NAMCONTEXT""
    
    
    #SUN_METAMAP;String; SUN meta map, in double quotes
    # A typical install does not use this variable. 
    #SUN_METAMAP = ""MAP""
    
    
    #DCE_CELLNAME;String;DCE cell name, in double quotes
    # A typical install does not use this variable. 
    #DCE_CELLNAME = ""CELL""
    
    
    #NSN_NUMBER;Number;Number of NetService Names
    # A typical install sets one net service name
    NSN_NUMBER=1
    
    
    #NSN_NAMES;StringList;list of Net Service names
    # A typical install sets net service name to "EXTPROC_CONNECTION_DATA"
    NSN_NAMES={"EXTPROC_CONNECTION_DATA"}
    
    
    #NSN_SERVICE;StringList;Oracle12c database's service name
    # A typical install sets Oracle12c database's service name to "PLSExtProc"
    NSN_SERVICE={"PLSExtProc"}
    
    
    #NSN_PROTOCOLS;StringList;list of coma separated strings of Net Service Name protocol parameters
    # The possible values for net service name protocol parameters are:
    # "TCP;HOSTNAME;1521","TCPS;HOSTNAME;2484","NMP;COMPUTERNAME;ORAPIPE","VI;HOSTNAME;1521","IPC;IPCKEY"  
    # A typical install sets parameters to "IPC;EXTPROC"
    NSN_PROTOCOLS={"TCP;HOSTNAME;1521"}
    
    
    #SERVICEUSERPASSWORD;String;Windows service user password
    # If the oracle home is installed as secure user, supply the password
    SERVICEUSERPASSWORD=""oracle""
    

    Listener will start & run when there is no file listener.ora.

    It is NOT necessary to run the netca; Just so ignore it.

  • Returns the name of the FQDN for a vcenter based on a given virtual machine

    Slowly, I am working on a set of workflow that will integrate a powershell module, I created.

    For my first stream of work, I'm trying to find all the information I need when a user runs a workflow on a VM orchestrator.

    I understood the cluster so far, but I can't identify the right script object that will give me the full domain name of a host corresponding to this virtual machine vcenter.

    Being new vCO does not help much, either.

    I thought that it would be part of VcManagedEntity, but for some reason, this page translates into a big ol' 404!

    https://www.VMware.com/support/Orchestrator/doc/vco_vsphere51_api/HTML/VcManagedEntity.html#configStatus

    I thought that maybe it would be part of vm.runtime.parent.parent but my script results in errors.

    Any help would be greatly appreciated!

    Thank you.

    I think that now you are a the right way, the full name of the vCenter server will be localhost, so the answer of vm.sdkConnection.setting.sdkConnection is localhost.

    Maybe this will help you:

    var sdkConnection = vm.sdkConnection;
    var optionManager = sdkConnection.optionManager;
    
    var vCenterInstanceName = optionManager.queryOptions( "VirtualCenter.InstanceName" ).shift().value;
    var vCenterFqdn = optionManager.queryOptions( "VirtualCenter.FQDN" ).shift().value;
    
    System.log( "vCenter Instance Name: " + vCenterInstanceName );
    System.log( "vCenter FQDN: " + vCenterFqdn );
    

    Where I think that the name of your instance will show localhost.

    But the FULL domain name should be the thing you are looking.

    See you soon

  • How to change the host name

    I have a lot of VSphere 4.1, ESXi 4.1 that I need to change the host name. Then I go in VSphere, highlight the host, set mode now, goto, DNS and routing configuration, the new host name change and restart, get fashion maint and host on the console of the host name ESXi said the NEW host name in DNS and routing it says the NEW name of host, but on the left hosts & Clusters discovered I still see the OLD host name... I try to add the new host name and it is said that there are already.  Is there something I missed >? >

    John

    the name to remember in the DB vcenter. one of the ways is to remove and add the vCenter.

  • Assign host names to deployed VM based on the assigned IP address DNS record

    Hello

    I'm trying to set up Lab Manager in a lab environment. The laboratory uses static IP, so I set up static IP pools that will assign an IP address to a deployed virtual computer. However, Lab Manager requires that you provide the hostname before you deploy (the default is ConfigXXVMY, XX and there is a number (ex.) Config30VM0). We already have DNS records to our IP addresses, and we need the hostname to match with the IP address.

    For example, the IP 192.168.1.5 has a labpc5.ourlab.company.com DNS record, and the host name should be labpc5.

    When I deploy a model, Sysprep runs and it will change all network information, but it changes the hostname of this ConfigXXVMY, not the host name that resolves the IP address is assigned. I need to know how to fix this, or if there is a kind of way to make that change to pre or post sysprep.

    Note: I tested this especially with Windows Server 2003 and 2008 - I intend to eventually include Linux OS and this issue also apply here.

    If someone has an entry that could help me solve this problem, I would really appreciate it.

    Thank you.

    Yes, if the network works immediately after sysprep and before you reboot... then just write a post customization.

    Pre and post customization are command line arguments.

    i.e.

    PREandPOSTscript.bat postcustomization

    There, you'll need something like this:

    off @echo

    If "% 1" == "precustomization")

    tasks precustomization echo

    ) ElseIf '%1% ' == 'postcustomization')

    tasks postcustomization echo

    ) (other)

    unknown command line Echo

    )

    The syntax is another post here: http://communities.vmware.com/thread/167069

    Kind regards

    Jonathan

    B.SC., RHCT, VMware vExpert 2009

    NOTE: If your question or problem has been resolved, please mark this thread as answered and awarded points accordingly.

  • host name not fully desplayed for v$ instance

    Hi all

    I am facing a problem of pecuilar with my Oracle 10 g 2 server.
    As I am unable to view the full hostname of the server while the instance of $ v views from database level.
    Please help me with this explaining how do I update the v$ instance view to display the full hostname of the server.

    output below

    SQL > select distinct (HOST_NAME) of v$ instance;

    HOST_NAME
    ----------------------------------------------------------------
    uaedxbpd

    SQL >! hostname
    uaedxbpdctapp02

    DB version: 10 gr 2
    OPERATING SYSTEM: HP - UX

    According to the note * Health Check Alert: host name must be 8 characters or less [957443.1 ID] * + the host name should not be longer than 8 characters length (on HP - UX)... otherwise, it will be truncated.
    This "problem" seems to be fixed at 11 GR 2.

    Nicolas.

Maybe you are looking for

  • Apple TV is used by someone else

    Why is that when I'm streaming video from my iPad to my Apple TV with AirPlay, I get a message that says "this Apple TV is currently used by someone else. It happens all the time. It stops everything I look and give me this message. I have Apple TV s

  • L20-120: need help for installing Windows XP

    I recently bought a laptop Toshiba L20-120 with the operating system of Windows XP in German but would like to install the English version. I need help on how to on this subject. I have Windows XP 2002 edition, is this compatible or that we should in

  • My Windows Update won't let me install an update. It gives me the error: 80072EFE.

    Also messes up my taskbar, it mainly turns white, which is not supposed to happen... I tried to turn off Spybot S & D and who didn't help (I'm not sure it would have helped anyway.) But I don't know what else to do, my firewall is odd. Edit: Also, it

  • 0x800CCC7D - cannot send a mail to Windows Live Mail

    I can receive messages but not send it. Each error message is the same. Can anyone help? Error report reads as follows: The server does not support an SSL connection. Subject 'Test '.Server error: 250Server response: 250 8BITMIMEServer: 'mail.btinter

  • Cannot connect to Virgin Media Home Hub with Atheros AR5007EG wireless adapter

    My brothers computer has problems to our Virgin Media Home Hub wireless conecting. I contacted Virgin Media Services customer and they say that the driver is the worng version. The computer has a driver adapter G series and we need a driver to adapte