Showing posts with label opmnctl stopall. Show all posts
Showing posts with label opmnctl stopall. Show all posts

Wednesday, 14 October 2015

Applying Patch 16856341: CPU: OHS CORE DUMPS AFTER MOD_SECURITY PATCH/CONF APPLIED

Applying Patch 16856341: CPU: OHS CORE DUMPS AFTER MOD_SECURITY PATCH/CONF APPLIED

Download Patch 16856341 (p16856341_111170_Linux-x86-64.zip) and copy it onto server staging area say PATCH_TOP with appropriate permissions.


- Set ORACLE_HOME example : export ORACLE_HOME=$MW_HOME/Oracle_WT1
   
- Stop all servers (Admin Server and all Managed Servers)

- Stop opmn services and OHS services.
  
  $opmnctl stopall


Applying the patch


- Stop Mid Tier services

- Unzip the patch zip file into the PATCH_TOP and set current directory to PATCH_TOP/16856341

   $ unzip -d PATCH_TOP p16856341_111170_Linux-x86-64.zip

   $ cd PATCH_TOP/16856341

- Run OPatch apply

   $ opatch apply -jre $ORACLE_HOME/jdk/jre
       
- Start all servers (Admin Server and all Managed Servers)

- Start opmn services.

   $opmnctl startall


Rollback patch

If any issues post patching and a roll back is needed, follow below steps

- Stop Mid Tier services

- Change to the directory where the patch was unzipped.

   $ cd PATCH_TOP/16856341

- Run OPatch rollback

   $ opatch rollback -id 16856341 -jre $ORACLE_HOME/jdk/jre
                          

- Restart all servers (Admin Server and all Managed Server(s)).

- Start opmn and OHS services.

  $opmnctl startall


Related Posts:

FMW 11.1.1.7.0 - Applying Oracle HTTP Server Patch 20394174: MERGE REQUEST ON TOP OF 11.1.1.7.0 FOR BUGS 19948000 17905017

FMW 11.1.1.7.0 - Applying Patch 20493440: MERGE REQUEST ON TOP OF 11.1.1.7.0 FOR BUGS 18423801 18025250

FMW 11.1.1.7.0 - Applying Patch 20124292: OPTIC NEEDS BETTER DIAGNOSTICS FOR CONNECTION ERRORS

Applying Patch 19849290 - CPU CONFLICT MERGE REQUEST ON TOP OF 11.1.1.7.0 FOR BUGS 17337741 17555224

Applying Patch 17337741: OSS SECURITY PATCH UPDATE 11.1.1.7.0 (CPUOCT2013)

FMW 11.1.1.7.0 - Applying Patch 18423831: WLSPLUGINS (OHS) SECURITY PATCH UPDATE 11.1.1.7.0 (CPUJUL2014)

FMW 11.1.1.7.0 - Applying Patch 18423801: OPMN SECURITY PATCH UPDATE 11.1.1.7.0 (CPUJUL2014)

Applying Patch 19948000: OHS SECURITY PATCH UPDATE 11.1.1.7.0 (CPUJAN2015)

FMW 12.1.2.0.0 - Oracle HTTP Server - Applying Patch 21768251: MERGE REQUEST ON TOP OF 12.1.2.0.0 FOR BUGS 19948089 19304888 20806507 20900385

FMW 12.1.3.0.0 - Applying Patch 19948154: OHS SECURITY PATCH UPDATE 12.1.3.0.0 (CPUJAN2015)

FMW 12.1.3.0.0 - Applying Patch 19229422: OHS 12C UNABLE TO CONNECT TO WLS DYNAMIC CLUSTER

FMW 11.1.1.7.0 - Applying Patch 21640624: OHS SECURITY PATCH UPDATE 11.1.1.7.0 (CPUOCT2015)

FMW 11.1.1.7.0 - Applying Patch 20493440: MERGE REQUEST ON TOP OF 11.1.1.7.0 FOR BUGS 18423801 18025250

FMW 11.1.1.7.0 - Applying Patch 20493440: MERGE REQUEST ON TOP OF 11.1.1.7.0 FOR BUGS 18423801 18025250

Download Patch 20493440 (p20493440_111170_Linux-x86-64.zip) and copy it onto server staging area say PATCH_TOP with appropriate permissions.


- Set ORACLE_HOME example : export ORACLE_HOME=$MW_HOME/Oracle_WT1
   
- Stop all servers (Admin Server and all Managed Servers)

- Stop opmn services.
  
  $opmnctl stopall


Applying the patch


- Stop Mid Tier services

