配置ISP节点

生成CONTEXT_FILE文件

mkdir /u01/prod/inst/virtualext
cd $COMMON_TOP/clone/bin
perl adclonectx.pl contextfile=/u01/prod/inst/apps/prod_r1213/appl/admin/prod_r1213.xml outfile=/u01/prod/inst/virtualext/prod_ext.xml

按照提示完成下面步骤:

Target System Hostname (virtual or normal) [r1213] : ext

Target System Database SID : prod

Target System Database Server Node [ext] : r1213

Target System Database Domain Name [home.net] :

Target System Base Directory : /u01/prod

Target System Tools ORACLE_HOME Directory [/u01/prod/apps/tech_st/10.1.2] :

Target System Web ORACLE_HOME Directory [/u01/prod/apps/tech_st/10.1.3] :

Target System APPL_TOP Directory [/u01/prod/apps/apps_st/appl] :

Target System COMMON_TOP Directory [/u01/prod/apps/apps_st/comn] :

Target System Instance Home Directory [/u01/prod/inst] :

Username for the Applications File System Owner [appltest] :

Group for the Applications File System Owner [dba] :

Target System Root Service [enabled] :

Target System Web Entry Point Services [enabled] :

Target System Web Application Services [enabled] :

Target System Batch Processing Services [enabled] :

Target System Other Services [disabled] :

Do you want to preserve the Display [r1213:1.0] (y/n)  : y

Do you want the the target system to have the same port values as the source system (y/n) [y] ? : n

Target System Port Pool [0-99] : 0
Report file located at /u01/prod/inst/apps/prod_ext/admin/out/portpool.lst
Complete port information available at /u01/prod/inst/apps/prod_ext/admin/out/portpool.lst

UTL_FILE_DIR on database tier consists of the following directories.

1. /usr/tmp
2. /u01/prod/temp
3. /u01/prod/db/tech_st/11.2.0/appsutil/outbound/prod_r1213
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1] : 2

Creating the new APPL_TOP Context file from :
  /u01/prod/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp

The new APPL_TOP context file has been created :
  /u01/prod/inst/virtualext/prod_ext.xml

Log file located at /u01/prod/inst/virtualext/log/CloneContext_0331113156.log
contextfile=/u01/prod/inst/virtualext/prod_ext.xml
Check Clone Context logfile /u01/prod/inst/virtualext/log/CloneContext_0331113156.log for details.


### 按照context文件内容,创建目录

s_config_home
s_ora_config_home
s_logs_dir
s_pids_dir

grep -e s_config_home -e s_ora_config_home -e s_logs_dir -e s_pids_dir /u01/prod/inst/virtualext/prod_ext.xml

         <config_home oa_var="s_config_home">/u01/prod/inst/apps/prod_ext</config_home>
         <ora_config_home oa_var="s_ora_config_home">/u01/prod/inst/apps/prod_ext/ora</ora_config_home>
         <logs_dir oa_var="s_logs_dir">/u01/prod/inst/apps/prod_ext/logs</logs_dir>
         <pids_dir oa_var="s_pids_dir">/u01/prod/inst/apps/prod_ext/pids</pids_dir>

mkdir -p /u01/prod/inst/apps/prod_ext
mkdir -p /u01/prod/inst/apps/prod_ext/ora
mkdir -p /u01/prod/inst/apps/prod_ext/logs
mkdir -p /u01/prod/inst/apps/prod_ext/pids

grep -E 's_config_home|s_ora_config_home|s_logs_dir|s_pids_dir' /u01/prod/inst/virtualext/prod_ext.xml

修改context_file

<TIER_ADMIN oa_var="s_isAdmin">NO</TIER_ADMIN>
<TIER_FORMS oa_var="s_isForms">NO</TIER_FORMS>
<TIER_NODE oa_var="s_isConc">NO</TIER_NODE>
<TIER_FORMSDEV oa_var="s_isFormsDev">NO</TIER_FORMSDEV>
<TIER_NODEDEV oa_var="s_isConcDev">NO</TIER_NODEDEV>


s_active_webport
s_login_page
s_server_ip_addres
s_oc4j_cluster_nodes(修改为和s_ons_remoteport端口相同)
s_external_url
s_jsp_main_mode(设置为recompile)

使用下面命令查看端口冲突

java oracle/apps/ad/util/PortPool -e /u01/prod/inst/virtualext/prod_ext.xml -pool 0

修改PROFILE属性为SERVERRESP

sqlplus apps/apps @$FND_TOP/patch/115/sql/txkChangeProfH.sql SERVRESP

运行autoconfig

$AD_TOP/bin/adconfig.sh
/u01/prod/inst/virtualext/prod_ext.xml

启动外网应用

/u01/prod/inst/apps/prod_ext/admin/scripts/adopmnctl.sh startall
/u01/prod/inst/apps/prod_ext/admin/scripts/adopmnctl.sh stopall

花菜土豆粉
67 声望27 粉丝

Life with Oracle


引用和评论

0 条评论