Skip to content

Latest commit

 

History

History
52 lines (48 loc) · 2.23 KB

proc_removing-lifecycle-environments-from-smart-proxy.adoc

File metadata and controls

52 lines (48 loc) · 2.23 KB

Removing Lifecycle Environments from {SmartProxyServerTitle}

When lifecycle environments are no longer relevant to the host system or environments are added incorrectly to {SmartProxyServer}, you can remove the lifecycle environments from {SmartProxyServer}.

You can use both the {ProjectWebUI} and the Hammer CLI to remove lifecycle environments from {SmartProxy}.

Procedure
  1. In the {ProjectWebUI}, navigate to Infrastructure > {SmartProxies}, and select the {SmartProxy} that you want to remove a lifecycle from.

  2. Click Edit and click the Lifecycle Environments tab.

  3. From the right menu, select the lifecycle environments that you want to remove from {SmartProxy}, and then click Submit.

  4. To synchronize {SmartProxy}'s content, click the Overview tab, and then click Synchronize.

  5. Select either Optimized Sync or Complete Sync.

CLI procedure
  1. Select {SmartProxyServer} that you want from the list and take note of its id:

    # {hammer-smart-proxy} list
  2. To verify {SmartProxyServer}'s details, enter the following command:

    # {hammer-smart-proxy} info \
    --id My_{smart-proxy-context-titlecase}_ID
  3. Verify the list of lifecycle environments currently attached to {SmartProxyServer} and take note of the Environment ID:

    # {hammer-smart-proxy} content lifecycle-environments \
    --id My_{smart-proxy-context-titlecase}_ID
  4. Remove the lifecycle environment from {SmartProxyServer}:

    # {hammer-smart-proxy} content remove-lifecycle-environment \
    --id My_{smart-proxy-context-titlecase}_ID \
    --lifecycle-environment-id My_Lifecycle_Environment_ID

    Repeat this step for every lifecycle environment that you want to remove from {SmartProxyServer}.

  5. Synchronize the content from {ProjectServer}'s environment to {SmartProxyServer}:

    # {hammer-smart-proxy} content synchronize \
    --id My_{smart-proxy-context-titlecase}_ID