Oracle AIX pre-requist script controls
Dear Oracle fellows
I would like to know if it is possible to use the pre-checks built in OUI in a command line script for AIX in order to control the swap, the bos packages and etc values.
Any idea?
Thanks
Before 10g there was a special unix script for checking pre-requirements.
You can check metalink Note 189256.1 "UNIX: Script to Verify Installation Requirements for Oracle 8.0.5 to 9.2 versions of RDBMS
As oui is java, then probably You can try to debug which jar files and what parameters are executed in order to check are all packages installed.
Or simply make Your own script based on my mentioned one, just add needed checks for concrete operating system.
But why can't You simply run ./runInstaller and then just adjust if something is forgetted.
Similar Messages
-
Calling oracle function in OMB script
Hi
Can anyone please tell me how can i get the returned value of an oracle function in OMB script. or how can i get the value into OMB variable and use it.
Basically i want to set the properties of OWB mapping via OMB script.
Following OMB code sets the max error limit of a mapping.
OMBALTER MAPPING 'MAP_DATA' SET PROPERTIES (MAXIMUM_NUMBER_OF_ERRORS) VALUES ('100')
i dont want to hard code the value 100 rather i want this value to be returned from a function.
If it is not possible then plz tell me how can i set MAXIMUM_NUMBER_OF_ERRORS property of OWB mapping via sql or pl/sql.
Any type of clue will be highly appreciated.
Best RegardsHere is my bare-bones OMB SQL Library to allow you to do pure SQL calls from within OMB+. All I have ever used it for is to run queries, so I don't have a library procedure for calling a function, however if your function is SQL-callable (e.g. select my_func() from dual) then it would work. Either that or you'll want to augment this library to build a procedure that will call and return the results from a java preparedStatement. It's something I've been meaning to do, but haven't got around to it yet.
All you should need to do is save this as it's own tcl file and then source it at the top of your own script, or embed it into your script.
EDIT: Here is a page with some sample code on using java.sql.CallableStatement to call a Pl/SQL procedure from Java which should certainly do the trick for you in conjunction with the basic session control in my library.
http://www.exampledepot.com/egs/java.sql/CallProcedure.html
Cheers,
Mike
package require java
#file omb_sql_library.tcl
proc oracleConnect { serverName databaseName portNumber username password } {
# import required classes
java::import java.sql.Connection
java::import java.sql.DriverManager
java::import java.sql.ResultSet
java::import java.sql.SQLWarning
java::import java.sql.Statement
java::import java.sql.CallableStatement
java::import java.sql.ResultSetMetaData
java::import java.sql.DatabaseMetaData
java::import java.sql.Types
java::import oracle.jdbc.OracleDatabaseMetaData
# load database driver .
java::call Class forName oracle.jdbc.OracleDriver
# set the connection url.
append url jdbc:oracle:thin
append url :
append url $username
append url /
append url $password
append url "@"
append url $serverName
append url :
append url $portNumber
append url :
append url $databaseName
set oraConnection [ java::call DriverManager getConnection $url ]
set oraDatabaseMetaData [ $oraConnection getMetaData ]
set oraDatabaseVersion [ $oraDatabaseMetaData getDatabaseProductVersion ]
puts "Connected to: $url"
puts "$oraDatabaseVersion"
return $oraConnection
proc oracleDisconnect { oraConnect } {
$oraConnect close
proc oraJDBCType { oraType } {
#translation of JDBC types as defined in XOPEN interface
set rv "NUMBER"
switch $oraType {
"0" {set rv "NULL"}
"1" {set rv "CHAR"}
"2" {set rv "NUMBER"}
"3" {set rv "DECIMAL"}
"4" {set rv "INTEGER"}
"5" {set rv "SMALLINT"}
"6" {set rv "FLOAT"}
"7" {set rv "REAL"}
"8" {set rv "DOUBLE"}
"12" {set rv "VARCHAR"}
"16" {set rv "BOOLEAN"}
"91" {set rv "DATE"}
"92" {set rv "TIME"}
"93" {set rv "TIMESTAMP"}
default {set rv "OBJECT"}
return $rv
proc oracleQuery { oraConnect oraQuery } {
set oraStatement [ $oraConnect createStatement ]
set oraResults [ $oraStatement executeQuery $oraQuery ]
# The following metadata dump is not required, but will be a helpfull sort of thing
# if ever want to really build an abstraction layer
set oraResultsMetaData [ $oraResults getMetaData ]
set columnCount [ $oraResultsMetaData getColumnCount ]
set i 1
#puts "ResultSet Metadata:"
while { $i <= $columnCount} {
set fname [ $oraResultsMetaData getColumnName $i]
set ftype [oraJDBCType [ $oraResultsMetaData getColumnType $i]]
#puts "Output Field $i Name: $fname Type: $ftype"
incr i
# end of metadata dump
return $oraResults
# SAMPLE CODE to run a quick query and dump the results. #
#set oraConn [ oracleConnect myserver orcl 1555 scott tiger ]
#set oraRs [ oracleQuery $oraConn "select name, count(*) numlines from user_source group by name" ]
#for each row in the result set
#while {[$oraRs next]} {
#grab the field values
# set procName [$oraRs getString name]
# set procCount [$oraRs getInt numlines]
# puts "Program unit $procName comprises $procCount lines"
#$oraRs close
#oracleDisconnect $oraConnEdited by: zeppo on Nov 25, 2008 7:19 AM -
Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0 is one hour behiend on AIX 5.3.
I have installed the new timezone version 4 already by oracle DST path database is good OEM main page is showing one hour behiend.
I have done every possible effort last thing may be i have to update java home i have 1.4 IBM java on the server.
Please help me in this. Thanks.See the Metalink Note *Impact Document for Daylight Saving Time Shift for Enterprise Manager Grid Control [ID 417939.1]* Appendix B - FAQ - point 18
What is the impact of not patching the JDK on the OMS for 10g Grid Control?
If you do not patch the JDK on the OMS page refreshed times and possibly other times displayed in the console will be incorrect (they will be off by 1 hour) during an affected period.
Oracle strongly recommends that you do patch the OMS JDK but we are not aware of any data corruption in the repository nor of any impact on critical EM functionalities (such as severities, notifications and jobs) when the JDK is not patched. -
Oracle Enterprise Manager 10g Grid Control Release 5
Hi All,
Has anyone here already using Oracle Enterprise Manager 10g Grid Control Release 5? Currently we are using Release 2 of Oracle Enterprise Manager as a package upon installation of Oracle 10g. Curious about Release 5 I want to try it out in our Dev Environment. But before making any changes. I would like to ask guidance from you.
Upon installation does it needs Operating System Patches, Packages etc.? Currently we are using AIX 5L Based Systems (64-Bit) and 10g for Database. Is this a complete installation or Just an upgrade?
Regards,
DexterWe are using 10.2.0.5 on windows.
10.2.0.5 is just an upgrade
How to install and upgrade on AIX?
http://www.oracle.com/technology/software/products/oem/htdocs/Grid_Control_10.2.0.5.0_AIX5L_readme.html
quick installation quide.
http://download.oracle.com/docs/cd/B19306_01/install.102/b28033.pdf
Hope that will help you.
Anil Malkai -
Oracle WebLogic Integration's Custom Control and SOA Suite Spring Component
I crated this thread to inform users about some issues with the
Oracle WebLogic Integration's Custom Control and SOA Suite Spring Component
tutorial from
http://www.oracle.com/technology/architect/soa-suite-series/wli_custom_control_spring_component.html
- Fig. 6 doesn't agree with what's just above. This step isn't necessary because it can be create automatically when you make a class.
- Fig. 11 shows the package
sample.oracle.otn.soaessentials.javainteg
and the class should be placed in
sample.oracle.otn.soaessentials.javainteg.impl
- The Business Tier -> Spring 2.5 might not be available. Extensions steps steps should be given.
- Fig. 15 When lgger-context is created in Jdev 11.1.1.3.0 the Spring context is created in
/mywork/SOASuiteWLIEssentials/JavaIntegration/src/META-INF
while in the sample project it is in
/mywork/SOASuiteWLIEssentials/JavaIntegration
- Fig 18 has incorrect class name.
- Fig 19 is incorrect: there is no Spring 2.5 SCA in Jdev 11.1.1.3.0; there is only WebLogic SCA. Where is the canvas mentioned above?
- Fig 28 logger-context.xml is not where it is displayed in the fig. It is /src/Meta-Inf/.
- Most of the fig from the deployment are not up to date.
- I don't understand the need for the portion:
"Implementing the use case in WLI" up to
"Implementing the use case in SOA Suite"
It confused me when I tried to follow the tutorial.I am also looking for the same .... Please share the CLoning script for SOA Suite from Prod to staging Env...
Thanks. -
I am trying to update my iTunes to 10.5.1 so that I can upgrade my 3GS phone but am getting the following error message when trying to install the itunes: Install step failed: Run pre upgrade script for apple mobile device support. Contact software manufacturer for assistance. I am on a MacBook pro running 10.5.8 OS. Has anyone seen this before and how can I get it resolved.
Thanks for your help in advance....Did you ever figure out the problem? "Contact Software Manufacturer"?? That sounds ominous... I've got the same issue and I'm pretty durn aggravated right about now....
Thanks! -
Oracle Enterprise Manager 11g Database Control log file location
Any one knows where the log file is for Oracle Enterprise Manager 11g Database Control. I am trying to set up EUS proxy authentication and running into issues when trying to search proxy user in my DB. The search returns no results and I am not sure where to look for. Please not my setup does work for EUS with shared or exclusive schema. I need to use Oracle DB proxy authentication for my application and that would need a setup of EUS with proxy permissions so please advice if you know where the log file is for Oracle Enterprise Manager 11g Database Control or if there is any logging I can turn on to see what search parameters are passed from Oracle Enterprise Manager 11g Database Control to my DB by using DB audit etc.
Thanks,Be patient...wait for report.
If after some time report does not appear, go to Advisor Central and find it there.
:p -
Hi,
Like Oracle Linux, can we download Oracle AIX 6.1 operating system download from Oracle.
-JanQ: Like Oracle Linux, can we download Oracle AIX 6.1 operating system download from Oracle.
A: No. You need to contact your OS vendor for this.
Oracle Linux is an open source operating system available under the GNU General Public License (GPL) and other open source licenses. It is available for free download
Note: Oracle offers 24x7, global support for Oracle Linux through a paid subscription.
for more info on "Oracle Linux" you can refer below URL
http://www.oracle.com/us/technologies/027617.pdf -
Pre-requistes for work S-Curves
Hi,
Request experts to clarify the below points.
What are the Pre-requistes which need to be fulfilled before we can execute the S-Curves for a network activity, WBS element or Project?
Is progress analysis mandatory to draw S-Curves? If not, how to achieve the work S-Curve for PS objects?
ThanksHi,
As regards to S-Curve. I am not sure on this, but please go to CNE5 and select the graphical representation. You may get what you are looking for. Try for select all the relavant fields and see the graphs ( Total curves, Correlations etc ).
Hope this helps.
Regards,
Gokul -
C# application to execute both oracle and sql server script files.
Hi All,
I am suppose to develop an application using c# which can execute oracle script files as well as sql server script files based on some user's choice.
Both the script files(oracle/sql server) contains scripts to create tables, create views and create functions.
What is the best way to do this and which existing c# functions should is use.
Thanks in advance.I am suppose to develop an application using c# which can execute oracle script files as well as sql server script files based on some user's choice.
You can use SQL Plus for Oracle. You can have a C# program that issues commands for scripts for table, views, triggers creation and the whole 10 yards to SQL Plus,
http://docs.oracle.com/cd/B19306_01/server.102/b14357/qstart.htm
https://www.google.com/#q=sql+plus
I started writing a program to use SQL Plus to run the scripts, but cI ame to the conclusion that it was a waste of my time.
A tool called OSM, an Oracle, tool gives a list of script files that need to be run do to a change in a script file based on file timestamp. You can copy the list doing a copy/past operation and drop it into SQL Plus's Command line, and SQL Plus runs the
scripts.
For MS SQL Server, you have this, which you can run from a C# program too.
http://www.webfactory-world.de/wfknowledgebase/wfknowledgebase_wf3.3/Content/AdditionalWindowsSettings/Tutorials/UpdatingSQLDBFromCommandLine.htm
I would consider using the above from a C# program a waste of time too.
I look at it this way. If the user doesn't have database admin experience and know how to use DB admin tools, then they have no business doing anything with a database - period.
BTW, the Invoke statement in VB or C# will run SQL Plus or SQL Server command line tool. -
Confused Regarding SAP XI Pre requiste
Hi all,
Many of the threads has all the information that ......particularly sravya blog.....all says ...that SAP XI has no pre requiste.........
am still not able to understand that ..what are the concets we need in ABAP or java exactly if we want to enter into this field.
I apologize if am asking a regular question......As i was confused and am not able to decide which i have to learn before going to start my career in SAP XI.. and also i have knowledge on basic concepts of SAP ..please help me out how to start .please explain me in detail..please don't give links..i confused by all the blogs..please explain me....in details....sorry if i troubles u all....
Thanks in Advance.Hi Swathi,
First of all, Welcome to XI
Let me try to explain you in detail:
Q. Why Java and ABAP?
Ans. XI (now PI) is built on Java and ABAP stack, so knowledge of both will help you immensely to understand the working, tracing the error and building scenarios.
Like, for example XI's Integration Server (i.e. XI as a system) has three major components inside it, namely Adapter Engine (Based on Java), ccBPM engine (ABAP stack) and Integration Engine (Both ABAP and Java Stack)
Q. Is there any area where we would not need the knowledge on Java or ABAP?
Ans. While Designing message mappings, exposing Webservices, designing ccBPM scenarios, what you will need is a good knowledge of SOAP, XSDs, XML, WSDL, XSLT etc, i.e. you need to have a feel of open standards to understand how XI works and where it is placed architecturally.
Q. Where do I need Java knowledge the most?
Ans. As I am unaware of your technological background, let me assume that you know nothing of SAP.
So, if you have a descent knowledge and exposure of Java, it would help you to:
a) Understand and resolve errors and issues in XI (mainly based on Java)
b) Enhance the capabilities of Adapters (nothing but complex java programs)
c) Enhancing Message Mappings (by writing Java based 'user defined functions')
d) Writing mapping programs exclusively in Java (Java message mapping)
e) Writing Java code to connect to any Java application (known as Java Proxies)
Q. Where do I need ABAP knowledge the most?
Ans. XI or PI is a middleware, i.e. it interacts with applications or systems at both the ends. Primarily one of the end (back end) is SAP R/3 or ECC (advance version of SAP R/3) box. Here your knowledge in ABAP comes handy. Communication between XI and SAP takes place using core SAP technologies or formats like IDoc, RFCs or plain ABAP code (known as proxies).
Also you need to have an average knowledge of SAP ABAP (Advance Business Application Programming Language), a 4th generation language to be able to trace erros and build customized programs in SAP environment.
I hope, this would help you.
Please free to throw any doubts you still have
As you seem to be a new bie, please award points if you find this information useful.
Thanks,
Varun -
Is there a date that the above would be available? I do see that it is ready for Windows, Linux, Solaris, HP_Itanium but not HP_UX PA_RISC. Any ideas?
MatthewBelow is what's available for download thru OTN. To ensure my question is clear, approximately when will the MICROSOFT WINDOWS version finally be released:
Enterprise Manager 10g Grid Control Release 1 (10.1.0.2)
Oracle Enterprise Manager 10g Grid Control Release 1 (10.1.0.2) for Linux x86
Oracle Enterprise Manager 10g Grid Control Release 1 (10.1.0.2) for Solaris Operating System (SPARC) (32-bit)
Oracle Enterprise Manager 10g Grid Control Release 1 (10.1.0.2) for HP-UX
Oracle Enterprise Manager 10g Grid Control Release 1 (10.1.0.2) for AIX5L Based Systems
Oracle Enterprise Manager 10g Grid Control Release 1 (10.1.0.2) for HP Tru64 UNIX -
HMLDB2.0: script control (I don't find it)
think thats no bug, its perhaps another kind of getting script control.
but I don't find any information in HELP2.0, but you will find in HELP1.6.
short question: how to do script control (in 1.6. there was an element for it)Hope you have TimeMachine backup.
Reinstall OS X 10.10 Yosemite from App store.
Best. -
Hi I'm not able to upgrade my Mac OS X 10.5.8 to itunes 10.5 Keep getting message "the following install failed. run pre upgrade script for apple mobile device support" contact software manufacture for assistance. any help please?
Did you ever figure out the problem? "Contact Software Manufacturer"?? That sounds ominous... I've got the same issue and I'm pretty durn aggravated right about now....
Thanks! -
VBScript / Microsoft Script Control
I would like to call VBScript from TestStand using Automation Server Microsoft Script Control 1.0.
Which class I have to use to call a procedure or function in a .vbs file ? Where do I have to specified the .vbs file used ?Hi,
I think this is explained following this link: http://digital.ni.com/public.nsf/allkb/99A8713C51A4DE368625700D005BD795?OpenDocument
Regards
Jean-Luc D. NI France
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
Journées techniques : du contrôle d'instruments aux bancs de test
Du 4 au 13 juin : Grenoble - Pari...
Maybe you are looking for
-
Handled http connection exceptions works fine on emualtor but bot on phone?
I have written some code to do a currency conversion. The code works fine when a proper url is entered: http://finance.yahoo.com/currency/convert?amt=1150& from=GBP& to=JPY& submit=Convert I wanted to see how the error handling worket so i entered a
-
Hi, We have updated our SLD as per the note 669669, after that we have imported EPBUILDT into the MSS track after that all the tracks have become inconsistent and we see all the DC's as <b>broken</b> in CBS. Let us know if we have any procedure to re
-
Is Bridge included an no charge with the CC $9.99 Plan?
-
My Pavillion G6 - 1a52nr gets error code (ks.sys) upon startup
My computor keeps restarting because of error code (ks.sys), it then restarts auto and I can not do anything. Any suggestions. And I am not able to troubleshoot since I can not keep it on long enough. thx
-
How to understand the FI Business Proceess
Dear Experts, How can we understand FI Business procee of a Client. i have some BBP doc's but i couldn't. Thanks in advace.