upload_patches

Uploads patches to the software library.

Format

emcli upload_patches 
        -from_host="host_name" 
        -patch_files="metadata_file_path;ZIP_file_path" 
        [-cred_name="name" -cred_owner="owner"] 

[ ]  indicates that the parameter is optional

Options

  • from_host

    Host from which to get the given patch files.

  • patch_files

    List of patch file paths. A metadata file and a zip file must be provided.

  • cred_name

    Named credential used to authenticate the host from which the given patch files are to be uploaded. If you do not provide this option, the normal preferred credential of the host from which the given patch files are to be uploaded will be used by default.

  • cred_owner

    Owner of the named credentials used to authenticate the host from which the given patch files are to be uploaded.

Examples

emcli upload_patches -patch_files="/scratch/p13741363_112310_Linux-x86-64_M.xml;/scratch/p13741363_112310_Linux-x86-64.zip" -from_host=h1.example.com

emcli upload_patches -patch_files="/scratch/p13741363_112310_Linux-x86-64_M.xml;/scratch/p13741363_112310_Linux-x86-64.zip" -from_host=h1.example.com -cred_name=AIMECRED -cred_owner=SYSMAN

Upload a multi-part patch

Patch 23274210 consists of Metadata split into different patch files. Download the patch files to a location with enough space. Keep in mind the patch's preparation will require about three times the total space of the zipped patch.

  1. Upload the patch.

    emcli upload_patches -from_host=<host_name> 
    -patch_files=/<PATCH_LOCATION>/p23274210_121020_American.txt;/<PATCH_LOCATION>/p23274210_121020_Linux-x86-64_1of10.zip;\
    /<PATCH_LOCATION>/p23274210_121020_Linux-x86-64_2of10.zip;\
    /<PATCH_LOCATION>/p23274210_121020_Linux-x86-64_3of10.zip;\
    /<PATCH_LOCATION>/p23274210_121020_Linux-x86-64_4of10.zip;\
    /<PATCH_LOCATION>/p23274210_121020_Linux-x86-64_5of10.zip;\
    /<PATCH_LOCATION>/p23274210_121020_Linux-x86-64_6of10.zip;\
    /<PATCH_LOCATION>/p23274210_121020_Linux-x86-64_7of10.zip;\
    /<PATCH_LOCATION>/p23274210_121020_Linux-x86-64_8of10.zip;\
    /<PATCH_LOCATION>/p23274210_121020_Linux-x86-64_9of10.zip;\
    /<PATCH_LOCATION>/p23274210_121020_Linux-x86-64_10of10.zip\
     -cred_name=<X_OMS_HOST_N> -cred_owner=<EM_USER>

    The command will output a URL that will help track progress of the overall activity.

  2. After the command is complete, go to the Job Activity page and Submit a job: "Download System Patch and Evaluate Patch Recommendations".

  3. The job will generate the recommendations, navigate to Software Update page and search for Exadata Targets. Select QFSP. The patch will now be shown as recommended or applicable to the specified target.