ADOP - Useful Commands


I this post I am sharing different options available for ADOP.


    Display examples of the various adop parameters by entering the command:

    adop -examples
      To obtain help about the basics of adop operation
      adop -help
        Online Patching Cycle
        source <ebs_root>/EBSapps.env run
        adop phase=prepare
        adop phase=apply patches=123456
        adop phase=finalize
        adop phase=cutover
        source <ebs_root>/EBSapps.env run
        adop phase=cleanup
          Run Prepare Phase
          adop phase=prepare
            Run apply phase
            adop phase=apply patches=123456
              Run Finalize phase
              adop phase=finalize
                Run Cutover phase
                adop phase=cutover
                  Run Cleanup phase
                  adop phase=cleanup
                    Run fs_clone phase
                    adop phase=fs_clone
                      Combining multiple in a single adop command. Example – combined finalize/cutover/cleanup:
                      adop phase=finalize,cutover,cleanup
                        Restart the failed adop session incase you want to start from failure
                        adop phase=apply patches=123456 restart=yes
                          Restart the failed adop session incase you want to start from the very beginning
                          adop phase=apply patches=123456 abandon=yes
                            If you want to ignore a previously failed patch and apply a different one instead, you need to specify the new patch number and abandon=yes on the command line:
                            adop phase=apply patches=123456 abandon=yes
                              “Continue As If It Were Successful” error:
                              $ adop phase=apply patches=<patch list> abandon=no restart=yes flags=autoskip
                                 How to define workers in adop:
                                $ adop phase=apply patches=<patch list> workers=5
                                  How to re-apply patch forcefully:
                                  $ adop phase=apply patches=<patch list> options=forceapply
                                    How to define patchtop in adop:
                                    $ adop phase=apply patches=<patch list> patchtop=<patch location base>
                                      How to merge patch in adop
                                      $ adop phase=apply patches=<patch list> merge=yes
                                        How to stop application from restarting after cutover
                                        adop phase=cutover mtrestart=no
                                          adop exit incase of failure in jobs. If you want it to wait for action through adctrl.
                                          adop phase=apply patches=123456 wait_on_failed_job=yes
                                            How to apply patch directly to run file system with no downtime
                                            $ adop phase=apply patches=<patch_list> hotpatch=yes
                                              How apply a single patch to an NLS installation
                                              This procedure assumes that you will apply US and language patches separately.
                                              a. Use adop to start a new patching cycle 
                                              
                                              adop phase=prepare
                                              
                                              b. Use adop to apply the patch driver of the US patch.
                                              
                                              adop phase=prepare patches=123456
                                              
                                              c. Use adop to apply the patch drivers of each NLS patch. If you have merged the individual NLS patches for a system that runs multiple languages, apply the driver for the merged NLS patch.
                                              
                                              adop phase=apply patches=123456_JA:u123456.drv workers=8
                                              
                                              d. Use adop to complete the patching cycle 
                                              adop phase=finalize, cutover, cleanup phase
                                                How to apply multiple patches to an NLS installationThis example assumes the system has American English, French, and German installed.
                                                a. Use adop to start a new patching cycle. 
                                                
                                                adop phase=prepare
                                                
                                                b. Use AD Merge Patch to merge the US (American English) patches into a single patch.
                                                
                                                c. Use AD Merge Patch to merge the French and German patches into a single NLS patch.
                                                
                                                d. Use adop to apply all drivers of the merged US patch.
                                                
                                                e. Use adop to apply all drivers of the merged NLS patch.
                                                
                                                f. Use adop to complete the patching cycle (finalize, cutover, cleanup phases).
                                                  How to apply the Apply hrglobal.drv
                                                  adop phase=apply patchtop=$PER_TOP/patch/115 patches=driver:hrglobal.drv workers=8 options=nocopyportion,nogenerateportion,forceapply
                                                    How to apply the xla driver
                                                    $ adop phase=apply options=nocopyportion patchtop=$XLA_TOP/patch/115 patches=driver:xla5584908.drv
                                                      How to multiple patches using separate apply commands:
                                                      source <ebs_root>/EBSapps.env run
                                                      adop phase=prepare
                                                      adop phase=apply patches=123456
                                                      adop phase=apply patches=324356
                                                      adop phase=finalize
                                                      adop phase=apply patches=445657
                                                      adop phase=finalize
                                                      adop phase=cutover
                                                      source <ebs_root>/EBSapps.env run
                                                      adop phase=cleanup
                                                        How to clean up old version
                                                        $ adop phase=prepare
                                                        $ adop phase=actualize_all
                                                        $ adop phase=finalize finalize_mode=full
                                                        $ adop phase=cutover
                                                        $ adop phase=cleanup cleanup_mode=full
                                                          How to abort the adop patching cycle
                                                          $ adop phase=abort,cleanup cleanup_mode=full
                                                          $ adop phase=fs_clone
                                                            How to validate the system before starting prepare or cutover
                                                            adop -validate
                                                              How to find the running online patching cycle
                                                              adop -status
                                                                If you want additional details of operations performed:
                                                                $ adop -status -detail
                                                                Run adop in downtime mode

                                                                $ adop phase=apply patches=123456 apply_mode=downtime

                                                                To run pre-install Mode
                                                                $ adop preinstall=y


                                                                If you like please follow and comment