AutoConfig Tools

本文介绍了如何使用AutoConfig工具在Oracle E-Business Suite Release 12中管理应用程序和数据库层级的系统配置。主要内容包括:运行前检查、AutoConfig在不同层级上的运行步骤、查看日志文件、回滚操作及更新AutoConfig到最新版本的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12 [ID 387859.1]
----------------------------------------------

Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12 

AutoConfig Tools

----adautocfg.sh/cmd 
On Applications Tier:
<INST_TOP>/admin/scripts 

On Database Tier:
<RDBMS_ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME>

----adchkcfg.sh/cmd 
On Applications Tier:
<AD_TOP>/bin

On Database Tier:
<RDBMS_ORACLE_HOME>/appsutil/bin 
 
Before running AutoConfig, the Check Config utility may be run to review the changes that would occur in the file system as well as the database in the next AutoConfig run. This step is optional. 

 On the Database tier: 
### On Unix: 
sh <RDBMS_ORACLE_HOME>/appsutil/bin/adchkcfg.sh contextfile=<CONTEXT_FILE> 
### On Windows: 
<RDBMS_ORACLE_HOME>\appsutil\bin\adchkcfg.cmd contextfile=<CONTEXT_FILE> 

 On the Applications tier: 
### On Unix: 
sh <AD_TOP>/bin/adchkcfg.sh contextfile=<CONTEXT_FILE> 
### On Windows: 
<AD_TOP>\bin\adchkcfg.cmd contextfile=<CONTEXT_FILE> 

Run AutoConfig on the Database Tier
Running AutoConfig on the database tier is required in the following scenarios: 

## After migrating a patch to the database tier, the Check Config utility reports any potential changes to the templates.
## After customizations on the database tier 
## After a database or application tier upgrade
## After restoration of the database or Oracle Home from a backup tape
## After a JDK upgrade on the database tier
## After the Net Services Topology Information is manually cleaned up using one of the supported procedures(eg. fnd_conc_clone.setup_clean). Subsequently, AutoConfig must be run on the application tier nodes.
## After registration of a RAC node.
## After setting up the APPL_TOP on a shared file system.
## All other cases where documentation says that AutoConfig should be run on the database tier. 
Execute the following command to run AutoConfig on the database tier. 

### On Unix: 
sh <RDBMS_ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME>/adautocfg.sh 
### On Windows: 
<RDBMS_ORACLE_HOME>\appsutil\scripts\<CONTEXT_NAME>\adautocfg.cmd

Attention: 
## The database server and the database listener must remain available during the AutoConfig run. All the other database tier services should be shut down. 
## Running AutoConfig may change your existing environment files. After running AutoConfig, you should always set the environment before you run any Applications utilities, in order to apply the changed environment variables.
 

Run AutoConfig on the Application Tier
Run AutoConfig on all application tier nodes. 

### On Unix: 
sh <INST_TOP>/admin/scripts/adautocfg.sh 

### On Windows: 
<INST_TOP>\admin\scripts\adautocfg.cmd

Attention: 
## The database server and the database listener must remain available during the AutoConfig run. Only the application tier servers should be shut down.
## Running AutoConfig may change your existing environment files. After running AutoConfig, you should always set the environment before you run any Applications utilities, in order to apply the changed environment variables.
 

Reviewing AutoConfig Log Files
AutoConfig logfiles are stored under:

Application: <INST_TOP>/admin/log/<MMDDhhmm> 
Database: <RDBMS ORACLE_HOME>/appsutil/log/<CONTEXT_NAME>/<MMDDhhmm> 

One log file is created per AutoConfig session. It will contain details of every action that AutoConfig performed during the run.

Rolling Back an AutoConfig Session
Each AutoConfig run of creates a rollback script you can use to revert to the previous configuration settings if necessary. The script and all backup configuration files from each AutoConfig session are stored in:

Tier  Directory  
Application: <INST_TOP>/admin/out/<MMDDhhmm> 
Database: <RDBMS ORACLE_HOME>/appsutil/out/<CONTEXT_NAME>/<MMDDhhmm> 


To roll back an AutoConfig session, execute the following commands: 

### On UNIX 
restore.sh

### On Windows 
restore.cmd

Applying the Latest AutoConfig Updates 
In order to get the latest AutoConfig updates on both the applications tier and the database tier, perform the following steps in the order listed:

a.Apply the TXK AutoConfig Template patch
Update the Oracle Applications file system with the AutoConfig files by applying the latest AutoConfig Template patch (Patch 9386653 for 12.0.X customers and Patch 8919489 for 12.1.X customers) to all application tier nodes in the Applications instance.

Note: ADX and TXK rollup patches for configuration management have been combined.  


b.Copy AutoConfig to the RDBMS ORACLE_HOME 
Update the RDBMS ORACLE_HOME file system with the AutoConfig files by performing the following steps:

?On the application tier (as the APPLMGR user):

■Log in to the APPL_TOP environment (source the environment file)
■Create appsutil.zip file 

perl <AD_TOP>/bin/admkappsutil.pl

■This will create appsutil.zip in <INST_TOP>/admin/out


?On the database tier (as the ORACLE user): 
■Copy or FTP the appsutil.zip file to the <RDBMS ORACLE_HOME> 

cd <RDBMS ORACLE_HOME>
unzip -o appsutil.zip

c.Run AutoConfig 
Run AutoConfig on the database tier and then on the applications tier



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值