Oracle 11g R2 RAC PSU 롤백 가이드(opatch auto)

Oracle 11g R2 RAC PSU 롤백 가이드(opatch auto)

$ tail - f / app / grid / product / 11. 2. 0 / grid / cfgtoollogs / opatchauto2021 - 10 - 20_11 - 24 - 38. report.log

* * * * * * * * * * * Configuration Data * * * * * * * * * * *

* It shows only those targets that will be patched in this session *

crs_home = / app / grid / product / 11. 2. 0 / grid owner = oracle opatch_ver = 11. 2. 0. 3. 28

rac_home = / app / oracle / product / 11. 2. 0 / db_1 owner = oracle opatch_ver = 11. 2. 0. 3. 28

* * * * * * * * * * * Steps to be executed as owner unless specified as root * * * * * * * * * * *

1 : / app / oracle / product / 11. 2. 0 / db_1 / OPatch / opatch prereq CheckComponents - ph / app / media / 28429134 / 27735020 / custom / server / 27735020 - oh / app / oracle / product / 11. 2. 0 / db_1

2 : / app / oracle / product / 11. 2. 0 / db_1 / OPatch / opatch prereq CheckComponents - ph / app / media / 28429134 / 28204707 - oh / app / oracle / product / 11. 2. 0 / db_1

3 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch prereq CheckComponents - ph / app / media / 28429134 / 27735020 - oh / app / grid / product / 11. 2. 0 / grid

4 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch prereq CheckComponents - ph / app / media / 28429134 / 28204707 - oh / app / grid / product / 11. 2. 0 / grid

5 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch prereq CheckComponents - ph / app / media / 28429134 / 28204939 - oh / app / grid / product / 11. 2. 0 / grid

6 : / app / oracle / product / 11. 2. 0 / db_1 / bin / emctl stop dbconsole

7 : / app / oracle / product / 11. 2. 0 / db_1 / bin / emctl stop agent

8 : / app / oracle / product / 11. 2. 0 / db_1 / OPatch / opatch prereq CheckApplicable - ph / app / media / 28429134 / 27735020 / custom / server / 27735020 - oh / app / oracle / product / 11. 2. 0 / db_1

9 : / app / oracle / product / 11. 2. 0 / db_1 / OPatch / opatch prereq CheckApplicable - ph / app / media / 28429134 / 28204707 - oh / app / oracle / product / 11. 2. 0 / db_1

10 : / app / oracle / product / 11. 2. 0 / db_1 / bin / srvctl stop home - o / app / oracle / product / 11. 2. 0 / db_1 - s / app / oracle / product / 11. 2. 0 / db_1 / srvm / admin / stophome.txt - n rac2 - f

11 : / app / media / 28429134 / 27735020 / custom / server / 27735020 / custom / scripts / prepatch.sh - dbhome / app / oracle / product / 11. 2. 0 / db_1

12 : / app / oracle / product / 11. 2. 0 / db_1 / OPatch / opatch prereq checkRollbackable - id 27735020 - oh / app / oracle / product / 11. 2. 0 / db_1

13 : / app / oracle / product / 11. 2. 0 / db_1 / OPatch / opatch rollback - id 27735020 - local - silent - oh / app / oracle / product / 11. 2. 0 / db_1 - invPtrLoc / app / oracle / product / 11. 2. 0 / db_1 / oraInst.loc

14 : / app / oracle / product / 11. 2. 0 / db_1 / OPatch / opatch prereq checkRollbackable - id 28204707 - oh / app / oracle / product / 11. 2. 0 / db_1

15 : / app / oracle / product / 11. 2. 0 / db_1 / OPatch / opatch rollback - id 28204707 - local - silent - oh / app / oracle / product / 11. 2. 0 / db_1 - invPtrLoc / app / oracle / product / 11. 2. 0 / db_1 / oraInst.loc

16 : / app / media / 28429134 / 27735020 / custom / server / 27735020 / custom / scripts / postpatch.sh - dbhome / app / oracle / product / 11. 2. 0 / db_1

17 : / app / grid / product / 11. 2. 0 / grid / crs / install / rootcrs.pl - unlock : run as root

18 : / app / grid / product / 11. 2. 0 / grid / tfa / bin / tfactl stop : run as root

19 : / sbin / fuser - k / app / grid / product / 11. 2. 0 / grid / bin / crsctl.bin : run as root

20 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch prereq CheckApplicable - ph / app / media / 28429134 / 27735020 - oh / app / grid / product / 11. 2. 0 / grid

21 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch prereq CheckApplicable - ph / app / media / 28429134 / 28204707 - oh / app / grid / product / 11. 2. 0 / grid

22 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch prereq CheckApplicable - ph / app / media / 28429134 / 28204939 - oh / app / grid / product / 11. 2. 0 / grid

23 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch prereq checkRollbackable - id 27735020 - oh / app / grid / product / 11. 2. 0 / grid

24 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch rollback - id 27735020 - local - silent - oh / app / grid / product / 11. 2. 0 / grid - invPtrLoc / app / grid / product / 11. 2. 0 / grid / oraInst.loc

25 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch prereq checkRollbackable - id 28204707 - oh / app / grid / product / 11. 2. 0 / grid

26 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch rollback - id 28204707 - local - silent - oh / app / grid / product / 11. 2. 0 / grid - invPtrLoc / app / grid / product / 11. 2. 0 / grid / oraInst.loc

27 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch prereq checkRollbackable - id 28204939 - oh / app / grid / product / 11. 2. 0 / grid

28 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch rollback - id 28204939 - local - silent - oh / app / grid / product / 11. 2. 0 / grid - invPtrLoc / app / grid / product / 11. 2. 0 / grid / oraInst.loc

29 : / app / grid / product / 11. 2. 0 / grid / bin / emctl start dbconsole

30 : / app / grid / product / 11. 2. 0 / grid / rdbms / install / rootadd_rdbms.sh : run as root

31 : / app / grid / product / 11. 2. 0 / grid / crs / install / rootcrs.pl - patch : run as root

32 : / app / oracle / product / 11. 2. 0 / db_1 / bin / emctl start dbconsole

33 : / app / oracle / product / 11. 2. 0 / db_1 / bin / emctl start agent

from http://positivemh.tistory.com/774 by ccl(A) rewrite - 2021-10-21 02:27:13