Patching Using EMCLI

Targets can be patched using Enterprise Manager Command Line Interface. You do not necessarily need Cloud Control to download and apply patches.

The following table describes EM CLI patching scenarios:

Table A-4 EM CLI Patching Scenarios

Case No Scenario Hign Level Steps
Case 1 Creating a new properties file for patching targets. To patch targets using a fresh properties file, follow these steps:
  1. Select the targets, and seach for the patches that you want to add to the plan.
  2. Create a properties file, and save it in a temporary location.
  3. Create the plan using the properties file as the input.
  4. View the patch plan before submitting to know if the given patch plan can be submitted. If the action is:
    • Analyze, then you can submit your patch plan for analysis.
    • Deploy, then you can submit your patch plan for deployment.
  5. Verify the status of the submitted plan.
For details about how to use the EM CLI commands to perform each of the steps see Creating a New Properties File for Patching Targets.
Case 2 Updating the properties file of an existing patch plan to patch the targets.

To upload a multi-part patch follow these steps:

  1. Get the user-editable data for a given patch plan, and save the output as a properties file.
  2. Edit the properties file using an editor. For example, vi editor.
  3. Save the edited user-data.
  4. View the patch plan before submitting to know if the given patch plan can be submitted. If the action is:
    • Analyze, then you can submit your patch plan for analysis.
    • Deploy, then you can submit your patch plan for deployment.
  5. Verify the status of the submitted plan.
For details about how to use the EMCLI commands to perform each of the steps see Using the Properties File of an Existing Patch Plan to Patch the targets.
Case 3 Uploading a multi-part patch To upload a multi-part EMCLI patch follow the steps outlined in: upload_patches under Upload Muti-part patch.