Deleting virtual system instances

You can delete a virtual system instance when it is no longer needed. By deleting a virtual system instance, you release all the cloud resources, making them available for placement decisions.

Before you begin

You must specifically be granted all access to the virtual system instance or have the Workload resources administration with full permissions to complete this task.

About this task

When a virtual system instance is stopped, the cloud resources are not released. The processor usage and the memory allocation associated with the virtual system instance affects placement decisions made by the system. Though the virtual system instance is not actively running, placement decisions are still affected. The cloud resources assigned to this virtual system instance are maintained to ensure that they are available if the virtual system instance is redeployed into the cloud. Deleting the virtual system instance releases the resources and the virtual system instance is no longer a factor in placement decisions.

If you delete a stored virtual system instance, the underlying storage volumes are not cleaned up in your storage controller. You must manually clean up the objects in your storage controller. As a workaround, you can start the stored virtual system instance, then delete the virtual system instance from the toolbar on the Instance Details page. If you delete the virtual system instance by using these steps, which are described in the following section, all storage artifacts are cleaned up.

Note: After deleting a virtual system instance, the virtual machine instances that belong to that virtual system are also deleted. However, when you open the IBM® Cloud Pak System Software Monitoring Portal, those deleted virtual machine instances might still be visible in the Physical view. These virtual machines instances are not active and can be ignored.

Procedure

  1. Click Patterns > Virtual System Instances.
  2. Select the virtual system instance that you want to delete and click Delete in the toolbar.
  3. In the confirmation dialog box that is displayed, specify the deletion options:
    Delete the virtual system history and log files as well
    When deleting a virtual system instance, you can delete history information and logs from that virtual system instance. To retain this information, ensure that the Delete the virtual system history and log files as well check box is cleared.
    If this virtual system instance contains any scripts that are run at virtual system instance deletion, the check box must be cleared. Otherwise, you cannot see the logs from the run of that script.
    Note: Scripts that are run at virtual system instance deletion are run only if the virtual system instance is running when it is deleted. When a virtual system instance is deleted from an environment, the corresponding virtual machines are forcefully shut down for performance reasons.
  4. Click OK to delete the virtual system instance with the parameters that you specified.

Results

The virtual system instance is deleted from the cloud.

What to do next

You can create a virtual system instance by deploying a pattern or you can access any virtual system instance that is started.