VM Instance Management

In the navigation pane of the ZStack Private Cloud UI, choose Resource Pool > VM Instance. Then, the VM Instance management page is displayed, as shown in Figure 1.
Figure 1. VM Instance Management Page


The VM Instance management page has the following two tab pages:
  • Available: Display a list of VM instances that are in the running or stopped state. You can perform operations, such as creating, starting, stopping, restarting, and opening the console of a VM instance.
  • Deleted: Display a list of VM instances that you deleted before. For the deleted VM instances, you can recover them or completely delete them.

The VM list on the VM Instance management page includes the VM name, tag, CPU, memory, default IP address, host IP address, cluster, VM state, owner, high availability (HA) level, and other information. In the Tag, Cluster, and State columns, you can filter information by clicking the drop-down arrow.

On the VM Instance management page, you can perform the following operations:
  • Search: Click the Search icon. Then, you can search for a VM instance by entering its name, UUID, IP address, host IP address, elastic IP address, instance offering name, or owner. You can also use the advanced search method, which is the same as calling the QueryVmInstance API. For more information, see the CLI manual.
    • When you use the advanced search, note the following:
      • A search syntax includes three parts: a parameter, query condition, and value. For more information about the search syntax, see the Query API section in API Reference.
      • Cross-table queries are supported. Parameters of a search syntax must be separated by a period (.).
      • A combination query with multiple conditions is supported. Multiple search syntaxes must be separated by a space.
    • The following are some advanced search examples:
      • Search by CPU count: cpuNum=4
      • Search by IP address: vmNics.ip=192.168.10.2
      • Search by MAC address: vmNics.mac=fa:fc:d7:d8:c0:00
      • Search by cluster UUID: cluster.uuid=502b8933e9c04aafab5f9d7404c5790e
      • Search by image UUID: image.uuid=54ff7eb2c89a3efdb64cd3aa97796441
      • Search by system capacity: rootVolume.actualSize<=10737418240
      • Search by VM state: state=Running or state!=Paused
      • Search by VM platform: platform=Linux or platform=WindowsVirtio
  • Export CSV: Click the Export CSV icon at the upper right. Then, you can export a list of VM instances on the current page or on all related pages.
  • Row Count: Click the Row Count drop-down arrow. Then, you can select the number of VM instances that can be displayed on each page.
  • Tag: Create a tag for resources in a custom manner. With resource tags, you can quickly filter the required resources via tag types and tag names. The Tag button supports the following operations:
    • Filter resource: Click the Tag button. Then, a tag list is displayed. After you select one or more tags in the tag list, resources that bind the tags will be automatically filtered.
    • Display tag: Click the Tag button. Then, a tag list is displayed. If you have too many tags, find the required tags by dragging the scroll bar.
      Note:
      • A tag list is displayed according to different tag roles (admin or tenant). You can switch roles by clicking the Tag drop-down arrow.
      • Resource tags can be sorted in order according to the creation time or tag names (priority: characters > numbers > Chinese characters > English characters). To change the sort order, go to Settings > Global Settings > Advanced, locate Tag sorting field, and click the Edit icon. By default, the tags are sorted in order by tag name.
    • Search tag: In the search box at the top of the tag list, enter either a tag name or a keyword to search for the tag that you want. This operation applies to the scenario with too many tags. We recommend that you use the scroll bar when tags are fewer.
    • Create tag: In the lower left corner of the displayed tag list, click Create Tag. Then, you can create tags as needed. For more information about tag creation and notices, see Tag.
    • Tag management: In the lower right corner of the displayed tag list, click Tag Management. Then, the Tag page is displayed. This page displays a list of tags. On this page, you can create a tag, delete a tag, or unbind a tag from a resource. For more information, see Tag.
  • Custom List: Click the Custom List icon. Then, you can customize the items that can be displayed in a VM list.
    Note:
    • In a VM list, the VM names are displayed by default. You can decide whether to display other items as needed.
    • After you customize the display items of a VM list, the latest information will the exported when you use the export CSV feature.
    • The Community version does not support the custom list feature.