Mark a Gold Image as Current

When an updated version of the image is created, this new version must be marked as Current. This indicates that the upcoming patching operation applies patches based on this Current version.

The marking of a gold image has two-part cycle:

  • Initial patching cycle:
    1. Create a gold image that serves as the baseline for patching. See step 2 in Create a Gold Image.
    2. Subscribe the targets to the initially created gold image.
    3. Patch the targets with the gold image.
  • Recurring patching cycle:
    1. Create a new version of the existing the gold image. See step 3 in Create a Gold Image.
    2. Mark the latest version as Current.
    3. Patch the targets with the latest version of the gold image.

EMCLI command format to set the gold image as current based on the Exadata type:

  • EMCLI command format for Storage Server:

    emcli db_software_maintenance 
    -updateVersionStatus
    -version_id="166E5A0FA92D6D46E063DF034B64E21E" 
    -status="CURRENT"
    -image_id="15314B07900969F6E063DF034B64F40C"  
    -targetType="oracle_exadata"
    -imageFile="/home/<user name>/FPP/p34568888_221300_Linux-x86-64";
  • EMCLI command format for Switch:

    emcli db_software_maintenance 
    -updateVersionStatus
    -version_id="166E5A0FA92D6D46E063DF034B64E21E" 
    -status="CURRENT"
    -image_id="15314B07900969F6E063DF034B64F40C"  
    -targetType="oracle_si_netswitch"
    -imageFile="/home/<user name>/FPP/p34568888_221300_Linux-x86-64";
  • EMCLI command format for Database Node:

    emcli db_software_maintenance 
    -updateVersionStatus
    -version_id="166E5A0FA92D6D46E063DF034B64E21E" 
    -status="CURRENT"
    -image_id="15314B07900969F6E063DF034B64F40C" 
    -targetType="host"
    -imageFile="/home/<user name>/FPP/p34568888_221300_Linux-x86-64"
    [-patchManagerLocation="dbserver_patch_220810";]

    [ ] denotes an optional parameter.

For more information about the updateVersionStatus verb, see db_sm_updateversionstatus in Command Line Interface Reference.