create_patch_plan

Creates a new patch plan with the specified name and the patch-target map.

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.

    For more information about the input_file parameter, 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 — Ignore 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" 

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