AD Merge(admrgpch)将多个Patch合并为一个
在早期的patch 中可能有‘c2834825.drv d2834825.drv g2834825.drv’,其实是一个patch的三个driver, 分别是copy driver, database driver和generate driver, 是要在apps和db tier分别执行的。
而现在的patch通常只有u***.drv一个unified driver, 是将这(c,d,g)三个driver整合在一起的了,所以看起来似乎只有一个*.drv文件。
而现在的patch通常只有u***.drv一个unified driver, 是将这(c,d,g)三个driver整合在一起的了,所以看起来似乎只有一个*.drv文件。
建议:在merge patch的时候,做好所打patch版本的记录,因为merge patch后,在系统中查找不到你应用过的具体patch号,只有一个你merge patch的名称.
Running AD Merge Patch
AD Merge Patch is located in AD_TOP/bin. However, you run it from the parent directory of the source directory.
1. Set the environment.
You must set the environment to indicate the location of the configuration parameters that define your system. This task is common to many AD utilities.
AD Merge Patch is located in AD_TOP/bin. However, you run it from the parent directory of the source directory.
1. Set the environment.
You must set the environment to indicate the location of the configuration parameters that define your system. This task is common to many AD utilities.
2. Run AD Merge Patch.
From the <top> directory, run AD Merge patch as follows:
From the <top> directory, run AD Merge patch as follows:
admrgpch -s <source directory> -d <destination directory> -merge_name <name> [-manifest <manifest filename>]
For example, if you have four patches called 1234561, 1234562, 1234563, and 1234564 located in the source directory /d01/patch_merge/source, and the destination directory is/d01/patch_merge/destination. To create a merged patch
named "merge99", you would use the following commands:
named "merge99", you would use the following commands:
UNIX:
$ cd /d01/patch_merge
$ cd /d01/patch_merge
$ ls ./source
1234561 1234562 1234563 1234564
$ admrgpch -s /d01/patch_merge/source -d /d01/patch_merge/destination \
$ admrgpch -s /d01/patch_merge/source -d /d01/patch_merge/destination \
-merge_name merge99
Windows:
C:\> cd \d01\patch_merge
C:\> admrgpch -s d:\patch_merge\source -d d:\patch_merge\destination \
-merge_name merge99
C:\> cd \d01\patch_merge
C:\> admrgpch -s d:\patch_merge\source -d d:\patch_merge\destination \
-merge_name merge99