Documentation Center

Decommissioning a Content Delivery environment

Using PowerShell scripts and the Core Service API, you can decommission a Content Delivery environment; that is, you can delete the environment from your publishing infrastructure without explicitly unpublishing its contents. Do not decommission a Content Delivery environment unless you have a pressing reason to do so.

Procedure

  1. Prohibit all users from publishing to the Content Delivery environment you intend to decommission.
  2. Remove all publish states related to the environment by calling the Core Service method RemovePublishStates, which takes a Publication ID and a Target Type ID or Purpose.
  3. Remove the environment from Topology Manager by running the following PowerShell command:
    Clear-TtmCdEnvironment -Id CDENVID

    where CDENVID is the identifier of the Content Delivery environment you want to decommission.

  4. Remove any mapping from Topology Manager to the environment by running the following PowerShell command:
    Clear-TtmMapping -Id MAPPINGID

    where MAPPINGID is the identifier of the Content Delivery environment you want to decommission.