TNS alias failover option
Hi Experts,I'm getting "ORA-12170: TNS: connect Timeout occurred." frequently
How to set up failover and backup earpiece these wait times for the listener of the backup
Thanks in advance.
If this is a random question, I'd enable tracing for your TNS connections as well as for your listener. Who can help find the reason when it comes to the top.
HTH
Aman...
Tags: Database
Similar Questions
-
ORA-01017: name of user and password invalid when using the TNS Alias
Friends,
I have this strange problem in 11 G R2. When I use tnsalias and connect using sqlplus username/password@TNS it shows ORA-01017: name of user and password invalid. But the same works with ORACLE_SID. See below.
My understanding is that both connections use a TNS alias, but then does not work. Any help is appreciated.-bash-3.00$ uname -a SunOS ibs-ash-sr147 5.10 Generic_144489-06 i86pc i386 i86pc -bash-3.00$ env | grep ORACLE ORACLE_SID=DB1 ORACLE_BASE=/project/oracle/orabase ORACLE_HOME=/project/oracle/orabase/product/11.2.0/dbhome_1 -bash-3.00$ tnsping DB TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-JUN-2011 12:23:12 Copyright (c) 1997, 2009, Oracle. All rights reserved. Used parameter files: /project/oracle/orabase/product/11.2.0/dbhome_1/network/admin/sqlnet.ora Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = crs-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DB))) OK (0 msec) -bash-3.00$ sqlplus IRES_USER@DB SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 17 12:30:22 2011 Copyright (c) 1982, 2009, Oracle. All rights reserved. Enter password: Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP, Data Mining and Real Application Testing options SQL> show parameter sec_case_sensitive_logon NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ sec_case_sensitive_logon boolean TRUE Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP, Data Mining and Real Application Testing options -bash-3.00$ sqlplus IRES_USER/U9$bvs#ir@DB SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 17 12:34:30 2011 Copyright (c) 1982, 2009, Oracle. All rights reserved. ERROR: ORA-01017: invalid username/password; logon denied Enter user-name: ^C
Thanks in advance,
SSN
Published by: SSNair on June 17, 2011 05:43After sqlplus apostrophes and try
http://download.Oracle.com/docs/CD/B28359_01/server.111/b28320/initparams211.htm
-
Creation of data using tns alias name server
I am creating a repository of connection to connect to the master schema RDBMS repository through topology Manager. Here, while declaring the value in the Url tab I use the tnsalias of the database which is having master repository schema. I have installed on my machine customers Oracle and ODI. I just enter in my TNSNAMES.ora file for the database. I selected "jdbc:oracle:oci8: @ < tns_alias >" URL tab drop-down list in the tab connection topology Manager repository and replaced < tns_alias > with the name of TNS alias to the database according to the guidelines of my TNSNAMES.ora file. But when I'm trying to test the connection it is in error. The details of the error is "Timeout: connection with the jdbc:oracle:oci8 URL: @ < tns_alias > and < username from the Master repository >.» Details in the file TNSNAMES.ora is correct. Even when I use oracle thin JDBC driver with the same values for < host >, < port > and < sid > it connects properly. Please help me identify the missing step.Hello
With connections to the OIC, Oracle uses its native interface to the database.
This means that an Oracle Client compatible with the version of the database must be installed and the SQL * Net must be configured.To achieve this:
1. the version of the JDBC driver must match the version of the Oracle home.
For example, the Oracle version 9.0.1 JDBC driver requires that the Oracle Home contain version 9.0.1 of the ocijdbc9.dll, as well as the Oracle network software and required Support files.
If you connect to a local database which is another version of the JDBC driver that you are using, then you must install the Oracle client software in a separate Oracle home and connect via the Oracle Net Listener.
2. you must place the ORACLE_HOME directory in which the file to native libraries required client-side is listed in your PATH environment variable.
* Windows: the list of the %ORACLE_HOME%\bin directory in which the DLL file client-side lies in your PATH environment variable. If you have several houses Oracle installed on your machine, use the Oracle Home Switch utility to choose the right home of Oracle.
* On Unix: list the $(ORACLE_HOME) / lib directory where the file resides on the side of client .so/.sl in your PATH environment variable.3. to use the OCI driver, from a point of view of Java, you need to specify the directory that contains the shared library for native calls.
For Oracle Data Integrator (ODI):
* Modify the 'odiparams.bat/.sh' configuration file (located at ODI directory ' / bin ').
Identify the ODI_ADDITIONAL_JAVA_OPTIONS environment variable and
* Change to add the OIC ' / bin ' and ' / lib ' records to variable Java "java.library.path":
... on Windows:-Djava.library.path =
\bin; \lib on Unix:
-Djava.library.path =
/bin: / lib Thank you
Fati -
The TNS alias could not be located.
Hi all
I am running ebs r12 12.1.1 on OUL5x64 on db 10.2.0.4 RAC (2nodes APPS and 2 RAC nodes)
one of the CM all S/B running at startup node # 2 on the #1 with error node in the
$APPLCSF/log/TEST_1124.mgr logfile.
Deal monitor session started: November 24, 2009 14:40:12
Could not contact the Manager of Service FNDSM_EBS-AP2_PH2. The TNS alias could not be located, the listening on EBS - AP2 process could not be contacted or the listener cannot generate the process from the Service Manager.
Since both nodes I can connect to the DBTIer without problem.
Can you please suggest a solution for this error.
Thanks in advance.Hello
Is the listener of the running application? If so, please run AutoConfig and make sure that it ends successfully.
You will find all details about the error in the log file of CM? Did you run the cmclean.sql script?
Please see if these documents are applicable.
Note: 754698.1 - internal Log Manager file is to have Messages like "Could not initialize the Service Manager of FNDSM__" for simultaneous treatment no nodes
Note: 460578.1 - R12 output Post processor Service does not come
Note: 470100.1 - simultaneous managers fail to start, no services manager process resultedKind regards
Hussein -
Hi DBAs,
We have a 4 RAC Database (10.2.0.4) node on Solaris 5.10. Sometimes for maintenance, we brought 2 nodes down. And if I try to connect to the database, using a service (including all the VIP for all oracle instances), I get error TNS Service unavailable and after 3-4 it automatically tries to connect.
I haven't specified the FAILOVER parameter in the TNSNAMES file. ORA. Assuming that the default value is the FAILOVER = ON.
Please suggest what I need to explicitly set the TRADE-IN value, if yes, what would be the appropriate - value = FAILOVER ONE or FAILOVER = YES. Also what is the difference between FAILOVER = ON & FAILOVER = YES.
Thank you
-Samar-Nome02 wrote:
I wonder what is the difference between the FAILOVER = ON or YES. If I do not mention the FAILOVER parameter in tnsnames then what is the default value.See the [documentation. | http://download.oracle.com/docs/cd/B28359_01/network.111/b28317/tnsnames.htm#i497813]. ON, YES and TRUE are all the same. It is enabled by default for DESCRIPTION_LISTs, DESCRIPTIONs and ADDRESS_LISTs.
Bjoern
-
Cannot connect TNS Alias as sysasm
Hello
I put the password
on the grid !orapwd FILE=$ORACLE_HOME/dbs/orapw+ASM
and get the following problem:
My Question:/u01/app/11.2.0.2/grid/network/admin>sqlplus sys/grid@ASM1 as sysasm SQL*Plus: Release 11.2.0.2.0 Production on Thu Aug 4 17:29:01 2011 Copyright (c) 1982, 2010, Oracle. All rights reserved. ERROR: ORA-01031: insufficient privileges Enter user-name: /u01/app/11.2.0.2/grid/network/admin>sqlplus sys/grid@ASM1 as sysdba SQL*Plus: Release 11.2.0.2.0 Production on Thu Aug 4 17:29:11 2011 Copyright (c) 1982, 2010, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production With the Real Application Clusters and Automatic Storage Management options SQL>
concerningWhy did I have not enough privileg as sysasm? but enough privileg as sysdba?
hqt200475hqt200475 wrote:
Hi Fiedi,Thanks for your tip! It works!
A small problem:
My beginner question:
As what user does sqlplus start here? (OS-User?) Can I see it in any view ?
concerning
hqt200475
Hello
Great if it works now!
When using sqlplus you use OS user as the owner of the grid and when it is connected to the asm, you connect as sys
See you soon
-
sqlplus ORA-12154: TNS: could not resolve the connect identifier specified
Hello
I am not able to connect to the database using sqlplus, using following command:
sqlplus activites@OCA010
I get the error message "ORA-12154: TNS: could not resolve the connect identifier specified.
I tried to connect by providing the full as connection string: "" sqlplus activities / [email protected]:1521 / compix "and he succeeded."
I also tried to connect using sql developer by providing network TNS alias 'OCA010' it is also successful.
Someone could please help out here and let me know how can I connect using sqlplus using aliases TNS network.
content of the tnsnames.ora file is as follows
tnsnames.ora # Network Configuration file: D:\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
COMPIX =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = compix)
)
)
BC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BC)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
OCA01 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OCA01)
)
)
OCA010 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.10.3)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = compix)
)
)
Thanks in advance.
2931143 wrote:
Hi EdStevens,
I used option TNS with Alias network as 'OCA010' in Sql Developer.
I checked in tnsping and tnsnames.ora directory is correct.
Please find below the exit of tnsping:
C:\Users\LUCKY>tnsping OCA010
AMT Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on October 29, 2015 21:07:38
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Use settings files:
D:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
AMT-03505: failed to resolve the name
Have you worked from the link I provided? (I don't think you have time to do).
It is possible that your tnsnames.ora is corrupted by some weird characters printable somewhere. In some versions of the oracle, he might be sensitive to spaces vs. tabs. If in doubt, netca to add entries, rather than doing it by hand.
-
Hello
I want online proposed IPS in a network, but have as ASA failover option. If an IPS has failed, then the entire network down then what to do.
So what I take work decession IPS in promicious mode. Pls can expect good suggation.
Concerning
Handsome
Unfortunately there is no mechanism for failover for IPS sensors. You can configure the sensor to fail open so that if the IPS Engine don't traffic will bypass inspection and continue to pour in.
-
Connect with sqlplus tnsname alias thorugh his gel
10 gr 2 oracle 10.2 on Windows Server 2003 R2, the database database worked for awhile now and not specific changed have been made but now I try to access the database via sqlplus may not connect with all valid users, and I have ne error message, it seems that the database cannot connect to sqlplus via a tns alias name it freezes and even local connection working
How to solve these problems
All very much appreciated
Thank you
While ensuring services for oracle and listener, I found that oracle service has been run with a domain user account so that the listener is running in the local system user account.
When we also changed the user domain account auditor account, then restarted the listener, we have seen labour NETCA. The connection to the base through TNS works also.
-
Failover test with and broker, flashback.
Hello
We have a requirement where we need to test failover to the production database. Currently we have 11.2.0.3 on Linux as production and even on another machine as the day before. We do not enabled DG broker and Flashback in any database. I want information below:
(1) how to test failover with Flashback and DG broker in any database?
(2) how to activate the DG broker and failover of Flashback and test with DG broker and Flashback?
(3) how can I return back the changes after the failover for example, I want to see the production as the production and standby standby as previously.
Thank you very much in advance.
-Renault
To question 1, you can start with this:
http://www.Visi.com/~mseberg/data_guard/Data_Guard_Failover_Test_using_SQL.PDF
For question 2, you can start with this:
http://www.Visi.com/~mseberg/data_guard/broker_setup_example.html
Question 3 is taken up by the link in question 1. You can also use RMAN instead of flashback.
I would consider long and hard thinking all failover and install a test for that system it ask you some questions
I can make a move to the place?
How long can I I be down and how much time will take to recover from a failover?
Should the business really a failover option?
Best regards
mseberg
-
SmartView Member &; alias display number
Hi all
I have a problem I have 3 atmospheres and when I pull an ad hoc report of each environment in two I see so member name as the option of member name & alias but in my Dev Environment I don't see members & alias option, can you please help me with this?
really appericiate suggestions.
Thank youIn order to see the meber name and alias, APS and Essbase must be patched at least 11.1.2.1.102 and should be fixed at the same level as your production system is. If they are not at least to the level, you will not be able to see the name of the Member and the alias in option
-
DB Version: 10 gr 2, 11 2 GR
Operating system: Solaris 5.10
I understand the concepts of VIP. Lets say for a 2 RAC node, I have not used the VIP in the TNS entry for my Client.
If a node goes down, the failover will happen again but only after a few minutes. Right? That is to say. the failover is performed by the listener in the surviving node when he realizes error of connection timeout from the dead node.If you use only Public IPs in your entry of TNS, the failover will always happen, but only after that only a 'time of connection' is detected. But this may take some minutes.
-
Error connecting to 11.1.0.7 AWM db with OLAP option
Connecting to OLAP DB by AWM 11.2.0.1.0A 11.1.0.7 autonomous, the following error is coming. Please advice.
C:\ > sets the path = C:\Program Files\Java\jre1.6.0_07\bin;%path%
C:\Arnab\Work\soft\AWM > java-mx1024m-jar awm11.2.0.1.0A.jar
java.lang.UnsatisfiedLinkError: no ocijdbc11 in java.library.path C:\Arnab\Work\soft\AWM\Log\session_2011_06_06_12_44_20_0354_PM. SQL
02011.June.06 AD 12:44:20:0525 PM [ERR] ConnectionManager.connect (Exception):
java.lang.UnsatisfiedLinkError: no ocijdbc11 in java.library.path
at java.lang.ClassLoader.loadLibrary (unknown Source)
at java.lang.Runtime.loadLibrary0 (unknown Source)
the impossible (unknown Source)
to oracle.jdbc.driver.T2CConnection$ 1.run(T2CConnection.java:3487)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.jdbc.driver.T2CConnection.loadNativeLibrary (T2CConnection.java
(: 3483)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:252)
to oracle.jdbc.driver.PhysicalConnection. < init >(PhysicalConnection.java:)
531)
to oracle.jdbc.driver.T2CConnection. < init > (T2CConnection.java:148)
at oracle.jdbc.driver.T2CDriverExtension.getConnection (T2CDriverExtensio
n.Java:53)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection (OracleDataSou
NCE. Java:280)
at oracle.jdbc.pool.OracleDataSource.getConnection (OracleDataSource.java
(: 207)
to oracle.ucp.jdbc.DataSourceConnectionFactoryAdapter.createConnection (D
ataSourceConnectionFactoryAdapter.java:100)
to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPool
Internal.createOnePooledConnectionInternal (UniversalConnectionPoolImpl.java:1613
)
to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPool
Internal.Access$ 600 (UniversalConnectionPoolImpl.Java:1421)
at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnecti
On(UniversalConnectionPoolImpl.Java:488)
at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithout
CountingRequests(UniversalConnectionPoolImpl.java:303)
to oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection (Univer
salConnectionPoolImpl.java:130)
at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection (JDBCConnectionPoo
l.Java:119)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.j
AVA: 656)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.j
AVA: 614)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.j
AVA: 608)
at oracle.olap.awm.connection.ConnectionManager.connect (unknown Source)
to oracle.olap.awm.connection.ConnectionDialogActionThread.doAction (Unkn
own Source)
at oracle.olap.awm.ui.dialog.ThreadedDialogActionThread.run (unknown safe
This)
java.util.MissingResourceException: can't find resource for bundle oracle.olap.a
wm.app.AwmResources2, no ocijdbc11 in java.library.path - keys
at java.util.ResourceBundle.getObject (unknown Source)
at java.util.ResourceBundle.getString (unknown Source)
at oracle.olap.awm.util.ResourceUtils.getStringFromResource (unknown safe
This)
at oracle.olap.awm.util.ResourceUtils.getStringFromResource (unknown safe
This)
at oracle.olap.awm.util.ResourceUtils.getString (unknown Source)
to oracle.olap.awm.connection.ConnectionDialog.dialogCannotBeDismissed (U
ES sources)
to oracle.olap.awm.ui.dialog.ThreadedDialogActionThread$ 2.run (Unknown So
extended)
at java.awt.event.InvocationEvent.dispatch (unknown Source)
at java.awt.EventQueue.dispatchEvent (unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters (unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter (unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter (unknown Source)
in java.awt.Dialog$ 1.run (unknown Source)
in java.awt.Dialog$ 3.run (unknown Source)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show (unknown Source)
at java.awt.Component.show (unknown Source)
at java.awt.Component.setVisible (unknown Source)
at java.awt.Window.setVisible (unknown Source)
at java.awt.Dialog.setVisible (unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog (unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog (unknown Source)
at oracle.olap.awm.app.AwmFrame.openConnection (unknown Source)
at oracle.olap.awm.navigator.node.DatabaseNode.setExpanded (unknown source
(e)
at oracle.bali.ewt.dTree.DTreeButtonDecoration.processMouseEvent (unknown
Source)
at oracle.bali.ewt.dTree.DTreeStackingDecoration.processMouseEvent (exercise
WN Source)
at oracle.bali.ewt.dTree.DTree.processMouseEvent (unknown Source)
at oracle.olap.awm.navigator.Navigator.processMouseEvent (unknown Source)
at java.awt.Component.processEvent (unknown Source)
at java.awt.Container.processEvent (unknown Source)
at oracle.bali.ewt.LWComponent.processEventImpl (unknown Source)
at oracle.bali.ewt.dTree.DTree.processEventImpl (unknown Source)
at oracle.bali.ewt.LWComponent.processEvent (unknown Source)
at java.awt.Component.dispatchEventImpl (unknown Source)
at java.awt.Container.dispatchEventImpl (unknown Source)
at java.awt.Component.dispatchEvent (unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent (unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent (unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent (unknown Source)
at java.awt.Container.dispatchEventImpl (unknown Source)
at java.awt.Window.dispatchEventImpl (unknown Source)
at java.awt.Component.dispatchEvent (unknown Source)
at java.awt.EventQueue.dispatchEvent (unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters (unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter (unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy (unknown Source)
at java.awt.EventDispatchThread.pumpEvents (unknown Source)
at java.awt.EventDispatchThread.pumpEvents (unknown Source)
at java.awt.EventDispatchThread.run (unknown Source)
02011.June.06 AD 12:44:20:0634 PM [ERR] ErrorDialog.initialize (Exception):
java.sql.SQLException: no ocijdbc11 in java.library.path
at oracle.olap.awm.connection.ConnectionManager.connect (unknown Source)
to oracle.olap.awm.connection.ConnectionDialogActionThread.doAction (Unkn
own Source)
at oracle.olap.awm.ui.dialog.ThreadedDialogActionThread.run (unknown safe
AEK
Dialog error = more_detailsHello
The error message tells me that you have configured a thick jdbc connection, the T2CConnection is
a thick client using the SPOUT connection. Please check how you set up your connection
in AWM. You will find that you have provided for the connection string tns alias instead of
Host: port: sid. It seems that you don't want or need a BEC type connection thick jdbc so it please
check and update the connection string to connect to the AWM host: port: SID. -
Don't use only not TNS entries properly
SQLDeveloper Version 2.1.1.64. I created TNS alias to connect to individual instances of CARS in my TNSNAMES file. ORA file. SQL * Plus, when I use the TNS alias to connect to a particular instance, I'm connected to the right pair. When I use the same alias TNS with SQLDeveloper, it connects me randomly to all instances in the cluster.
I correctly set the location of the TNSNAMES file. ORA file in the preferences. I'm simply specifying a server name and SID in the TNS alias, so there is no way that TNS can connect to another instance. I have only a single file, TNSNAMES. ORA file on the entire computer. Oracle 11.1.0.7 client version. The TNS alias for each instance is unique in the TNSNAMES file. ORA file.
Any ideas on where SQLDeveloper Gets the incorrect login information of?
Thank you...
Arun GuptaSqldev reads all tnsnames. * * ; can you check there is only 1?
K.
-
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
ORSuser573914 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.
Maybe you are looking for
-
transfer bookmarks of android on pc
Android model SCH1200 version 4.1.2 Verizon pc Toshiba windows phone 7.
-
Sdatellite M100 does not recognize the CD/DVD drive in Windows XP
It is listed in the Device Manager, but with a yellow explanation mark.No mention of this in my computer.No icon. I am able to open the drawer and I put several types of cd/DVD in them without any result.The light flashes in orange on the door. The d
-
The files are currently encryption automatically.
A lot of word documents and my son is creating programs c ++ are automatically encrypted. When the document is opened, it is said user has access privileges. When I try to uncheck the encryption properties, I get an access denied message. I'm doin
-
Outlook express 6 when sending a message, the message 'hang up' in the Outbox
Outlook express 6, when sending a message, the message 'hang up' in the Outbox, don't watch not in the box sent but is sent (confirmed) and continues to repeat the send action. I use outlook in private mode and a mode of business, private mode gives
-
Carnt connect to the internet, a window opens saying code error 680, no dailing tone
Carnt connect to the internet, a window opens saying code error 680, no dailing tone