Showing posts with label Oracle. Show all posts
Showing posts with label Oracle. Show all posts

Wednesday, 26 September 2012

runInstaller Command line Options



When Installing through OUI, we can give following Command line arguments with runInstaller script:
Command Line Arguments
Following is the output from the runInstaller -help command, which gives you the full list of command line options and their descriptions, as well as command line variables usage.
Usage:
runInstaller [-options] [(<CommandLineVariable=Value>)*]

Where options include:
-help  Displays above usage.
-silent  For silent mode operations, the inputs can be a response file or a list of command line variable value pairs.
-responseFile <Path>  Specifies the response file and path to use.
-formCluster  To install the Oracle clusterware in order to form the cluster.
-remoteShell <Path>  Used only for cluster installs, specifies the path to the remote shell program on the local cluster node.
-remoteCopy <Path>  Used only for cluster installs, specifies the path to the remote copy program on the local cluster cluster.
-record -destinationFile <Path>  For record mode operation, information is recorded in the destination file path.
-deinstall  For deinstall operations.
-debug  For getting the debug information from OUI.
-ignoreSysPrereqs  For ignoring the results of the system pre-requisite checks.
-executeSysPrereqs  Execute system pre-requisite checks and exit.
-paramFile  Specify location of oraparam.ini file to be used by OUI.
-clone  For making an Oracle Home copy match its current environment.
-force  Allowing silent mode installation into a non-empty directory.
-noconsole  For suppressing display of messages to console. Console is not allocated.
-addNode  For adding node(s) to the installation.
-removeHome  For removing homes from the OUI inventory.

Command Line Variables Usage
Command line variables are specified using <name=value>; for example:
[ session: | compName: | compName:version: ]variableName="valueOfVariable"]

Session/Installer variables are specified using:
[session:]varName=value
Ex 1: session:ORACLE_HOME_NAME="OraHome"
Ex 2: ORACLE_HOME_NAME="OraHome"
The lookup order is session:varName then just varName).
The session prefix is used to avoid ambiguity.

Component variables are specified using:
[compInternalName:[Version:]]varName
Ex 1: oracle.comp1:1.0.1:varName="VarValue"
Ex 2: oracle.comp1:varName="VarValue"
Ex 2: oracle.comp1:varName="VarValue"
The lookup order is compInternalName:Version:varName, then compInternalName:varName, then just varName.
Using OUI Exit Codes
If you are starting and stopping OUI programmatically (for example, by invoking OUI using a response file), you may need to consider the exit codes generated by OUI and perform a particular action depending on the code OUI returns.
OUI returns one of the following exit codes:
Code
Description
0
All installations were successful.
1
All installations were successful but some optional configuration tools failed.
-1
At least one installation failed.

Note that:
  • This feature will not work if OUI is running in "bootstrap" mode. In this case setup.exe/runInstaller will just launch the JRE process and return immediately without waiting for the exit code. OUI will be running in "bootstrap" mode if the following line exists in the file oraparam.ini file:
  • BOOTSTRAP=TRUE
  •  
  • If you exit without installing any products (for example if you exit from the "Welcome" screen), the exit code will be -1.


For more clarity on OUI usage:

Monday, 24 September 2012

Oracle Product Categories and Version Specifications

Oracle End-End Understanding:

I am going to discuss few important things, I have analyzed  about Oracle.

Use Case Scenario :  Oracle WebLogic Server 11g R1

1. How to download oracle products based on category  from OTN  or e-delivery ?
Find Category to which, the product belongs to, from Oracle Global Licensing and price list pdfs in the Oracle WebSite.


a.Oracle Technology-price-list
Category: fusion-applications-price-list

b.Let's go to https://edelivery.oracle.com/ :
Select Category and platform and search for your product:
Oracle WebLogic Server 11gR1 (10.3.4) Generic and Coherence  :  MD5    A0D60B69F06E20053E1886E6256824DE    

