71 lines
2.3 KiB
ReStructuredText

:original_name: en-us_topic_0054235819.html
.. _en-us_topic_0054235819:
Deleting DCS Instances
======================
Scenario
--------
On the DCS console, you can delete one or multiple DCS instances at a time. You can also delete all instance creation tasks that have failed to run.
.. important::
After a DCS instance is deleted, data from the instance will also be deleted without backup.
Prerequisites
-------------
- The DCS instances you want to delete have been created.
- The DCS instances you want to delete are in the **Running**, **Faulty**, or **Stopped** state.
Procedure
---------
**Deleting DCS Instances**
#. Log in to the management console.
#. Click |image1| in the upper left corner of the management console and select a region.
#. In the navigation pane, choose **Cache Manager**.
#. On the **Cache Manager** page, select one or more DCS instances you want to delete.
DCS instances in the **Creating**, **Starting**, **Stopping**, or **Restarting** state cannot be deleted.
#. Choose **More** > **Delete** above the instance list.
#. Click **Yes** to confirm that you want to delete the instances.
It takes 1 to 30 minutes to delete DCS instances.
.. note::
To delete a single instance, choose **Operation** > **More** > **Delete** in the same row as the instance.
**Deleting Instance Creation Tasks That Have Failed to Run**
#. Log in to the management console.
#. Click |image2| in the upper left corner of the management console and select a region.
#. Click **Service List**, and choose **Database** > **Distributed Cache Service** to launch the DCS console.
#. In the navigation pane, choose **Cache Manager**.
If there are DCS instances that have failed to be created, **Instance Creation Failures** is displayed above the instance list.
#. Click the icon or the number of failed tasks next to **Instance Creation Failures**.
The **Instance Creation Failures** dialog box is displayed.
#. Choose failed instance creation tasks to delete.
- To delete a single failed task, click **Delete** in the same row as the task.
- To delete all failed tasks, click **Delete All** above the task list.
.. |image1| image:: /_static/images/en-us_image_0000001340405153.png
.. |image2| image:: /_static/images/en-us_image_0000001340285301.png