Uninstall the Sitecore XP Scaled topology

This chapter describes how to uninstall Sitecore XP Scaled topology.

Note

If Sitecore Experience Commerce is installed in your environment, uninstall it before uninstalling Sitecore XP Scaled.

Uninstall a Sitecore instance using SIF

You can use SIF to uninstall a Sitecore instance/role from a local server.

To uninstall a Sitecore instance:

  1. Launch PowerShell as an administrator.

  2. Run the Uninstall-SitecoreConfiguration cmdlet, and specify the path to your SIF configuration file.

    For example, using the sitecore-XP1-cm.json file:

    Uninstall-SitecoreConfiguration –Path <configurationpath>\sitecore-XP1-cm.json

    Alternatively, you can pass in the parameters declared in the SIF configuration files by prefixing their name with a dash “ -" in the command line.

    For example:

    Uninstall-SitecoreConfiguration -Path <configurationpath>\sitecore-XP1-cm.json -SqlDbPrefix SC.

    In a PowerShell command line, you can pass additional parameters to control the uninstall process.

    For example, running the Verbose cmdlet increases the amount of information that is logged, and the -Skip <taskname> cmdlet skips one or more tasks.

To correctly uninstall a SIF configuration, you must pass the same parameters that were used during the installation.

The uninstall is performed by a separate list of tasks within the configuration file. For more information, see the SIF documentation.

Uninstall the XP Scaled topology in a distributed environment

Centralized uninstallation of distributed deployments is not supported yet. If you need to re-install a scaled deployment you must remove everything that was installed during the previous installation from each individual computer.

If you have suggestions for improving this article, let us know!