Deleting virtual machines and reclaiming IP addresses

A virtual machine that is part of a virtual application instance can go into the Stopped state. In the Stopped state, the IP address that is allocated to that virtual machine remains in use and cannot be allocated to other virtual machines. If you no longer require the virtual machine, you can delete it.

Before you begin

You must be assigned the Cloud group administration role with permission to Manage cloud resources (Full permission) to perform these steps.

About this task

When you delete a virtual machine, its IP address is put back into the pool of available IP addresses. The recovery rules take effect, which can result in the IP address immediately being allocated to a new running virtual machine.

You can view currently allocated IP addresses by virtual application instance, by IP group, or by hypervisor. Select the appropriate option:
Virtual application instance
Click Patterns > Manage > Virtual Application Instances. Select a virtual application instance and review the allocated IP addresses on the detail page.
IP group
Click Cloud > Architecture > IP Groups. Select an IP group and review the allocated IP addresses on the detail page.

When a virtual machine is stopped, the IP address is not released. On the IP Groups page, the IP address for the stopped virtual machine is displayed as Active. This status remains true until the virtual machine is deleted.

Procedure

  1. Click Patterns > Manage > Virtual Machines
  2. Select the virtual machine.
  3. Click Delete on the toolbar to delete the virtual machine.
  4. Click Delete confirm that you want to delete the virtual machine.