In the latest version of VMControl, a comprehensive management and monitoring solution for the PowerVM virtualization environment is provided. You can create and Capture for each Power server and Deploy the Virtual Machine (LPAR), migration (Relocation) and other lifecycle management; you can also combine the managed Power servers into the server Pool System Pool), as a whole for management, in this way, virtual machines deployed in the server pool are combined into Workload for Lifecycle Management, optimization, and monitoring of Workload. Manages and monitors server pools and workloads, which are the core functions of VMControl.
In general, the Workload in the server pool captures Capture) and Deploy) can help users easily install and back up one or more business systems, while Resilience is flexible) can realize the HAHigh Availability and high Availability of Workload). When a server fails, it can automatically migrate the Workload on the server, this article will take these common management tasks as an example to explore how to use the VMControl command line to simplify the daily work of the system administrator.
The following describes the command line of VMControl.
VMControl command line Overview
Common VMControl command lines are usually in vsm, availability, sccli, and imagemgrcli command packages. You can use Director's command line lsbundle to query the command line lists under these command packages.
- # smcli lsbundle | grep -i imagemgrcli
- # smcli lsbundle | grep -i vsm
- # smcli lsbundle | grep – I Availability
The output of these command packages, that is, the complete set of VMControl command lines, contains nearly 70 related command lines. It can be seen that VMControl provides quite a variety of command lines for administrators to use.
These command lines can be divided into five types based on the application objects of the command line: server pool-related commands, Workload-related commands, virtual image-related commands, storage-related commands, virtual machine-related commands, and server-related commands. The following table provides some common command lines for various categories. Using these VMControl command lines, you can complete the most basic management tasks for Power servers.
Table 1. VMControl command line classification and some command lines:
For the command lines marked in the bold box, we will use instances later to help you understand their usage. For other command lines not involved in this article, refer to the VMControl information center below for its usage and usage. (Click to view details)
In general, we can also guess the usage of most commands through the objects and naming rules of the command line. For example, the command line with the prefix chchange) indicates change, rmremove) indicates Delete, lslist) "add" indicates "list", "start" indicates "start", and interested readers can also use the command line man <command> or-help to query and obtain the command line user guide.
In the following example, we will learn these common command lines in the table above, including preparing the VMControl management environment, creating a server pool for the managed Power server, deploying and creating Workload to the server pool, configure the properties of Workload to automatically implement dynamic migration of Workload. In addition, we also back up Workload, manage the lifecycle of Workload, and monitor resource usage.