6. Cutover Phase包含一下过程 :
1.Finalize (cutover也包括了finalize phase, 提前进行finalize可以节省cutover的时间)
2.Application Tier Services Switch
3.Database Cutover
4.File System Cutover
5.Retire Old Editions
6.Terminate Old Database Sessions
7.Application Tier Services Switch
因为数据库表的特殊性(size过大,不像应用code那么小),所以需要在cutover之前进行同步 (同步指的是runtime版本的table中的变化数据通过trigger同步到patch版本的table中,反过来,patch apply带来的变更仅仅在patch版本的table中进行,不会同步实施到runtime版本的table), 不像APP两套file system,patch apply期间应用不同步, 到了Cutover 阶段再进行交换 。
一, EBS R12.2环境
1. 环境文件
环境变量中会有如下几个:
$FILE_EDITION = patch 或者 run
$RUN_BASE = /u01/R122_EBS/fs1
$PATCH_BASE = /u01/R122_EBS/fs2
$NE_BASE = /u01/R122_EBS/fs_ne
R12.2 的环境文件在 /u01/R122_EBS/EBSapps.env
$FILE_EDITION: Current fs edition type sourced values run or patch
$RUN_BASE: RUN file system base directory
$PATCH_BASE: Patch file system base directory
$NE_BASE: non-editioned file systems base directory
$APPL_TOP_NE: Application top that stores product files considered data
在设置环境变量后,用户登入时会提示是进入run[R]还是patch[P]环境。
File System1 (fs1)– Stores a complete copy of all applications and Middle Tier code
File System1 (fs2)– Stores a complete copy of all applications and Middle Tier code
fs_ne - File System NON Editioned (FS_NE)
– Stores data that is written or read from the file system
– Report Outputs
– Log Files etc
手工切换run及patch文件系统:
$ . /u01/R122_EBS/EBSapps.env run - 切换到run edition 文件系统
$ . /u01/R122_EBS/EBSapps.env patch - 切换到patch edition 文件系统
2.Application Tier Services Switch
3.Database Cutover
4.File System Cutover
5.Retire Old Editions
6.Terminate Old Database Sessions
7.Application Tier Services Switch
因为数据库表的特殊性(size过大,不像应用code那么小),所以需要在cutover之前进行同步 (同步指的是runtime版本的table中的变化数据通过trigger同步到patch版本的table中,反过来,patch apply带来的变更仅仅在patch版本的table中进行,不会同步实施到runtime版本的table), 不像APP两套file system,patch apply期间应用不同步, 到了Cutover 阶段再进行交换 。
一, EBS R12.2环境
1. 环境文件
环境变量中会有如下几个:
$FILE_EDITION = patch 或者 run
$RUN_BASE = /u01/R122_EBS/fs1
$PATCH_BASE = /u01/R122_EBS/fs2
$NE_BASE = /u01/R122_EBS/fs_ne
R12.2 的环境文件在 /u01/R122_EBS/EBSapps.env
$FILE_EDITION: Current fs edition type sourced values run or patch
$RUN_BASE: RUN file system base directory
$PATCH_BASE: Patch file system base directory
$NE_BASE: non-editioned file systems base directory
$APPL_TOP_NE: Application top that stores product files considered data
在设置环境变量后,用户登入时会提示是进入run[R]还是patch[P]环境。
File System1 (fs1)– Stores a complete copy of all applications and Middle Tier code
File System1 (fs2)– Stores a complete copy of all applications and Middle Tier code
fs_ne - File System NON Editioned (FS_NE)
– Stores data that is written or read from the file system
– Report Outputs
– Log Files etc
手工切换run及patch文件系统:
$ . /u01/R122_EBS/EBSapps.env run - 切换到run edition 文件系统
$ . /u01/R122_EBS/EBSapps.env patch - 切换到patch edition 文件系统
本文转自ITPUB博客tolywang的博客,原文链接:EBS R12.2 ADOP (R12.2 AD Online Patching) - 2,如需转载请自行联系原博主。