Here are the steps to patch one of the patches provided by oracle. Please read the read me file for each patch before using these steps. this is the online way of patching where databases have to be restated. PAALP_NEW directory is the Jan2018 patch. PAALP directory is the old July 2018 patch.
(I)Deinstallation
----------------------
To deinstall the patch, follow these steps:
Deinstall the patch by running the following command:
Set the database environement.
Stop all the running databases running from the home being patched.. If not all nodes getting patched then stop the instances being patched and relocated the services to the node not being patched.
cd /gg_nas1/software/oracle/patches/PAALP/25367721
export PATH=$PATH:$ORACLE_HOME/OPatch
$ opatch rollback -id 25367721
NOTE: IF rolling back all nodes then hit Y for everything. IF rolling back only on specific nodes and not all. Make sure to hit n on the node you do not want to patch.
$ opatch lsinventory | grep 25367721 ==>> verify patch is removed.
Start all the databases or instances stopped earlier and balance services.
(II) Installation
-----------------
To install the patch, follow these steps:
Set the database environement
Stop all the running databases running from the home being patched.. If not all nodes getting patched then stop the instances being patched and relocated the services to the node not being patched.
$ cd <PATCH_TOP_DIR>/25367721
cd /gg_nas1/software/oracle/patches/PAALP_NEW/25367721
export PATH=$PATH:$ORACLE_HOME/OPatch
opatch apply
NOTE: IF applying patch to all nodes then hit Y for everything. IFapplying patch to only specific nodes and not all. Make sure to hit n on the node you do not want to patch.
Verify whether the patch has been successfully installed by running the following command:
$ opatch lsinventory | grep 25367721
Start all the databases or instances stopped earlier and balance services. .
(I)Deinstallation
----------------------
To deinstall the patch, follow these steps:
Deinstall the patch by running the following command:
Set the database environement.
Stop all the running databases running from the home being patched.. If not all nodes getting patched then stop the instances being patched and relocated the services to the node not being patched.
cd /gg_nas1/software/oracle/patches/PAALP/25367721
export PATH=$PATH:$ORACLE_HOME/OPatch
$ opatch rollback -id 25367721
NOTE: IF rolling back all nodes then hit Y for everything. IF rolling back only on specific nodes and not all. Make sure to hit n on the node you do not want to patch.
$ opatch lsinventory | grep 25367721 ==>> verify patch is removed.
Start all the databases or instances stopped earlier and balance services.
(II) Installation
-----------------
To install the patch, follow these steps:
Set the database environement
Stop all the running databases running from the home being patched.. If not all nodes getting patched then stop the instances being patched and relocated the services to the node not being patched.
$ cd <PATCH_TOP_DIR>/25367721
cd /gg_nas1/software/oracle/patches/PAALP_NEW/25367721
export PATH=$PATH:$ORACLE_HOME/OPatch
opatch apply
NOTE: IF applying patch to all nodes then hit Y for everything. IFapplying patch to only specific nodes and not all. Make sure to hit n on the node you do not want to patch.
Verify whether the patch has been successfully installed by running the following command:
$ opatch lsinventory | grep 25367721
Start all the databases or instances stopped earlier and balance services. .
No comments:
Post a Comment