- Unzip the patch zip file into the PATCH_TOP and set current directory to PATCH_TOP/20493440

   $ unzip -d PATCH_TOP p20493440_111170_Linux-x86-64.zip

   $ cd PATCH_TOP/20493440

- Run OPatch apply

   $ opatch apply -jre $ORACLE_HOME/jdk/jre
       
- Start all servers (Admin Server and all Managed Servers)

- Start opmn services.

   $opmnctl startall


Rollback patch

If any issues post patching and a roll back is needed, follow below steps

- Stop Mid Tier services

- Change to the directory where the patch was unzipped.

   $ cd PATCH_TOP/20493440

- Run OPatch rollback

   $ opatch rollback -id 20493440 -jre $ORACLE_HOME/jdk/jre
                          

- Restart all servers (Admin Server and all Managed Server(s)).

- Start opmn services.


  $opmnctl startall


Related Posts:

Applying Patch 16856341: CPU: OHS CORE DUMPS AFTER MOD_SECURITY PATCH/CONF APPLIED

FMW 11.1.1.7.0 - Applying Patch 20124292: OPTIC NEEDS BETTER DIAGNOSTICS FOR CONNECTION ERRORS

Applying Patch 19849290 - CPU CONFLICT MERGE REQUEST ON TOP OF 11.1.1.7.0 FOR BUGS 17337741 17555224

Applying Patch 17337741: OSS SECURITY PATCH UPDATE 11.1.1.7.0 (CPUOCT2013)

FMW 11.1.1.7.0 - Applying Patch 18423831: WLSPLUGINS (OHS) SECURITY PATCH UPDATE 11.1.1.7.0 (CPUJUL2014)

FMW 11.1.1.7.0 - Applying Patch 18423801: OPMN SECURITY PATCH UPDATE 11.1.1.7.0 (CPUJUL2014)

Applying Patch 19948000: OHS SECURITY PATCH UPDATE 11.1.1.7.0 (CPUJAN2015)

FMW 12.1.2.0.0 - Oracle HTTP Server - Applying Patch 21768251: MERGE REQUEST ON TOP OF 12.1.2.0.0 FOR BUGS 19948089 19304888 20806507 20900385

FMW 12.1.3.0.0 - Applying Patch 19948154: OHS SECURITY PATCH UPDATE 12.1.3.0.0 (CPUJAN2015)

FMW 12.1.3.0.0 - Applying Patch 19229422: OHS 12C UNABLE TO CONNECT TO WLS DYNAMIC CLUSTER

FMW 11.1.1.7.0 - Applying Oracle HTTP Server Patch 20394174: MERGE REQUEST ON TOP OF 11.1.1.7.0 FOR BUGS 19948000 17905017

FMW 11.1.1.7.0 - Applying Patch 21640624: OHS SECURITY PATCH UPDATE 11.1.1.7.0 (CPUOCT2015)

Wednesday, 16 September 2015

FMW 11.1.1.7.0 - Applying Patch 20444775: OID BUNDLE PATCH 11.1.1.7.3

FMW 11.1.1.7.0 - Applying Patch 20444775: OID BUNDLE PATCH 11.1.1.7.3

- Download the patch p20444775_111170_Linux-x86-64.zip (select patch for relevant platform) to staging area and unzip it.

- Set environment variables

export ORACLE_HOME=/SID/fmw/product/111/idm_111

export PATH=$ORACLE_HOME/OPatch:$PATH


Applying the patch

- Stop all Oracle Internet Directory servers to which you will apply this Bundle Patch by running the following command:

$ORACLE_INSTANCE/bin/opmnctl stopall

Any application that uses this Server and any Oracle Internet Directory-protected servers will not be accessible during this period.

- Take Backup of Middleware home: MW_HOME/idm_111

- cd /SID/admin/patches/20444775

- opatch apply

- Start all Servers.


Post Patching

After applying the bundle patch, you must do the following:

- If Oracle Internet Directory is configured to use privileged port then run the following:

$ORACLE_HOME/oidRoot.sh


- Execute the following sql files:

cd $ORACLE_HOME/ldap/admin

   sqlplus ods/<odsPassword>@oiddb
   @b14691597.sql
   @b17318444.sql
   @oiddpndn.sql
   @oidtblkl.sql
   @b18346595.sql
   @b13936477.sql
   @b19584514.sql


- Start all Oracle Internet Directory server instances by running the following command:

$ORACLE_INSTANCE/bin/opmnctl startall


Removing the Bundle Patch

If any issues encountered post patching and requires a rollback

- Stop the services

$ORACLE_INSTANCE/bin/opmnctl stopall

$ opatch rollback -id 20444775

- Restart services


ORACLE_INSTANCE/bin/opmnctl startall