Oracle clusterware link
Hi,
i am core Dba currently working on Rac-mode production database, so for my trianing purpose i need a OTN link
for free download oracle clusterware on Linux advances server 4 or OEL 4 with prerequisites RPM(patches).
please also let me know which illustrate installing of oracle 10.2.0.1.0 on VMWARE. thanks a lot in advance.
BEST REGARDS
Hi rajyesh,
thanks for your immediate response but the links whcih you have sent to me it show that how to install
RAC DATABASE on VMWARE but when i click on software download i am getting only oracle 11g and 10g database
software . i need oracle cluster ware 10.2.0.1.0 on linux AS 4.please send me exact OTN link because i am not able to find it . thanks for you co-operations
BEST REGARDS
Similar Messages
-
Need link for official oracle clusterware & RAC installaiton on sol10 SPARC
Hi Forum,
I have been trying out all types of possible combination of installations for oracle clusterware and RAC on solaris 10 SPARC system. But as every document is not exact in all the steps so i have not succeeded at all.
It would be nice if anyone can give me the link for ORACLE CLUSTERWARE AND RAC INSTALLATION ON SOLARIS 10 SPARC. It would be nice if the document covers almost all the steps.
setup : sun fire 445 (2 No)
RAW disk Setup for storage.
OS: solaris 10 11/08
oracle: oracle 10.2.0.1 for DB and clusterware.
Please help me out. Its urgent.
Regards
PrakashI have been using the same document b14205. But the steps for the oracle clusterware OUI installations are not at all specified in. in 4 steps it has completed the whole OUI setup. where as i ran into so many issues that i had to look into google to find the soultion... and doc which is more presise with the steps.. well thanks for the other document... its given a new dimention to my efforts
regards
prakash -
We have two node clusterware installed and we want to upgrade the oracle clusterware from 10.2.0.4 to 11.2.0.2 can any one share the steps for upgrade.
Regards
Naveen DuttHi Rajeys,
I read all the documents but i was not able to find the information that i was looking. Below i am providing my cluster node configuration and version -
1) No of Node in cluster - 2 (node1 ,node2)
2) OCR (clusterware) version - 10.2.0.4
3) Storage type - NAS storage (we are not using ASM).
Now link provided by you is to upgrade ASM from 10.2.0.3 to 11GR2 but we are not using ASM as storage we are using NAS storage. Do we have any link or document that help me to upgrade oracle clusterware only without ASM from version 10.2.0.4 to 11.2.0.2 .
Thanks in advance
Regards
Naveen Dutt -
Oracle Clusterware and Oracle Real Application Clusters Install Guide
I've downloaded the latest "Oracle Database - Oracle Clusterware and Oracle Real Application Clusters Install Guide - 10g Release 2 (10.2) for HP-UX PA-RISC" (part no. B14202-01) dated August 2005 from OTN. I'm getting the following error when opening the pdf file in Adobe Reader:
"Cannot extract the embedded font 'PEPPLC+Palatino-Italic'. Some characters may not display or print properly."
When I print the manual, I get blank pages throughout the document which, in my opinion, should contain text and don't. Specifically pages 1-11, 2-5, 2-19, 2-24, 2-33, 3-5, 3-19 to name a few. When I go to those pages within the pdf file in Adobe Reader, I get the error: "There was a problem reading this document (114)."
Can you verify this problem on your end. Also, how do I get a good copy of this document?Hi!
Apologies for the delay in responding to you. Please try the documentation library, part B19306-01 at URL: http://www.oracle.com/technology/documentation/database10gR2.html. Search for the part B14202-01 and click: pdf at top right. Part B14202-01 documentation pdf is currently displaying and printing on this end. The blank pages at the end of each main topic are inserted on purpose.
Another link to part B14202-01, on OTN is under the OEM, Oracle Enterprise Manager 10g Release 2 (10.2): http://www.oracle.com/pls/db102/portal.portal_db?selected=21
Thank you for your comments and feedbacks. Its much appreciated.
Main OTN, documentation URL: http://www.oracle.com/technology/documentation/index.html
Regards,
Chao -
Oracle Clusterware error while installing
Hi all,
I am installing Oracle Clusterware (10.2.0.1) on solaris SPARC 5.10...and while installing Clusterware i am getting the following error
Exception PRKC-1044 : Failed to check remote command execution setup for node1 using shells /usr/bin/ssh and /usr/bin/rsh
node1 Connection refused
Then i executed the from node1
runcluvfy.sh stage -pre crsinst -n node2
Verifying node connectivity
ERROR:
User equivalence unavailable on all the nodes.
Verification cannot proceed
users id's on both the nodes are same.
I have configured SSH on both the nodes and its working fine for Public IP and Private IP.i can able to SSH wothout asking for apssword.
I have created Links for ssh and scp files.
ln -s -f /usr/bin/ssh /usr/local/bin/ssh
ln -s -f /usr/bin/scp /usr/local/bin/scp
then also i am getting the same error...here i have posted my etc/hosts
###########MGMT Interface
0.0.139.18 Node1-mgmt-ce9
############FTEAM Interface(I am using this as Public IP)
0.0.43.132 Node1
0.0.43.133 Node1-fe1-ce4
0.0.43.134 Node1-fe2-ce0
#############VIP Interface(SSH is not working for this IP's)
0.0.43.135 Node1-ovip
###############HEART BEAT Interface(I am Using this as Private Ip's)
0.0.139.97 Node1-hbt
0.0.139.98 Node1-hbt1-ce6
0.0.139.99 Node1-hbt2-ce2
###############NAS Interface(SSH is not working for this IP's)
0.0.122.88 Node1-nas
0.0.123.194 Node1-nas1-ce1
0.0.123.195 Node1-nas2-ce5
######################for host Node2#####################################
#############MGMT Interface
0.0.139.19 Node2-mgmt-ce9
#############FTEAM Interface(I am using this as Public IP)
0.0.43.136 Node2
0.0.43.137 Node2-fe1-ce4
0.0.43.138 Node2-fe2-ce0
#############VIP Interface(SSH is not working for this IP's)
0.0.43.139 Node2-ovip
#############HEART BEAT Interface(I am Using this as Private Ip's)
0.0.139.100 Node2-hbt
0.0.139.101 Node2-hbt1-ce6
0.0.139.102 Node2-hbt2-ce2
#############NAS Interface(SSH is not working for this IP's)
0.0.122.89 Node2-nas
0.0.123.196 Node2-nas1-ce5
0.0.123.197 Node2-nas2-ce1
Expecting some workarounds for this
Cheers
-Arun
Edited by: Mr.Doll on Aug 24, 2008 8:33 AM
Edited by: Mr.Doll on Aug 24, 2008 8:49 AMthx for ur help the problem is resolved
i have removed the login banner from both the hosts and now its working fine...
and now i am facing the problem with the IP address its not taking the correct IP address..... -
Can I use Oracle Clusterware 11 against 10.2.0.4 databases?
Implementing a 2 node RAC system on Linux RHEL 5, with version 10.2.0.4 databases. I read a fleeting post mentioning that you can use Oracle Clusterware version 11 against a 10R2 databases - is that the case? I've searched but can find no additional information regarding this, so if anyone can provide additional links or info, I would be most appreciative -
-kpwHi,
Implementing a 2 node RAC system on Linux RHEL 5, with version 10.2.0.4 databases. I read a fleeting post > mentioning that you can use Oracle Clusterware version 11 against a 10R2 databases - is that the case? Yes,
You can use the 11g clusteware to manage 10g and 11g RAC databases.
I've searched but can find no additional information regarding this, so if anyone can provide additional links or info, I would be most appreciative -
Take a look here [Understanding Compatibility in Oracle RAC Environments|http://download.oracle.com/docs/cd/E11882_01/rac.112/e10718/admin.htm#RACAD803], here [Oracle Clusterware Version Compatibility|http://download.oracle.com/docs/cd/E11882_01/rac.112/e10717/intro.htm#CWADD1118] and also in metalink note 337737.1 (Oracle Clusterware - ASM - Database Version Compatibility)
Hope it helps,
Cerreia
Edited by: Cerreia on 27/10/2009 20:38 -
Info required : Oracle Clusterware 11g and Veritas (SFRAC) storage
Hello,
One of my requirement is to Install Oracle clusterware 11g on top of Veritas Cluster. That is because we are using Veritas Storage.
OS : Solaris 10
Please share any iinformation on this regard.
Thanks,
KamHi Kamalesh,
thanks, sorry, if I was not clear enough in my answer.
The reason, I pointed you to the Veritas documentation, was to say that IF there is a certain patch to be applied dependent of the Veritas SFRAC version you use, either for Oracle or for Veritas, this should be described in the Veritas documentation (as well as the respective certification note(s) provided in My Oracle Support -> Certification, as you can only use a certified combination of SFRAC and Oracle RAC on the same system). The Veritas documentation will also describe the installation and configuration of the stack.
The main issues I have seen with such systems is mainly the configuration: The Veritas SFRAC and Oracle Clusterware need to integrate (the skgxn is the point of integration), which would result in a default misscount for Oracle Clusterware of 600 seconds (instead of the typical 30 seconds in an Oracle Only Stack). You can check the misscount and skgxn used in the cssd log. It will mention so during startup.
If the installation of the two cluster solutions is performed the right way (as described in the documentation linked), then this integration will happen during the installation of Oracle Clusterware, which is important, as it is very hard to enable it later and you will most likely have to re-install Oracle Clusterware. So, preparation is important here.
Once you installed the stack, you should be fine regarding patches, as Oracle would recommend the same patches for such a stack as for any other. Veritas might have additional recommendations, though. The same applies when thinking about rolling patches. Those are probably not possible due to dependencies on the underlying vendor cluster solution in such cases (exceptions might apply and you need to ask Veritas). Oracle Clusterware and the rest of the stack would remain to be rolling upgradeable as documented for cases, in which no vendor cluster is used.
As you can see, running such a configuration is more complex. You need to think about two layers and you need to ask two vendors any time you are in doubt of a procedure to be sure again. This may influence the stability of the system. Commonwealth Bank of Australia therefore decided 3 years ago to move away from having Veritas as the underlying cluster solution under Oracle Clusterware and use the Oracle Only Stack.
Now, I know that you have the necessity to use Veritas due to the storage management and other Oracle customers made this point before. However, with Oracle Grid Infrastructure 11g Rel. 2 and the newly introduced ACFS cluster file system, more and more of them realize that Veritas does not provide them with enough benefits to not only pay for something that does not even make the stack easier.
Hope that helps (this time) - at least a bit. Thanks,
Markus -
Oracle 10g to 11g Upgrade - Oracle Clusterware problem
Oracle10g RAC (2 Nodes) RHEL 4 64bit
Hi All,
I have began the procedure for upgrading Oracle Clusterware to 11g. However, during the install OUI was giving me certain error messages like it couldn't transfer the OUI installlogs to node 2. Well, I kept pushing through the install and after I ran the last rootupgrade script on node 2 it gave me the following error:
Checking the existence of nodeapps on this node
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Creating '/crs/home/install/paramfile.crs' with data used for CRS configuration
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Failed to retrieve VIP details
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Failed to retrieve VIP details
Setting CRS configuration values in /crs/home/install/paramfile.crs
So I ignored the error for the time being and after that I checked the status of crs and it gave me the following:
[oracle@vtl-rac2 crsd]$ crsstatus
HA Resource Target State
ora.VMRACDEV.VMRACDEV1.inst ONLINE ONLINE on vtl-rac1
ora.VMRACDEV.VMRACDEV2.inst ONLINE ONLINE on vtl-rac2
ora.VMRACDEV.db ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.ASM1.asm ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.LISTENER_VTL-RAC1.lsnr ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.gsd ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.ons ONLINE OFFLINE
ora.vtl-rac1.vip ONLINE ONLINE on vtl-rac1
ora.vtl-rac2.ASM2.asm ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.LISTENER_VTL-RAC2.lsnr ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.gsd ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.ons ONLINE OFFLINE
ora.vtl-rac2.vip ONLINE ONLINE on vtl-rac2
So i tried to bring it back up by doing a crs_stop -all and crs_start -all and it gave me the following error:
vtl-rac1 : CRS-1019: Resource ora.vtl-rac2.ons (application) cannot run on vtl-rac1
Start of `ora.vtl-rac1.ons` on member `vtl-rac1` failed.
vtl-rac2 : CRS-1019: Resource ora.vtl-rac1.ons (application) cannot run on vtl-rac2
CRS-0223: Resource 'ora.VMRACDEV.db' has placement error.
CRS-0215: Could not start resource 'ora.vtl-rac1.ons'.
CRS-0215: Could not start resource 'ora.vtl-rac2.ons'.
I am thinking that all of this is caused by the various issues I had with the install. If I am incorrect, then please let me know. If it is true, I would like to know if there are any 11g docs on how to clean up a failed clusterware upgrade. Any advice would be greatly appreciated on any of the situations I am having.
Thank youHi Chandra,
Did CVU report any problems before the upgrade?No, there were no errors reported by CVU before the upgrade.
I don't there is note out there for cleaning 11g CRS
install...and I think can very use the 10g CRS note -
239998.1.Yeah I might have to go that way.
I have both the 11g CRS install and upgrade from 10g
to 11CRS at
http://chandradba.blogspot.com/2007/08/oracle-11g-rac-
install-on-red-hat-50.html
and
http://chandradba.blogspot.com/2008/02/oracle-10g-crs-
upgrade-to-11g-crs.html
see if it helps.Yup, your guide is very simple, clear and error proof :) That's how mine when pretty much except right around 75% I started getting these strange errors of files not being able to be transferred to node 2. Anyways, it shouldn't be a problem as none of those errors were configuration related...or else I would have a messed up cluster.
Well, I actually rebooted both machines and now the whole CRS stack is up!! So I guess I am ok. We'll just have to wait and see.
Thanks for your help Chandra...I always appreciate it. -
Help needed with variable - trying to get data from Oracle using linked svr
Sorry if I posted this in the wrong forum - I just didn't know where to post it.
I'm trying to write a simple stored procedure to get data from an oracle database via a linked server in SQL Enterprise manager. I have no idea how to pass a variable to oracle.
Here's how I would get the variable in SQL:
declare @maxkey INTEGER
select @maxkey= MAX(keyfield) from [server].Data_Warehouse.dbo.mytable
select * from [server].Data_Warehouse.dbo.mydetailtable where keyfield=@maxkey
the select statement I need to do in oracle would use that variable like this:
select * from OPENQUERY(OracleLinkedServer,'select
* from ORACLEDB.TABLE where keyfield > @maxkey')
and I get this message: OLE DB provider "OraOLEDB.Oracle" for linked server "OracleLinkedServer" returned message "ORA-00936: missing expression".
I realize that I can't pass the @maxkey variable to oracle - so how do I accomplish this?Please refer the example in this link which deals with Oracle date format.
You can finnd a command DECODE which is used for date formats. If you have a look at whole theory then you will get an idea.
Link:[Bulk insert SQL command to transfer data from SAP to Oracle|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bulk-insert-sql-command-to-transfer-data-from-sap-to-oracle-cl_sql_connection-3780804] -
Our setup is that we have two databases; a SQL Server 2008 database and an Oracle database (11g). I've got the oracle MTS stuff installed and the Oracle MTS Recovery Service is running. I have DTC configured to allow distributed transactions. All access to the Oracle tables takes place via views in the SQL Server database that go against Oracle tables in the linked server.
(With regard to DTC config: Checked-> Network DTC Access, Allow Remote Clients, Allow Inbound, Allow Outbound, Mutual Authentication (tried all 3 options), Enable XA Transactions and Enable SNA LU 6.2 Transactions. DTC logs in as NT AUTHORITY\NetworkService)
Our app is an ASP.NET MVC 4.0 app that calls into a number of WCF services to perform database work. Currently the web app and the WCF service share the same app pool (not sure if it's relevant, but just in case...)
Some of our services are transactional, others are not.
Each WCF service that is transactional has the following attribute on its interface:
[ServiceContract(SessionMode=SessionMode.Required)]
and the following attribute on the method signatures in the interface:
[TransactionFlow(TransactionFlowOption.Allowed)]
and the following attribute on every method implementations:
[OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)]
In my data access layer, all the transactional methods are set up as follows:
using (IDbConnection conn = DbTools.GetConnection(_configStr, _connStr))
using (IDbCommand cmd = DbTools.GetCommand(conn, "SET XACT_ABORT ON"))
cmd.ExecuteNonQuery();
using (IDbCommand cmd = DbTools.GetCommand(conn, sql))
... Perform actual database work ...
Services that are transactional call transactional DAL code. The idea was to keep the stuff that needs to be transactional (a few cases) separate from the stuff that doesn't need to be transactional (~95% of the cases).
There ought not be cases where transactional and non-transactional WCF methods are called from within a transaction (though I haven't verified this and this may be the cause of my problems. I'm not sure, which is part of why I'm asking here.)
As I mentioned before, in most cases, this all works fine.
Periodically, and I cannot identify what initiates it, I start getting errors. And once they start, pretty much everything starts failing for a while. Eventually things start working again. Not sure why... This is all in a test environment with a single user.
Sometimes the error is:
Unable to start a nested transaction for OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLSERVERNAME". A nested transaction was required because the XACT_ABORT option was set to OFF.
This message, I'm guessing is happening when I have non-transactional stuff within transactions, as I'm not setting XACT_ABORT in the non-transactional code (that's totally doable, if that will fix my issue).
Most often, however, the error is this:
System.Data.SqlClient.SqlException (0x80131904): The operation could not be performed because OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLSERVERNAME" was unable to begin a distributed transaction.
Now, originally we only had transactions on SQL Server tables and that all worked fine. It wasn't until we added transaction support for some of the Oracle tables that things started failing. I know the Oracle transactions work. And as I said, most of the time, everything is just hunky dorey and then sometimes it starts failing and keeps failing for a while until it decides to stop failing and then it all works again.
I noticed that our transactions didn't seem to have a DistributedIdentifier set, so I added the EnsureDistributed() method from this blog post: http://www.make-awesome.com/2010/04/forcibly-creating-a-distributed-net-transaction/
Instead of a hardcoded Guid (which seemed to cause a lot of problems), I have it generating a new Guid for each transaction and that seems to work, but it has not fixed my problem. I'm wondering if the lack of a DistribuedIdentifier is indicative of some other underlying problem. I've never dealt with an environment quite like this before, so I'm not sure what is "normal".
I've also noticed that the DistributedIdentifier doesn't get passed to WCF. From the client, I have a DistributedIdentifier and a LocalIdentifier in Transaction.Current.TransactionInformation. In the WCF server, however there is only a LocalIdentifier set and it is a different Guid from the client side (which makes sense, but I would have expected the DistributedIdentifier to go across).
So I changed the wait the code above works and instead, on the WCF side, I call a method that calls Transaction.Current.EnlistDurable() with the DummyEnlistmentNotification class from the link above (though with a unique Guid for each transaction instead of the hardcoded guid in the link). I now havea DistributedIdentifier on the server-side, but it still doesn't fix the problem.
It appears that when I'm in the midst of transactions failing, even after I shut down IIS, I'm unable to get the DTC service to shutdown and restart. If I go into Component Services and change the security settings, for example, and hit Apply or OK, after a bit of a wait I get a dialgo that says, "Failed ot restart the MS DTC serivce. Please examine the eventlog for further details."
In the eventlog I get a series of events:
1 (from MSDTC): "The MS DTC service is stopping"
2 (From MSSQL$SQLEXPRESS): "The connection has been lost with Microsoft Distributed Transaction Coordinator (MS DTC). Recovery of any in-doubt distributed transactions
involving Microsoft Distributed Transaction Coordinator (MS DTC) will begin once the connection is re-established. This is an informational
message only. No user action is required."
-- Folowed by these 3 identical messages
3 (from MSDTC Client 2): 'MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system GCOVA38.'
4 (from MSDTC Client 2): 'MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system GCOVA38.'
5 (from MSDTC Client 2): 'MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system GCOVA38.'
6 (From MSDTC 2): MSDTC started with the following settings: Security Configuration (OFF = 0 and ON = 1):
Allow Remote Administrator = 0,
Network Clients = 1,
Trasaction Manager Communication:
Allow Inbound Transactions = 1,
Allow Outbound Transactions = 1,
Transaction Internet Protocol (TIP) = 0,
Enable XA Transactions = 1,
Enable SNA LU 6.2 Transactions = 1,
MSDTC Communications Security = Mutual Authentication Required, Account = NT AUTHORITY\NetworkService,
Firewall Exclusion Detected = 0
Transaction Bridge Installed = 0
Filtering Duplicate Events = 1
This makes me wonder if there's something maybe holding a transaction open somewhere?The statement executed from the sql server. (Installed version sql server 2008 64 bit standard edition SP1 and oracle 11g 64 bit client), DTS enabled
Below is the actual sql statement issued
SET XACT_ABORT ON
BEGIN TRAN
insert into XXX..EUINTGR.UPLOAD_LWP ([ALTID]
,[GRANT_FROM],[GRANT_TO],[NO_OF_DAYS],[LEAVENAME],[LEAVEREASON],[FROMHALFTAG]
,[TOHALFTAG] ,[UNIT_USER],[UPLOAD_REF_NO],[STATUS],[LOGINID],[AVAILTYPE],[LV_REV_ENTRY])
values('IS2755','2010-06-01',
'2010-06-01','.5', 'LWOP' ,'PERSONAL' ,'F', 'F', 'EUINTGR',
'20101',1,1,0,'ENTRY')
rollback TRAN
OLE DB provider "ORAOLEDB.ORACLE" for linked server "XXX" returned message "New transaction cannot enlist in the specified transaction coordinator. ".
Msg 7391, Level 16, State 2, Line 3
The operation could not be performed because OLE DB provider "ORAOLEDB.ORACLE" for linked server "XXX" was unable to begin a distributed transaction.
Able to execute the above statement successfully without using transaction.We need to run the statement with transaction. -
SQL 2008 Problem Calling an SP on an Oracle 10G Linked Server
Hi everyone
I've read through a number of posts on many sites about this issue but haven't found anything that has helped me so far. The machine I'm using is running Microsoft SQL Server 2008 64bit and the linked server I've created to Oracle 10G is using OraOLEDB.Oracle. If I test the connection in SQL Management Studio it succeeds and for any queries I have using OpenQuery to select from the Oracle DB I have no problem getting results.
The Oracle 32bit client and 64bit client versions are installed on the machine.
My problem is that I need to exec an Oracle SP which in turn inserts into various Oracle tables. I previously had this all working fine on 32bit SQL Server 2000 installation connected to Oracle 10G. Using the same code in SQL Server 2008 I get the following error:
Msg 7357, Level 16, State 2, Line 1
Cannot process the object "{CALL INTF.INTF_TW_PO_REQ_INTERFACE.MAIN(NULL, 15.000000, 0.000000, 'BLPO0099998', 'BLPO0099998', '', '', 39804, 21883, 'BLPO0099998', 249, 1, 950, 'Main', 190506, 37336, '1', TO_DATE( '20090706','YYYYMMDD' ), TO_DATE( '20090706','YYYYMMDD' ), 'INCOMPLETE',37336, {RESULTSET 1, P_Success})}". The OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLE" indicates that either the object has no columns or the current user does not have permissions on that object
The call is made by the following piece of code in SQL:
SET @execCmd = N'SELECT
P_Success
FROM
OPENQUERY( ORACLE, '''+ @oracleCmd + ''')';
EXECUTE (@execCmd);
Where @oracleCmd = {CALL INTF.INTF_TW_PO_REQ_INTERFACE.MAIN(NULL, 15.000000, 0.000000, ''BLPO0099998'', ''BLPO0099998'', '''', '''', 39804, 21883, ''BLPO0099998'', 249, 1, 950, ''Main'', 190506, 37336, ''1'', TO_DATE( ''20090706'',''YYYYMMDD'' ), TO_DATE( ''20090706'',''YYYYMMDD'' ), ''INCOMPLETE'',37336, {RESULTSET 1, P_Success})}
I also tried using the below snippet from another post I found and got no joy either.
declare @result varchar(255)
exec ('BEGIN
?:= your_SP_Name(''arg1'', ''arg2'', etc);
END;
',@result OUTPUT) at your_LinkedServerName;
select @result;
OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLE" returned message "ORA-06550: line 3, column 7:
PLS-00222: no function with name 'INTF_TW_PO_REQ_INTERFACE' exists in this scope
ORA-06550: line 3, column 1:
PL/SQL: Statement ignored".
I can't figure out why it doesn't work in SQL 2008 when it worked fine in SQL 2000 - PLEASE HELP!
Thank you
Alida HopeWhy development on 10g and production on 8i? Either both should be 8i or both should be 10g.
If you will keep production on 8i and development on 10g then you cannot stop such errors as there are features that are enabled by default in 10g and both the versions have very big differences.
Just go ahead and install 8i. -
New Note 790189.1 - Oracle Clusterware and Application Failover Management
Hi all,
please, note the newly created Metalink Note 790189.1 - Oracle Clusterware and Application Failover Management if you want to use Oracle Clusterware as a general purpose cluster solution. The note intends to clarify and to explain the current situation in regards to the supportability of applications managed by Oracle Clusterware.
In environments not including Oracle RAC, Oracle Clusterware still provides the level of high availability that is commonly known to be achievable for applications and databases managed in (failover) cluster environments. These environments can include Oracle Single Instance Databases, Oracle Application Servers, Oracle Enterprise Manager components, third party databases, or any other kind of application. (For more information on Oracle Clusterware 11g in general, please, refer to [Oracle Clusterware homepage|http://otn.oracle.com/clusterware].)
Metalink Note 790189.1 - Oracle Clusterware and Application Failover Management is tightly integrated with the information on application failover management available on the [Oracle Clusterware homepage|http://otn.oracle.com/clusterware] and discusses typical questions like
* Terminology
* Script supportability and preconfigured agents
* How to prove that action scripts work outside of Oracle Clusterware
* Supportability of the Oracle Database Single Instance example scripts
* How do I know whether a certain script is supported as a preconfigured agent?
Metalink Note 790189.1, however, does not change the level of support that has been introduced for these kind of configurations as of Oracle Database 10g Release 2: "Generally, Oracle does not support action scripts in the strict terms of supporting individual code fragments. Oracle fully supports the integration of individual action scripts proven to run outside of Oracle Clusterware into the Oracle Clusterware management stack. Supported operations therefore typically involve crs_* commands such as crs_profile, crs_register, crs_setperm, crs_getperm, crs_start, crs_stop, and crs_relocate invoked on custom resources. If actions scripts are used as part of a preconfigured agent, Oracle or the application provider who provides the agent will support the integration of this agent, while only the application provider will provide support for the individual action scripts."
Just for your information. Thanks,
Markusnot meant to be a question - rather an announcement.
-
Where can I find the Oracle Clusterware 11.1.0.7 for Linux x86
Hello,
I am testing upgrading Oracle 11g RAC from 11.1.0.6 to 11.1.0.7 on Linu x86 (RedHat 5.3/OEL 5.3)
I haven't been able to find the Oracle Clusterware 11.1.0.7 for Linux x86 download, which is required for the RAC upgrade.
Could someone tell me the patch/patchset number or how can I search for it in metalink?
Thanks!Hi,
You need to download patch 6890831
Please see the metalink note 800603.1 for 11.1.0.7 patch set and installation instructions for Linux x86.
Hope this helps.
Regards
Satishbabu Gunukula
http://oracleracexpert.blogspot.com
[Click here to delete archive logs using RMAN|http://oracleracexpert.blogspot.com/2009/08/delete-archive-logs-using-rman.html]
[Click here for Oracle Data pump export/Import with Examples|http://oracleracexpert.blogspot.com/2009/08/oracle-data-pump-exportimport.html]
Edited by: Satishbabu Gunukula on Aug 26, 2009 10:32 PM -
From wehre can I download Oracle Clusterware 11.1.0.7 (upgrade)
I need to upgrade my Clusterware installation to version 11.1.0.7, but I can't find a place from where to download it (Google doesn't help).
I've installed Oracle Clusterware 11g Release 1 (11.1.0.6.0) for Linux x86-64 from this page:
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/111060-linx8664soft-099033.html
Please, if you know, tell me where can I find Clusterware 11.1.0.7 (for Redhat 5.4 64x).
Thank you.Yes, you need a valid CSI (customer support identifier) to access the metalink support.
Regards
Asif Kabir
-- If you got the answer close the thread as well. -
Cannot get data of the row from OLE DB provider "OraOLEDB.Oracle" for linked server
I have created a stored procedure in SQL Server for a report that uses parameters. In the report I am linking an Oracle table. I use a subquery like this to query the Oracle table: (select * from openquery(oracle_linked_server, 'select
partno, description from oracletable')). If I run the subquery it works fine every time. The linked server uses an oracle account which has access to the oracle table. When I first created the Stored Procedure it worked fine for me. When
I test the report, it worked fine. Then I asked another user to test it and it broke with the below error message.
OLE DB provider "OraOLEDB.Oracle" for linked server "XXXX_ORACLE" returned message "ORA-01403: no data found".
Msg 7346, Level 16, State 2, Procedure usp_report_XXXXXX, Line 15
Cannot get the data of the row from the OLE DB provider "OraOLEDB.Oracle" for linked server "XXXX_ORACLE".
Now when I try the report or the stored procedure, I get the same error. I tested the oracle subquery in the stored procedure and it still works. The report uses a service account to execute the stored procedure.
I am using SQL Server 2012 Developer Edition 64 bit (11.0.5058) Management Studio to develop the stored procedure. The SQL Server I am accessing and running the stored procedure is SQL Server 2008R2 Developer Edition 64bit (10.50.2550). The user
that tested the report for me has SQL Server 2008R2 but that shouldn't matter since he is running the report in Internet Explorer.
What is changing that it works for a while and then stops?
Fred
Fred SchmidI found the answer. It was in the query. I put the TRIM statement on the part# field in the Oracle subquery and took the LTRIM function out of the ON clause that joined my SQL Server table with the Oracle linked server table. Now everything
works. The query looks like this:
SQL_Server_Table sst
LEFT OUTER JOIN
(SELECT * FROM OPENQUERY(OracleLinkedServer, 'SELECT TRIM(partNo) AS partNo, partDesc FROM OracleTable')) ols
ON sst.partNo = ols.partNo
Thanks for pointing me in the right direction.
Fred Schmid
Maybe you are looking for
-
Add/Remove Programs - export to text file?
Hello, I am wondering if it is possible to export a list of everything in add/remove programs to a text file for inventory purposes. I have not found any easy method to do this short of copying reg files or installer 3rd party software. Since the id
-
I was attached by registry doctor and several conduit malware programs. I had the malware removed from my computer. But ever since them thunderbird has been very slow or not resonding at all. l have uninstalled and reinstalled thunderbird twice. The
-
ThinkPad X131e - please share your experiences
Hello, I am located in Germany and I tried to order ThinkPad X131e from the Lenovo Shop, but believe it or not: the online store cannot process the order. For Lenovo this should be a cause for embarrassment. I think that ThinkPad X131e is just the ki
-
Size regarding CUSTOM.PLL
Hi Experts, Is there any size constraint for CUSTOM.PLL library ? Is there Maximum size for CUSTOM.PLL ? regards Sanjay
-
IMac can't log-in after regular e-update
This is a follow up for my old post. My iMac-G4(flat panel) can not log-in after the on-line free software e-update provided by Apple weekly. The actual diagnosis is: start up the iMac, when the blue-bar finishes, no log-in box showing up, so I can't