Note: Verify the integrity of the downloaded  file using  md5sum command  in Linux:
Sample output: ( Alpha numeric number is the md5sum number. Download file's md5sum should be same as md5sum number from edelivery.oracle.com ).


md5sum example
[root@RHEL6 RTD2]# md5sum V16586-01.zip
cdbbfb89d3c0dfa9a1466bb2cd35ee93  V16586-01.zip


c.If b fails, Go to OTN:
Download the latest, last and last to last versions if necessary.

1.http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html
2.Get the latest and last version downloads excluding Developer Edition.
Look at Additional Information at the end of the page for related products:
-Oracle WebLogic Server Web Server Plugins 1.1         All versions
-For information on WebLogic Server 10gR3 (10.3.0) and 11gR1 (10.3.x) Web Server Plug-In support, refer to My Oracle Support Doc ID 1111903.1 on https://support.oracle.com
3.Now, we need clarification on 10.3.x.how to do that?
a.Google for certification matrix for any oracle product:
https://www.google.co.in/#hl=en&sclient=psy-ab&q=Oracle+WebLogic+Server++11g+R1+certification+matrix&oq=Oracle+WebLogic+Server++11g+R1+certification+matrix&gs_l=hp.3..0i13i30.11937.60003.0.68817.47.38.4.5.5.0.229.5351.2j34j2.38.0.les%3B..1.0...1c.1j2.By_8PFdYBQ4&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&fp=163e2d44851cb6f9&biw=1152&bih=700
------------------------------------------------------------------------
Installation Type    Version Supported    Processor Type    OS Version
Oracle WebLogic Server    11gR1 (10.3.1+)    IBM z/Linux    Red Hat EL 4 (UL7+)
Oracle WebLogic Server    11gR1 (10.3.1+)    IBM z/Linux    Red Hat EL 5 (UL3+)
Oracle WebLogic Server    11gR1 (10.3.1+)    IBM z/Linux    SLES 10 (SP2+)
------------------------------------------------------------------------

b.we are still doubt full about 10.3.x?
Let's go back to wiki of Tim's study of WebLogic Server:
Understand the versioning from Life-time support policy guides:
http://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

c.Oracle Version specification explanation image:


2.See the Weblogic server overview from:
http://www.oracle.com/technetwork/middleware/weblogic/overview/index.html

Monday, 3 September 2012

Integrating Oracle Application Server with Oracle eBusiness Suite

We will provide some tips on how to integrate key features of Oracle 10gAS with the R12 EBS Applications suite.
First, we will provide a quick summary of the architecture that exists within Oracle E-Business Suite Release 12 in terms of Oracle 10gAS.

Oracle Metalink Note # 415007.1 is a FAQ that provides a useful summary of ways to integrate the Oracle R12 EBS Suite with Oracle 10g Application Server. Even though Oracle Weblogic is the heir apparent for future Application Server/Fusion Middleware directions as evidenced by the SOA suite products, fact is that Oracle 10g Application Server is the core middleware technology at work for Oracle R12 Applications E-Business Suite.

One key difference between a stand alone Oracle 10g Application Server environment versus R12 EBS is that the Oracle 10gAS Infrastructure is NOT SUPPORTED in the Release 12 of Oracle E-Business Suite for Oracle 12i Applications. Oracle Metalink Note 251627.1tells further details on how to workaround this issue.


Oracle Application Server 10g integration with Oracle EBS R12

Oracle EBS R12 uses many of the components that exist in Oracle 10g Application Server. For Oracle R12, these include:

- OHS- the Oracle HTTP Server (Apache 1.3)
- PL/SQL
- Forms Server
- Reports Server
- OC4J- Oracle Containers for J2EE


What versions of Oracle Application Server 10g can be used with Oracle E-Business Suite Release 12?

Oracle EB R12 has an Oracle 10g application server instance (10.1.2) that runs the Forms and Reports Services. In addition to this application server instance, we also have a secondary application server instance (10.1.3) which is used to run the OC4J instance. By default, when you install Oracle EBS R12, these 10gAS instances are installed and created by the R12 Rapid Install process.


Oracle R12 EBS supports the following Oracle Application Server 10g services:

Single Sign-On 10g (10.1.2.0.2)
Oracle Internet Directory 10g (10.1.2.0.2)
Portal 10g (10.1.4)
Discoverer 10g (10.1.2.0.2)
Web Cache 10g (10.1.2.0.2)
Oracle Business Integration 10g (10.1.3)
Oracle BPEL Process Manager 10g (10.1.3)

A complete discussion on how to setup and configure all of these products with EBS R12 would require a book in itself so I will kindly refer you to the Oracle EBS R12 Tech Stack Roadmap guide available in Oracle Metalink Note # 380482.1


Reference :    
http://www.rampant-books.com/art_prusinski_integrating_oracle_app_server_ebusiness_suite.htm

Oracle E-business suite 12.1.1 Services not up and running.

This is how services can be up and running after installing E-business Suite 12.1.1 Medial Pack.



Download  following patch from metal ink
patch 6078836

b.      Copy the downloaded patch to the server.
c.      Unzip the patch
       unzip p6078836_101330_LINUX.zip
d.    cd 6078836
e.    cp libdb.so.2 /usr/lib
f.    cd /d01/oracle/VIS/inst/apps/VIS_ebs121/admin/scripts(ADMIN_SCRIPTS_HOME)

g.    ./adapcctl.sh status

h.   ./adapcctl.sh start
i.   ./adapcctl.sh status

System check status show that the HTTP server (OHS - Oracle HTTP Server) is up and running
j. Now press Retry button of the installation screen 


[oracle@ebs scripts]$ ./adapcctl.sh status

You are running adapcctl.sh version 120.6.12000000.2

Checking status of OPMN managed Oracle HTTP Server (OHS) instance …

Processes in Instance: PROD_ebs.ebs.sandiego.com
——————-+——————–+———+———
ias-component | process-type | pid | status
——————-+——————–+———+———
OC4J | oafm | 21168 | Alive
OC4J | forms | 21078 | Alive
OC4J | oacore | 20943 | Alive
HTTP_Server | HTTP_Server | N/A | Down

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /d01/app/oracle/inst/apps/PROD_ebs/logs/appl/admin/log/adapcctl.txt for more information …

Solution :

1 ) Stop the services

Log in with application user

$ cd $ADMIN_SCRIPTS_HOME

$ ./adstpall.sh apps/apps

2) Downloaded patch 6078836 from OracleMetaLink

Logs:

/opt1/oracle/PROD/inst/apps/PROD_rhelx64varun/logs/
/opt1/oracle/PROD/inst/apps/PROD_rhelx64varun/logs/ora/10.1.3/install
/opt1/oracle/PROD/inst/apps/PROD_rhelx64varun/logs/ora/10.1.2/install

/opt1/oracle/PROD/inst/apps/PROD_ebs/logs/appl/admin/log/adapcctl.txt
Context file : /opt1/oracle/PROD/inst/apps/PROD_rhelx64varun/temp/restart.xml 

References : https://forums.oracle.com/forums/profile.jspa?userID=955710 


Tweets by @sriramperumalla