Providers willing to use the WebHosting Plesk module should migrate their customers from Linux Shared Hosting by means of the Migration Manager tool. After migrating each subscription, there will be two subscriptions: a source Linux Shared Hosting subscription and a target WebHosting Plesk subscription. After the migration is finished, the provider should remove (or unprovision) resources related to the Linux Shared Hosting module from the source subscription.
This article explains how to unprovision resources related to the Linux Shared Hosting module from subscriptions.
Odin Automation 7.4 with the Linux Shared Hosting module.
What happens during the unprovisioning of resources
The cleanup tool unprovisions all resources related to Linux Shared Hosting from subscriptions.
Installing the cleanup tool
To install the clean-up-lsh-module tool:
- Download the package by using clean-up-hosting-module.tar.gz.
- Log in to the management node over SSH as a user with root credentials.
- Upload the downloaded archive to the Odin Automation management node.
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 Linux Shared Hosting module to make it impossible to create new Linux Shared Hosting webspaces and websites. After you do so, resource allotments related to Linux Shared Hosting will be reset to zero and Linux Shared Hosting webspaces and sites will be unprovisioned.
To unprovision resources related to Linux Shared Hosting, run the script as follows:
# ./clean-up-lsh-module.py unprovision-resources --subscription-ids <subscription IDs>
--subscription-ids - the IDs of subscriptions from which resources related to the module must be unprovisioned.
- Resource allotments will be reset to zero.
- Websites and webspaces will be removed from the Linux Shared Hosting module.