EBS R12.2 adop phase=prepare 與 adop phase=fs_clone 的關係與區別

tolywang發表於2015-02-12

R12.2  中adop phase=prepare 與 adop phase=fs_clone 都可以實現  fs1 (run fs) 與 fs2 (patch fs) 同步,那麼他們的關係及區別是什麼? 

參考  

Prepare the system for patching by running the following command to start a new patching cycle:  
$ adop phase=prepare  
 
In this step, the patch fs APPL_TOP is synchronized with the run file system APPL_TOP. This can be done by either of two methods, the first is the default:

Method 1 - Identify the patches that were applied to the run APPL_TOP and apply them to the patch APPL_TOP. The following steps are performed automatically:
 
The list of patches that need to be applied to the patch APPL_TOP are identified from the database.  
 
The merged patches are applied using the adop utility.  
 
This lightweight process is the preferred approach. The adop tool identifies the delta patches to be applied, and applies them silently to the current patch APPL_TOP. As this procedure only requires the application of delta patches, it is relatively fast compared to Method 2 (below).    
這種方法除了同步外,還做一些apply前的檢查動作。


Method 2 - Create a new patch file system by cloning the run file system. 

This method is useful if the APPL_TOPs have become very unsynchronized (meaning that there would be a large number of delta patches to apply). It is a

heavyweight process, taking a backup of the entire current patch APPL_TOP and then cloning the run APPL_TOP to create a new patch APPL_TOP. A total

of least 75 GB of free disk space is required. Also, you will need at least 25 GB of free space in your temporary directory (typically /tmp). This method is more

resource intensive, and will only be used when the state of the patch file system is unknown.
 
The steps are as follows:

The fs_clone phase is run using the following command:
$ adop phase=fs_clone

This command must be invoked from the run file system, before the next prepare phase is run.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-1434108/,如需轉載,請註明出處,否則將追究法律責任。

相關文章