Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patching OPatch - question #538

Open
standagh opened this issue Jul 20, 2018 · 6 comments
Open

Patching OPatch - question #538

standagh opened this issue Jul 20, 2018 · 6 comments

Comments

@standagh
Copy link
Contributor

If this is a duplicate please ignore.

There is following line related to insetall WLS PSU 12.2.1.3.180717 Patch 27912627:
Before Applying this PSU, please apply Opatch 13.9.4 Patch 28186730

But installation instructions for 28186730 are:
Install the software via:
java -jar <PATCH_HOME>/6880880/opatch_generic.jar -silent oracle_home=$ORACLE_HOME

So - 2 differencis to regular patches installed via opatch apply:

  • directory inside patch (6880880) is different to patch ID (28186730)
  • installation using java -jar...

Is it possible to apply this patch using puppet orawls module?
I didn't found any option how to do it so far.

@biemond
Copy link
Owner

biemond commented Jul 21, 2018

Hi,

Ok it looks like oradb and I need to add opatch upgrade just like in db where this is very common.
https://github.com/biemond/biemond-oradb/blob/puppet4_3_data/manifests/opatchupgrade.pp

Thanks

@aukebergsma
Copy link
Contributor

We had the same issue. Based on Edwin's tip, Maarten and I have endeavoured to fix this. The result is available in https://github.com/aukebergsma/biemond-orawls/tree/patch-1. For example, you can call this as:

orawls::opatchupgrade {'28186730':
  oracle_product_home_dir => $fwm_directory,
  patch_id                => 6880880,
  patch_file              => 'p28186730_139400_Generic.zip',
  opversion               => '13.9.4.0.0',
  os_user                 => 'oracle',
  os_group                => 'oinstall',
  require                 => Class['orawls::weblogic']
}

Since we are no fluent git / github users, we are no sure if we can create a (correct) pull request (we now have a branch with the commits in a reversed order compared to Edwin's branch). Maybe for the process it might also be better if you try it first.

@biemond
Copy link
Owner

biemond commented Aug 7, 2018

nice, please make a PR, I can always fix it and improve it

@aukebergsma
Copy link
Contributor

Ok, we created a PR.

@userMar2017
Copy link

Hi Ed and folks,

Is this integrated into orawls already ? I am encountering the same and would like to use the fix instead of writing a script for it.

@userMar2017
Copy link

userMar2017 commented Jul 26, 2019

ok, I was able to figure it out....I used the following form

Thanks everyone !

orawls::opatchupgrade {'28186730':
..
..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants