add_engr_sys_patches

Adds a system patch for performing a patching operation at the component level, on a specific target, or on a list of targets specified in the target file.

Format

emcli add_engr_sys_patches
      -system_target_name="target_name" 
      -system_target_type="target_type" 
      -target_name="target_name" -target_type="target_type" -patch_composite_id="patch_composite_id" | -input_file=data:"target list specified in file" 

Options

  • system_target_name

    Specifies the engineered system target name.

  • system_target_type

    Specifies the engineered system target type.

  • target_name

    Specifies the target name.

  • target_type

    Specifies the target type.

  • input_file

    Specifies the path of the file that contains the inputs for setting up the patching options.

    The following is an example of an input file to add patches for targets:

    target.0.target_name=slcm12adm01.example.com
    target.0.target_type=oracle_exadata
    target.0.sys_patch.patch_id=19893788
    target.0.sys_patch.release_id=9800371121010
    target.0.sys_patch.platform_id=226
    target.0.sys_patch.language_id=0
    target.1.target_name=slcm12adm02.example.com
    target.1.target_type=oracle_exadata
    target.1.sys_patch.patch_id=20093789
    target.1.sys_patch.release_id=9800371121010
    target.1.sys_patch.platform_id=226
    target.1.sys_patch.language_id=0
    

    The following is an example of an input file to add patches for a component:

    component.type=Oracle Infiniband Switch
    component.sys_patch.patch_id=19893788
    component.sys_patch.release_id=9800371121010
    component.sys_patch.platform_id=226
    component.sys_patch.language_id=0
    
  • patch_composite_id

    Specifies the patch composite ID. The format of the patch composite ID must follow p<patchID>_<ReleaseID>_<PlatformID>_<LanguageID>.

Example

The following example adds patches for the member target clusteradm0102.example.com:cluster of the engineered system DB Machine slcm12.example.com:oracle_dbmachine, using the inputs specified in /tmp/property.prop:

emcli add_engr_sys_patches
      -system_target_name="DB Machine slcm12.example.com"
      -system_target_type="oracle_dbmachine"
      -input_file=data:"/tmp/property.prop"