create_patch_plan

This is a framework patching verb that any integrator, including agents can use.

Note:

For Fleet Maintenance database patching use the software maintenance verb db_software_maintenance.

Format

emcli create_patch_plan
        -name="name"
        -input_file=data:"file_path" 
        [-impact_other_targets="add_all | add_original_only | cancel"] 
        [-problems_assoc_patches="ignore_all_warnings | cancel"] 

[ ]  indicates that the parameter is optional

Options

  • name: Name of the setting.
  • input_file: Input data to create a new patch plan. You must provide the data in the property name-value pairs. You can use the following sample input file to create a patch plan with two patches:
    patch.0.patch_id=4518443
             patch.0.release_id=80102010
             patch.0.platform_id=226
             patch.0.language_id=0
             patch.0.target_name=orclws
             patch.0.target_type=oracle_database
             patch.1.patch_id=4424952
             patch.1.release_id=80102030
             patch.1.platform_id=46
             patch.1.language_id=0
             patch.1.target_name=arac
             patch.1.target_type=rac_database

    To obtain the patch information see: search_patches.

    For more information about input_file see: -input_file Syntax Guidelines.

  • impact_other_targets: Action to take when other targets are impacted while adding the patches to the plan. Possible values for this option are:
    • add_all: Add all impacted targets to the plan.
    • add_original_only: Only add original targets to the plan.
    • cancel: Cancel the plan creation.
  • problems_assoc_patches: Action to take when there are problems associating patches to targets. Possible values for this option are:
    • ignore_all_warnings: Ignores all warnings.
    • cancel: Cancel the plan creation.

Examples

emcli create_patch_plan -name="plan_name" -input_file=data:"/tmp/patchplan.props"
emcli create_patch_plan -name="plan name" -input_file=data:"/tmp/patchplan.props" -impact_other_targets="add_all"