Issues while Add / Delete RAC Node in Oracle 10g R2
Hi,
I have an requirement to add a New Node in the existing 2 Node RAC at Production, where 1 Node is Active & other one is passive due to licence issue & cannot keep both the nodes as active. Due to performance issues (Memory , CPU Cores ..etc) we are adding another new node.
Right now we are planning to add a 3rd database node making the new node as active and current active one as passive which is a swap & later on after final observation delete and decommission the current passive node.
This activity is checked at the Dev database with the same infrastructure (OS + Memory ..etc) but want to check what is the best approach (or) challenges we face during the RAC Node Addition / Deletion
RAC DB Version : 10.2.o.4
OS Version : RHEL 5.8
(1) Is the approach is right one , First Adding the node & later on delete
(2) If the approach is the correct , what would be the behavious of the 3rd node in means of active (or) passive
(3) We have taken RMAN backup , OS backup , CRS , ORACLE_HOME , ASM_Home backup , OCR & VD.
(4) Could you please give detail steps for adding / deleting node in 10g R2.
(5) Are they any known bugs to us with the DB release (or) OS while performing this activity.
Since this is a production machine we want to more proactive . Please correct or add any thing i am missing out ...
With Thanks,
Rakesh
Hello Rakesh,
Please follow the following steps.
Node Addition Steps
1. Install and configure OS and hardware for new node.
2. Add Oracle Clusterware to the new node.
3. Configure ONS for the new node.
4. Add ASM home to the new node.
5. Add Databse home to the new node.
6. Add a listener to the new node.
7. Add ASM instance to the New Node.
8. Add a database instance to the new node.
Details of steps
1. run cluvfy to verify whether New node is ready for addition or not.
$ cluvfy stage -pre crsinst -n node2
2. from node1, execute
$/u01/app/crs11g/oui/bin/addNode.sh
3. Specify node2 vip address and follow instructions.
4. In the last of installtion it may through an wornig and will ask to click on YES. click on YES
5. from node1,
/u01/app/crs11g/bin/racgons add_config node2:6200
6. from Node1,set ORACLE_HOME=ASM_HOME and then execute addNode.sh from $ASM_HOME/oui/bin and Follow instrusctions.
7. From node1, set ORACLE_HOME=DB_HOME and then
/u01/app/oracle/product/11.1.0/db_1/oui/bin/addNode.sh
and Follow instructions.
8. from node2 start NETCA and configure listener for new node. While configuring Listener select the name of new node.
9. from node1 start dbca from ASM Home to configure ASM instance for new node.
10. Again from node1 start dbca from DB Home to add DB instance
Node deletion Steps
1. Delete the Database instance on the node to be deleted.
2. Clean up the ASM instance.
3. Remove the listener from the node to be deleted.
4. Remove the node from the database.
5. Remove the node from ASM.
6. Remove ONS configuration from the node to be deleted.
7. Remove the node from the clusterware
Details of Steps
1. Remove database Instance of node2
Dbca -> instance Management -> delete instance -> password for sys -> select node -> finish.
2. Stop asm for node2 from any nodes.
$srvctl stop asm –n node2
3. Remove asm for node2
$ srvctl remove asm -n node2
4. Remove Listener from Node2 using NETCA.
5. From Node2:
./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node2" -local
6. From Node2, start runinstaller from Oracle_DB_Home/oui/bin, and remove "DB_HOME"
$ ./runinstaller
On the WELCOME Screen -> Deinstall product -> Select dbhome name (OraDb10g_Home1) -> Remove
7. From Node1:
./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node1"
8. From Node2, set Oracle_Home to asm_1 and then fire:
./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node2" -local
9. From Node2, start OUI and deinstall ASM Home.
10. From Node1, Set ORACLE_HOME= /u01/app/oracle/product/11.1.0/asm_1
11. From Node1: from /u01/app/oracle/product/11.1.0/asm_1/oui/bin, start OUI
./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node1"
12. From Node2: as a root user (#) execute rootdelete.sh from /u01/app/crs11g/install
# /u01/app/crs11g/install/rootdelete.sh
13.From Node-1 first find out the node numbers
# /u01/app/crs11g/bin/olsnodes -n
output : node1 1
node2 2
14. From Node-1 as a root user (#):
# /u01/app/crs11g/install/rootdeletenode.sh node2[Node_Name] 2[node_no]
output:
CRS nodeapps are deleted successfully
clscfg: EXISTING configuration version 4 detected.
clscfg: version 4 is 11 Release 1.
Node deletion operation successful.
'node2' deleted successfully
15. From Node2 set ORACLE_HOME=CRS_HOME and then execute
$$ORACLE_HOME/oui/bin/runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node2" CRS=TRUE -local
16. ./runInstaller and remove CRS_HOME
17. From Node-1:
$ /u01/app/crs11g/oui/bin/runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node1" CRS=TRUE
18. check node is deleted from ./crs_stat -t
Similar Messages
-
Can we have Multiple Instance on same Node in Oracle 10g RAC
Hi All,
I am planning to implement the RAC in Oracle 10g.Before that i have one doubt regarding RAC.
My question is "Can we create multiple Instance on Same node(Server) ?"
is it possible.
Any ideas or thoughts would be apperciable.
Thanks in Advance.
AnwarThis is where it is important to keep the separation between 'database' and 'instance'.
A database is the set of files that contains the data (and the redo, control files, etc). A database does nothing by itself, other than take up lots of disk space.
An instance is theCPU cycles (running software) and the memory to control the database.
In Oracle RAC, you can have as many instances controlling one database [at the same time] as you want (within reason). Each instance must be able to access the disk(s) that contains the database.
These multiple instances can be on the same computer (effectively taking up a lot of server memory and CPU for nothing) or they can be on separate computers.
If they are on separate computers, the disk subsystems must be able to be shared across computers - this is occasionally done using operating system clusterware and is the main reason why clusterware is required at all. (This is also the toughest part of the pre-requisites in setting up a RAC and is very vendor dependent unless you use ASM.)
These instances need a communication connection to coordinate their work (usually a separate network card for each computer) so they do not corrupt the disk when they are trying to access the same file, and possibly the same block, at the same time.
In a RAC configuration, instances can be added, started, running, stopped and removed independent of each other (allowing a lot of high availability) or can be started and stopped as a group.
Each instance gets it's own SID, which is in no way any different than a non-RAC SID. It's just the name of a service that can be invoked. The neat thing is that the SID
a) helps the DBA keep things straight by lettiung us talk about 'instance A' (the Oracle software to be running over on computer A) vs 'instance B' when starting, stopping and managing;
b) helps the application by providing targets that can be listed in the TNSNAMES.ORA [against one service alias], which is used by ORacle Networking to provide automated load balance or failover (instance/SID a is not available, I guess I'll try the next in the list)
Hope that helps the concept level a bit. -
Issue while loading itext jar loaded in oracle
Hi Guys,
I have implemented the pdf generation using itextpdf 5.1.0. Its working in java and I could generate the pdf. But when I try to lod the jar file most of them are found to be uncompiled. when I investigated the error , I got the following
PDFGENERATOR:10: cannot access com.itextpdf.text.Element
class file has wrong version 49.0, should be 48.0
import com.itextpdf.text.Element;
Please remove or make sure it appears in the correct subdirectory of the classpath.
I am using Oracle database 10 G. and my JVM is 1.4. Is it possible to upgrade only the jvm of Oracle 10g from 1.4 to 1.5 or higher??
Regard,
Rahim P.K
Edited by: user7733307 on 20-Dec-2011 03:06user7733307 wrote:
Hi Guys,
I have implemented the pdf generation using itextpdf 5.1.0. Its working in java and I could generate the pdf. But when I try to lod the jar file most of them are found to be uncompiled. when I investigated the error , I got the following
PDFGENERATOR:10: cannot access com.itextpdf.text.Element
class file has wrong version 49.0, should be 48.0
import com.itextpdf.text.Element;
Please remove or make sure it appears in the correct subdirectory of the classpath.
I am using Oracle database 10 G. and my JVM is 1.4. Is it possible to upgrade only the jvm of Oracle 10g from 1.4 to 1.5 or higher??
Regard,
Rahim P.K
Edited by: user7733307 on 20-Dec-2011 03:06You are on the right track thinking it is a JDK version problem. But this is seriously not a Java programming question, but an Oracle administration one. -
ERROR while connecting to Netezza Database from oracle 10g via dblink.
Gurus,
We are trying to connect to Netezza DB from oracle 10g DB.. We successfully establised ODBC connection but unable to retrieve data over the dblink connected from oracle to Netezza. We get this error.. Please HELP ASAP!!!!!!!!
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
Server and/or port attributes are empty {HY000,NativeErr = 33}Manik wrote:
We are trying to connect to Netezza DB from oracle 10g DB.. We successfully establised ODBC connection but unable to retrieve data over the dblink connected from oracle to Netezza. We get this error.. Please HELP ASAP!!!!!!!!
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
Server and/or port attributes are empty {HY000,NativeErr = 33}Always test ODBC client connectivity on the Oracle server to the remote and foreign database, first. Use the isql ODBC client command line interface (as the oracle or grid o/s user).
If this does not work, then Oracle HSO will also not work.
Once you have confirmed that this is working, then configure the HSO service for Oracle.
If that fails, enables ODBC client tracing for that HSO service (in the init file for that service) to see exactly what ODBC calls Oracle is making and which of these are failing. -
ExtStringTemplate Warning while Converting a SQLServer DB to Oracle 10g
Hi everyone,
I hope this is the right Forum to ask about this. I apologize if I misplaced it
I am currently having some trouble with the migration of a MSSQL Database (2000 with all its stored Procedures) to ORACLE 10g. I am using the offline Capture Method to generate the captured Model without any errors or warnings.
But as soon as I convert the Captured Model to the ORACLE Model I get a bunch of Warning Messages that read as follows:
Oracle.dbtools.migration.parser.ext.ExtStringTemplate.setValue(ExtStringTemplate.java:134)
Clicking on Details does not give any further clues on which Object caused it during conversion.
During the last few Days I tried to find Information about this Warning Message searching several Blogs and Forums, but to no avail.
I would like to know how I could solve this problem or if it even might influence the applications later on that are supposed to work with the converted Database.
Any help with this is highly appreciated
Here some Information about the test Environment:
System specs:
Oracle runs in A Virtual Box Dev-Environment with Win2k3 as Guest OS
VirtualBox: 3.0.10 r54097
ORACLE Database 10g r 2
SQL Developer Info
Oracle SQL Developer 2.1.0.62
Version 2.1.0.62
Build MAIN-62.61
Copyright © 2005, 2009, Oracle. All Rights Reserved. Alle Rechte vorbehalten.
IDE Version: 11.1.1.2.36.54.96
Product ID: oracle.sqldeveloper
Product Version: 11.1.1.62.61
Version
Komponente Version
========== =======
Java(TM)-Plattform 1.6.0_11
Oracle-IDE 2.1.0.62.61
Versionierungsunterstützung 2.1.0.62.61
Eigenschaften
Name Wert
==== ====
apple.laf.useScreenMenuBar true
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name "SQL_Developer"
com.apple.mrj.application.growbox.intrudes false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 1174433566556
ide.build MAIN-62.61
ide.conf C:\Programme\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\Programme\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun true
ide.java.minversion 1.6.0_04
ide.launcherProcessId 2636
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\SQL Developer
ide.pref.dir.base C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\Programme\sqldeveloper\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\Programme\sqldeveloper\sqldeveloper.exe
ide.startingcwd C:\Dokumente und Einstellungen\Administrator\Desktop
ide.user.dir C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\SQL Developer
ide.work.dir.base C:\Dokumente und Einstellungen\Administrator\Eigene Dateien
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\Programme\sqldeveloper\jdk\jre\lib\endorsed
java.ext.dirs C:\Programme\sqldeveloper\jdk\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home C:\Programme\sqldeveloper\jdk\jre
java.io.tmpdir C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\
java.library.path C:\Programme\sqldeveloper;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Microsoft SQL Server\100\Tools\Binn\;C:\Programme\Microsoft SQL Server\100\DTS\Binn\;C:\Programme\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Programme\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\WINDOWS\system32\WindowsPowerShell\v1.0
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_11-b03
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_11
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 11.0-b16
jdbc.library /C:/Programme/sqldeveloper/jdbc/lib/ojdbc5.jar
line.separator \r\n
oracle.home C:\Programme\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.Trace true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/Programme/sqldeveloper/jlib/orai18n.jar
os.arch x86
os.name Windows 2003
os.version 5.2
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sqldev.debug false
sun.arch.data.model 32
sun.boot.class.path C:\Programme\sqldeveloper\jdk\jre\lib\resources.jar;C:\Programme\sqldeveloper\jdk\jre\lib\rt.jar;C:\Programme\sqldeveloper\jdk\jre\lib\sunrsasign.jar;C:\Programme\sqldeveloper\jdk\jre\lib\jsse.jar;C:\Programme\sqldeveloper\jdk\jre\lib\jce.jar;C:\Programme\sqldeveloper\jdk\jre\lib\charsets.jar;C:\Programme\sqldeveloper\jdk\jre\classes
sun.boot.library.path C:\Programme\sqldeveloper\jdk\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 2
svnkit.sax.useDefault true
user.country DE
user.dir C:\Programme\sqldeveloper\sqldeveloper\bin
user.home C:\Dokumente und Einstellungen\Administrator
user.language de
user.name Administrator
user.timezone Europe/Berlin
user.variant
windows.shell.font.languages
Erweiterungen
Name Identifier Version Status
==== ========== ======= ======
Audit oracle.ide.audit 11.1.1.2.36.54.96 Geladen
Check For Updates oracle.ide.webupdate 11.1.1.2.36.54.96 Geladen
Code Editor oracle.ide.ceditor 11.1.1.2.36.54.96 Geladen
Datenbank-UI oracle.ide.db 11.1.1.2.36.54.96 Geladen
Datenbankobjekt-Explorer oracle.ide.db.explorer 11.1.1.2.36.54.96 Geladen
Diff/Merge oracle.ide.diffmerge 11.1.1.2.36.54.96 Geladen
Extended IDE Platform oracle.javacore 11.1.1.2.36.54.96 Geladen
Externe Tools oracle.ide.externaltools 11.1.1.2.36.54.96 Geladen
File Support oracle.ide.files 11.1.1.2.36.54.96 Geladen
File System Navigator oracle.sqldeveloper.filenavigator 11.1.1.62.61 Geladen
Help System oracle.ide.help 11.1.1.2.36.54.96 Geladen
Import/Export Support oracle.ide.importexport 11.1.1.2.36.54.96 Geladen
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.2.36.54.96 Geladen
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.2.36.54.96 Geladen
Log Window oracle.ide.log 11.1.1.2.36.54.96 Geladen
Navigator oracle.ide.navigator 11.1.1.2.36.54.96 Geladen
Object Viewer oracle.sqldeveloper.oviewer 11.1.1.62.61 Geladen
Objektgalerie oracle.ide.gallery 11.1.1.2.36.54.96 Geladen
Oracle Data Modeler Reports oracle.sqldeveloper.datamodeler_reports 11.1.1.62.61 Geladen
Oracle Database Browser oracle.sqldeveloper.thirdparty.browsers 11.1.1.62.61 Geladen
Oracle IDE oracle.ide 11.1.1.2.36.54.96 Geladen
Oracle SQL Developer oracle.sqldeveloper 11.1.1.62.61 Geladen
Oracle SQL Developer Data Modeler Viewer oracle.datamodeler 2.0.0.574 Geladen
Oracle SQL Developer Extras oracle.sqldeveloper.extras 1.1.1.62.61 Geladen
Oracle SQL Developer Migrations oracle.sqldeveloper.migration 11.1.1.62.61 Geladen
Oracle SQL Developer Migrations - Antlr3 Translation Core oracle.sqldeveloper.migration.translation.core_antlr3 11.1.1.62.61 Geladen
Oracle SQL Developer Migrations - DB2 oracle.sqldeveloper.migration.db2 11.1.1.62.61 Geladen
Oracle SQL Developer Migrations - Microsoft Access oracle.sqldeveloper.migration.msaccess 11.1.1.62.61 Geladen
Oracle SQL Developer Migrations - MySQL oracle.sqldeveloper.migration.mysql 11.1.1.62.61 Geladen
Oracle SQL Developer Migrations - SQLServer oracle.sqldeveloper.migration.sqlserver 11.1.1.62.61 Geladen
Oracle SQL Developer Migrations - Sybase oracle.sqldeveloper.migration.sybase 11.1.1.62.61 Geladen
Oracle SQL Developer Migrations - Teradata oracle.sqldeveloper.migration.teradata 11.1.1.62.61 Geladen
Oracle SQL Developer Migrations - Translation Core oracle.sqldeveloper.migration.translation.core 11.1.1.62.61 Geladen
Oracle SQL Developer Migrations - Translation Db2 oracle.sqldeveloper.migration.translation.db2 11.1.1.62.61 Geladen
Oracle SQL Developer Migrations - Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.62.61 Geladen
Oracle SQL Developer Reports oracle.sqldeveloper.report 11.1.1.62.61 Geladen
Oracle SQL Developer SearchBar oracle.sqldeveloper.searchbar 11.1.1.62.61 Geladen
Oracle SQL Developer TimesTen oracle.sqldeveloper.timesten 2.0.0.62.61 Geladen
Oracle SQL Developer Unit Test oracle.sqldeveloper.unit_test 11.1.1.62.61 Geladen
Oracle SQL Developer Worksheet oracle.sqldeveloper.worksheet 11.1.1.62.61 Geladen
Oracle XML Schema Support oracle.sqldeveloper.xmlschema 11.1.1.62.61 Geladen
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.2.36.54.96 Geladen
Peek oracle.ide.peek 11.1.1.2.36.54.96 Geladen
Persistent Storage oracle.ide.persistence 11.1.1.2.36.54.96 Geladen
QuickDiff oracle.ide.quickdiff 11.1.1.2.36.54.96 Geladen
Replace With oracle.ide.replace 11.1.1.2.36.54.96 Geladen
Runner oracle.ide.runner 11.1.1.2.36.54.96 Geladen
Snippet Window oracle.sqldeveloper.snippet 11.1.1.62.61 Geladen
Sql Monitoring Project oracle.sqldeveloper.sqlmonitor 11.1.1.62.61 Geladen
Tuning oracle.sqldeveloper.tuning 11.1.1.62.61 Geladen
Unterstützung von Datenbankverbindungen oracle.jdeveloper.db.connection 11.1.1.2.36.54.96 Geladen
Unterstützung von Historie oracle.jdeveloper.history 11.1.1.2.36.54.96 Geladen
VHV oracle.ide.vhv 11.1.1.2.36.54.96 Geladen
Versionierungsunterstützung oracle.jdeveloper.vcs 11.1.1.2.36.54.96 Geladen
Versionierungsunterstützung für Subversion oracle.jdeveloper.subversion 11.1.1.2.36.54.96 Geladen
Virtual File System oracle.ide.vfs 11.1.1.2.36.54.96 Geladen
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.2.36.54.96 Geladen
oracle.ide.indexing oracle.ide.indexing 11.1.1.2.36.54.96 GeladenThank you very much for your Reply.
Sorry that I couldn't write earlier.
--Does this stop your Oracle Model from being converted?
The conversion process completes with a few errors that I'm going to fix by hand.
--Is there anymore to the Exception ?
Concerning the Details button: When I click Details it only shows the same exception Message as posted above. Unfortunatly no stacktrace. But maybe there is some kind of logfile outside the IDE which I am not aware of yet, since I am rather new to working with sql developer. If you could point me to the stacktrace I will be happy to post it here.
--Can you skim through some of your converted procedures to see if anything stands out
I did as you suggested. There was a strange behaviour in a Procedure where there was a construct like N'<somestring>' in the original Transact SQL. Somehow every SQL statement that follows is recognized as a String, hence the code is not compiling at all.
There are also some Prcedures which exit with the message: "unexpected end of Subtree"
Edited by: gWahl on 13.11.2009 00:43 -
Deleted the region on oracle 10g portal page
deleted the region on oracel 10g portal page . now i cannot access all the links on that region. is there any way i can get back those links and the region. Any idea where it will be stored(tables , database)
ThanksWhat do you mean by links? URL items? PAge link items? Other kinds of items?
If you delete a region, you delete the item content it contains, which is why you're asked "are you sure?" and are prompted to move content from the region you are about to delete (assuming your page layout allows it).
If you need to recover those items, you'll need to go to your portal backup. (Yes, the lack of easy logical restores in Portal is a huge pain)
and if you deleted the region that contained themthen those items are gone.
At this point, you'd have to retrieve it from database backups (depending on what the items were, you could use wwsbr_all_items or wwv_things).
Here's hoping those items are easy enough to recreate.
-John -
Facing Issue while running from on desktop through oracle form builder 10g.
Dear All,
I am facing No plugin to show content error while trying to run oracle from on desktop through form builder 10g. please help.
Thanks,
PradeepI am facing No plugin to show content error while trying to run oracle from on desktop through form builder 10g. What is your OS version?
What Java version are you using?
Have you configured your Oracle Developer Suite (ODS) 10g to run forms from the Forms Builder?
Craig... -
Facing problem in deleting RAC node.
Dear All,
Please guide me, I am in a critical situation due to my own mistake,
during node deletion process, I forgot to to mention CRS=true during
$ ./runInstaller -updateNodeList ORACLE_HOME=$ORA_CRS_HOME CLUSTER_NODES="" -local CRS=true
and uninstall the cluster software, now when mentioned the below command, it failed.
$ ./runInstaller -updateNodeList ORACLE_HOME=$ORA_CRS_HOME "CLUSTER_NODES={linux1,linux2}" CRS=true
Please tell me how can I adjust my mistake.
Many Thanks!On what node are you running the command:
/runInstaller -updateNodeList ORACLE_HOME=$ORA_CRS_HOME "CLUSTER_NODES={linux1,linux2}" CRS=true ?
This should be run on one of the remaining nodes. Are Linux1 and linux2 remaining nodes ?
Michael -
Issue while generating a CSV file through Oracle.
Hi,
I am generating a CSV file using oracle stored procedure.
In an Oracle procedure I need to create a CSV file, which contains the data of a select query, and then emailing this file. Problem is that one of the field contains comma eg ('ABC,DE'). Now in the CSV file 'ABC' is shown in the one cell and 'DE' is shifted to the adjacent cell which is not required..
Thanks.Hi Welcome,
If you data contains comma then make ~ as your delimeter.
or repalce all the commas form your data.
select replace(column_name,',','') from table_name; /* before writing to the file */Regards,
Bhushan -
Error while importing a dump file in Oracle 10g R1
Hi all,
While trying to import a schema using Data Dump, I am facing the following issue -
UDI-00018 - Import utility version can not be more recent than the Data Dump server.
Following is the version information of the source and target DB and the utilities :
Source DB server : 10.1.0.2.0
Export utility : 10.1.0.2.0
Import utility : 10.1.0.2.0
Target DB server : 10.1.0.2.0
Export utility : 10.2.0.1.0
Import utility : 10.2.0.1.0
I can figure out the cause for the problem, but don't know how to resolve it.
Any help will be appreciated.
Thanks in advance.
Gitika KhuranaHow did you get thre DMP file created and how are you trying to import the dump file? Could you post the commands you're using, please?
-
Error while deploying .ear file on the oracle 10g Application server
While deploying the ITS.ear or any other .ear file thru the application server console the screen shows the deploying screen continuously without any errors.The screen shows uploading the .ear file without any errors.Can somebody help me out it 's very urgent
Thanks in advance.Hello,
I asked you about the amount of AS instances because currntly I'm working on a clustering issue likewise. Nevertheless, your issue looks like a browser cache problem, have you tried different browsers to perform your deployment tasks? what about ant tasks?
hope it helps,
RB -
Delete using joins in Oracle 10g
Hi All
I am trying to delete rows from a table by comparing the criteria required with the rows in different tables..
The select statement below works fine...But when I use it for delete as shown in the subsequent SQL statement it errors out stating "SQL Command not properly ended"
Can anybody provide suggestions?....
This works fine
select rp.emplid,rp.empl_rcd,rp.dur,rp.punch_type,dt.dur,
TO_CHAR(CAST((rp.PUNCH_TIME) AS TIMESTAMP),'HH24.MI.SS.FF') AS PUNCH_TIME
from
ps_tl_rptd_time rp
join ps_hd_dt_end_tmp4 dt on (rp.emplid = dt.emplid and rp.dur = dt.dur +1 AND(rp.punch_time = dt.PUNCH_TIME_8
or rp.punch_time = dt.PUNCH_TIME_7
or rp.punch_time = dt.PUNCH_TIME_6
or rp.punch_time = dt.PUNCH_TIME_5
or rp.punch_time = dt.PUNCH_TIME_4
or rp.punch_time = dt.PUNCH_TIME_3
or rp.punch_time = dt.PUNCH_TIME_2) )
join ps_fo_empl_xref fo on (rp.emplid = fo.emplid and rp.empl_rcd = fo.empl_rcd and dt.pbm_asgn_id = fo.pbm_asgn_id)
and TO_CHAR(CAST((rp.PUNCH_TIME) AS TIMESTAMP),'HH24.MI.SS.FF') BETWEEN '00.00.00.000000' AND '11.59.59.000000'
While this below one doesnt work.....
delete from
ps_tl_rptd_time rp
join ps_hd_dt_end_tmp4 dt on (rp.emplid = dt.emplid and rp.dur = dt.dur +1 AND(rp.punch_time = dt.PUNCH_TIME_8
or rp.punch_time = dt.PUNCH_TIME_7
or rp.punch_time = dt.PUNCH_TIME_6
or rp.punch_time = dt.PUNCH_TIME_5
or rp.punch_time = dt.PUNCH_TIME_4
or rp.punch_time = dt.PUNCH_TIME_3
or rp.punch_time = dt.PUNCH_TIME_2) )
join ps_fo_empl_xref fo on (rp.emplid = fo.emplid and rp.empl_rcd = fo.empl_rcd)
where dt.pbm_asgn_id = fo.pbm_asgn_id and
TO_CHAR(CAST((rp.PUNCH_TIME) AS TIMESTAMP),'HH24.MI.SS.FF') BETWEEN '00.00.00.000000' AND '11.59.59.000000'
;may be
delete from ps_tl_rptd_time rp
where exists (select 1
from ps_hd_dt_end_tmp4 dt
where rp.emplid = dt.emplid
and rp.dur = dt.dur + 1
and ( rp.punch_time = dt.punch_time_8
or rp.punch_time = dt.punch_time_7
or rp.punch_time = dt.punch_time_6
or rp.punch_time = dt.punch_time_5
or rp.punch_time = dt.punch_time_4
or rp.punch_time = dt.punch_time_3
or rp.punch_time = dt.punch_time_2 ))
and exists (select 1
from ps_fo_empl_xref fo
where rp.emplid = fo.emplid
and rp.empl_rcd = fo.empl_rcd
and dt.pbm_asgn_id = fo.pbm_asgn_id)
and to_char(cast(( rp.punch_time ) as timestamp), 'HH24.MI.SS.FF')
between
'00.00.00.000000' and '11.59.59.000000' -
Error while importing a new CERT in oracle 10G B2B
Hi All,
I am trying to upload a new certificate in 10 G B2B server, its not updating a certificate, I am facing the below error while importing
Error
An error occurred when updating the certificate.
Error -: AIP-16001: The model validation engine failed due to an internal system error.
Error -: AIP-11052: Writing following objects: Certificate failed due to following constraint violation: CERTIFICATE. CAN NOT UPDATE UNVERSIONABLE OBJECT IN A VALIDATED CONFIGURATION.
Note: Please help me in resolving this ASAP.
Regards
SaiHi Sai,
It seems you are updating certificate in a delivery channel which is being used in a validated (or may be deployed) agreement. Please retire/purge any deployed configuration which is using that delivery channel and also make sure no such agreement is in valid state(which is using this delivery channel).
Regards,
Anuj -
Problem Faced While Using The Expdp Utility in Oracle 10g
We are getting the following error while exporting the tables of a schema.
ORA-39127: unexpected error from call to export_string :=DMSYS.DBMS_DM_MODEL_EXP
.instance_info_exp('DM$P_MODEL_EXPIMP_TEMP','YEARLID',1,1,'10.01.00.03.00',newbl
ock)
ORA-06503: PL/SQL: Function returned without value
ORA-06512: at "DMSYS.DBMS_DM_MODEL_EXP", line 1061
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 4995
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while ca
lling DBMS_METADATA.FETCH_XML_CLOB [TABLE:"YEARLID"."CONTACTS_PGRANT_NOV22"]ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22
275
The table CONTACTS_PGRANT_NOV22 has got a column of type CLOB. We are exporting in the metadata only mode. Interestingly when we are exporting only this table individually, we are not getting any problem. Please suggest at the earliest.Hi,
I need to take full export of the database with out data and for all schemas. Can you tell is below syntax correct or not:
expdp system directory=DATA_PUMP dumpfile=FullDB1_Jan25_08.dmp job_name=test3 logfile=FullDB1_Jan25_08_EXPDP.log CONTENT=METADATA_ONLY full=y
if I use above syntax I am not seeing all schema names in log file during expdp as we see in exp option.
Please let me know correct syntax. -
Using Java, How can I Update, Add, Delete nodes in XML Files.
Hi,
I want to store the student record (like Name, Age, school name, total mark etc.,) as nodes in the XMLfile. Also I should able to Update, Add, Delete any nodes (student record) in the XML file. How can I achieve this...using Java
I am able to read the content of the xml file using xml-parser. But my problem is
updating the xml file.
pls suggest some solutions or links with " example source code"
Thanks :-)There are 2 kinds of XML parsers : SAX and DOM. DOM seems to suit your need. You can use JAXP APIs to add, delete or change nodes or attributes.
http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/TOC.html provides contents that would satisfy most of the needs.
To save a DOM modified XML file use java IO APIs to write to the same file from which it was read using a Document object ( doc.getNodeValue() ).
Maybe you are looking for
-
Default value for a field in Purchase order
I want that while creating purchase order system should suggest one value for the field ' prior vendor ' in retail tab. I don't want to use user exit. Can anybody help?
-
How do i hide my history and cookies not erase but hide so no one can erase their steps such as kids
How do I hide my history and cookies so that they cannot be erased by kids or others using my computer. Or can i lock it somehow so that they cant be erased. Signed computer illiterate...
-
BT Infinity & Steaming via WMC and Xbox
Hi, This seems to be a fairly well known issue but since upgrading to BT Infinity and getting the new Home Hub I am having problems streaming content to my pc via Xbox and Windows Media Centre. I basically have to reset the modem and HH everytime I t
-
Lookout Upgrade Dev/Server-Client Licensing
Hello!, WE recently upgraded from Lookout 4.5.1 Enterprise Dev./Server Unlimited I/O License and Unlimited Client License to Lookout 6.0.2 Dev/Server Unlimited I/O License- one client license. Are we not entitled to an unlimited client license as an
-
The new update for 4s. Has fixed battery life!
My phone has been on since 4:00am. and it's now 8:00pm. I've used it all day and only a 1/4 of its life