ODI Connection for RAC database
Hi,
I am trying to create master repository in ODI. We have RAC database and I want to give scan ip for making connection in URL field.
I started repcreate.sh script to open "Master Repository Creation Wizard" and in URL text field I tried to connect by giving single instance detail and its connecting fine.
But when I tried to give scan ip its throwing error message:
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
dw01-scan.viva.com.kw:1521:exadev
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:280)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:361)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:595)
at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java......
Below is the detail given in Url field:
jdbc:oracle:thin:@scan_ip:port_number:sid
Please assit if you have solution.
Thanks
Saurabh
Had the same thing before (in a Hurry) so I created it against one of the Rac Nodes, then edited my Topology connections (Data servers , Work Repos connections, User login profiles) to use the RAC connection and it was fine.
It might be something to do with the RCU not liking RAC conns.
Hope this helps,
Alastair
Similar Messages
-
RMAN Backup script for RAC Database..please suggest
Hi All,
I am currently working on backup policy for RAC Database for my client.The client requirement is to backup while database is shutdown(mount state).I have made below script and could any one please suggest what further things should I need to add with below rman script.
echo "Shutdown Database";date
srvctl stop database -d PROD
srvctl status database -d PROD
echo "Database shutdown on";date
echo "Mount Database ";date
srvctl start instance -d PROD -i "PROD1" -o mount
srvctl status database -d PROD
echo "Start Full Database Backup on";date
$ORACLE_HOME/bin/rman target / nocatalog <<EOF
configure controlfile autobackup on;
configure controlfile autobackup format for device type disk to '/BACKUP/PRODBKP/%F';
run{
allocate channel c1 device type disk connect 'sys/******@node1-vip:1521/PROD';
allocate channel c2 device type disk connect 'sys/*****@node2-vip:1521/PROD';
backup format '/BACKUP/PRODBKP/PROD_df_%t_%s_%p.bak'(database);
backup format '/BACKUP/PRODBKP/archive_%t_%s_%p.bak' archivelog all;
copy current controlfile to '/BACKUP/PRODBKP/PROD.ctl';
delete noprompt obsolete;
release channel c1;
release channel c2;
exit
EOF
echo "RMAN Backup Finished on";date
echo "Shutdown Database";date
srvctl stop database -d PROD
echo "Start Database";date
srvctl start database -d PROD
srvctl status database -d PROD
Please share your experiences.
RegardsHi,
Some tweaks for your script.
echo "Shutdown Database";date
srvctl stop database -d PROD
srvctl status database -d PROD
echo "Database shutdown on";date
echo "Mount Database ";date
srvctl start instance -d PROD -i "PROD1" -o mount1. If you database does not shutdown properly , does your script stops the execution of next step?
2. configure controlfile autobackup on;
configure controlfile autobackup format for device type disk to '/BACKUP/PRODBKP/%F';(Why you need to configure this every time) ?
It's persistent at db level one time setting (until some other script changes the settings by other dba - else remove that - set the configuration at db level once for all)
- Pavan Kumar N
3. -
How can I have a collective AWR report for RAC database in 10gR2 and 11gR1?
Plz correct me here
awrrpt.sql takes the snapshot at the instance level and incase we have 5 instances we have to take 5 awr reports for a particular period.correct???
If above is true ,any wayout to collect a single collective AWR report for RAC database which includes information on all the instances in Oracle 10g R2 or 11gR1 ?
Thanks in advance
GaganI have never come across a way for this. though I can n't say it is not there.
But I guess it may not be feasible too becuase as we know the current AWR report contains data which is specific for one instance.
Various hit ratios, top events, instance effeciency reports.... what not ..
It would be really nice to see something is a new format where it lists values from each instance in a single report.. I guess such a thing Does not exiist as of now. -
NETCA listener configuration error for RAC database
Hi,
WE have a RAC setup on 2 nodes and now we want to change the default listener port for RAC database.
Database ver: 10.2.0.4
We now that srvctl does not work to add listener manually to CRS.
We are now using netca to create new listener on both the RAC nodes but it gives error throwing :
Problem in configuration : Node(S): hostname
Try again...
When we try to start the listener say listener_I it throws following error:
Problem in configuration :node1
Listener start to failed:Listener may already be running
CRS-0215:Could not start resource
This is urgent
any help is appreciated.
Regards,
Milanuser12073248 wrote:
How you fix it? write to [email protected]
Hi Mauricio,
In this forum we help for free regardless of priority.
First you try to help in the forum if the author of the post request your e-mail you give to him.
Hope you understand it.
Thanks in advance for doing your part to make this community as valuable as possible for everyone!
Levi Pereira -
In-place upgrade of Enterprise Manager for RAC databases is not supported
upgrading 2 node RAC from 10.2.0.1 to 10.2.0.3 on Windows 2003 64 bit. I got the following:
In-place upgrade of Enterprise Manager for RAC databases is not supported in this release
Now I cannot log in to the database control as sys with sysdba role . I get "invalid username/password" error
I can login as a dba user
I also get a java error after I log in, some thing about class not found, but then I'm in and I can do everything that I try, although I haven't tried scheduling a backup yet
Can I upgrade EM to 10.2.0.3?
If so, how?On the patchset readme...
11.3 Upgrade of Oracle Enterprise Manager Not Supported
When you start Oracle Database Upgrade Assistant to upgrade 10.2.0.1 database to 10.2.0.3 patch set, the following error occurs:
Inplace upgrade of Enterprise Manager is not supported for RAC databases is not supported in this release
Workaround:
Ignore warning.
If you drop and recreate the EM repository?
1). emca -deconfig dbcontrol db repos drop
2). emca -config dbcontrol db -repos create
Be careful, doing this put the database on QUIESCE mode.
Regards,
Rodrigo Mufalani -
Metalink Document IDs for RAC database
Hello,
This is Khalid, Plz any body could give me metalink document id's for RAC database managing and monitoring, backup and recoveries etc.. plz any document id related to RAC databases.....
Thanks & Regards
KhalidClusterware References
Metalink Notes
259301.1 CRS and 10g RAC
This note contains a useful awk script to improve the output of crs_stat -ls
436067.1 Windows CRS_STAT script to display long names correctly
309541.1 How to start/stop the 10g CRS Clusterware
263897.1 How to stop Cluster Ready Services (CRS)
298073.1 How to remove CRS auto start and restart for a RAC instance
295871.1 How to verify if CRS install is valid
316583.1 VIPCA fails complaining that interface is not public
341214.1 How to cleanup after a failed (or successful) Oracle Clusterware installation
280589.1 How to install Oracle 10g CRS on a cluster where one or more nodes are not to be configured with CRS immediately
357808.1 CRS Diagnostics
272331.1 CRS 10g Diagnostic Guide
330358.1 CRS 10g R2 Diagnostic Collection Guide
331168.1 Oracle Clusterware consolidated logging in 10gR2
342590.1 CRS logs not being written
357808.1 Diagnosability for CRS/EVM/RACG
459694.1 Procwatcher: Script to Monitor and Examine Oracle and CRS Processes
289690.1 Data Gathering for Troubleshooting RAC and CRS issues
265769.1 Troubleshooting CRS Reboots
240001.1 Troubleshooting CRS root.sh problems (10g RAC)
239989.1 10g RAC - Stopping Reboot Loops when CRS problems occur
294430.1 CSS Timeout Computation in 10g RAC
284752.1 10gRAC: Steps to Increase CSS Misscount, Reboottime and Disktimeout
462616.1 Reconfiguring the CSS disktimeout of 10gR2 Clusterware for proper LUN failover
293819.1 Placement of voting and OCR disk file in 10g RAC
317628.1 How to replace a corrupt OCR mirror file
452486.1 Moving OCR and Voting Disk to another location
399482.1 How to recreate OCR/Voting disk accidentally deleted
358620.1 How to recreate OCR/Voting disk in 10gR1/R2 RAC
279793.1 How to Restore a Lost Voting Disk in 10g
264847.1 How to Configure Virtual IPs for 10g RAC
283684.1 How to change interconnect/public interface IP subnet in a 10g cluster
276434.1 Modifying the VIP or VIP Hostname of an Oracle 10g Clusterware Node
294336.1 Changing the check interval for the Oracle 10g VIP
219361.1 Troubleshooting Instance Evictions (ORA-29740)
297498.1 Resolving Instance Evictions on Windows platforms
315125.1 What to check if the Cluster Synchronization Services daemon (OCSSD) does not start
270512.1 Adding a node to a 10g RAC Cluster
269320.1 Removing a node from a 10g RAC Cluster
338706.1 Cluster Ready Services (CRS) rolling upgrade
399031.1 Step-by-step installation of Oracle Clusterware one-off and bundle patches for Oracle 10g
401783.1 Changes in Oracle Clusterware after applying 10.2.0.3 Patchset
405820.1 Known Issues After Applying 10.2 CRS bundle patches
316817.1 Cluster Verification Utility (CLUVFY) FAQ
372358.1 Shared disk check with the Cluster Verification Utility
338924.1 CLUVFY Fails with error - could not find a suitable set of interfaces for VIPs
Bugs
5849200 CRS LOGS ARE NOT BEING WRITTEN
5137401 OPROCD LOGFILE IS CLEARED AFTER A REBOOT
Fixed in Oracle 10.2.0.4+ and 11.1.0.6+
source: http://www.juliandyke.com/References/Clusterware.html
regards,
Rajeshkumar Govindarajan.
http://oracleinstance.blogspot.com -
Data Guard configuration for RAC database disappeared from Grid control
Primary Database Environment - Three node cluster
RAC Database 10.2.0.1.0
Linux Red Hat 4.0 2.6.9-22 64bit
ASM 10.2.0.1.0
Management Agent 10.2.0.2.0
Standby Database Environment - one Node database
Oracle Enterprise Edition 10.2.0.1.0 Single standby
Linux Red Hat 4.0 2.6.9-22 64bit
ASM 10.2.0.1.0
Management Agent 10.2.0.2.0
Grid Control 10.2.0.1.0 - Node separate from standby and cluster environments
Oracle 10.1.0.1.0
Grid Control 10.2.0.1.0
Red Hat 4.0 2.6.9-22 32bit
After adding a logical standby database through Grid Control for a RAC database, I noticed sometime later the Data Guard configuration disappeared from Grid Control. Not sure why but it is gone. I did notice that something went wrong with the standby creation but i did not get much feedback from Grid Control. The last thing I did was to view the configuration, see output below.
Initializing
Connected to instance qdcls0427:ELCDV3
Starting alert log monitor...
Updating Data Guard link on database homepage...
Data Protection Settings:
Protection mode : Maximum Performance
Log Transport Mode settings:
ELCDV.qdx.com: ARCH
ELXDV: ARCH
Checking standby redo log files.....OK
Checking Data Guard status
ELCDV.qdx.com : ORA-16809: multiple warnings detected for the database
ELXDV : Creation status unknown
Checking Inconsistent Properties
Checking agent status
ELCDV.qdx.com
qdcls0387.qdx.com ... OK
qdcls0388.qdx.com ... OK
qdcls0427.qdx.com ... OK
ELXDV ... WARNING: No credentials available for target ELXDV
Attempting agent ping ... OK
Switching log file 672.Done
WARNING: Skipping check for applied log on ELXDV : disabled
Processing completed.
Here are the steps followed to add the standby database in Grid Control
Maintenance tab
Setup and Manage Data Guard
Logged in as sys
Add standby database
Create a new logical standby database
Perform a live backup of the primary database
Specify backup directory for staging area
Specify standby database name and Oracle home location
Specify file location staging area on standby node
At the end am presented with a review of the selected options and then the standby database is created
Has any body come across a similar issue?
Thanks,Any resolution on this?
I just created a Logical Standby database and I'm getting the same warning (WARNING: No credentials available for target ...) when I do a 'Verify Configuration' from the Data Guard page.
Everything else seems to be working fine. Logs are being applied, etc.
I can't figure out what credentials its looking for. -
Time to connect to RAC database
Hi,
I have installed 11gr2 RAC database on windows server 2008 on ASM. I can connect to existing prod db withing a second but it is taking almost 20Seconds for me to connect to the RAC database. Is it because of the SCAN IPs?
Can anyone let me know the reason behind it and the resolution on it?
Thanks...
Edited by: user2995637 on Jul 22, 2011 6:15 AM
Edited by: user2995637 on Jul 22, 2011 6:16 AMuser2995637 wrote:
I have installed 11gr2 RAC database on windows server 2008 on ASM. I can connect to existing prod db withing a second but it is taking almost 20Seconds for me to connect to the RAC database. Is it because of the SCAN IPs?No. Should not be the case, normally.
Yes, some TNS connections can be slower than others. There are a number of factors. The initial connection may result in a redirect to another listener on a different IP address (e.g. load balancing). This will be slower than a direct connection (no redirect).
In such a case for example, where a redirect occurs, the client with receive a redirect to a new hostname. It needs to resolve that to an IP. This can be slow due to DNS issues (either with the DNS itself, or with the resolution scope config of the client).
The connection can request a dedicated sever instead of a shared server. A shared server connection is simply a hand-off of that client to an existing dispatcher process. A dedicated server connection requires the Listener to launch a brand new Oracle server process, for that process to attach itself to the SGA, and then resume the connection/conversation with the client. Thus shared server is by its nature a lot faster to establish a connection with than a dedicated server.
So there are a number of moving parts that can be slow. And you will need to isolate these and test each in turn to determine where the performance knock is. -
"The Network Adapter could not establish the connection" on RAC databases
I am posting what solved our situation here, in case it helps others:
We have RAC databases that use SCAN, but also use their Local_Listener ports (because we could not go completely to SCAN due to our applications).
For some reason, 11.1 Grid Control could see instances if we added them separately, but if we tried to connect to the database & view the performance, it would error out with "The Network Adapter could not establish the connection".
We had to fix it by manually setting the connect string in every instance and database in the OEM Setup to the non-SCAN VIP/Ports.
Hopefully this saves someone else hours & hours of troubleshooting. (I know, the day after Grid Control 12 comes out. SOOO helpful. :P )Aravind K R wrote:
java.sql.SQLException: The Network Adapter could not establish the connectionWhere is the Oracle error? I hate this - s/w like Java suppressing the underlying error codes and messages. Just how the hell can one diagnose an error when not knowing exactly what it is? There should be a TNS error code and message.
From the info you've given, one can only guess. And the following guess is as good as any. Load balancing is requested. Likely your RAC db services are registered on both static and virtual IPs - as the listeners are running listener 1521/tcp end points on both.
This means the client can get a redirect to connect to a specific listener on a specific IP - and this includes the static IPs. The listener usually passes hostnames (as that is what is configured). If the client cannot resolve that static hostname to an IP, it cannot correct.
So make sure that the client can resolve both virtual and static hostnames of the RAC - not just the virtual ones.
If you're client is Windows, update the c:\windows\system32\drivers\etc\hosts file - alternatively register the hostnames with the local DNS. -
DBA panel not working correctly for RAC databases
I hope this is the correct forum for this stuff... I learned that there is a DBA panel in SQL Developer - which is a great idea. But then, trying it on a RAC database, the output is quite confusing. For example, the init parameters are desplayed twice, or better: once for every instance. But a display column to identify the instance is missing. I assume that the query goes to gv$parameter but doesn't make use of the INST_ID column. Or am I lacking some configuration trick...?
This probably has nothing to do with your problem but something is screwed up in the way CSCC handles Configurator panels.
Converted a panel made for CS6 using Configurator4. Got it loaded into CC. It was not quite right so I made some minor changes. The changes never showed up in CC. Deleted the original folder under Panels, changed the name of the panel and reinstalled. Whoa! The original deleted panel was the only one that showed up under Extensions not the new one. This in spite of the fact that that folder no longer existied.
I have tried all sorts of maneauvers but the fact is that the original panel is the only one that PS recognizes even though it does not exist on the drive. It is locked into PS and nothing I have done will change it.
Larry -
Not able to connect to RAC Database with VIP entries
Hi All,
My RAC database run with Physical Host entries in listener and tnsnames files.
But VIP services are running in both nodes.
Now i want to use VIP enties to connect to the RAC database from client side.
I have modified the both the listener and tnsnames files with VIP entries and bounced the instance.But It didn't work.
Please suggest what could be done in this issues.Hi,
It is 10.2.0.3 and remote_listener is set to LISTENER_Hostname and Remote listener is configured.
Thanks -
Standalone Standby Creation for RAC database
Hi,
I am in process of configuring standalone standby for my RAC database. The database version is 11.2.0.3. RAC is using SCAN listeners. I have got MOS for configuring standalone standby for RAC 387339.1. But specific steps I need to perform in case of SCAN listeners.
Any document or link is appreciated.
Regards,Hello;
The white paper "Rapid Oracle RAC Standby Deployment: Oracle Database 11g Release 2" has a section on this.
http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-rac-standby-133152.pdf
This may also help :
http://www.oracle.com/technetwork/database/availability/maa-wp-11g-racone-standby-501088.pdf
And these :
Configuring and Administering Oracle Net Listener
http://docs.oracle.com/cd/E11882_01/network.112/e10836/listenercfg.htm
srvctl relocate scan
http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/srvctladmin.htm#RACAD7499
srvctl relocate scan_listener
http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/srvctladmin.htm#CDDIDDCF
Troubleshooting Oracle Clusterware
http://download.oracle.com/docs/cd/E11882_01/rac.112/e16794/troubleshoot.htm#CHDFJIEG
From Oracle support :
How to Setup SCAN Listener and Client for TAF and Load Balancing [Video] [ID 1188736.1]
Best Regards
mseberg -
Could not get connections for 2 databases at the same time
Hi, I have a session bean which calls 2 entity beans in one method. The 2 entity
beans are located in different databases (different datasources and different
pools). When running, I got the following error:
Couldn't get connection:
java.sql.SQLException: Connection has already been created in this tx context
for pool named iitga_jdbc. Illegal attempt to create connection from another pool:
iitdbmap_jdbc
It seems WebLogic only allows one database connection within one method.
Thanks,Hi Henry,
If you want two beans bound to different database, you need
to use XA pools with TXDataSources because in this case you
have a distributed transaction.
Set up you pools using XA drivers and make sure you use
TXDatasources.
If you tell us which database you use we may come up with
sample pool configurations.
"Henry Hiu" <[email protected]> wrote in message
news:[email protected]..
>
Hi, I have a session bean which calls 2 entity beans in one method. The 2entity
beans are located in different databases (different datasources anddifferent
pools). When running, I got the following error:
Couldn't get connection:
java.sql.SQLException: Connection has already been created in this txcontext
for pool named iitga_jdbc. Illegal attempt to create connection fromanother pool:
iitdbmap_jdbcRegards,
Slava imeshev -
ODBC connectivity for Oracle9i database?
Hi,
We are looking at future database platform requirements for our customer service application and starting to look at Oracle 9i. Does anyone know at this early stage whether 9i will support connectivity from an older application which requires ODBC? Is it correct to assume it will have the same level of ODBC driver support as Oracle 8i?
Thanks,
Graham Bleakley
royalblue technologiesI'm sure that there will be Oracle9 ODBC drivers when 9i ships. Assuming you'll be connecting only to an Oracle8 or Oracle9 database, you should be just fine.
The only possible wrinkle I can come up with would be if you're trying to connect to an Oracle7 database (or connect an Oracle7 client to a 9i database). I'm not sure this will be supported.
Justin -
Setting the connection for the database
hello,
Can somebody tell me how to set the username and password to be able to connect to the Oracle database? I installed
Oracle Developer Suite10g (9.0.4.0.0) for Microsoft Windows. When I try to connect it asks for username and password. During the installation I did not see any option to set the connection......
Thanks.Did you installed an Oracle Server ? if not , the problem is that you do not have an Oracle Server to have a database. However you can run forms without a database setting the code: null; in the trigger for the form related to the login.
Joel Pérez
http://www.oracle.com/technology/experts
Maybe you are looking for
-
Error while installing ECC6.0with PI
SAPinst ADMINISTRATOR@system:SAP ERP 2005 Support Release2 > SAP Systems > Oracle > central instance >central system installation. in the step 4:-Execute service;phase 19 of 95---- import ABAP. THIS IS THE ERROR IN LOG BROWSER CJS-30022 PROGRAM 'MIGR
-
I have installed a new printer cartridge (36A; CB436A) for my HP M1522nf. I have removed the strip, per instructions. The cartridge "clicks" in and should be working. But the "!" light continues to blink, and an error message says "install black c
-
Oracle Enterprise Linux 5u5 install issue
Please help. I'm trying to install Oracle Enterprise Linux 5u5 on a desktop computer. In GUI mode, after the network adapter settings screen i press Next, and the system hangs. In Text mode, after the network adapter settings screen i press Next, and
-
We are just beginning to work with Captivate and trying to test the 508 compliancy issues. Does anyone know of a website that used Captivate that is 508 compliant that we can run some tests on?
-
Premiere Pro CC and BMD Intensity Pro Video Preview issues
I know there are many people having issues and confusion surrounding video preview file formats. For the most part, I have not had major problems, except this: I'm trying to figure out why PPro doesn't want to output video preview with certain file f