Patch ACFS

Facebooktwittergoogle_plusredditpinterestlinkedinmailFacebooktwittergoogle_plusredditpinterestlinkedinmail



How to stop everything, already discussed here.

4. /u01/app/12.1.0.2/grid/crs/install/rootcrs.pl -prepatch (as root) – this failed
OR /u01/app/12.1.0.2/grid/crs/install/rootcrs.sh -unlock – this worked

5. opatch apply -oh /u01/app/12.1.0.2/grid -local /u03/setup/26247490/26247490 (as grid)

6. opatch apply -oh /u02/app/oracle/product/12.1.0.2/db_1 -local /u03/setup/26247490/26247490 (as oracle), Got warning.

7. /u01/app/12.1.0.2/grid/rdbms/install/rootadd_rdbms.sh (as root)

8. /u01/app/12.1.0.2/grid/crs/install/rootcrs.sh -patch (as root) – failed

– bounced the box, which was not needed – failed
– have to start rolling patch on node 1 (good/running/up node)
@NODE 1

9. Reboot if the message “A system reboot is recommended before using ACFS is shown”

10. srvctl start home -o /u02/app/oracle/product/12.1.0.2/db_1 -s /home/oracle/file_state -n ch-orcldb-s02 (as oracle)

11. Run opatch lsinventory. Verify acfs has come up and filesystem is mounted.

otherwise have to mount

mount -t acfs /dev/asm/goldengate-440 /u05/app

12. Now, start patching on ch-orcldb-s01

13. Note: This will be run after patching both nodes:

Run datapatch after making sure database and all pluggable database is open.
a. cd $ORACLE_HOME/OPatch
b. ./datapatch -verbose

===============================================================

cd /u01/app/12.1.0.2/grid/bin
./srvctl stop filesystem -d /dev/asm/goldengate-440 -n ch-orcldb-s01 (as root)

==============================Rollback=========================

srvctl stop home -o /u02/app/oracle/product/12.1.0.2/db_1 -t immediate -s /home/oracle/file_state -n ch-orcldb-s02

/u01/app/12.1.0.2/grid/crs/install/rootcrs.pl -prepatch (as root) OR ./rootcrs.sh -unlock

opatch rollback -local -id 26247490 -oh /u01/app/12.1.0.2/grid

/u01/app/12.1.0.2/grid/rdbms/install/rootadd_rdbms.sh (as root)

u01/app/12.1.0.2/grid/crs/install/rootcrs.pl -postpatch (as root) OR ./rootcrs.sh -patch

srvctl start home -o /u02/app/oracle/product/12.1.0.2/db_1 -s /home/oracle/file_state -n ch-orcldb-s02 (as oracle)

Leave a Reply

Your email address will not be published. Required fields are marked *