Introduction

Providers willing to use the WebHosting Plesk module should migrate their customers from Windows Shared Hosting by means of the Migration Manager tool. After migrating each subscription, there will be two subscriptions: a source Windows Shared Hosting subscription and a target WebHosting Plesk subscription. After the migration is finished, the provider should remove (or unprovision) resources related to the Windows Shared Hosting module from the source subscription.

This article explains how to unprovision resources related to the WebHosting Linux module from subscriptions.

Supported configurations

Odin Automation 7.4 with the Windows Shared Hosting module.

What happens during the unprovisioning of resources

The cleanup tool unprovisions all resources related to Windows Shared Hosting from subscriptions.

Installing the cleanup tool

To install the clean-up-whl-module tool:

  1. Download the package by using clean-up-hosting-module.tar.gz.
  2. Log in to the management node over SSH as a user with root credentials.
  3. Upload the downloaded archive to the Odin Automation management node.
  4. Extract the contents of the archive by issuing the following command:

    tar xvzf clean-up-hosting-module.tar.gz
    

Performing the cleanup

You need to unprovision resources related to the Windows Shared Hosting module to make it impossible to create new Windows Shared Hosting webspaces and websites. After you do so, resource allotments related to WebHosting Linux will be reset to zero and WebHosting Linux webspaces and sites will be unprovisioned.

To unprovision resources related to Windows Shared Hosting, run the script as follows:

# ./clean-up-wsh-module.py unprovision-resources --subscription-ids <subscription IDs>

Where:

--subscription-ids - the IDs of subscriptions from which resources related to the module must be unprovisioned.

The outcome

  • Resource allotments will be reset to zero.
  • Websites and webspaces will be removed from the Windows Shared Hosting module.

Internal content