1 2 3 Previous Next 40 Replies Latest reply on Feb 25, 2016 1:06 AM by Beauty_and_dBest

    How to rollback adop phase=cutover

    Beauty_and_dBest

      Hi ALL,

       

      EBS R12.2.4

      OL6.5

      11gR2

       

      I have run adop phase=cutover , but I encountered error.

      My instance does not startup anymore.

      How do I rollback my cutover phase?

       

      Please help....

       

       

      Kind regards,

      jc

        • 1. Re: How to rollback adop phase=cutover
          Kj - Kiran Jadhav

          What is the error? try to resolve the error.

           

          please post adop status.

           

          Regards,

          Kiran

          1 person found this helpful
          • 2. Re: How to rollback adop phase=cutover
            Beauty_and_dBest

            Hi Kiran and ALL,

             

            The error is not too clear

            Kindly click the image or download to enlarge.

             

            Kind regards,

            Capture.PNGCapture2.PNG

            Capture3.PNG

            Capture4.PNG

            • 3. Re: How to rollback adop phase=cutover
              Beauty_and_dBest

              Hi ALL,

               

              Can I force switch back to the previous run edition?

              How do I switch back?

               

               

              Kind regards,

              • 4. Re: How to rollback adop phase=cutover
                Kj - Kiran Jadhav

                Please try to run cutover phase again

                 

                Please see - Adop Phase=cutover Exiting With Status = 1 (Fail) (Doc ID 1638696.1)

                 

                 

                Regards,

                Kiran

                • 5. Re: How to rollback adop phase=cutover
                  Beauty_and_dBest

                  I run cutover again, but still got error   Please help...

                  Can I run abort?

                   

                  *******FATAL ERROR*******

                  PROGRAM : (/u01/appvis/VIS/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPCutOverPhaseCtrlScript.pl)

                  TIME    : Mon Feb 22 15:19:33 2016

                  FUNCTION: main::restartRunServices [ Level 1 ]

                  ERRORMSG: 1

                            [UNEXPECTED]Error occurred while executing "perl  /u01/appvis/VIS/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPCutOverPhaseCtrlScript.pl  -contextfile=/u01/appvis/VIS/fs2/inst/apps/VIS_fitr12/appl/admin/VIS_fitr12.xml -patchcontextfile=/u01/appvis/VIS/fs1/inst/apps/VIS_fitr12/appl/admin/VIS_fitr12.xml -promptmsg=hide -console=off -sessionid=12 -timestamp=20160222_151515 -outdir=/u01/appvis/VIS/fs_ne/EBSapps/log/adop/12/cutover_20160222_151515/VIS_fitr12 -action=restartrun"

                            [UNEXPECTED]Error occurred while starting middle tier services

                            [UNEXPECTED]Cutover phase completed with errors/warnings. Please check logfiles

                            Log file: /u01/appvis/VIS/fs_ne/EBSapps/log/adop/12/adop_20160222_151515.log

                   

                  [STATEMENT] Please run adopscanlog utility, using the command

                   

                  "adopscanlog -latest=yes"

                   

                  to get the list of the log files along with snippet of the error message corresponding to each log file.

                   

                  adop exiting with status = 1 (Fail)

                  • 6. Re: How to rollback adop phase=cutover
                    Beauty_and_dBest

                    Hi Kiran and ALL,

                     

                    I run abort, and it was successful.

                    What to do next?

                     

                    $ adop phase=abort

                     

                    Enter the APPS password:

                    Enter the SYSTEM password:

                    Enter the WLSADMIN password:

                     

                     

                    Please wait. Validating credentials...

                     

                    RUN file system context file: /u01/appvis/VIS/fs2/inst/apps/VIS_fitr12/appl/admin/VIS_fitr12.xml

                     

                    PATCH file system context file: /u01/appvis/VIS/fs1/inst/apps/VIS_fitr12/appl/admin/VIS_fitr12.xml

                    Execute SYSTEM command : df /u01/appvis/VIS/fs1

                     

                    Worker count determination...

                     

                    Validation successful. All expected nodes are listed in ADOP_VALID_NODES table.

                    [EVENT]     [START 2016/02/22 15:24:58] Performing database sanity checks

                    [EVENT]     [END   2016/02/22 15:24:58] Finished performing database sanity checks

                      There is already a session which is incomplete. Details are:

                      Session Id            :   12

                      Prepare phase status  :   COMPLETED

                      Apply phase status    :   COMPLETED

                      Cutover  phase status :   RUNNING

                      Abort phase status    :   NOT APPLICABLE

                      Session status        :   FAILED

                    The above session would be aborted/rolled back. Do you want to continue [Y/N]? Y

                      [START 2016/02/22 15:25:09] adzdoptl.pl run

                        ADOP Session ID: 12

                        Phase: abort

                        Log file: /u01/appvis/VIS/fs_ne/EBSapps/log/adop/12/adop_20160222_152439.log

                        Abort status: X

                        ABORT phase not applicable

                      [END   2016/02/22 15:25:10] adzdoptl.pl run

                      Log file: /u01/appvis/VIS/fs_ne/EBSapps/log/adop/12/adop_20160222_152439.log

                     

                     

                    adop exiting with status = 0 (Success)


                    But when I run adop -status , it is still Failed.

                    Capture.PNG

                     


                    • 7. Re: How to rollback adop phase=cutover
                      Beauty_and_dBest

                      How do I revert back to the old run edition?

                       

                       

                      Case 2 - If the log messages indicate that cutover failed after the file systems were switched..

                      If this is the case;

                       

                      We shutdown the application services.

                      We switch the filesystems..


                      perl $AD_TOP/patch/115/bin/txkADOPCutOverPhaseCtrlScript.pl \
                      -action=ctxupdate \
                      -contextfile=<full path to new run context file> \
                      -patchcontextfile=<full path to new patch file system context file> \
                      -outdir=<full path to out directory>


                      How do I get the following:

                      1. <full path to new run context file>
                      2. <full path to new patch file system context file>
                      3. <full path to out directory>



                      Kind regards,
                      • 8. Re: Re: How to rollback adop phase=cutover
                        Kj - Kiran Jadhav

                        Jenna_C asked:

                        I run abort, and it was successful.

                        It's not successful. it says abort phase is not applicable.

                         

                        [EVENT]    [END  2016/02/22 15:24:58] Finished performing database sanity checks

                          There is already a session which is incomplete. Details are:

                          Session Id            :  12

                          Prepare phase status  :  COMPLETED

                          Apply phase status    :  COMPLETED

                          Cutover  phase status :  RUNNING

                        Abort phase status    :  NOT APPLICABLE

                          Session status        :  FAILED

                        The above session would be aborted/rolled back. Do you want to continue [Y/N]? Y

                          [START 2016/02/22 15:25:09] adzdoptl.pl run

                            ADOP Session ID: 12

                            Phase: abort

                            Log file: /u01/appvis/VIS/fs_ne/EBSapps/log/adop/12/adop_20160222_152439.log

                            Abort status: X

                            ABORT phase not applicable

                        1 person found this helpful
                        • 10. Re: How to rollback adop phase=cutover
                          VishnuVinnakota

                          Hi,

                           

                                Is it Multi-node Application Tier by any chance?

                           

                                Don't panic. After apply and finalize is complete, abort is tough..

                           

                                Lets focus on the issue of cutover. I don't see the exact error of Cutover. For me one more time do below please ASAP and send me details:

                          • adop -status
                          • adop phase=cutover mtrestart=no
                          • adopscanlog -latest=yes

                           

                             All three are important. Be fast and post all text here or if its too large share files like before..

                          1 person found this helpful
                          • 11. Re: How to rollback adop phase=cutover
                            2794067

                            Hi,

                             

                            Yes. Up to cutover, you can run the abort phase to undo the changes made so far in the patching cycle. It is not possible to back out patches once cutover is complete.

                            Please confirm the output of the following.

                            adopscanlog -latest=yes -phase=cutover


                            Regards,

                            Bala

                            1 person found this helpful
                            • 12. Re: How to rollback adop phase=cutover
                              Beauty_and_dBest

                              Hi Vishno,Bala, and ALL,

                               

                              ***Is it Multi-node Application Tier by any chance? No.


                              I will run it later after office hours. Users are currently using the instance.

                              I temporarily backed up the error apps tier, and restore the old backup.

                              My question is the db tier is updated, while the partner apps tier is taken from old backup 2 weeks ago.

                              What is the implication of this when I run "adop prepare" on the restored apps tier?

                              Will it see the remnant error in the database tier? Do I need to cleanup some fnd_tables?

                               

                              Kind regards,

                              • 13. Re: How to rollback adop phase=cutover
                                VishnuVinnakota

                                Why are you not trying to fix the Cutover issue? I have got several issues of cutover but I have fixed them. Is there any other reason?

                                1 person found this helpful
                                • 14. Re: How to rollback adop phase=cutover
                                  Beauty_and_dBest

                                  Hi Vishnu and ALL,

                                   

                                  I want to but  I can not fix it and it took so long, I can not afford to stay long downtime as the users are waiting.

                                  So I just backed up the erroneous apps tier  and restore the old backup.Then allow the users to resume.

                                   

                                  I will restore again the error instance after office hours to resume troubleshooting.

                                   

                                  I will give the following later:

                                   

                                  • adop -status
                                  • adop phase=cutover mtrestart=no
                                  • adopscanlog -latest=yes
                                  • adopscanlog -latest=yes -phase=cutover
                                  1 2 3 Previous Next