http://appsdbasworld.blogspot.com

appsdbasworld

 
APPS R12
  • R12.AD.A.DELTA.4 Patch
  • Disable concurrent manager
  • Increasing the number oacore process type(JVM) and...
  • Release12 installation
  • InitSID.ora settings for release12
  • Creating custom top in release12
  • Changing apps password
  • Apps questions
  • Workflow Notification Mailer Setup
  • Schedule downtime in R12
  • Enable/Disable restrict session of Apache
  • APPS 11i
  • Indian localization patch
  • Opening forms from linux machine
  • Replacing Jinitiator with JRE for Oracle Apps 11i
  • Enabling SSL for E-Business suite 11i
  • Executing gather schema statistics at backend
  • Cleaning temporary tablespace
  • How to check versions
  • How to find patchset level
  • Cleaning concurrent manager tables
  • Database General
  • Create A Production (Full or Partial) Duplicate On...
  • Creating a Duplicate Database on a New Host Using ...
  • Database Cloning
  • 11g top new features
  • New background processes in 10g
  • 10g Data Pump
  • Installing Oracle Database 9i (9.2.0.8) on RHEL 4
  • Query to kill inactive sessions
  • Installing 11g(11.1.0) database on Redhat Linux 4
  • Check Deprecated Initialization Parameters in 11g
  • Online backup 9i & 10g
  • Enable/Disable archivelog in 9i
  • Creating recovery catalog in remote database
  • Creating database with create database command
  • Application Server
  • web cache cloning
  • 10g AS installation with linux
  • Operating System
  • Script to start/stop R12 services
  • Basic commands to check system statistics
  • Statspack analyzer
  • Analyze your statspack report
  • Search
    Only search this Blog
    E-mail Subscription

    Enter your email address:

    Delivered by FeedBurner

    Others Coming Soon!
    Your Ad Here
    10g Data Pump
    Tuesday, July 29, 2008
    Data pump:
    ---------------
    In Oracle 10g, exp and imp have been redesigned as the Oracle Data Pump, which is much faster than these old client commands. Data Pump runs as a job inside the database, rather than as a stand-alone client application. This means that jobs are somewhat independent of the process that started the export or import. One machine (say a scheduled job) could start the export, while another machine (such as a DBA's laptop) can check the status of the job. Since the job is inside the database


    Basic settings:
    --------------------
    if you want to export to a file, the first thing that you must do is create a database DIRECTORY object for the output directory, and grant access to users who will be doing exports and imports.

    Why Directory Objects?
    They are needed to ensure data security and integrity. Otherwise, users would be able to read data that they should not have access to and perform unwarranted operations on the server.

    For example will use scott user account and create a directory object it can access,

    connect to sqlplus as sys user,

    $sqlplus '/as sysdba'

    make sure that scott user account has unlocked by connecting to sqlplus as scott user.

    Assign create directory privilege to scott,

    GRANT CREATE ANY DIRECTORY TO scott;
    CREATE OR REPLACE DIRECTORY test_dir AS '/u01/logicalbkp';
    Assign read,write privilege to scott on that particular directory where we need to take the backup.
    GRANT READ, WRITE ON DIRECTORY test_dir TO scott;
    Tables export and import:
    -----------------------------------

    expdp scott/tiger tables=EMP,DEPT directory=TEST_DIR dumpfile=EMP_DEPT.dmp logfile=expdpEMP_DEPT.log

    impdp scott/tiger tables=EMP,DEPT directory=TEST_DIR dumpfile=EMP_DEPT.dmp logfile=impdpEMP_DEPT.log
    TABLE_EXISTS_ACTION=APPEND parameter allows data to be imported into existing tables.

    Schemas export and import:
    ------------------------------------

    expdp scott/tiger schemas=SCOTT directory=TEST_DIR dumpfile=SCOTT.dmp logfile=expdpSCOTT.log
    impdp scott/tiger schemas=SCOTT directory=TEST_DIR dumpfile=SCOTT.dmp logfile=impdpSCOTT.log


    Database exports and imports:
    -------------------------------

    expdp system/password full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=expdpDB10G.log

    impdp system/password full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=impdpDB10G.log

    Data pump performance can be improved by using the PARALLEL parameter. This should be used in conjunction with the "%U" wildcard in the DUMPFILE parameter to allow multiple dumpfiles to be created or read:
    expdp scott/tiger schemas=SCOTT directory=TEST_DIR parallel=4 dumpfile=SCOTT_%U.dmp logfile=expdpSCOTT.log
    The DBA_DATAPUMP_JOBS view can be used to monitor the current jobs:
    system@db10g> select * from dba_datapump_jobs;

    OWNER_NAME JOB_NAME OPERATION
    ------------------------------ ------------------------------ ------------------------------
    JOB_MODE STATE DEGREE ATTACHED_SESSIONS
    ------------------------------ ------------------------------ ---------- -----------------
    SYSTEM SYS_EXPORT_FULL_01 EXPORT
    FULL EXECUTING 1 1

    The INCLUDE and EXCLUDE parameters can be used to limit the export/import to specific objects. When the INCLUDE parameter is used, only those objects specified by it will be included in the export. When the EXCLUDE parameter is used all objects except those specified by it will be included in the export:
    expdp scott/tiger schemas=SCOTT include=TABLE:"IN ('EMP', 'DEPT')" directory=TEST_DIR dumpfile=SCOTT.dmp logfile=expdpSCOTT.log

    expdp scott/tiger schemas=SCOTT exclude=TABLE:"= 'BONUS'" directory=TEST_DIR dumpfile=SCOTT.dmp logfile=expdpSCOTT.log

    All data pump actions are performed by multiple jobs (server processes not DBMS_JOB jobs). These jobs are controlled by a master control process which uses Advanced Queuing. At runtime an advanced queue table, named after the job name, is created and used by the master control process. The table is dropped on completion of the data pump job. The job and the advanced queue can be named using the JOB_NAME parameter. Cancelling the client process does not stop the associated data pump job. Issuing "ctrl+c" on the client during a job stops the client output and presents a command prompt. Typing "status" at this prompt allows you to monitor the current job:

    Export> status

    Job: SYS_EXPORT_FULL_01
    Operation: EXPORT
    Mode: FULL
    State: EXECUTING
    Bytes Processed: 0
    Current Parallelism: 1
    Job Error Count: 0
    Dump File: D:TEMPDB10G.DMP
    bytes written: 4,096

    Worker 1 Status:
    State: EXECUTING
    Object Schema: SYSMAN
    Object Name: MGMT_CONTAINER_CRED_ARRAY
    Object Type: DATABASE_EXPORT/SCHEMA/TYPE/TYPE_SPEC
    Completed Objects: 261
    Total Objects: 261
    The HELP=Y option displays the available parameters:

    expdp help=y
    Export: Release 10.1.0.2.0 - Production on Tuesday, 23 March, 2004 8:33

    Copyright (c) 2003, Oracle. All rights reserved.


    The Data Pump export utility provides a mechanism for transferring data objects
    between Oracle databases. The utility is invoked with the following command:

    Example: expdp scott/tiger DIRECTORY=dmpdir DUMPFILE=scott.dmp

    You can control how Export runs by entering the 'expdp' command followed
    by various parameters. To specify parameters, you use keywords:

    Format: expdp KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
    Example: expdp scott/tiger DUMPFILE=scott.dmp DIRECTORY=dmpdir SCHEMAS=scott
    or TABLES=(T1:P1,T1:P2), if T1 is partitioned table

    USERID must be the first parameter on the command line.

    Keyword Description (Default)
    ------------------------------------------------------------------------------
    ATTACH Attach to existing job, e.g. ATTACH [=job name].
    CONTENT Specifies data to unload where the valid keywords are:
    (ALL), DATA_ONLY, and METADATA_ONLY.
    DIRECTORY Directory object to be used for dumpfiles and logfiles.
    DUMPFILE List of destination dump files (expdat.dmp),
    e.g. DUMPFILE=scott1.dmp, scott2.dmp, dmpdir:scott3.dmp.
    ESTIMATE Calculate job estimates where the valid keywords are:
    (BLOCKS) and STATISTICS.
    ESTIMATE_ONLY Calculate job estimates without performing the export.
    EXCLUDE Exclude specific object types, e.g. EXCLUDE=TABLE:EMP.
    FILESIZE Specify the size of each dumpfile in units of bytes.
    FLASHBACK_SCN SCN used to set session snapshot back to.
    FLASHBACK_TIME Time used to get the SCN closest to the specified time.
    FULL Export entire database (N).
    HELP Display Help messages (N).
    INCLUDE Include specific object types, e.g. INCLUDE=TABLE_DATA.
    JOB_NAME Name of export job to create.
    LOGFILE Log file name (export.log).
    NETWORK_LINK Name of remote database link to the source system.
    NOLOGFILE Do not write logfile (N).
    PARALLEL Change the number of active workers for current job.
    PARFILE Specify parameter file.
    QUERY Predicate clause used to export a subset of a table.
    SCHEMAS List of schemas to export (login schema).
    STATUS Frequency (secs) job status is to be monitored where
    the default (0) will show new status when available.
    TABLES Identifies a list of tables to export - one schema only.
    TABLESPACES Identifies a list of tablespaces to export.
    TRANSPORT_FULL_CHECK Verify storage segments of all tables (N).
    TRANSPORT_TABLESPACES List of tablespaces from which metadata will be unloaded.
    VERSION Version of objects to export where valid keywords are:
    (COMPATIBLE), LATEST, or any valid database version.

    The following commands are valid while in interactive mode.
    Note: abbreviations are allowed

    Command Description
    ------------------------------------------------------------------------------
    ADD_FILE Add dumpfile to dumpfile set.
    ADD_FILE=dumpfile-name
    CONTINUE_CLIENT Return to logging mode. Job will be re-started if idle.
    EXIT_CLIENT Quit client session and leave job running.
    HELP Summarize interactive commands.
    KILL_JOB Detach and delete job.
    PARALLEL Change the number of active workers for current job.
    PARALLEL=.
    START_JOB Start/resume current job.
    STATUS Frequency (secs) job status is to be monitored where
    the default (0) will show new status when available.
    STATUS=[interval]
    STOP_JOB Orderly shutdown of job execution and exits the client.
    STOP_JOB=IMMEDIATE performs an immediate shutdown of the
    Data Pump job.

    impdp help=y

    Import: Release 10.1.0.2.0 - Production on Saturday, 11 September, 2004 17:22

    Copyright (c) 2003, Oracle. All rights reserved.


    The Data Pump Import utility provides a mechanism for transferring data objects
    between Oracle databases. The utility is invoked with the following command:

    Example: impdp scott/tiger DIRECTORY=dmpdir DUMPFILE=scott.dmp

    You can control how Import runs by entering the 'impdp' command followed
    by various parameters. To specify parameters, you use keywords:

    Format: impdp KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
    Example: impdp scott/tiger DIRECTORY=dmpdir DUMPFILE=scott.dmp

    USERID must be the first parameter on the command line.

    Keyword Description (Default)
    ------------------------------------------------------------------------------
    ATTACH Attach to existing job, e.g. ATTACH [=job name].
    CONTENT Specifies data to load where the valid keywords are:
    (ALL), DATA_ONLY, and METADATA_ONLY.
    DIRECTORY Directory object to be used for dump, log, and sql files.
    DUMPFILE List of dumpfiles to import from (expdat.dmp),
    e.g. DUMPFILE=scott1.dmp, scott2.dmp, dmpdir:scott3.dmp.
    ESTIMATE Calculate job estimates where the valid keywords are:
    (BLOCKS) and STATISTICS.
    EXCLUDE Exclude specific object types, e.g. EXCLUDE=TABLE:EMP.
    FLASHBACK_SCN SCN used to set session snapshot back to.
    FLASHBACK_TIME Time used to get the SCN closest to the specified time.
    FULL Import everything from source (Y).
    HELP Display help messages (N).
    INCLUDE Include specific object types, e.g. INCLUDE=TABLE_DATA.
    JOB_NAME Name of import job to create.
    LOGFILE Log file name (import.log).
    NETWORK_LINK Name of remote database link to the source system.
    NOLOGFILE Do not write logfile.
    PARALLEL Change the number of active workers for current job.
    PARFILE Specify parameter file.
    QUERY Predicate clause used to import a subset of a table.
    REMAP_DATAFILE Redefine datafile references in all DDL statements.
    REMAP_SCHEMA Objects from one schema are loaded into another schema.
    REMAP_TABLESPACE Tablespace object are remapped to another tablespace.
    REUSE_DATAFILES Tablespace will be initialized if it already exists (N).
    SCHEMAS List of schemas to import.
    SKIP_UNUSABLE_INDEXES Skip indexes that were set to the Index Unusable state.
    SQLFILE Write all the SQL DDL to a specified file.
    STATUS Frequency (secs) job status is to be monitored where
    the default (0) will show new status when available.
    STREAMS_CONFIGURATION Enable the loading of Streams metadata
    TABLE_EXISTS_ACTION Action to take if imported object already exists.
    Valid keywords: (SKIP), APPEND, REPLACE and TRUNCATE.
    TABLES Identifies a list of tables to import.
    TABLESPACES Identifies a list of tablespaces to import.
    TRANSFORM Metadata transform to apply (Y/N) to specific objects.
    Valid transform keywords: SEGMENT_ATTRIBUTES and STORAGE.
    ex. TRANSFORM=SEGMENT_ATTRIBUTES:N:TABLE.
    TRANSPORT_DATAFILES List of datafiles to be imported by transportable mode.
    TRANSPORT_FULL_CHECK Verify storage segments of all tables (N).
    TRANSPORT_TABLESPACES List of tablespaces from which metadata will be loaded.
    Only valid in NETWORK_LINK mode import operations.
    VERSION Version of objects to export where valid keywords are:
    (COMPATIBLE), LATEST, or any valid database version.
    Only valid for NETWORK_LINK and SQLFILE.

    The following commands are valid while in interactive mode.
    Note: abbreviations are allowed

    Command Description (Default)
    ------------------------------------------------------------------------------
    CONTINUE_CLIENT Return to logging mode. Job will be re-started if idle.
    EXIT_CLIENT Quit client session and leave job running.
    HELP Summarize interactive commands.
    KILL_JOB Detach and delete job.
    PARALLEL Change the number of active workers for current job.
    PARALLEL=.
    START_JOB Start/resume current job.
    START_JOB=SKIP_CURRENT will start the job after skipping
    any action which was in progress when job was stopped.
    STATUS Frequency (secs) job status is to be monitored where
    the default (0) will show new status when available.
    STATUS=[interval]
    STOP_JOB Orderly shutdown of job execution and exits the client.
    STOP_JOB=IMMEDIATE performs an immediate shutdown of the
    Data Pump job.
    posted by Senthil Kumaran @ 2:11 AM   0 comments
    Script to start/stop R12 services
    Saturday, July 19, 2008
    Script to start R12 services
    -------------------------------------
    Open a file in vi editor and save it as a script(.sh) format.

    #vi start.sh

    echo "Starting Database Listener"
    /usr/bin/su - oravis -c '/u02/oracle/db/tech_st/10.2.0/appsutil/scripts/VIS_lab/addlnctl.sh start VIS'
    echo "Database Listener started"
    sleep 5
    echo "Starting Oracle Database"
    /usr/bin/su - oravis -c '/u02/oracle/db/tech_st/10.2.0/appsutil/scripts/VIS_lab/addbctl.sh start'
    echo "Oracle Database started"
    sleep 15
    echo "Starting Oracle Applications"
    /usr/bin/su - applvis -c '/u01/apps/VIS_lab/admin/scripts/adstrtal.sh apps/apps'
    echo "Oracle Applications Started"

    :wq!(save & quit)

    Script to stop R12 services
    -----------------------------------
    Open a file in vi editor and save it as a script(.sh) format.

    #vi stop.sh

    echo "Stopping Oracle Applications"
    /usr/bin/su - applvis -c '/u01/apps/VIS_lab/admin/scripts/adstpall.sh apps/apps'
    echo "Oracle Applications stopped"
    sleep 5
    kill -9 `ps -ef | grep applvis | awk '{print $2}'`
    echo "Stopping Database Listener"
    /usr/bin/su - oravis -c '/u02/oracle/db/tech_st/10.2.0/appsutil/scripts/VIS_lab/addlnctl.sh stop VIS'
    echo "Database Listener stopped"
    echo "Stopping Oracle Database"
    /usr/bin/su - oravis -c '/u02/oracle/db/tech_st/10.2.0/appsutil/scripts/VIS_lab/addbctl.sh stop immediate'
    sleep 5
    echo "Oracle Database stopped"

    :wq(save & quit)


    Use these shell scripts to start/stop r12 services instead of doing manually.
    posted by Senthil Kumaran @ 3:55 AM   0 comments
    Listener password
    Tuesday, July 15, 2008
    Set listener password:
    ----------------------------
    LSNRCTL> set save_config_on_stop on
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    LISTENER parameter "save_config_on_stop" set to ON
    The command completed successfully
    LSNRCTL> set password t0p53cr3t
    The command completed successfully
    LSNRCTL>

    The commands will instruct the listener to save the configuration to the file after stopping the listener, as mentioned by the command set save_config_on_stop on. This will place the following lines in the file listener.ora

    #----ADDED BY TNSLSNR 05-JUL-2003 00:12:48---
    SAVE_CONFIG_ON_STOP_LISTENER = ON
    #--------------------------------------------

    #----ADDED BY TNSLSNR 05-JUL-2003 00:13:49---
    PASSWORDS_LISTENER = 8D5438362F7F2951
    #--------------------------------------------

    Note how the password has been recorded in the file, but in an encrypted manner.

    In this setup, where the encrypted password is mentioned in the parameter file, setting the password is like the case where the password is not specified in the parameter file.
    posted by Senthil Kumaran @ 7:42 PM   0 comments
    sqlplus command line history
    Command Line History and Editing in SQL*Plus and RMAN on Linux
    ------------------------------------------------------------------------

    The rlwrap (readline wrapper) utility provides a command history and editing of keyboard input for any other command. This is a really handy addition to SQL*Plus and RMAN on Linux.

    Download the latest rlwrap software from the following URL.
    http://utopia.knoware.nl/~hlub/uck/rlwrap/
    Unzip and install the software using the following commands.
    gunzip rlwrap*.gz
    tar -xvf rlwrap*.tar
    cd rlwrap*
    ./configure
    make
    make check
    make install

    Run the following commands, or better still append then to the ".bash_profile" of the oracle software owner.

    alias sqlplus='rlwrap ${ORACLE_HOME}/bin/sqlplus'
    alias rman='rlwrap ${ORACLE_HOME}/bin/rman'
    alias expdp='rlwrap ${ORACLE_HOME}/bin/expdp'

    You can now start SQL*Plus or RMAN using "rlsqlplus" and "rlrman" respectively, and you will have a basic command history and the current line will be editable using the arrow and delete keys.
    posted by Senthil Kumaran @ 5:48 PM   0 comments
    Script to start/stop release12 services
    Release12 Start/stop scripts
    ----------------------------------
    Script to start services in Release12
    ------------------------------------------
    login as root user then,
    #vi start.sh
    echo "Starting Database Listener"
    /usr/bin/su - oravis -c '/u02/oracle/db/tech_st/10.2.0/appsutil/scripts/VIS_lab/addlnctl.sh start VIS'
    echo "Database Listener started"
    sleep 5
    echo "Starting Oracle Database"
    /usr/bin/su - oravis -c '/u02/oracle/db/tech_st/10.2.0/appsutil/scripts/VIS_lab/addbctl.sh start'
    echo "Oracle Database started"
    sleep 5
    echo "Starting Oracle Applications"
    /usr/bin/su - applvis -c '/u01/apps/VIS_lab/admin/scripts/adstrtal.sh apps/apps'
    echo "Oracle Applications Started"

    :wq(save and quit)

    Script to stop Release12 services
    ---------------------------------------
    log in as root user then
    #vi stop.sh
    echo "Stopping Oracle Applications"
    /usr/bin/su - applvis -c '/u01/apps/VIS_lab/admin/scripts/adstpall.sh apps/apps'
    echo "Oracle Applications stopped"
    sleep 5
    kill -9 `ps -ef | grep applvis | awk '{print $2}'`
    echo "Stopping Database Listener"
    /usr/bin/su - oravis -c '/u02/oracle/db/tech_st/10.2.0/appsutil/scripts/VIS_lab/addlnctl.sh stop VIS'
    echo "Database Listener stopped"
    echo "Stopping Oracle Database"
    /usr/bin/su - oravis -c '/u02/oracle/db/tech_st/10.2.0/appsutil/scripts/VIS_lab/addbctl.sh stop immediate'
    sleep 5
    echo "Oracle Database stopped"


    :wq (save and quit)

    Use these scripts to start/stop release services.
    posted by Senthil Kumaran @ 5:12 PM   0 comments
    Creating custom top
    Creating custom top
    -----------------------

    SCHEMA NAME : XXRLT

    TOP NAME : XXRLT_TOP

    Application : XXRLT Custom Application

    Data Group : XXRLTGroup

    Request Group : XXRLT Request Group

    Menu : XXRLT_CUSTOM_MENU

    Responsibility : XXRLT Custom

    1) Make the directory structure for your custom application files.

    cd $APPL_TOP

    mkdir xxrlt

    mkdir xxrlt/12.0.0

    mkdir xxrlt/12.0.0/admin

    mkdir xxrlt/12.0.0/admin/sql

    mkdir xxrlt/12.0.0/admin/odf

    mkdir xxrlt/12.0.0/sql

    mkdir xxrlt/12.0.0/bin

    mkdir xxrlt/12.0.0/reports

    mkdir xxrlt/12.0.0/reports/US

    mkdir xxrlt/12.0.0/forms

    mkdir xxrlt/12.0.0/forms/US

    mkdir xxrlt/12.0.0/lib

    mkdir xxrlt/12.0.0/out

    mkdir xxrlt/12.0.0/log

    2) Add the custom module into the environment

    cd $APPL_TOP

    vi customPROD_app01.env

    XXRLT_TOP=/sandb1/oracle/PROD/apps/apps_st/appl/xxrlt/12.0.0

    export XXRLT_TOP

    source the environment file ( /sandb1/oracle/PROD/apps/apps_st/appl/APPSPROD_pkgprod.env )

    Make entry to context file

    /sandb1/oracle/PROD/inst/apps/PROD_pkgprod/appl/admin/PROD_pkgprod.xml

    /sandb1/oracle/PROD/apps/apps_st/appl/xxrlt/12.0.0

    cd $INST_TOP/admin/install

    sh adgentopfile.sh

    Open new session, source environment file, and stop middle tier services, run autoconfig

    Open new session, source environment file, check for custom top in topfile.txt in $APPL_TOP/admin, start the middle tier services.

    3) create tablespace XXRLT datafile '/sandb1/oracle/PROD/db/apps_st/data/xxrlt01.dbf' size 500M

    4) create user xxrlt identified by xxrlt

    default tablespace xxrlt

    temporary tablespace temp1

    quota unlimited on xxrlt

    grant connect, resource to xxrlt;

    5) Register your Oracle Schema.

    Login to Applications with System Administrator responsibility

    Navigate to Application-->Register

    Application = XXRLT Custom Application

    Short Name = XXRLT

    Basepath = XXRLT_TOP

    Description = XXRLT Custom Application

    6) Register Oracle User

    Naviate to Security-->Oracle-->Register

    Database User Name = XXRLT

    Password = XXRLT

    Privilege = Enabled

    Install Group = 0

    Description = XXRLT Custom Application User

    7) Add Application to a Data Group

    Navigate to Security-->Oracle-->DataGroup

    Data Group = XXRLTGroup

    Description = XXRLT Custom Data Group

    Click on "Copy Applications from" and pick Standard data Group, then add the following entry.

    Application = XXRLT Custom

    Oracle ID = APPS

    Description = XXRLT Custom Application

    8) Create custom request group

    This will act as a placeholder for any custom reports we wish to make available for the Custom Responsibility (which is defined at a later stage)

    Navigate to Security-->responsbility-->Request

    Group = XXRLT Request Group

    Application = XXRLT Custom

    Code = XXRLT

    Description = XXRLT Custom Requests

    We will not define any requests to add to the group at this stage, but you can add some now if required.

    9) Create custom menu

    This will act as a placeholder for any menu items we wish to make available for the Custom Responsibility (which is defined at a later stage). We will create two menus, one for Core Applications and one for Self Service.

    Navigate to Application-->Menu

    Menu = XXRLT_CUSTOM_MENU

    User Menu Name = XXRLT Custom Application

    Menu Type =

    Description = XXRLT Custom Application Menu

    Seq = 100

    Prompt = View Requests

    Submenu =

    Function = View All Concurrent Requests

    Description = View Requests

    Seq = 110

    Prompt = Run Requests

    Submenu =

    Function = Requests: Submit

    Description = Submit Requests

    Menu = XXRLT_CUSTOM_MENU_SSWA

    User Menu Name = XXRLT Custom Application SSWA

    Menu Type =

    Description = XXRLT Custom Application Menu for SSWA


    10) Create new responsibility. One for Core Applications and One for Self Service (SSWA)

    Navigate to Security-->Responsibility-->Define

    Responsibility Name = XXRLT Custom

    Application = XXRLT Custom

    Responsibility Key = XXRLTCUSTOM

    Description = XXRLT Custom Responsibility

    Available From = Oracle Applications

    Data Group Name = XXRLTGroup

    Data Group Application = XXRLT Custom

    Menu = XXRLT Custom Application

    Request Group Name = XXRLT Request Group

    Responsibility Name = XXRLT Custom SSWA

    Application = XXRLT Custom

    Responsibility Key = XXRLTCUSTOMSSWA

    Description = XXRLT Custom Responsibility SSWA

    Available From = Oracle Self Service Web Applications

    Data Group Name = XXRLTGroup

    Data Group Application = XXRLT Custom

    Menu = XXRLT Custom Application SSWA

    Request Group Name = XXRLT Request Group

    11) Add responsibility to user

    Navigate to Security-->User-->Define

    Add XXRLT Custom responsibility to users as required.

    12) Other considerations

    You are now ready to create your database Objects, custom Reports, Forms, Packages, etc

    Create the source code files in the XXRLT_TOP directory appropriate for the type of object. For example forms would be located in $XXRLT_TOP/forms/US or package source code in $XXRLT_TOP/admin/sql for example.

    Database Objects, such as tables, indexes and sequences should be created in the XXRLT schema, and then you need to

    a) Grant all privilege from each custom data object to the APPS schema.

    For example : logged in as XXRLT user

    grant all privileges on myTable to apps;

    b) Create a synonym in APPS for each custom data object

    For example : logged in as APPS user

    create synonym myTable for XXRLT.myTable;

    13) Login to sysadmin, Application Developer Responsibility

    Application > Form ( Register the form )

    Application > Funtion ( Add the form to a function )

    Application > Menu ( Attach the function to a menu )

    Menu that is added to a particular responsbility is given to specific user

    Security > User > Define
    posted by Senthil Kumaran @ 7:09 AM   0 comments
    Installation of maintenance wizard
    INSTALLING MAINTAINENCE WIZARD(Metalink Doc.id:329476.1)
    =========================================

    System Requirements
    ---------------------
    Maintenance Wizard must be installed into an RDBMS 10g with a 10g iAS ORACLE_HOME on a UNIX or Linux machine. (Your e-Business Suite Applications may be on other operating systems, however).

    create group
    ---------------
    groupadd dba

    create user
    ----------------
    useradd -g dba oracle


    MAINTENCE WIZARD
    ================

    Prerequistite Instructions
    --------------------------
    Setting up OpenSSH
    On the Maintenance Wizard Node:
    Log in as the user who will own Maintenance Wizard.
    Generate the ssh key by issuing the following command:
    ssh-keygen -t rsa
    Press the Enter key three times.
    CD into the .ssh directory, which is located under the home directory. Note that a file called id_rsa.pub is created.
    Use FTP to copy id_rsa.pub to the /tmp directory of the Remote Nodes.

    On the Remote Node(s):
    ----------------------
    Login as the user who owns the product being upgraded or maintained. For Applications tiers, use the applmgr account. For the database tiers, use the oracle account.
    Remove specialized .login, .profile or similar files which cause extra verbiage to be displayed to the screen.
    Create a directory called .ssh in the home directory.
    If an authorized_keys file does not exist, create a new, empty one.
    Copy the content of /tmp/id_rsa.pub (from the Maintenance Wizard Node) into a new file named authorized_keys. (If you already have a file called authorized_keys in this directory, open it in vi, go to the bottom of the file, add one blank line and then copy and paste the contents of the file /tmp/id_rsa.pub into the existing file and save it.)
    Verify that the .ssh directory permission is set to 700.
    Verify that the authorized_keys file permission is set to 600.
    Verify that the $HOME directory does not have write permissions for group and others.
    chmod go-w $HOME
    Repeat the above steps for each Remote Node

    Test the installation:
    ----------------------
    Login to the Maintenance Wizard Node as Maintenance Wizard owner.
    Execute the following command, replacing [user] with the username on the Remote Node, and [SERVER] with the host name of the Remote Node:
    ssh -l [user] [SERVER]
    When prompted to confirm the identity, respond "Yes".
    Disconnect from the server.
    Execute the following command:
    ssh -l [user] [SERVER] echo 'foo'
    Only the word foo should appear, followed by the prompt, and you should not be asked to enter and ID or password. If you are prompted for a password, verify the following:
    The content of the authorized_keys file contains the content of id_rsa.pub of the client
    The permissions of the authorized_keys file are set to 600.
    The permissions of the .ssh directory are set to 700.
    The permissions of the $HOME directory do not include execute for group and other.
    If more than the word foo appears, then repeat the step above to remove all .login, .profile or similar files until ONLY the word foo appears.

    INSTALL 10g RDBMS 10.2.0
    ========================
    hosts file
    ----------
    vi /etc/hosts
    192.9.200.225 ias.oneapps.com ias

    Set Kernel Parameters
    ---------------------
    /etc/sysctl.conf
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    # semaphores: semmsl, semmns, semopm, semmni
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default=262144
    net.core.rmem_max=262144
    net.core.wmem_default=262144
    net.core.wmem_max=262144

    /sbin/sysctl -p

    /etc/security/limits.conf
    soft nproc 2047
    hard nproc 16384
    soft nofile 2048
    hard nofile 65536

    set environment file in bash profile

    run ./runinstaller


    CREATE DATABASE USING: $ORACLE_HOME/bin run DBCA
    -------------------------------------------------
    Choose "Create a Database".
    Choose "General Purpose".
    Specify the Global Database Name.
    Specify whether to configure to database with Enterprise Manager.
    Set the default password for the SYS and SYSTEM accounts. (PLEASE, record these in a secure location!)
    Choose your storage mechanism. We recommend that you choose "File System" and select a Common Location.
    Specify any desired recovery options.
    Specify NO sample schemas.
    In the Character Sets tab, do NOT modify the Default Language (American) and Default Date Format (US).
    Specify the desired values for parameters SGA, PGA and processes.
    When the process has completed, exit the Database Creation Assistant.



    INSTALL 10G ias 10.1.3
    ----------------------
    rpms

    glibc-2.3.4-2.9
    glibc-common-2.3.4-2.9
    binutils-2.15.92.0.2-13
    compat-libstdc++-296-2.96-132.7.2
    gcc-3.4.3-22.1
    gcc-c++-3.4.3-22.1
    libstdc++-3.4.3-22.1
    libstdc++-devel-3.4.3-22.1
    openmotif21-2.1.30-11.RHEL4.4
    pdksh-5.2.14-30
    setarch-1.6-1
    make-3.80-5
    gnome-libs-1.4.1.2.90-44.1
    sysstat-5.0.5-1
    compat-db-4.1.25-9
    compat-libstdc++-devel-7.3-2.96.128
    compat-glibc-7.x-2.2.4.32.6
    compat-libstdc++-7.3-2.96.128
    control-center-2.8.0-12
    xscreensaver-4.18-5.rhel4.2

    ./runinstaller

    To copy the file:
    -----------------
    cp /network/admin/tnsnames.ora /network/admin/

    OR

    create a symbolic link:

    cd /network/admin
    ln -s /network/admin/tnsnames.ora tnsnames.ora


    Create the NEWEOF tablespace where the Maintenance Wizard schema objects will be stored
    sqlplus
    system user

    create tablespace NEWEOF datafile '/u01/oracle/oradata/eof01.dbf' size 50M AUTOEXTEND ON NEXT 5M MAXSIZE 75M;

    Verify that Zip and UnZip executables are installed and that ping is in the $PATH using the following commands:
    which zip
    which unzip
    which ping

    Installation Steps
    ==================
    SU - ORACLE

    SET BASH PROFILE RDBMS 10g

    ORACLE_HOME=; export ORACLE_HOME
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    TWO_TASK=;export TWO_TASK
    TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN


    create the Maintenance Wizard directory in the RDBMS $ORACLE_HOME directory

    cd $ORACLE_HOME
    mkdir eof
    EOF_HOME=$ORACLE_HOME/eof; export EOF_HOME


    DOWN LOAD THE Maintenance Wizard PATCH =6972475

    unzip it into $EOF_HOME

    cd ${EOF_HOME}/config

    Run the installation script
    ./setup.sh

    Stop and restart iAS.
    opmnctl stopall
    opmnctl startall


    Post Install Steps
    ==================

    Secure the $EOF_HOME/EOF.env file.
    chmod 700 $EOF_HOME/EOF.env

    URL http://.:/EOF/

    SYSADMIN/YOURPASS:
    posted by Senthil Kumaran @ 4:51 AM   0 comments
    Create A Production (Full or Partial) Duplicate On The Same Host
    Create A Production (Full or Partial) Duplicate On The Same Host
    -------------------------------------------------------------------------
    (Metalink Doc.id:388424.1)

    Primary DB : ORCL
    Clone DB : AUX

    Production Database should be archive enabled.

    Startup mount;
    alter database archivelog;
    alter database open;
    archive log list;

    Recovery catalog for RMAN

    Creating the Recovery Catalog Owner
    Start by creating a database schema (usually called rman). Assign an appropriate tablespace to it and grant it the recovery_catalog_owner role. Look at this example:

    % sqlplus '/ as sysdba'

    SQL> CREATE USER rman IDENTIFIED BY rman
    DEFAULT TABLESPACE tools
    TEMPORARY TABLESPACE temp
    QUOTA UNLIMITED ON tools;

    SQL> GRANT CONNECT, RECOVERY_CATALOG_OWNER TO rman;


    Creating the Recovery Catalog

    % rman catalog rman/rman@ORCL

    RMAN> CREATE CATALOG;

    Registering the target database

    % rman TARGET / CATALOG rman/rman@ORCL

    RMAN> REGISTER DATABASE;

    Reference : Note:452529.1
    Reference : RMAN: How to Query the RMAN Recovery Catalog ( Note:98342.1 )

    Example Source Listener.ora

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /newpart//product/10.2.0/)
    (PROGRAM = extproc)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL)
    (ORACLE_HOME = /newpart//product/10.2.0)
    (SID_NAME = ORCL)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = AUX)
    (ORACLE_HOME = /newpart//product/10.2.0)
    (SID_NAME = AUX)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = test.oneapps.com)(PORT = 1521))
    )
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    )
    )


    Example Source tnsnames.ora

    AUX =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = test.oneapps.com)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = AUX)(UR=A)
    )
    )

    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = test.oneapps.com)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )


    Note : Make use of netca and netmgr to configure listener and tnsnames


    #Find Production Database Files:

    SQL> select name from v$datafile;
    Create the Auxiliary Database directories needed
    cd $ORACLE_HOME/dbs
    create parameter file initAUX.ora


    db_file_name_convert = ('/old/path1', '/new/path1',
    '/old/path2', '/new/path2',
    '/old/path3', '/new/path3')

    log_file_name_convert = ('/old/path1', '/new/path1',
    '/old/path2', '/new/path2',
    '/old/path3', '/new/path3')



    eg:-

    db_name = aux
    db_block_size = 8192
    compatible = 10.2.0.1.0
    remote_login_passwordfile = exclusive
    control_files = ('/newpart/oradata/aux/control01.ctl',
    '/newpart/oradata/aux/control02.ctl')
    db_file_name_convert = ('/newpart/oradata/orcl',
    '/newpart/oradata/aux')
    log_file_name_convert = ('/newpart/oradata/orcl',
    '/newpart/oradata/aux')
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'

    # create a passwordfile for remote connections as sysdba

    % orapwd password= file=orapwAUX

    % sqlplus /nolog
    SQL> connect / as sysdba
    SQL> startup nomount pfile=$ORACLE_HOME/dbs/initAUX.ora
    SQL> exit
    Start the Duplication
    ORACLE_SID=AUX; export ORACLE_SID # ksh
    sqlplus /nolog
    SQL> connect / as sysdba
    Connected to an idle instance
    SQL> startup nomount pfile=$ORACLE_HOME/dbs/initAUX.ora
    SQL> exit


    # Set your SID back to the TARGET for duplication.

    > rman trace.log

    Recovery Manager: Release 10.2.0.1.0 - Production
    Copyright (c) Oracle. All rights reserved.

    RMAN> connect target
    connected to target database: V10GREL4 (DBID=2510891965)

    RMAN>backup database;

    RMAN>sql 'alter system switch logfile';

    RMAN> connect auxiliary sys/pwd@AUX
    connected to auxiliary database: AUX (not mounted)

    RMAN> duplicate target database to AUX device type disk;
    Once this is done, login to duplicate database with alter database open resetlogs.
    posted by Senthil Kumaran @ 4:40 AM   0 comments
    Creating a Duplicate Database on a New Host Using RMAN
    Creating a Duplicate Database on a New Host Using RMAN(Metalink Doc.id:388431.1)
    --------------------------------------------------------------------------------------
    Reference:
    ---------------
    Primary Database SID : ORCL
    Duplicate Database SID : AUX
    RMAN Catalog SID : RMAN


    # export ORACLE_SID=ORCL

    # rman target=/ catalog=rman/rman@ORCL

    RMAN> run {
    allocate channel d1 type disk;
    backup format '/backups/PROD/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/backups/PROD/al_t%t_s%s_p%p' archivelog all;
    release channel d1;
    }
    This command will perform a full database backup including archivelogs and the current controlfile.


    Host B (Aux)

    Making the backup available for the duplicate process.

    If your backup resides on disk you will need to copy this back up from host A to host B. Ensure you place it in the same directory as where it was created.
    RMAN> list backup;

    Create same directory of host b and give appropriate permissions for the oracle user

    Create the pfile [initAUX.ora] parameter file in the $ORACLE_HOME/dbs directory for the auxiliary database.
    ------------------------------------------------------------------------------------------
    db_name = aux
    db_block_size = 8192
    compatible = 10.2.0.1.0
    remote_login_passwordfile = exclusive
    control_files = ('/d02/oradata/aux/control01.ctl')
    db_file_name_convert = ('/newpart/oradata/orcl',
    '/d02/oradata/aux')
    log_file_name_convert = ('/newpart/oradata/orcl',
    '/d02/oradata/aux')
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    ------------------------------------------------------------------------------
    Following the creation of the initAUX.ora startup nomount the auxiliary instance.
    export ORACLE_SID=AUX

    sqlplus '/as sysdba'

    startup nomount;

    Ensuring SQL*NET connections to primary database and RMAN catalog are working.

    Host B(AUX)

    sqlplus ‘sys/oracle@PROD as sysdba’
    sqlplus rman/rman@PROD (not mandatory)

    Add tnsnames.ora entry – Eg:
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = test.oneapps.com)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    )
    )

    Prepare RMAN duplicate script.
    ------------------------------------

    run {
    allocate auxiliary channel C1 device type disk;
    duplicate target database to AUX;
    }

    Save it as dup.sql

    Execute the RMAN script

    Start RMAN, connect to the production target, the catalog instance and also the auxiliary clone. Run the RMAN duplicate script as shown below. Before doing this ensure that the Oracle SID environment variable is set to the duplicate clone database.
    # export ORACLE_SID=AUX

    # rman target sys/pwd@ORCL catalog rman/rman@ORCL auxiliary /

    RMAN> @dup.sql
    After this, login to aux database and alter database open with resetlogs option.
    posted by Senthil Kumaran @ 4:20 AM   0 comments
    Database cloning
    1. Ensure that your database is recoverable back to original location and state by backing it up before executing this procedure:

    Database in NON-ARCHIVE LOG MODE - take an off-line database backup.
    Database in ARCHIVELOG MODE - take an on-line or off-line database backup.

    2. Connect to sql*plus as the user ‘SYS AS SYSDBA’ and ensure that all users have logged off the system by executing the following command.

    SQL> connect / as sysdba
    Connected.
    SQL> select username from v$session;
    USERNAME

    -----
    -----
    -----
    -----
    SYS
    8 rows selected.
    SQL>

    You should see several fields returning with no username (these are internal oracle logins and the will not affect your operations) and one SYS login (this is you).

    3. Place the system in restricted mode:

    SQL> alter system enable restricted session;

    System altered.

    4. Connect as SYS with SYSDBA privileges and execute the following SQL command:

    SQL> connect / as sysdba
    Connected.
    SQL> alter database backup controlfile to trace;
    SQL>

    The [alter database backup controlfile to trace;] command will generate a SQL script that can be used to regenerate the database.

    5. Execute the sql*plus command show parameter to find your user dump directory.

    SQL> show parameter user_dump_dest
    NAME TYPE VALUE
    -------------------------- ----------- ------------------------------
    user_dump_dest string /opt/app/oracle/product/admin/orcl/udump

    6. Exit to the OS layer and move to the user_dump_dest directory. Trace file names are generated by oracle in the following format [instance_name]+[oracle generated number].trc, so use the timestamp to locate the last trace file generated. Open the file in a text editor and remove everything above the ‘STARTUP NOMOUNT ..' statement. Alter the ‘CREATE CONTROLFILE’ statement for the following uses:

    Rename DB in Archivelog mode:
    CREATE CONTROLFILE SET DATABASE "new_db_name" RESETLOGS
    ARCHIVELOG

    Rename DB in Non-Archivelog mode:
    CREATE CONTROLFILE SET DATABASE "new_db_name" NORESETLOGS
    NOARCHIVELOG

    Reuse DB name in Archivelog mode:
    CREATE CONTROLFILE REUSE DATABASE "db_name" RESETLOGS ARCHIVELOG

    Reuse DB name in Non-Archivelog mode:
    CREATE CONTROLFILE REUSE DATABASE "db_name" NORESETLOGS
    NOARCHIVELOG


    7. Edit the rest of this file to reference the correct locations of you log files, datafiles and temp files.

    8. Move the trace file to an appropriate location and name to recreate_db.sql.

    9. Connect as SYS with SYSDBA privileges and shutdown the database in immediate mode:
    SQL> connect / as sysdba
    Connected.
    SQL> shutdown immediate

    10. Move the following files to there corresponding locations in updated recreate_db.sql file.
    DATAFILES
    Log files



    11. Restore or copy the backup and the archived logs (if any) to the new machine.

    12. Move your INIT$ORACLE_SID.ORA file to its new location. Ensure your controlfile and archive destinations in INIT are set properly to the new locations.

    13. Connect to SQLPLUS on your new machine as SYS AS SYSDBA and run create_db.sql script as follows:

    SQL> @[directory_location]/create_db.sql

    14. Change the global database name if you renamed your database as follows:

    SQL> ALTER DATABASE RENAME GLOBAL_NAME = new_db_name;

    15. Perform full system backup and store in a safe location.
    posted by Senthil Kumaran @ 4:09 AM   0 comments
    10g AS installation with linux
    Part I: Installing Linux
    ----------------------------
    This Minimum Hardware Configuration For Linux Server:
    • 800MHz Pentium III CPU
    • 1GB of RAM (Minimum)
    • Hard Disk – 40 GB ((IDE, SCSI, or FireWire) with at least 10GB of free space.
    • One 100Base-T Ethernet adapter
    A fresh install of OS (Linux ) is Desired (as opposed to an upgrade), that the server will be
    dedicated to Oracle, and that no other operating systems or data are on the server.
    RHEL4 Installation
    Oracle Database 10g Release 2 is certified to run the base release of RHEL4 (Advanced
    Server and Enterprise Server) without updates.
    Steps:
    ---------
    1. Boot the server using the first CD.
    o You may need to change your BIOS settings to allow booting from the CD.
    2. The boot screen appears with the boot: prompt at the bottom of the screen.
    o Select Enter to continue with a graphical install on the console.
    o The installer scans your hardware, briefly displays the Red Hat splash screen,
    and then begins a series of screen prompts.
    3. Language Selection
    o Accept the default.
    4. Keyboard Configuration
    o Accept the default.
    5. Welcome Screen
    o Click on Next.
    6. Disk Partitioning Setup
    Note: Improperly partitioning a disk is one of the surest and fastest ways to wipe out
    everything on your hard disk. If you are unsure how to proceed, stop and get help,
    or you will risk losing data!

    Minimum Partition Requirements
    -------------------------------------
     The 9GB disk on the first controller (/dev/sda) will hold all Linux and
    Oracle software and contains the following partitions:
     100MB /boot partition
     1,500MB swap partition—Set this to at least twice the amount of RAM in
    the system but to no more than 2GB. (As 32-bit systems do not support
    swap files larger than 2GB.)
     8,192MB for /usr
     1024 MB for /tmp
     256MB for /boot
     1024 MB for /home
     512MB for /opt
     512MB for /var
    OR
     15,630 MB(15GB) for root partition—This partition will be used for
    everything, including /usr, /tmp, /var, /opt, /home, and more. Boot
    Loader Configuration

    7. Network Configuration
    o It is usually best to configure database servers with a static IP address. To do
    so, click on Edit .
    o A pop-up window appears. Uncheck the Configure using DHCP box, and
    enter the IP Address and Netmask for the server. Be sure that Activate on
    boot is checked, and click on OK .
    o In the Hostname box, select manually and enter the hostname.
    o In the Miscellaneous Settings box, enter the remaining network settings.

    8. Firewall Configuration
    o For the purposes of this installation, no firewall is configured. Select No
    firewall
    o Select Disabled on the "Enable SELinux" drop down list.
    o Click on Proceed when the "Warning - No Firewall" window appears.

    9. Additional Language Support
    o Accept the default.

    10. Time Zone Selection
    o Choose the time settings that are appropriate for your area. Setting the system
    clock to UTC is usually a good practice for servers. To do so, click on System
    clock uses UTC.

    11. Set Root Password
    o Enter a password for root, and enter it again to confirm.
    Note: If you need more than 2GB of swap space, create multiple swap
    partitions.

    12. Package Installation Defaults
    o Select Customize software packages to be installed.
    o Select Install Everything
    o Click on Next to proceed.

    13. Installing Packages
    o Software will be copied to the hard disk and installed. Change disks as
    prompted.

    14. Congratulations
    o Remove the installation media from the system, and click on Reboot.

    15. The system automatically reboots and presents a new welcome screen.
    o Click on Next.

    16. License Agreement
    o Read the license agreement. If you agree to the terms, select Yes, I agree to
    the License Agreement and click on Next.

    17. Date and Time
    o Set the Date and Time.
    o If you want to use an NTP server (recommended), select Enable Network
    Time Protocol and enter the name of the NTP server.

    18. Display
    o Accept the defaults or change as required.

    19. Red Hat Login
    o Enter your Red Hat Network login and password or create a new one.

    20. System User
    o Create an account for yourself.
    o Do not create an account for oracle at this time.

    21. Additional CDs
    o Click on Next.

    22. Finish Setup
    o Click on Next.

    23. A graphical login screen appears.

    24. Congratulations! Your RHEL4 software is now installed.
    Verifying the Installation
    Required kernel version: 2.6.9-5.0.5.EL This kernel, or any of the kernels supplied in
    updates, works with Oracle Database 10g Release 2 .

    Check your kernel version by running the following command:
    #uname -r
    2.6.9-11.ELsmp
    Once you've completed the steps above, all of the packages required for Oracle Database
    10g Release 2 will have been installed. Verify this using the example below.

    Required package versions (or later):
    -----------------------------------------
    • binutils-2.15.92.0.2-10.EL4
    • compat-db-4.1.25-9
    • control-center-2.8.0-12
    • gcc-3.4.3-9.EL4
    • gcc-c++-3.4.3-9.EL4
    • glibc-2.3.4-2
    • glibc-common-2.3.4-2
    • gnome-libs-1.4.1.2.90-44.1
    • libstdc++-3.4.3-9.EL4
    • libstdc++-devel-3.4.3-9.EL4
    • make-3.80-5
    • pdksh-5.2.14-30
    • sysstat-5.0.5-1
    • xscreensaver-4.18-5.rhel4.2
    • libaio-0.3.96
    • openmotif21-2.1.30-11.RHEL4.2

    To see which versions of these packages are installed on your system, run the following
    command:
    # rpm -q binutils compat-db control-center gcc gcc-c++ glibc glibc-common \ gnomelibs
    libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio openmotif21
     Check for any uninstalled RPMs
     Some RPMs need to be upgraded
    For RPM installation
    # rpm –ivh
    For RPM Update
    # rpm –Uvh

    If any of the package versions on your system are missing or the versions are earlier than
    those specified above, you can download and install the updates from the Linux Portal
    (rpm.pbone.net/).
    # rpm –Uvh # for Updating Installed RPM to the required version.

    Part II: Configuring Linux for Oracle
    -------------------------------------------
    Now Linux software is installed, we need to configure it for Oracle. The steps required to
    configure Linux for Oracle Database 10g Release 2.
    Verifying System Requirements
    To verify that your system meets the minimum requirements for an Oracle Database 10g
    Release 2 database, log in as root and run the commands below.

    To check the amount of RAM and swap space available, run this:
    # grep MemTotal /proc/meminfo
    MemTotal: 1034680 kB
    # grep SwapTotal /proc/meminfo
    SwapTotal: 1534196 kB
    The minimum RAM required is 1024MB, and the minimum required swap space is 1GB.
    Note: Swap space should be twice the amount of RAM for systems with 2GB of RAM or
    less and between one and two times the amount of RAM for systems with more than 2GB.

    The Minimum Space Requirement for Oracle DB 10g R2
    • 2.5GB for the Oracle Database 10g Release2 Software
    • 1.2GB for the database.
    • The /tmp directory needs at least 400MB of free space.

    To check the available disk space on your system, run the following command:
    # df -h
    [oracle@oneman ~]$ df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/hdc7 4.9G 485M 4.1G 11% /
    /dev/hdc1 291M 16M 260M 6% /boot
    /dev/hdc2 79G 6.3G 69G 9% /d01
    /dev/hdc9 26G 8.4G 16G 35% /d02
    none 497M 0 497M 0% /dev/shm
    /dev/hdc3 15G 218M 14G 2% /home
    /dev/hdc6 9.7G 56M 9.1G 1% /tmp
    /dev/hdc5 12G 5.8G 5.3G 53% /usr

    Create the Oracle Groups and User Account
    Oracle AS 10gR2 Comprising of two tiers
    1. Infra Tier ( Infrastructure )
    • Database
    • HTTP Server
    • OC4J
    • OID

    2. Middle Tier
    • Application Server
    • Discoverer
    • Portal
    • Forms
    • Reports
    • OC4J
    • HTTP Server

    So We need to Create 2 User Accounts ( For Infra & Middle Tier)
    Create the Linux groups and user account that will be used to install and maintain the Oracle
    Database 10g Release 2 software. The user accounts will be called orainfra, and oramid
    the groups will be oinstall and dba. Execute the following commands as root:
    # groupadd oinstall
    # groupadd dba
    # useradd -g oinstall -G dba orainfra
    # id orainfra
    uid=500(orainfra)gid=502(oinstall)groups=502(oinstall),503(dba)

    Set the password on the orainfra account:
    # passwd orainfra
    Changing password for user orainfra.
    New password:
    Retype new password:
    passwd: all authentication tokens updated successfully.
    # useradd -g oinstall -G dba oramid
    # id oramid
    uid=501(oramid) gid=502(oinstall) groups=502(oinstall),503(dba)
    # passwd oramid
    Changing password for user oramid.
    New password:
    Retype new password:
    passwd: all authentication tokens updated successfully.

    Creation of Directories
    -----------------------------
    Now create two directories to store the Oracle Database 10g Release 2 Infrastructure and
    the Middle Tier.
    Note: The following directories are being created in the root filesystem. This is done for the
    sake of simplicity and is not recommended as a general practice. These directories would
    normally be created as separate file systems.

    Issue the following commands as root:
    --For Infra Tier
    #mkdir -p /u01/OraHome_1
    #chown -R orainfra:oinstall /u01/OraHome_1
    #chmod -R 777 //u01/OraHome_1
    --For Middle Tier
    #mkdir -p /u01/OraHome_2
    #chown -R oramid:oinstall /u01/OraHome_1
    #chmod -R 777 //u01/OraHome_1

    Configuring the Linux Kernel Parameters
    Linux allows modification of most kernel parameters while the system is up and running.
    There's no need to reboot the system after making kernel parameter changes. Oracle
    Database 10g Release 2 requires the kernel parameter settings shown below. The values
    given are minimums, so if your system uses a larger value, don't change it.
    Run the Following Commands as Root
    # cat >> /etc/sysctl.conf <> kernel.sysrq = 0
    > kernel.shmmax = 4294967295
    > kernel.shmmni = 4096
    > kernel.sem = 256 32000 100 142
    > kernel.msgmnb = 65535
    > EOF

    Note: If you're following along and have just installed Linux, the kernel parameters will
    all be at their default values and you can just cut and paste the following commands
    while logged in as root.
    To Refresh the Keranel Issue the following Command.
    # /etc/sysctl -p

    Part III: Installing Oracle Infrastructure
    -------------------------------------------------
    Installing Oracle Infrastructure
    Log in using the orainfra account.
    # su - orainfra
    Mount the CD to the desired point, if not Automatically mounted
    Start the Oracle Universal Installer.
    $ /Media/Cdrecorder/runInstaller




    1. Specify Inventory Directory and Credentials
    o Inventory Directory: /u01/oraInventory
    o Operating System group name: oinstall
    o Click on Next
    Click Here
    2. Select Installation Path




    o Installation Directory: /u01/OraHome1
    Change the Path to
    /u01/OraHome_1
    Select Oracle Application Server infra Structure





    o Installation Type: Identity Management and Metadata Repository (3.63GB)





    Follow the Instructions Carefully from the GUI (like running
    /u01/OraHome_1/root.sh after logging on as root )

    o Incase any Error then resolve it by doing necessary action (For Eg. Any
    Kernel Parameter is not configured properly will result in error).
    Note: If any error occurs then resolve it first and click Back rather than
    Retry.



    o Incase any Error then resolve it by doing necessary action (For Eg. Any
    Kernel Parameter is not configured properly will result in error).
    Note: If any error occurs then resolve it first and click Back rather than retry.




    o Confirm that all the kernel parameters memory and swap space are
    configured properly before continuing.

    Select the Required components from the list
    o OID
    o Oracle Application SSO
    o Oracle Application Server Delegated Administration
    o Oracle Applications Server Directory Integration



    Note: High Availability and Replication is selected based on the requirement.


    Port Configuration



    o Go for Automatic ones


    Namespace in Internet Directory



    o Go for the Suggested namespace (ie, the Default)


    Database Configuration Options



    o Specify the Database name and SID
    o Specify the Oradata Directory for File location

    Change the DB name
    Specify the Location
    Specify Database Schema Passwords



    o Select Use the same password for all accounts or can give separate
    passwords for each schema depends on requirement.
    o Enter Password and Click NEXT
    Confirm the Passwords
    Specify Instance name and ias_admin Password



    o Instance Name:
    o Specify ias_admin Password
    o Then click NEXT



    o Click Install to start the installation of the Listed Products
    o On successful Installation close the Window by clicking exit.


    Part IV: Installing Oracle Application Server
    --------------------------------------------------
    Installing Oracle Infrastructure
    --------------------------------------
    Log in using the oramid account.
    # su - oramid
    Mount the CD to the desired point, if not Automatically mounted
    Start the Oracle Universal Installer.
    $ /Media/Cdrecorder/runInstaller



    2. Select Installation Path





    o Installation Directory: /u01/OraHome_2


    Select Oracle Application Server infra Structure




    Installation Type: Business Intelligence and Forms (1.90GB)



    o Select Business Intelligence and Forms and then click NEXT
    Pre-RequisiteChecks



    o Incase any Error then resolve it by doing necessary action (For Eg. Any
    Kernel Parameter is not configured properly will result in error).


    Note: If any error occurs then resolve it first and click Back rather than
    Retry.



    o Confirm that all the kernel parameters memory and swap space are
    configured properly before continuing. Then click NEXT

    Select the Required components from the list
    o Oracle Application Server 10g Portal
    o Oracle Application Server 10g Wireless
    o Oracle Application Server Discoverer
    o Oracle Applications Server Personalization
    o Oracle Applications Server Forms Services
    o Oracle Applications Server Report Services



    Then Click Next



    o Specify the Port Configuration Options as Automatic

    Registering with Oracle Internet Directory




    o Specify Hostname
    o Specify Port (389 for Normal and 686 for SSL)
    Note:
    1. Hostname can be obtained by the following command
    # hostname
    Csdtest.oneapps.com
    2. Port no can be obtained by the following command
    # vi /OraHome_1/install/portlist.ini
    Specify the Hostname & Port No Then
    Click Next
    Specify OID Login




    o Go for the Default name
    o Specify password for the same
    o Then Click NEXT
    Then Finalize the setting same as for Infra Tier Except the instance name (Specify
    different Instance name for Middle Tier)


    Configuring Bash_profiles
    --------------------------------
    FOR INFRA TIER
    o Switch to orainfra user
    # su – orainfra
    o Edit the Following Parameter in the bash_profile

    # vi .bash_profile

    ORACLE_HOME=
    export ORACLE_HOME
    PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin
    export PATH
    ORACLE_SID=
    export ORACLE_SID=
    unset USERNAME
    Then Run the same by the Following command
    # . .bash_profile

    FOR MIDDLE TIER
    o Switch to oramid user
    # su – oramid
    o Edit the Following Parameter in the bash_profile

    # vi .bash_profile

    ORACLE_HOME=
    export ORACLE_HOME
    PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin
    export PATH
    unset USERNAME

    Then Run the same by the Following command
    # . .bash_profile
    POST INSTALLATION ACTIVITIES
    INFRA Tier
    Starting Services
     Start the Listener
     Start the Database
     Start all the services of Oracle Process Management Notifications
    (opmnctl)
     Start the services of Enterprise Manager Control (emctl).

    # su - orainfra
    # lsnrctl status / start
    # sqlplus “ / as sysdba”
    ( if connected to an Idle Instance then issue STARTUP
    command)
    # opmnctl startall / status
    # emctl start / status iasconsole
    # emctl start / status dbconsole

    Note:
    1.If some components of opmnctl is not coming up (down) then issue the
    following command to bring it alive.
    # opmnctl startproc ias-component =
    2. Start the service in the Given Sequence.

    MIDDLE Tier
    --------------
    Starting Services
     Start all the services of Oracle Process Management Notifications
    (pmnctl)
     Start the services of Enterprise Manager Control (emctl).
    # opmnctl startall / status
    # emctl start / status iasconsole
    # emctl start / status dbconsole

    Note:
    1.If some components of opmnctl is not coming up (down) then issue the
    following command to bring it alive.
    # opmnctl startproc ias-component =
    2. Shutdown the services in the Reverse Order
    i.e, First stop all the services of Middle Tier
    # emctl stop iasconsole
    # opmnctl stopall
    Then,
    Do the same for Infra Tier and Shutdown the Database and Stop the
    Listener.
    posted by Senthil Kumaran @ 3:43 AM   0 comments
    Installing Oracle Database 9i (9.2.0.8) on RHEL 4
    Monday, July 14, 2008
    Prerequisites to Install Oracle Database 9i (9.2.0.8) on RHEL 4
    -------------------------------------------------------------------------

    Things to check before installation:
    ------------------------------------------
    Prerequisite Red Hat Packages:
    ---------------------------------------
    Install below Red Hat RPM packages:

    make-3.80-6.EL4
    compat-db-4.1.25-9
    compat-gcc-32-3.2.3-47.3
    compat-gcc-32-c++-3.2.3-47.3
    compat-oracle-rhel4-1.0-5
    compat-libcwait-2.0-2
    compat-libgcc-296-2.96-132.7.2
    compat-libstdc++-296-2.96-132.7.2
    compat-libstdc++-33-3.2.3-47.3
    gcc-3.4.6-3
    gcc-c++-3.4.6-3
    gnome-libs-1.4.1.2.90-44.1
    gnome-libs-devel-1.4.1.2.90-44.1
    libaio-devel-0.3.105-2
    libaio-0.3.105-2
    openmotif21-2.1.30-11.RHEL4.6
    xorg-x11-deprecated-libs-devel-6.8.2-1.EL.13.37.5
    xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.5

    Oracle Supplied Compat Packages:
    ----------------------------------------
    compat-oracle-rhel4-1.0-5.i386.rpm
    compat-libcwait-2.0-2.i386.rpm

    Oracle Software:
    --------------------
    Download below files
    ship_9204_linux_disk1.cpio.gz
    ship_9204_linux_disk2.cpio.gz
    ship_9204_linux_disk3.cpio.gz

    Patches:
    --------------
    p4198954_21_LINUX.zip
    p4547809_92080_LINUX.zip
    p5632264_92080_LINUX.zip

    Check Installed Required RPMs
    -------------------------------------
    rpm -q make compat-db compat-gcc-32 compat-gcc-32-c++ compat-oracle-rhel4 compat-libcwait compat-libgcc-296 compat-libstdc++-296 compat-libstdc++-33 gcc gcc-c++ gnome-libs gnome-libs-devel libaio-devel libaio openmotif21 xorg-x11-deprecated-libs-devel xorg-x11-deprecated-libs


    If any of packages are not installed, Download and intsall that packages using below command
    rpm -ivh (or)Uvh packagename --nodeps
    -ivh – to install packages
    -Uvh – to upgrade packages
    -- nodeps to uncheck dependencies.


    Install oracle supplied packages:
    -------------------------------------------

    [root@csd u01]# cd 4198954/
    [root@csd 4198954]# rpm -Uvh compat-oracle-rhel4-1.0-5.i386.rpm compat-libcwait-2.0-2.i386.rpm
    Preparing... ########################################### [100%]
    cat: /etc/ld.so.preload: No such file or directory
    1:compat-libcwait ########################################### [ 50%]
    2:compat-oracle-rhel4 ########################################### [100%]
    [root@deskpro 4198954]#

    Create USER and GROUPS:
    --------------------------------

    [root@csd ~]# groupadd dba
    [root@csd ~]# groupadd oinstall
    [root@csd ~]# useradd -c "Oracle software owner" -g oinstall -G dba oracle
    [root@csd ~]# passwd oracle
    Changing password for user oracle.
    New UNIX password:
    Retype new UNIX password:
    passwd: all authentication tokens updated successfully.
    [root@csd 4198954]#

    Create Oracle Software Directory:
    -----------------------------------------

    [root@csd ~]# mkdir -p /u01/app/oracle/product/9.2.0
    [root@csd ~]# chown -R oracle.oinstall /u01
    [root@csd ~]# chmod -R 775 /u01

    Set Kernel Parameters, File Handlers, and Limits:
    -------------------------------------------------------
    Adding these parameters to /etc/sysctl.conf will take effect only after reboot. To make this effective immediately, issue the following command

    net.ipv4.ip_forward = 0
    net.ipv4.conf.default.rp_filter = 1
    net.ipv4.conf.default.accept_source_route = 0
    kernel.sysrq = 0
    kernel.core_uses_pid = 1
    kernel.shmmax = 1073741824
    kernel.shmmni = 4096
    kernel.shmall = 2097152
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536

    Shell Limits:
    --------------------
    Login as root, and add below lines to /etc/security/limits.conf
    oracle soft nofile 63536
    oracle hard nofile 63536
    oracle soft nproc 16384
    oracle hard nproc 16384
    Add soft and hard limit to ~oracle/.bash_profile
    ulimit -n 63536
    ulimit -u 16384

    Create Swap Space:
    -------------------------
    root@csd ~]# grep MemTotal /proc/meminfo
    MemTotal: 385956 kB
    [root@csd ~]# cat /proc/swaps
    Filename Type Size Used Priority
    /dev/hda2 partition 1048468 160 -1

    Here is the command to create temporary swap space.
    [root@csd ~]# dd if=/dev/zero of=tmpswap bs=1k count=900000
    900000+0 records in
    900000+0 records out
    [root@csd ~]# chmod 600 tmpswap
    [root@csd ~]# mkswap tmpswap
    Setting up swapspace version 1, size = 921595 kB
    [root@csd ~]# swapon tmpswap

    Setup Oracle Environment Variables:
    -------------------------------------------
    Add below lines to ~oracle/.bash_profile
    export LD_ASSUME_KERNEL=2.4.19
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/9.2.0
    export ORACLE_SID=db9i1
    export ORACLE_TERM=xterm
    export NLS_LANG=AMERICAN

    export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    export PATH=$PATH:$ORACLE_HOME/bin
    Unpack Oracle Software Archives:

    [oracle@csd ~]$ gunzip ship_9204_linux_disk1.cpio.gz ship_9204_linux_disk2.cpio.gz ship_9204_linux_disk3.cpio.gz


    [oracle@csd ~]$ cpio -idmv < ship_9204_linux_disk1.cpio
    [oracle@csd ~]$ cpio -idmv < ship_9204_linux_disk2.cpio
    [oracle@csd ~]$ cpio -idmv < ship_9204_linux_disk3.cpio
    [oracle@csd ~]$ chown -R oracle.dba Disk1/ Disk2/ Disk3/

    Verify X-Windows:
    -----------------------
    Execute the below command
    [oracle@csd ~]$ xclock
    If you don’t see a graphical clock on the console then, Issue the below command in terminal
    [oracle@csd ~]$ echo "DISPLAY=localhost:0.0;export DISPLAY"
    [oracle@csd ~]$ source .bash_profile
    [oracle@csd ~]$ xclock

    Starting Oracle Universal Installer:
    --------------------------------------------
    Execute the below command to start the installation
    [oracle@csd ~]$ cd Disk1/
    [oracle@csd Disk1]$ ./runInstaller
    posted by Senthil Kumaran @ 11:32 PM   0 comments
    Opening forms from linux machine
    Opening forms forms from linux machine
    ----------------------------------------------

    I found out no plugins were installed in Firefox yet, so I had to download the sun java plugin.
    I decided to download version 1.5.0.12. After installing the downloaded file, the plugin has to be noticed by Firefox. You can do this by creating a link in the FIREFOX_HOME/plugins directory.

    Create a link to the libjavaplugin_oji.so from the installed jre...
    ln -s /usr/java/jre1.5.0_12/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oij.so

    After the link is created, the java plugin is recognized in Firefox.
    Next step is to let EBS now, you can also use the sun java plgin instead of the default jinitiator. This can be done by adjusting the $OA_HTML/bin/appsweb_sid.cfg and change the following lines.

    sun_plugin_mimetype=application/x-java-applet;jpi-version=1.5.0_12
    sun_plugin_version=1.5.0_12

    After bouncing the webserver you can use the sun java plugin, but also the default jinitiator.
    posted by Senthil Kumaran @ 9:11 PM   0 comments
    Replacing Jinitiator with JRE for Oracle Apps 11i
    Replacing Jinitiator with JRE for Oracle Apps 11i
    ----------------------------------------------------

    Download Interoperability patch 6863618 (Metalink)

    Download the Java Runtime Environment (JRE) 6 plug-in at, http://java.sun.com/javase/downloads/index.jsp

    Downloaded JRE Native plug-in file from jre-6_uX-windows-i586-p.exe and rename to j2se160x.exe
    (Where X = the version number. Using jre-6u5 as an example this would be j2se16005.exe)


    Move the j2se1600X.exe file to the web application tier and place it in [COMMON_TOP]/util/jinitiator


    Apply Developer 6i Patchset 18 ( 4948577 )

    unzip patch to $ORACLE_HOME
    cd $ORACLE_HOME/developer6i_patch18
    ./patch_install.sh 2>&1 | tee patch_install_p18.log

    cd $ORACLE_HOME/procbuilder60/lib; make -f ins_procbuilder.mk install
    cd $ORACLE_HOME/forms60/lib; make -f ins_forms60w.mk install
    cd $ORACLE_HOME/graphics60/lib; make -f ins_graphics60w.mk install
    cd $ORACLE_HOME/reports60/lib; make -f ins_reports60w.mk install

    cp developer6i_patch18/bin/genshlib $ORACLE_HOME/bin


    Additional Patches
    ------------------
    5713544

    sh patch.sh
    adrelink.sh force=y "fnd f60webmx"


    4261542

    cd $ORACLE_HOME
    unzip p4261542_600_GENERIC.zip

    cp -r $ORACLE_HOME/forms60/java/oracle/forms/handler/AlertDialog.class $ORACLE_HOME/forms60/java/oracle/forms/handler/AlertDialog.class.PRE_BUG4261542
    cp -r $ORACLE_HOME/forms60/java/oracle/forms/engine/Main.class $ORACLE_HOME/forms60/java/oracle/forms/engine/Main.class.PRE_BUG4261542

    cd $ORACLE_HOME/4261542/oracle/forms/engine
    cp Main.class $ORACLE_HOME/forms60/java/oracle/forms/engine/Main.class
    cd $ORACLE_HOME/4261542/oracle/forms/handler
    cp AlertDialog.class $ORACLE_HOME/forms60/java/oracle/forms/handler/AlertDialog.class

    Generate Product JAR Files ( adadmin )

    5216496
    sh patch.sh

    5753922
    sh patch.sh
    adrelink.sh force=y "fnd f60webmx"


    6195758
    cd $ORACLE_HOME
    unzip p6195758_600_GENERIC.zip
    cp -r $ORACLE_HOME/forms60/java/oracle/forms/handler/UICommon.class $ORACLE_HOME/forms60/java/oracle/forms/handler/UICommon.class.PRE_BUG6195758
    cp -r $ORACLE_HOME/forms60/java/oracle/forms/handler/ComponentItem.class $ORACLE_HOME/forms60/java/oracle/forms/handler/ComponentItem.class.PRE_BUG6195758
    cd $ORACLE_HOME/6195758/oracle/forms/handler
    cp UICommon.class $ORACLE_HOME/forms60/java/oracle/forms/handler/UICommon.class
    cp ComponentItem.class $ORACLE_HOME/forms60/java/oracle/forms/handler/ComponentItem.class
    Generate Product JAR Files ( adadmin )

    5938515
    sh patch.sh
    adrelink.sh force=y "fnd f60webmx"

    3830807
    sh patch.sh

    4586086
    cd $ORACLE_HOME
    unzip .zip
    cd $ORACLE_HOME/forms60/lib
    mv env_forms60.mk env_forms60.mk.PRE_BUG4586086
    cp $ORACLE_HOME/bug4586086/env_forms60.mk $ORACLE_HOME/forms60/lib
    cd $ORACLE_HOME/forms60/lib
    make -f cus_forms60w.mk libso_install
    adrelink.sh force=y "fnd f60webmx"

    relink - adadmin
    select 'Maintain Applications Files Menu' and then select 'Relink Applications Program'
    Enter list of products to link ('all' for all products)[all] : fnd
    Generate specific executables for each selected product [No] ? y
    Relink with debug information [No] ? n
    Enter executables to relink, or enter 'all' [all] : f60webmx ar60run ar60runb ar60rund *

    4888294 (adpatch )


    5884875

    cd $ORACLE_HOME
    unzip p5884875_600_GENERIC.zip
    cp -r $ORACLE_HOME/forms60/java/oracle/forms/engine/Main.class $ORACLE_HOME/forms60/java/oracle/forms/engine/Main.class.PRE_BUG5884875
    cp -r $ORACLE_HOME/forms60/java/oracle/forms/handler/AlertDialog.class $ORACLE_HOME/forms60/java/oracle/forms/handler/AlertDialog.class.PRE_BUG5884875
    cd $ORACLE_HOME/5884875/oracle/forms/engine
    cp Main.class $ORACLE_HOME/forms60/java/oracle/forms/engine/Main.class
    cd $ORACLE_HOME/5884875/oracle/forms/handler
    cp AlertDialog.class $ORACLE_HOME/forms60/java/oracle/forms/engine/AlertDialog.class
    Run adadmin "Generate JAR Files"


    (6863618)
    ---------

    Apply the Patch Driver using adpatch
    Run the txkSetPlugin.sh script from the /6863618/fnd/bin/

    txkSetPlugin.sh 16005


    Start Oracle Applicatons 11.5.10.2 and start using Java instead of Jinititor for Applets
    posted by Senthil Kumaran @ 8:53 PM   0 comments
    Disable concurrent manager
    Tuesday, July 8, 2008
    Disable concurrent manager:
    ====================
    1. Log in as application user

    2. Stop all application services

    3. Go to $INST_TOP/appl/admin/

    Then Change the parameter "s_concstatus" from enabled to disabled


    run autoconfig. And start application services.
    posted by Senthil Kumaran @ 4:09 AM   0 comments
    About Me

    Name: Senthil Kumaran
    Home: Oslo, Oslo, Norway
    About Me: I'm working as a oracle applications dba(Apps DBA OCP) and fusion middleware.This views are my own only and not neccessary to match with others
    See my complete profile Add to Technorati Favorites
    Previous Post
    Archives
    Links
    Powered by

    BLOGGER

    Add On

    Add to Google

    Add to My AOL

    Subscribe in Bloglines

    Subscribe in NewsGator Online

    © Oracle AppsDBAs World Blogspot Template by SENTHIL KUMARAN SL