Managing virtual machine resources
You can manage resources from the Overview tab of the deployed template instances page.
You can also run the import a VMware virtual machine API and manage resources from the deployed template instance page of Managed services. For more information about the API, see Common Managed services APIs.
- Start and stop virtual machine resource
- Reset
- Shutdown OS
- Restart OS
- Snapshots
- Taint and untaint resource
- Details
The following table lists Managed services limitations for Cloud provider:
Cloud Provider | Limitations |
---|---|
IBM PureApplication | You can create templates based on IBM PureApplication patterns. You can start/stop virtual machines and destroy resources for such templates, but the taint/untaint feature is not supported. |
IBM Cloud, Amazon AWS, and VMware vSphere | Start, stop, and shutdown are available for these providers. Reset, and View Snapshots are available for VMware vSphere only. Restart OS option is available for both Amazon AWS and VMware vSphere. |
OpenStack, Google Cloud, Microsoft Azure, and IBM PureApplication | Start and Shutdown are available for these providers. Note: Stop (forced power off) is not supported for these providers. Instead the provider attempts a graceful operating system shutdown first. If shutdown does not complete in a given amount of time, then the provider forcefully powers off the virtual machine. |
Nutanix | You cannot manage the resources for this provider in this release. |
VMware NSXv, VMware NSX-T, IBM Cloud Pak for AIOps and IBM Cloud Kubernetes Service | Manage resources section is not applicable for these providers as they do not provision virtual machines. |
Start and stop virtual machine resource
The start action powers on a stopped virtual machine and stop action does a force power off of the virtual machine without operating system shutdown.
- In the navigation bar, click Automate Infrastructure > Instances. Click the Terraform templates tab.
- Click to open a deployed instance.
- In the Overview tab, go to the Resource details section.
- From the overflow menu of a resource, click Start. The STATE of the virtual machine resource changes from "Stopped" to "Running". Likewise, click Stop to change the STATE of the virtual machine resource from "Running" to "Stopped". The start/stop option is available only when the resource is of type
virtual_machine
and is in a powerstate.
Reset virtual machine resource
You can reset a VMware virtual machine resource. It resets and restarts the virtual machine.
- In the navigation bar, click Automate Infrastructure > Instances. Click the Terraform templates tab.
- Click to open a deployed instance.
- In the Overview tab, go to the Resource details section.
- From the overflow menu of a resource, click Reset.
- In the Activity section of the Overview page, you can view the status of the reset activity and also its logs.
- Optionally, you can verify the status of the virtual machine in VMware.
Shutdown virtual machine resource
The shutdown action performs a graceful operating system shutdown and then powers off the virtual machine.
- In the navigation bar, click Automate Infrastructure > Instances. Click the Terraform templates tab.
- Click to open a deployed instance.
- In the Overview tab, go to the Resource details section.
- From the overflow menu of a resource, click Shutdown OS. The STATE of the virtual machine resource changes from "Running" to "Stopped".
Restart OS
Restart OS action is available for VMware vSphere and Amazon AWS. This option is enabled only when the virtual machine power state is ON. On Amazon AWS, this option corresponds to a reboot action.
- In the navigation bar, click Automate Infrastructure > Instances. Click the Terraform templates tab.
- Click to open a deployed instance.
- In the Overview tab, go to the Resource details section.
- From the overflow menu of a resource, click Restart OS. The operating system of the virtual machine is restarted.
Snapshots
Snapshots are available only for a VMware virtual machine.
- In the navigation bar, click Automate Infrastructure > Instances. Click the Terraform templates tab.
- Click to open a deployed instance.
- In the Overview tab, go to the Resource details section.
- From the overflow menu of a resource, click Snapshots to view the details of a snapshot in read-only mode.
Taint and Untaint resource
Taint marks a Terraform managed resource as tainted and the tainted resource is deleted and recreated during the next apply.
- In the navigation bar, click Automate Infrastructure > Instances. Click the Terraform templates tab.
- Click to open a deployed instance.
- In the Overview tab, go to the Resource details section.
- From the overflow menu of a resource, click Taint.
- In the Taint resource confirmation window, click Taint. In the Other tab of the Activity section, a "Taint resource is in progress" entry is displayed. After the activity completes successfully, the activity changes to "Taint resource succeeded" with a green check mark.
- You can click to view the log of the activity.
- For a tainted resource, you can go to the overflow menu of the resource and click Untaint before you apply the changes. Untaint unmarks a tainted resource and restores it.
- After you apply the changes, a resource that is marked as tainted gets destroyed and recreated. The Taint option is again available for a recreated resource.
- You can see the status of the action in the Activity section.
Details
- In the navigation bar, click Automate Infrastructure > Instances. Click the Terraform templates tab.
- Click to open a deployed instance.
- In the Overview tab, go to the Resource details section.
- From the overflow menu of a resource, click Details. All the details of the resource are displayed in the Instance details page. As an administrator or cluster administrator, you can hide some details of the resource. For more information about the APIs, see Retrieve all IaaS resource settings and Retrieve a specific IaaS resource settings.