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_10 - 55 - 21. 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 / oracle / product / 11. 2. 0 / db_1 / OPatch / opatch prereq CheckConflictAgainstOH - ph / app / media / 28429134 / 27735020 / custom / server / 27735020 - oh / app / oracle / product / 11. 2. 0 / db_1

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

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

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

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

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

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

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

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

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

13 : / 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

14 : / 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

15 : / 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

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

17 : / app / oracle / product / 11. 2. 0 / db_1 / OPatch / opatch napply / app / media / 28429134 / 27735020 / custom / server / 27735020 - local - silent - oh / app / oracle / product / 11. 2. 0 / db_1 - invPtrLoc / app / oracle / product / 11. 2. 0 / db_1 / oraInst.loc

18 : / app / oracle / product / 11. 2. 0 / db_1 / OPatch / opatch napply / app / media / 28429134 / 28204707 - local - silent - oh / app / oracle / product / 11. 2. 0 / db_1 - invPtrLoc / app / oracle / product / 11. 2. 0 / db_1 / oraInst.loc

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

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

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

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

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

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

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

26 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch napply / app / media / 28429134 / 27735020 - 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 napply / app / media / 28429134 / 28204707 - local - silent - oh / app / grid / product / 11. 2. 0 / grid - invPtrLoc / app / grid / product / 11. 2. 0 / grid / oraInst.loc

28 : / app / grid / product / 11. 2. 0 / grid / OPatch / opatch napply / app / media / 28429134 / 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/773 by ccl(A) rewrite - 2021-10-21 00:26:45