6.6 Setting a Particular Agent Gold Image Version as the Restricted Version using Gold Agent Images Home Page

To set a draft or active version of a Agent Gold Image as the restricted version, use either of the following methods:

6.6.1 Setting a Particular Agent Gold Image Version as the Restricted Version Using Gold Agent Images Home Page

To set a draft or active version of a Agent Gold Image as the restricted version, follow these steps:

  1. From the Setup menu, select Manage Cloud Control, then select Gold Agent Images.

  2. Click the name of the required Agent Gold Image.

  3. Click Manage Image Versions and Subscriptions.

  4. Select the Versions and Drafts tab. Select the gold image version that you want to set as the restricted version, then click Set Restricted Version.

6.6.2 Setting a Particular Agent Gold Image Version as the Restricted Version Using EM CLI

To set a draft or active version of a Agent Gold Image version as the restricted version using EM CLI, follow these steps:

  1. Log in to EM CLI from the /bin directory present within the OMS home:
    $<OMS_HOME>/bin/emcli login -username=<user_name>
    

    Once you run this command, EM CLI will prompt you for a password. Enter the password for the user name you specified.

  2. Synchronize EM CLI:
    $<OMS_HOME>/bin/emcli sync
    
  3. Run the promote_gold_agent_image verb to promote the Agent Gold Image version to the Restricted maturity level:
    $<OMS_HOME>/bin/emcli promote_gold_agent_image         -version_name="gold_image_version_name"        -maturity="Current/Restricted/Draft"
     
    

    The -version_name parameter defines the Agent Gold Image version that you want to promote.

    The -maturity parameter defines the gold image maturity level.

    For example, to promote the Agent Gold Image OPC_AGI_DB_JUL_13 to the Restricted maturity level, run the following:

    $<OMS_HOME>/bin/emcli promote_gold_agent_image  -version_name=OPC_AGI_DB_JUL_13 -maturity=Restricted