Changing Version Status to Current
After an updated version of the image has been created see Create a Gold Image Using EMCLI, this new version must be marked as "Current". This indicates that this is the target version to which the databases are to be patched at the end of the fleet operation.
emcli db_software_maintenance -updateVersionStatus -version_id=<version_id> -status=CURRENT
where version_id
is the target version to which the databases are to be patched.
Sample Output
Version ID '269EA1638D1D7472E053D903C40ABF1B' updated successfully. Verb updateVersionStatus completed successfully.