溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

Oracle EBS12.2 注冊(cè)客制化應(yīng)用

發(fā)布時(shí)間:2020-07-12 15:09:34 來(lái)源:網(wǎng)絡(luò) 閱讀:1470 作者:PengChonggui 欄目:關(guān)系型數(shù)據(jù)庫(kù)

一、Oracle APP和DB的基本信息

1、應(yīng)用和數(shù)據(jù)庫(kù)環(huán)境:

  Application Node in Linux7.3

  Database Node on Linux 7.3


2、Oracle EBS 應(yīng)用版本:

    R12.2.6 on Linux7.3  x_86(64bit)


3、數(shù)據(jù)庫(kù)信息:

   Oracle  Database R12.1.0.2 on Linux 7.3 x_86(64bit)


二、實(shí)現(xiàn)步驟

1、在數(shù)據(jù)庫(kù)中創(chuàng)建cux用戶,并授權(quán)。相關(guān)命令如下:

--(1)創(chuàng)建cux用戶
    CREATE USER CUX IDENTIFIED BY CUX
    DEFAULT TABLESPACE APPS_TS_TX_DATA
    TEMPORARY TABLESPACE TEMP1
    PROFILE DEFAULT
    ACCOUNT UNLOCK; 
--(2)給出現(xiàn)用戶授權(quán)
    GRANT CONNECT, RESOURCE TO CUX; 
    GRANT CREATE ANY CONTEXT TO CUX; 
    GRANT CREATE ANY TYPE TO CUX; 
    GRANT CREATE CLUSTER TO CUX; 
    GRANT CREATE DATABASE LINK TO CUX; 
    GRANT CREATE DIMENSION TO CUX; 
    GRANT CREATE INDEXTYPE TO CUX; 
    GRANT CREATE LIBRARY TO CUX; 
    GRANT CREATE MATERIALIZED VIEW TO CUX; 
    GRANT CREATE OPERATOR TO CUX; 
    GRANT CREATE PROCEDURE TO CUX; 
    GRANT CREATE PUBLIC SYNONYM TO CUX; 
    GRANT CREATE SEQUENCE TO CUX; 
    GRANT CREATE SYNONYM TO CUX; 
    GRANT CREATE TABLE TO CUX; 
    GRANT CREATE TRIGGER TO CUX; 
    GRANT CREATE TYPE TO CUX; 
    GRANT CREATE VIEW TO CUX;

2、在Oracle官方網(wǎng)站下載3636980補(bǔ)丁,補(bǔ)丁為p3636980_R12_GENERIC.zip。

3、解壓補(bǔ)丁p3636980_R12_GENERIC.zip,并將一下三個(gè)文件從p3636980_R12_GENERIC\3636980\izu\admin
下copy到當(dāng)前用戶的desktop/ 下。文件如下:

    izuprod.txt
    izuterr.txt
    newprods.txt

4、izupord.txt重命名為cuxprod.txt,izuterr.txt 重命名為cuxterr.txt。相關(guān)命令如下:
  
   mv  izupord.txt cuxprod.txt
   mv  izuterr.txt cuxterr.txt
  
5、使用文本編輯器打開cuxprod.txt文件,將izu替換為cux,將IZU替換為CUX .

    %%% Splicer control file format 12.0.A
    #
    # $Header: newprods.txt 120.1 2006/09/20 12:57:45 jaobrien noship $
    #
    #
    # Section for Oracle Support Diagnostic Tools
    
    product=cux
    base_product_top=*APPL_TOP*
    oracle_schema=cux
    sizing_factor=100
    main_tspace=APPS_TS_TX_DATA
    index_tspace=APPS_TS_TX_IDX
    temp_tspace=TEMP1
    default_tspace=APPS_TS_TX_DATA
    
    # end of Oracle Support Diagnostic Tools

 
 6、使用文本編輯器打開cuxprod.txt,完成一下操作:
 (1)將cuxprod.txt文檔中所有的izu替換為cux,IZU替換為CUX。
 (2)修改產(chǎn)品的applID,將278修改為50000以上沒有被使用的APPLID。檢查APPLID 的SQL語(yǔ)句如下:
    SQL>select
        decode(count ,0, 'Selected number is Available', 'Selected number already in
        use') Status, &&enter_custom_applID
        selected_number
        from
        (
        select count(*) as count from
        (
        select 'x' from fnd_oracle_userid
        where oracle_id= &&enter_custom_applID
        union
        select 'x' from fnd_application
        where application_id= &&enter_custom_applID)
        );
        如果想將278修改為50303,那么就在enter_custom_applID輸入50303。若出現(xiàn)Selected number is Available
 表示50303可用。


7、使用文本編輯器打開cuxterr.txt,執(zhí)行如下操作:

    (1)將izu替換為cux,將IZU替換為CUX 。

    (2)將 Oracle_Support_Diagnostic_Tools 修改為 abcd_custom_appl


8、將以下三個(gè)文件拷貝到$APPL_TOP/admin 目錄下。

        cuxprod.txt

        cuxterr.txt

        newprods.txt


9、切換到$APPL_TOP/admin目錄下,執(zhí)行如下命令

    $ adsplice
     Copyright (c) 2002, 2012 Oracle Corporation
                        Redwood Shores, California, USA

                                   AD Splicer

                                 Version 12.2.0

NOTE: You may not use this utility for custom development
      unless you have written permission from Oracle Corporation.

Your default directory is '/home/oraebs/apps/PROD/fs1/EBSapps/appl'.
Is this the correct APPL_TOP [Yes] ? 

AD Splicer records your AD Splicer session in a text file
you specify.  Enter your AD Splicer log file name or press [Return]
to accept the default file name shown in brackets.

Your default directory is '/u01/app/oracle/fs1/EBSapps/appl'.
Is this the correct APPL_TOP [Yes] ?
Filename
[adsplice.log] : adsplice_xxont.log
You are
about to install or upgrade Oracle E-Business Suite product tables
in your ORACLE database 'D599'
using ORACLE executables in '/u01/app/oracle/fs1/EBSapps/10.1.2'.
Is this the correct database [Yes] ?
Enter
the password for your 'SYSTEM' ORACLE schema:
Enter
the ORACLE password of Application Object Library [APPS] :
Please
enter the directory where your AD Splicer control file is located.
The default directory is [/u01/app/oracle/fs1/EBSapps/appl/admin] :
Please enter the name of your AD Splicer control file [newprods.txt] :
Do you
wish to regenerate your environment file [Yes] ?
Checking
if AutoConfig is enabled....
Running
AutoConfig on : All products ...


11、通過以下SQL語(yǔ)句,檢查 adsplice 和 autoconfig 執(zhí)行后的結(jié)果。

select  * from fnd_application where application_short_name = 'CUX';
select  * from fnd_product_installations where APPLICATION_ID = 50303;
select  * from dba_users where username = 'CUX';


登錄用戶節(jié)點(diǎn),檢查系統(tǒng)環(huán)境。

$ env|grep XXONT
XXONT_TOP=/u01/app/oracle/fs1/EBSapps/appl/xxont/12.0.0
$ ls $XXONT_TOP
admin  log  mesg  out  sql


如果您正在使用共享的APPL_TOP,則需要在其中一個(gè)節(jié)點(diǎn)上執(zhí)行所有這些過程,然后在其他節(jié)點(diǎn)上運(yùn)行
autoconfig。你不必重新運(yùn)行adsplice。如果APPL_TOP未共享,請(qǐng)重復(fù)步驟8,9,10和11。
向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI