Skip to content

oradb.opatch - OPatchauto and NApply #274

@umaha01

Description

@umaha01

Hello All, On this same subject - i have a scenario - if any of you have some insight can you please share it back.

I am using oradb.opatch module to apply patches to RAC environments.

With opatchauto command, we can just specify patches location and it will apply all the patches.
PSU JAN2020 - 30501910 (Main PatchID), and associated SUB PATCHIDs -> 30557433, 30489227
I have applied patches using opatchauto of opatch.pp module @ 30501910 Level (Which applied all sub patches successfully.
Following this - for all puppet runs it is reporting below messages:
Info: search for patchid 30501910
Info: opatch_status for patch 30501910 command: /appl/grid/19.0.0.0/OPatch/opatch lsinventory -patch_id -oh /appl/grid/19.0.0.0 -invPtrLoc /etc/oraInst.loc
Info: opatch_status output NotFound for patchId 30501910
The reason because that Parent Id is not found on the opatch lsinventory.
puppet facts are as below after patching:
"/appl/grid/19.0.0.0": [
{
"patch_id": "30484981",
"patch_desc": "OJVM RELEASE UPDATE: 19.6.0.0.200114 (30484981)"
},
{
"patch_id": "30557433",
"patch_desc": "Database Release Update : 19.6.0.0.200114 (30557433)"
},
{
"patch_id": "30489227",
"patch_desc": "OCW RELEASE UPDATE 19.6.0.0.0 (30489227)"
}
NOW MY QUESTION? How to ensure puppet moves forward without trying to apply the same patches, it is trying and giving an output "Patches are already applied".
Does oradb.opatch supports NAPPLY ?

Appreciate your inputs and insights around this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions