Subscribing the Targets to the Selected Image
To achieve standardization, Oracle Homes must be subscribed to the image. A group of Grid Infrastructure Homes can subscribe to a image created with a reference Grid Infrastructure Home. A target should be subscribed to only one gold image at a given time.
Syntax:emcli db_software_maintenance -subscribeTarget -target_name=<target_name>
-target_type=<target_type> -image_id=<image_id>
Sample:
emcli db_software_maintenance -subscribeTarget -target_name=ORCL1910.abc.sample.com
-target_type=oracle_database -image_id=A344EFAD4A9D7
Where:
target_name
: The name of the target that needs to be patched.target_type
: Type of database target to be patched, for more information on target types see: Fleet Maintenance EM CLI Operations.image_id
: The ID of the gold image to which this target is to be patched. You can get the image_id by running the emcli command. For information about the command, see Retrieving a List of Available Gold Images.
Note:
If the target is a primary database, the standby database target is automatically subscribed to the same image.Sample Output
Target 'RACDB1' subscribed successfully.
Verb subscribeTarget completed successfully