Академический Документы
Профессиональный Документы
Культура Документы
1
Switch to Cloud Support DBA (Available) (0) Contact Us Help
PowerView is Off
To Bottom
Supplemental Readme - Patch Installation and Deinstallation For 12.1.0.x.x Windows Bundles
(Doc ID 2032004.1)
No References available
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3x… 1/18
1/28/2020 Document 2032004.1
Note: for this document.
When patching the GI Home, a shared location on ACFS only needs to be unmounted on the node
where the GI Home is being patched. Recently Viewed
The new opatch utility should be updated in all the Oracle RAC database homes and the GI home that ASM on Non-First Node
are being patched. To update Opatch, use the following instructions. (Second or Others) Fails to
Start: PMON (ospid: nnnn):
terminating the instance due
to error 481 [1383737.1]
1. Download the OPatch utility to a temporary directory.
2. For each Oracle RAC database home and the GI home that is being patched, run the following commands as the home How to upgrade the JDK
installed within the 12.1.0.2
owner to extract the OPatch utility. DB ORACLE_HOME?
[2495017.1]
$ rmdir /s /q %ORACLE_HOME%\OPatch\*
Oracle HTTP Server Fails to
$ unzip <OPATCH-ZIP> -d %ORACLE_HOME% Start With the Error "Invalid
$ %ORACLE_HOME%\OPatch\opatch version argument: Could not set
permission for mutex lock"
The version output of the previous command should be 12.1.0.1.5 or later. After Applying OHS Bundle
Patch 29407043
For information about OPatch documentation, including any known issues, see My Oracle Support Note 293369.1 OPatch [2550734.1]
documentation list. Cumulative README Post-
Install Steps for Oracle HTTP
Server 12.2.1.3 Bundle
2.1.2 OCM Configuration Patches [2568225.1]
OHS Fails to Start After
Applying OHS Bundle Patch
The OPatch utility will prompt for your OCM (Oracle Configuration Manager) response file when it is run. You should enter a
29407043 [2537530.1]
complete path of OCM response file if you already have created this in your environment.
Show More
If you do not have the OCM response file (ocm.rsp), then you should run the following command to create it.
$ %ORACLE_HOME%\OPatch\ocm\bin\emocmrsp
Before beginning patch application, check the consistency of inventory information for GI home and each database home to be
patched. Run the following command as respective Oracle home owner to check the consistency.
If this command succeeds, it lists the Oracle components that are installed in the home. Save the output so you have the status
prior to the patch apply.
If you have not started patching, the output will also print out the GI home on all the nodes along with its patching level. The
patching level must be identical for all the nodes. If they are not, do not patch. Contact Oracle Support Services for assistance.
If this command fails or the patching level is not the same on all nodes, contact Oracle Support Services for assistance.
Download and unzip the patch in a shared location to be able to access it from any node in the cluster.
(In this readme, the downloaded patch location directory is referred as <UNZIPPED_PATCH_LOCATION>.)
For example, if <UNZIPPED_PATCH_LOCATION> in your environment is C:\app\patches, enter the following command:
$ cd C:\app\patches
$ unzip
%zipName%
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3x… 2/18
1/28/2020 Document 2032004.1
This section will guide you through the steps required to apply this patch to Oracle RAC database homes, the Grid home, or all
relevant homes on the cluster.
The patch instructions will differ based on the configuration of the Grid infrastructure and the Oracle RAC database homes.
The patch installations will also differ based on following aspects of your existing configuration:
You must choose the most appropriate case that is suitable based on the existing configurations and your patch intention.
Case 1: Patching Oracle RAC Database Homes and the GI Home Together
Case 2: Patching Oracle RAC Database Homes
Case 3: Patching GI Home Alone
Case 4: Patching Oracle Restart Home
Case 5: Patching a Software Only GI Home Installation or Before the GI Home Is Configured
Case 6: Patching a Flex Cluster
Case 1: Patching Oracle RAC Database Homes and the GI Home Together
Follow the instructions in this section if you would like to patch all the Oracle RAC database homes of release version 12g
Release 1
Case 1.1.1: ACFS File System Is Not Configured and Database Homes Are Not Shared
Follow these instructions in this section if the GI home is not shared and none of the Oracle database homes is shared.
You must be part of Administrator group to run these commands. Execute the following commands 1 to 10 on each node of the
cluster:
2. Bring down Oracle High Availability Services on the node using: (make sure ORACLE_HOME is pointing to the Grid
Infrastructure home):
3. Verify that all Oracle services on the node have stopped by running:
4. If any service is found running, then use the Computer Management Services GUI or the net stop command to stop them.
Example-
6. Apply the patch to Grid Home using steps: make sure ORACLE_HOME is pointing to the Grid Infrastructure home
cd <UNZIPPED_PATCH_LOCATION>
opatch apply -local
7. Apply the patch to Database Home using steps: make sure ORACLE_HOME is pointing to the Database home
cd <UNZIPPED_PATCH_LOCATION>
opatch apply -local
8. Start Oracle High Availability Services on the node using: (make sure ORACLE_HOME is pointing to the Grid Infrastructure
home):
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3x… 3/18
1/28/2020 Document 2032004.1
%ORACLE_HOME%\perl\bin\perl -I%ORACLE_HOME%\perl\lib -I%ORACLE_HOME%\crs\install
%ORACLE_HOME%\crs\install\rootcrs.pl -postpatch
10. Verify that Oracle services on the node are running using:
11. After all nodes have been patched using opatch, apply the SQL changes to the database by following steps listed in Section
6
Case 1.1.2A: Patching the GI Home and Database Home Together, the GI Home Is Not Shared, the Database Home Is
Shared, ACFS May Be Used
1. From the Oracle database home, make sure to stop the Oracle RAC databases running on all nodes. Execute:
2. On the 1st node, unmount the ACFS file systems. Use instructions in Section 2.6 for unmounting ACFS file systems.
3. On the 1st node, apply the patch to the GI Home using the steps listed under Section 5
4. If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
5. On the 1st node, remount ACFS file systems. See Section 2.7 for instructions.
6. On the 1st node, apply the patch to the Database home using the steps listed under Section 5 . Since the Database
home is shared, this operation will patch the Database home across the cluster.
7. On the 1st node only, restart the Oracle instance which you have previously stopped in Step 1. As the database home
owner execute:
8. On the 2nd (next) node, unmount the ACFS file systems. Use instructions in Section 2.6 for unmounting ACFS file
systems.
9. On the 2nd node, apply the patch to GI Home using the steps listed under Section 5 .
10. If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
11. On the 2nd node, restart the stack using the steps listed under Section 5
12. On the 2nd node, remount ACFS file systems. See Section 2.7 for instructions.
13. On the 2nd node only, restart the Oracle instance which you have previously stopped in Step 1. As the database home
owner execute:
14. Repeat Steps 8 through 13 for all remaining nodes of the cluster.
15. After all nodes have been patched using opatch, apply the SQL changes to the database by following steps listed in
Section 6
Case 1.1.2B: Patching the GI Home and the Database Home Together, the GI Home Is Not Shared, the Database Home Is
Not Shared, ACFS May Be Used
1. On the local node, unmount the ACFS file systems. Use instructions in Section 2.6 for unmounting ACFS file systems.
2. On the local node, apply the patch to the GI home and to the Database home. Use the steps listed under Section 5.
3. If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
4. Repeat Steps 1 through 3 for all remaining nodes of the cluster.
5. After all nodes have been patched using opatch, apply the SQL changes to the database by following steps listed in
Section 6
Note:
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3x… 4/18
1/28/2020 Document 2032004.1
Patching a shared GI home requires shutdown of Oracle GI stack on all the remote nodes in the
cluster. This also means you need to stop all Oracle RAC databases which depend on GI stack, ASM
for data files, or an ACFS file system.
1. From the Oracle database home, make sure to stop the Oracle RAC databases running on GI System being patched.
Execute:
2. Make sure the ACFS file systems are unmounted on all the nodes. Use instructions in Section 2.6 for unmounting ACFS
file systems.
3. As administrator user, execute the following on all the remote nodes to stop the GI stack:
4. Please ensure that the GI Stack is up on the local node where patching is being performed.
5. Patch the GI home. On local node, as administrator user, apply the patch to the GI Home using the steps listed under
Section 5
6. If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
7. On each remote node:
a. As administrator user, run: Ensure that ORACLE_HOME point to GI Home.
Note: The previous command should be executed only once on any one node if the database
home is shared.
10. Restart the Oracle databases that you have previously stopped in step 1. Execute:
11. After all nodes have been patched using opatch, apply the SQL changes to the database by following steps listed in
Section 6
You should use the following instructions if you prefer to patch Oracle RAC databases alone with this patch.
1. Execute the following command on each node of the cluster. As an administrator user apply the patch to the Database
Home using the steps listed under Section 5.
2. After all nodes have been patched, apply the SQL changes to the database by following steps listed in Section 6
1. Make sure to stop the databases running from the Oracle RAC database homes that you would like to patch. Execute the
following command to stop each database. $ %ORACLE_HOME%\bin\srvctl stop database -d <db_unique_name>
2. As an administrator user patch the Database Home using the steps listed under Section 5 only on the local node.
3. Restart the Oracle databases that were previously stopped in Step 1. Execute the following command for each database.
$ %ORACLE_HOME%\bin\srvctl start database -d <db_unique_name>
4. Apply the SQL changes to the database by following steps listed in Section 6
You should use the following instructions if you prefer to patch Oracle GI (Grid Infrastructure) home alone with this patch.
If the GI home is not shared then use the following instructions to patch the home.
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3x… 5/18
1/28/2020 Document 2032004.1
Follow these instructions in this section if the GI home is not shared and none of the Oracle database homes use ACFS file
system for its software files.
As an administrator user apply the patch to the GI Home using the steps listed under Section 5
1. From the Oracle database home, stop the Oracle RAC database running on that node. As the database home owner
execute:
2. Unmount all ACFS file systems on this node using instructions in Section 2.6.
3. Apply the patch to the GI home on that node using the steps listed under Section 5.
4. If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
5. Remount ACFS file systems on that node. See Section 2.7 for instructions.
6. Restart the Oracle database on that node that you have previously stopped in Step 1. As the database home owner
execute:
Note:
Patching a shared GI home requires shutdown of Oracle GI stack on all the remote nodes in the
cluster. This also means you need to stop all Oracle RAC databases that depend on the GI stack,
ASM for data file, or ACFS file system.
1. Make sure to stop the Oracle databases running from the Oracle RAC or Oracle RAC One Node database homes.
2. Make sure the ACFS file systems are unmounted on all the nodes. Use instructions in Section 2.6 for unmounting ACFS
file systems.
3. As an administrator user, execute the following on all the remote nodes to stop the CRS stack:
4. Execute the following command on the local node As an administrator user execute:
5. If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
6. On each remote node:
a. As administrator user, run: Ensure that ORACLE_HOME point to GI Home.
Use the following instructions to patch Oracle Restart home. You must be part of Administrator group to run these commands.
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3x… 6/18
1/28/2020 Document 2032004.1
2. Bring down Oracle High Availability Services using: (make sure ORACLE_HOME is pointing to the Grid Infrastructure home):
3. Verify that all Oracle services on the server have stopped by running:
net start | findstr /i ora
If any service is found running, then use the Computer Management Services GUI or the net stop command to stop them.
Example-
net stop OracleService<SID>
net stop OracleDBConsole<SID>
net stop OracleJobScheduler<SID>
net stop "Oracle <SID> VSS Writer Service"
net stop OracleREMExecService
net stop "Oracle Object Service"
net stop OraFenceService
net stop OracleMTSRecoveryService
6. Start Oracle High Availability Services using: (make sure ORACLE_HOME is pointing to the Grid Infrastructure home):
%ORACLE_HOME%\perl\bin\perl -I%ORACLE_HOME%\perl\lib -I%ORACLE_HOME%\crs\install
%ORACLE_HOME%\crs\install\roothas.pl -postpatch
OR
%ORACLE_HOME%\crs\install\roothas.bat -postpatch
9. Apply the SQL changes to the database by following steps listed in Section 6
1. Unmount all ACFS file systems. Use instructions in Section 2.6 for unmounting ACFS file systems.
2. Run <GridHome>\bin\acfsroot install.
3. If the message, "A system reboot is recommended before using ACFS" shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
4. Remount ACFS file systems. See Section 2.7 for instructions.
Case 5: Patching a Software Only GI Home Installation or Before the GI Home Is Configured
First node must be a HUB node.The last node can be either hub/leaf node.
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3x… 7/18
1/28/2020 Document 2032004.1
1. Make sure GI Stack is up on the first hub node and at least one other hub node.
2. Make sure stack is up on all the leaf nodes
3. On the local node, unmount the ACFS file systems. Use instructions in Section 2.6 for unmounting ACFS file systems.
4. On the local node, apply the patch to the GI home and to the Database home.
a. As an administrator user, apply the patch to GI home and Database home using the steps listed under Section 5.
5. If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
6. Repeat Steps 3 through 6 for all remaining nodes of the cluster.
7. Apply the SQL changes to the database by following steps listed in Section 6
Case 6.2: Patching a Flex cluster with Only one HUB nodes
You can use the following steps to roll back patches. Choose the instructions that apply to your needs.
Case D1: Rolling Back the Oracle RAC Database Homes and GI Homes Together
Case D2: Rolling Back from the Oracle RAC Database Homes
Case D3: Rolling Back from the GI Home Alone
Case D4: Rolling Back the Patch from Oracle Restart Home
Case D5: Rolling Back the Patch from a Software Only GI Home Installation or Before the GI Home is Configured
Case D6:Rolling Back the Patch from a Flex Cluster
Case D1: Rolling Back the Oracle RAC Database Homes and GI Homes Together
Follow the instructions in this section if you would like to rollback the patch from all the Oracle RAC database homes of release
version %VERSION% and the %VERSION% GI home.
Case D1.1.1: ACFS File System Is Not Configured and Database Homes Are Not Shared
Follow these instructions in this section if the GI home is not shared and none of the Oracle database homes is shared.
You must be part of Administrator group to run these commands. Execute the following commands on each node of the cluster:
2. Bring down Oracle High Availability Services on the node using: (make sure ORACLE_HOME is pointing to the Grid
Infrastructure home):
3. Verify that all Oracle services on the node have stopped by running:
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3x… 8/18
1/28/2020 Document 2032004.1
4. If any service is found running, then use the Computer Management Services GUI or the net stop command to stop them.
Example-
6. Rollback the patch from Grid Home using steps: make sure ORACLE_HOME is pointing to the Grid Infrastructure home
7. Rollback the patch from Database Home using steps: make sure ORACLE_HOME is pointing to the Database home
8. Start Oracle High Availability Services on the node using: (make sure ORACLE_HOME is pointing to the Grid Infrastructure
home):
10. Verify that Oracle services on the node are running using:
11. After all nodes have been patched using opatch, apply the SQL changes to the database by following steps listed in Section
6
Case D1.1.2A: GI Home and the Database Home Together, the GI Home Is Not Shared, the Database Home Is Not Shared
1. On the local node, unmount the ACFS file systems. Use instructions in Section 2.6 for unmounting ACFS file systems.
2. On the local node, roll back the patch from the GI home and the Database home. a. As administrator user, follow the
steps under Section 5
3. If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
4. Repeat Steps 1 through 3 for all remaining nodes of the cluster.
5. After all nodes have been patched using opatch, apply the SQL changes to the database by following steps listed in
Section 6
Case D1.1.2B: GI Home and Database Home Together, the GI Home Is Not Shared, the Database Home Is Shared
1. From the Oracle database home, make sure to stop the Oracle RAC databases running on all nodes. Execute:
2. On the 1st node, unmount the ACFS file systems. Use instructions in Section 2.6 for unmounting ACFS file systems.
3. On the 1st node, roll back the patch from the GI Home a. As administrator user, follow the steps under Section 5 to roll
back the patch from GI home.
4. If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
5. On the 1st node, remount ACFS file systems. See Section 2.7 for instructions.
6. On the 1st node, roll back the patch from the Database home using the steps under Section 5 to rollback patch from
database home. This operation will rollback the patch from the Database home across the cluster given that it is a shared
ACFS home.
7. On the 1st node only, restart the Oracle instance which you have previously stopped in Step 1. Execute:
8. On the 2nd (next) node, unmount the ACFS file systems. Use instructions in Section 2.6 for unmounting ACFS file
systems.
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3x… 9/18
1/28/2020 Document 2032004.1
9. On the 2nd node, roll back the patch from the GI Home As administrator user, follow the steps under Section 5 to roll back
the patch from GI home.
10. If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
11. On the 2nd node, remount ACFS file systems. See Section 2.7 for instructions.
12. On the 2nd node only, restart the Oracle instance which you have previously stopped in Step 1. Execute:
13. Repeat Steps 7 through 12 for all remaining nodes of the cluster.
14. Apply the SQL changes to the database by following steps listed in Section 6
Note:
An operation on a shared GI home requires shutdown of the Oracle GI stack on all the remote nodes
in the cluster. This also means you need to stop all Oracle RAC databases that depend on the GI
stack, ASM for data file, or ACFS file system.
1. Make sure to stop the Oracle databases running from the Oracle RAC database homes.
On local node, as administrator user, roll back the patch from GI Home using the steps listed under Section 5 to roll back
the patch from GI home
5. If the message, "A system reboot is recommended before using ACFS" shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
6. Start the Oracle GI stack on all the remote nodes.
a. As administrator user, run: Ensure that ORACLE_HOME point to GI Home.
Note: The previous command should be executed only once on any one node if the database
home is shared.
9. Restart the Oracle databases that you have previously stopped in Step 1. Execute:
10. After all nodes have been patched using opatch, apply the SQL changes to the database by following steps listed in
Section 6
Case D2: Rolling Back from the Oracle RAC Database Homes
You should use the following instructions if you prefer to roll back the patch from Oracle RAC databases homes alone.
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3… 10/18
1/28/2020 Document 2032004.1
Execute the following command on each node of the cluster.
As an administrator user rollback the patch from the Database Home using the steps listed under Section 5 to rollback patch
from Database home.
After all nodes have been patched using opatch, apply the SQL changes to the database by following steps listed in Section 6
1. Make sure to stop the databases running from the Oracle RAC database homes from which you would like to roll back the
patch. Execute the following command to stop each database. %ORACLE_HOME%\bin\srvctl stop database -d
<db_unique_name>
2. As an administrator user execute only on the local node.
3. Restart the Oracle databases that were previously stopped in Step 1. Execute the following command for each database.
%ORACLE_HOME%\bin\srvctl start database -d <db_unique_name>
4. Apply the SQL changes to the database by following steps listed in Section 6
You should use the following instructions if you prefer to roll back the patch from the Oracle GI (Grid Infrastructure) home alone.
Note:
An operation in a shared GI home requires shutdown of Oracle GI stack on all the remote nodes in
the cluster. This also means you need to stop all Oracle RAC databases that depend on the GI stack,
ASM for data file, or ACFS file system.
1. Make sure to stop the Oracle databases running from the Oracle RAC database homes.
2. Make sure the ACFS file systems are unmounted on all the nodes. Use instructions in Section 2.6 for unmounting ACFS
file systems.
3. As an administrator user, execute the following on all the remote nodes to stop the CRS stack:
4. Execute the following command on the local node. As an administrator user execute:
5. If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
6. Start the Oracle GI stack on all the remote nodes.
a. As administrator user, run: Ensure that ORACLE_HOME point to GI Home.
If the GI home is not shared, then use the following instructions to roll back the patch from the GI home.
Follow these instructions in this section if the GI home is not shared and none of the Oracle database homes is shared.
As an administrator user rollback the patch from the GI Home using the steps listed under Section 5
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3… 11/18
1/28/2020 Document 2032004.1
If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
1. From the Oracle database home, stop the Oracle RAC database running on that node. As the database home owner
execute:
2. Make sure the ACFS file systems are unmounted on that node. Use instructions in Section 2.6 for unmounting ACFS file
systems.
3. Roll back the patch from the GI home on that node using the steps listed under Section 5.
4. If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
5. Remount ACFS file systems on that node. See Section 2.7 for instructions.
6. Restart the Oracle database on that node that you have previously stopped in Step 1. As the database home owner
execute:
Case D4: Rolling Back the Patch from Oracle Restart Home
Use the following instructions to roll back the patch from an Oracle Restart home. You must be part of Administrator group to run
these commands.
2. Bring down Oracle High Availability Services using: (make sure ORACLE_HOME is pointing to the Grid Infrastructure home):
3. Verify that all Oracle services on the server have stopped by running:
net start | findstr /i ora
If any service is found running, then use the Computer Management Services GUI or the net stop command to stop them.
Example-
net stop OracleService<SID>
net stop OracleDBConsole<SID>
net stop OracleJobScheduler<SID>
net stop "Oracle <SID> VSS Writer Service"
net stop OracleREMExecService
net stop "Oracle Object Service"
net stop OraFenceService
net stop OracleMTSRecoveryService
6. Start Oracle High Availability Services using: (make sure ORACLE_HOME is pointing to the Grid Infrastructure home):
%ORACLE_HOME%\perl\bin\perl -I%ORACLE_HOME%\perl\lib -I%ORACLE_HOME%\crs\install
%ORACLE_HOME%\crs\install\roothas.pl -postpatch -rollback
OR
%ORACLE_HOME%\crs\install\roothas.bat -postpatch -rollback
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3… 12/18
1/28/2020 Document 2032004.1
9. Apply the SQL changes to the database by following steps listed in Section 6
1. Unmount all ACFS file systems. Use instructions in Section 2.6 for unmounting ACFS file systems.
2. Update ACFS: <Oracle-Restart-home>\bin\acfsroot install
3. Remount ACFS file systems. See Section 2.7 for instructions.
Case D5: Rolling Back the Patch from a Software Only GI Home Installation or Before the GI Home is Configured
First node must be a HUB node.The last node can be either hub/leaf node.
Case D6.1: Rolling Back the Patch from a Flex cluster with 2 or more HUB nodes
1. Make sure GI Stack is up on the first hub node and at least one other hub node.
2. Make sure stack is up on all the leaf nodes
3. On the local node, unmount the ACFS file systems. Use instructions in Section 2.6 for unmounting ACFS file systems.
4. On the local node, rollback the patch from the GI home and from the Database home.
a. As an administrator user, rollback the patch from the GI home and from the Database home using the steps listed
under Section 5.
5. If the message, "A system reboot is recommended before using ACFS" is shown, then a reboot must be issued before
continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
6. Repeat Steps 3 through 6 for all remaining nodes of the cluster.
7. Apply the SQL changes to the database by following steps listed in Section 6
Case D6.2: Rolling Back the Patch from a Flex cluster with Only one HUB nodes
ACFS file systems can be used by Oracle RAC for hosting software files for the database. It can also be used as a general
purpose file system for non-database files. The ACFS file system is managed and administered by the Oracle GRID
Infrastructure. So ACFS file systems will be impacted when shutting down the GI stack for patching GI homes. You must be part
of Administrator group to run these commands.
Shut down the processes using the software files on ACFS and then unmount the ACFS file system.
Note:
Make sure to stop the non-Oracle processes that use ACFS file systems.
If the ACFS file system is used by Oracle database software, then perform Steps 1 and 2.
1. Execute the following command to find the names of the CRS managed ACFS file system resource.
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3… 13/18
1/28/2020 Document 2032004.1
# crsctl stat res -w "TYPE = ora.acfs.type" -p | findstr /i VOLUME
2. Execute the following command to stop the CRS managed ACFS file system resource with the resource name found from
Step 1. # srvctl stop filesystem -d <volume device path> -n <node to stop file system on>
If the ACFS file system is not used for Oracle Database software and is registered in the ACFS registry, perform the following
steps.
1. Execute the following command to find all ACFS file system mount points. # acfsutil registry
2. Unmount ACFS file systems found in Step 1. # acfsdismount /v <drive_letter> <mount-point>
3. Verify that the ACFS file systems are unmounted. Execute the following command to verify. # acfsutil info fs
The previous command should return the following message if there is no ACFS file systems mounted.
If the ACFS file system is used by Oracle database software, then perform Steps 1 and 2. You must be part of Administrator
group to run these commands.
1. Execute the following command to find the names of the CRS managed ACFS file system resource.
2. Execute the following command to start and mount the CRS managed ACFS file system resource with the resource name
found from Step 1.
# srvctl start filesystem -d <volume device path> -n <node to start file system on>
If the ACFS file system is not used for Oracle Database software and is registered in the ACFS registry, these file systems
should get automatically mounted when the CRS stack comes up. Perform Steps 1 and 2 if it is not already mounted.
1. Execute the following command to find all ACFS file system mount points.
# acfsutil registry
3 Known Issues
For information about OPatch issues, see My Oracle Support Note 293369.1 OPatch documentation list.
4 References
The following documents are references for this patch.
Note 1339140.1 Opatch/Patch Questions/Issues for Oracle Clusterware (Grid Infrastructure or CRS) and RAC Environments
2. Bring down Oracle High Availability Services on the node using: (make sure ORACLE_HOME is pointing to the Grid
Infrastructure home):
If any service is found running, then use the Computer Management Services GUI or the net stop command to stop them.
Example-
5. Apply the patch to Grid Home using steps: make sure ORACLE_HOME is pointing to the Grid Infrastructure home
cd <UNZIPPED_PATCH_LOCATION>
opatch apply -local
6. Start Oracle High Availability Services on the node using: (make sure ORACLE_HOME is pointing to the Grid Infrastructure
home):
2. Bring down Oracle High Availability Services on the node using: (make sure ORACLE_HOME is pointing to the Grid
Infrastructure home):
3. Verify that all Oracle services on the node have stopped by running:
If any service is found running, then use the Computer Management Services GUI or the net stop command to stop them.
Example-
5. Apply the patch to Grid Home using steps: make sure ORACLE_HOME is pointing to the Grid Infrastructure home
cd <UNZIPPED_PATCH_LOCATION>
opatch rollback -id <PatchNumber> -local
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3… 15/18
1/28/2020 Document 2032004.1
6. Start Oracle High Availability Services on the node using: (make sure ORACLE_HOME is pointing to the Grid Infrastructure
home):
2. Explicitly stop the following services, if they are running, use the Computer Management Services GUI or the net stop
command to stop them.
4. Apply the patch to Database Home using steps: make sure ORACLE_HOME is pointing to the Database home
cd <UNZIPPED_PATCH_LOCATION>
opatch apply -local
Steps for Rolling Back the Patch from an Oracle RAC Home Installation
2. Explicitly stop the following services, if they are running, use the Computer Management Services GUI or the net stop
command to stop them.
4. Rollback the patch from Database Home using steps: make sure ORACLE_HOME is pointing to the Database home
cd <UNZIPPED_PATCH_LOCATION>
opatch rollback -id <PatchNumber> -local
6 Steps to Run the datapatch Utility for Single Tenant Versus Multitenant (CDB/PDB)
For each database instance running on the Oracle home being patched, run the datapatch utility as described in Table 3.
1. Table 3 Steps to Run the datapatch Utility for Single Tenant Versus Multitenant (CDB/PDB)
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3… 16/18
1/28/2020 Document 2032004.1
7 Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Oracle customers have access to electronic support through My Oracle Support. For information, visit
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are
hearing impaired.
Copyright © 2006, 2015, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure
and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you
may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any
part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law
for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors,
please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S.
Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S.
Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal
Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and
adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the
extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial
Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
This software or hardware is developed for general use in a variety of information management applications. It is not developed
or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If
you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe,
backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any
damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective
owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license
and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron
logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products, and services from third
parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect
to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or
damages incurred due to your access to or use of third-party content, products, or services.
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3… 17/18
1/28/2020 Document 2032004.1
Copyright Ã Æ Ã¢â ¬Å¡Ã â à © 2006, 2012, Oracle and/or its affiliates. All rights reserved.
Related
Products
Oracle Cloud > Oracle Platform Cloud > Oracle Cloud Infrastructure - Database Service > Oracle Cloud Infrastructure - Database Service
Oracle Cloud > Oracle Platform Cloud > Oracle Database Cloud Service > Oracle Database Cloud Exadata Service
Oracle Cloud > Oracle Platform Cloud > Oracle Database Backup Service > Oracle Database Backup Service
Oracle Cloud > Oracle Platform Cloud > Oracle Database Cloud Service > Oracle Database Exadata Express Cloud Service
Oracle Cloud > Oracle Platform Cloud > Oracle Database Cloud Service > Oracle Database Cloud Service
Oracle Database Products > Oracle Database Suite > Oracle Database > Oracle Database - Enterprise Edition > Clusterware
Oracle Cloud > Oracle Platform Cloud > Oracle Database Cloud Service > Oracle Database Cloud Schema Service
Oracle Cloud > Oracle Infrastructure Cloud > Oracle Cloud at Customer > Oracle Database Exadata Cloud Machine
Back to Top
Copyright (c) 2020, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=276861904830978&id=2032004.1&_afrWindowMode=0&_adf.ctrl-state=9opt3… 18/18