meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| domestic:rosplatforma:man:prlctl [2023/01/26 08:17] – mchus | domestic:rosplatforma:man:prlctl [2023/02/09 06:43] (current) – mchus | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== prlctl ====== | ====== prlctl ====== | ||
| - | ---- | ||
| - | |||
| ===== NAME ===== | ===== NAME ===== | ||
| Line 8: | Line 6: | ||
| ===== SYNOPSIS | ===== SYNOPSIS | ||
| - | prlctl **create** <// | + | prlctl **create** <// |
| - | prlctl **backup** <// | + | prlctl **backup** <// |
| - | prlctl **backup-list** [//ve_id//|// | + | prlctl **backup-list** [//ve_id// // |
| - | prlctl **backup-delete** {**< | + | prlctl **backup-delete** {**< |
| - | prlctl **restore** {**< | + | prlctl **restore** {**< |
| - | prlctl **capture** <// | + | prlctl **capture** <// |
| - | prlctl **clone** <// | + | prlctl **clone** <// |
| - | prlctl **delete** <// | + | prlctl **delete** <// |
| - | prlctl **installtools** <// | + | prlctl **installtools** <// |
| - | prlctl **exec** <// | + | prlctl **exec** <// |
| - | prlctl **enter** <// | + | prlctl **enter** <// |
| - | prlctl **console** <// | + | prlctl **console** <// |
| - | prlctl **list** [**-a, | + | prlctl **list** [**-a,< |
| - | prlctl **list** -i,--info [**-f, | + | prlctl **list** -i,< |
| - | prlctl **migrate** < | + | prlctl **migrate** < |
| - | prlctl **pause** <// | + | prlctl **pause** <// |
| - | prlctl **problem-report** <// | + | prlctl **problem-report** <// |
| - | prlctl **reinstall** <// | + | prlctl **reinstall** <// |
| - | prlctl **register** <// | + | prlctl **register** <// |
| - | prlctl **reset** <// | + | prlctl **reset** <// |
| - | prlctl **resume** <// | + | prlctl **resume** <// |
| - | prlctl **restart** <// | + | prlctl **restart** <// |
| - | prlctl **reset-uptime** <// | + | prlctl **reset-uptime** <// |
| - | prlctl **set** <// | + | prlctl **set** <// |
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| - | |||[**--3d-accelerate** <//off//|//highest// | + | prlctl |
| - | |||[**--cpuunits** <// | + | |
| - | |||[**--cpu-hotplug** <// | + | |
| - | |||[**--ioprio** <// | + | |
| - | |||[**--mem-hotplug** <// | + | |
| - | |||[**--memguarantee** <// | + | |
| - | |||[**--description** <// | + | |
| - | |||[**--autostop** <// | + | |
| - | |||[**--autocompact** <// | + | |
| - | |||[**--tools-autoupdate** <// | + | |
| - | |||[**--on-crash** <// | + | |
| - | |||[**--vnc-mode** <// | + | |
| - | |||[**--name** <// | + | |
| - | |||[**--netfilter** <// | + | |
| - | |||[**--swappages** // | + | |
| - | |||[**--features** // | + | |
| - | |||[**--device-add** <// | + | |
| - | |||[**--device-connect** <// | + | |
| - | |||[**--device-bootorder** "<// | + | |
| - | |||[**--offline-management** <// | + | |
| - | |||[**--hostname** <// | + | |
| - | |||[**--rate** <// | + | |
| - | |||[**--applyconfig** <// | + | |
| - | |||[**--nested-virt** <// | + | |
| - | |||[**--efi-boot** <// | + | |
| - | |||[**--ha-enable** <// | + | |
| - | |||[**--template** <// | + | |
| - | |||[**--backup-add** <// | + | |
| - | |||[**--backup-del** <// | + | |
| - | prlctl **start** <// | + | prlctl **stop** <// |
| - | prlctl **stop** <// | + | prlctl **snapshot** <// |
| - | prlctl **snapshot** <// | + | prlctl **snapshot-list** <// |
| - | prlctl **snapshot-list** <// | + | prlctl **snapshot-delete** <// |
| - | prlctl **snapshot-delete** <// | + | prlctl **snapshot-switch** <// |
| - | prlctl **snapshot-switch** <// | + | prlctl **suspend** <// |
| - | prlctl **suspend** <// | + | prlctl **unregister** <// |
| - | prlctl **unregister** <// | + | prlctl **mount** <// |
| - | prlctl **mount** <// | + | prlctl **umount** <// |
| - | prlctl **umount** <// | + | prlctl **move** <// |
| - | prlctl **move** <// | + | prlctl **statistics** {<// |
| - | + | ||
| - | prlctl **statistics** {<// | + | |
| ===== DESCRIPTION | ===== DESCRIPTION | ||
| Line 115: | Line 112: | ||
| ===== OPTIONS | ===== OPTIONS | ||
| + | ==== Flags ==== | ||
| - | **Flags**\\ | + | The following flags can be used with the majority of **prlctl** commands. |
| - | The following flags can be used with the majority of **prlctl** commands. **\\ | + | * |
| - | -l,--login user[[: | + | * **-p,< |
| + | * **-v,< | ||
| + | * **< | ||
| - | Connect to the remote R-Virtualization server using the IP address or hostname of **server** and the specified credentials (i.e. the **user** username and **passwd** password). If no connection parameters are specified, **prlctl** assumes that the command is run on the local server. | + | ==== Managing virtual environments ==== |
| - | **-p,--read-passwd** <//file//> | + | * **create** <// |
| + | * Use the **< | ||
| + | * Use the **< | ||
| + | * **create** <// | ||
| + | * **create** <// | ||
| + | * Use the **< | ||
| + | * Use the **< | ||
| + | * After the virtual environment has been successfully created, you should install the corresponding operating system inside it. | ||
| - | Use the password from the **file** file to log in to the remote | + | * **clone** <// |
| + | * Use the **< | ||
| + | * Use the **< | ||
| + | * Use the **< | ||
| + | * Use the **< | ||
| + | * Use the **< | ||
| + | * **delete** <// | ||
| + | * **installtools** <// | ||
| + | * **exec** <// | ||
| + | * **enter** <// | ||
| + | * **console** <// | ||
| + | * **capture** <// | ||
| + | * **pause** <// | ||
| + | * **problem-report** <// | ||
| + | * **register** <// | ||
| + | * **reinstall** <// | ||
| + | * **reset** <// | ||
| + | * **start** <// | ||
| + | * **restart** <// | ||
| + | * **stop** <// | ||
| + | * **status** <// | ||
| + | * **unregister** <// | ||
| + | * **suspend** <// | ||
| + | * **resume** <// | ||
| + | * **reset-uptime** <// | ||
| + | * **mount** <// | ||
| + | * **umount** <// | ||
| + | * **move** <// | ||
| - | **-v, | + | ==== Container action scripts |
| - | + | ||
| - | Configure the **prlctl** logging level. | + | |
| - | + | ||
| - | **--timeout < | + | |
| - | + | ||
| - | Specify a custom operation timeout in seconds. By default, timeouts for all operation are unlimited. | + | |
| - | + | ||
| - | **Managing virtual environments\\ | + | |
| - | create** <// | + | |
| - | [**--uuid** <// | + | |
| - | + | ||
| - | Create the virtual environment with the name of **< | + | |
| - | + | ||
| - | Use the **--changesid** option to assign the new Windows-based virtual machine a new Windows security identifier (SID). Note: R-Virtualization Guest Tools must be installed in the virtual machine. | + | |
| - | + | ||
| - | Use the **--uuid** option to manually specify the UUID to use. | + | |
| - | + | ||
| - | **create** <// | + | |
| - | <// | + | |
| - | + | ||
| - | Create the virtual environment with the name of **< | + | |
| - | + | ||
| - | **create** <// | + | |
| - | [**--dst** <// | + | |
| - | + | ||
| - | Create the virtual environment with the name of **< | + | |
| - | + | ||
| - | Use the **--dst** option to set the path to the directory on the R-Virtualization server where the **< | + | |
| - | + | ||
| - | Use the **--no-hdd** option to create virtual environment without hard disk drives. | + | |
| - | + | ||
| - | After the virtual environment has been successfully created, you should install the corresponding operating system inside it. | + | |
| - | + | ||
| - | **clone** <// | + | |
| - | [**--changesid**] [**--linked**] [**--detach-external-hdd** <// | + | |
| - | + | ||
| - | Make a copy of a virtual environment and name it <// | + | |
| - | + | ||
| - | Use the **--template** option to create a template of a virtual environment. | + | |
| - | + | ||
| - | Use the **--dst** option to specify the path to the directory where the **< | + | |
| - | + | ||
| - | Use the **--changesid** option to assign the clone a new Windows security identifier (SID). Note: R-Virtualization Guest Tools must be installed in the original Windows-based virtual machine. | + | |
| - | + | ||
| - | Use the **--linked** option is used to create a linked clone of the virtual environment. | + | |
| - | + | ||
| - | Use the **--detach-external-hdd** <// | + | |
| - | + | ||
| - | **delete** <// | + | |
| - | + | ||
| - | Remove the specified virtual environment from the R-Virtualization server by deleting all VE-related files and directories. You can use the **--force** option to forcibly stop the VE. | + | |
| - | + | ||
| - | **installtools** <// | + | |
| - | + | ||
| - | Connect the R-Virtualization Guest Tools image to the VE using its CD/DVD-ROM device, so that the guest operating system is able to install or update the tools from it. | + | |
| - | + | ||
| - | **exec** <// | + | |
| - | + | ||
| - | Execute the **command** command in the virtual environment. For virtual machines, it requires R-Virtualization Guest Tools to be installed. Commands in Linux and Windows guests are run via bash -c " | + | |
| - | + | ||
| - | **enter** <// | + | |
| - | + | ||
| - | Log in to the virtual environment. For virtual machines, it requires R-Virtualization Guest Tools to be installed. | + | |
| - | + | ||
| - | **console** <// | + | |
| - | + | ||
| - | Attach to the Container’s console. To exit from the console, press " | + | |
| - | + | ||
| - | **capture** <// | + | |
| - | + | ||
| - | Take a screenshot of a current virtual environment console in PNG format. If the **--file** option is specified, a screenshot is stored to the path //path//; otherwise, it is dumped to stdout. | + | |
| - | + | ||
| - | **pause** <// | + | |
| - | + | ||
| - | Pause the specified virtual environment. | + | |
| - | + | ||
| - | **problem-report** <// | + | |
| - | [**user[: | + | |
| - | + | ||
| - | Generate a problem report. If the **-s, | + | |
| - | + | ||
| - | **register** <// | + | |
| - | [**--regenerate-src-uuid**] [**--force**] | + | |
| - | + | ||
| - | Register the virtual environment whose configuration file has the path of //path//. If the **--preserve-uuid** option is specified, the virtual environment ID will not changed. If the **--uuid** option is specified, the provided //UUID// will be used for virtual environment ID, otherwise, it will be regenerated. If the **--regenerate-src-uuid** option is specified, the virtual environment source ID will be regenerated (SMBIOS product id will be changed as well). If the **--force** option is specified, all validation checks will be skipped. | + | |
| - | + | ||
| - | **reinstall** <// | + | |
| - | <// | + | |
| - | + | ||
| - | Recreates container’s root virtual disk, installs all applications previously installed from application templates, copies credentials from the old container (unless **--resetpwdb** is specified), and renames the old root directory ’/’ to ’/old’ (unless **--no-backup** is specified). | + | |
| - | + | ||
| - | **reset** <// | + | |
| - | + | ||
| - | Reset the specified virtual environment. | + | |
| - | + | ||
| - | **start** <// | + | |
| - | + | ||
| - | Start the specified virtual environment. | + | |
| - | + | ||
| - | **restart** <// | + | |
| - | + | ||
| - | Restart the specified virtual environment. | + | |
| - | + | ||
| - | **stop** <// | + | |
| - | + | ||
| - | Stop the specified virtual environment. You can use the **--kill** option to forcibly stop the VE. | + | |
| - | + | ||
| - | **status** <// | + | |
| - | + | ||
| - | Display the status of the specified virtual environment. | + | |
| - | + | ||
| - | **unregister** <// | + | |
| - | + | ||
| - | Unregister the specified virtual environment. | + | |
| - | + | ||
| - | **suspend** <// | + | |
| - | + | ||
| - | Suspend the specified virtual environment. | + | |
| - | + | ||
| - | **resume** <// | + | |
| - | + | ||
| - | Resume the specified virtual environment. | + | |
| - | + | ||
| - | **reset-uptime** <// | + | |
| - | + | ||
| - | Resets the specified virtual environment uptime counter (counter start date/time also will be reset with this action). | + | |
| - | + | ||
| - | **mount** <// | + | |
| - | + | ||
| - | Mounts the specified virtual environment. | + | |
| - | + | ||
| - | **umount** <// | + | |
| - | + | ||
| - | Unmounts the specified virtual environment. | + | |
| - | + | ||
| - | **move** <// | + | |
| - | + | ||
| - | Moves the directory with files of the specified virtual environment to a new location on the same server. | + | |
| - | + | ||
| - | **Container action scripts** | + | |
| Action scripts can be used to perform actions on containers at various stages of container operation. The following commands can trigger action scripts: **start**, **stop**, **restart**, | Action scripts can be used to perform actions on containers at various stages of container operation. The following commands can trigger action scripts: **start**, **stop**, **restart**, | ||
| Line 274: | Line 168: | ||
| Custom action scripts can be of two types: | Custom action scripts can be of two types: | ||
| - | ||• Global, executed for all containers on host. Such scripts must have the prefix ’vps’ (e.g., ’vps.mount’) and need to be placed in ’/ | + | - **Global**, executed for all containers on host. Such scripts must have the prefix ’vps’ (e.g., ’vps.mount’) and need to be placed in ’/ |
| - | ||• per-container, | + | - **per-container**, executed for specific containers. Such scripts must not have the prefix ’vps’ and need to be placed in ’/ |
| - | **vps.mount**, | + | * **vps.mount**, |
| + | * **start** - Executed in container context on container start. | ||
| + | * **stop** - Executed in container context on container stop. | ||
| + | * **vps.umount**, | ||
| - | Executed after a container is mounted. Can be global or container-specific. | + | <WRAP center round tip 60%> |
| - | + | All action scripts except **start** and **stop** are executed in the host context. The **start** and **stop** scripts are executed in the container context. | |
| - | **start** | + | </ |
| - | + | ||
| - | Executed in container context on container start. | + | |
| - | + | ||
| - | **stop** | + | |
| - | + | ||
| - | Executed in container context on container stop. | + | |
| - | + | ||
| - | **vps.umount**, | + | |
| - | + | ||
| - | Executed before a container unmounted. Can be global or container-specific. | + | |
| - | + | ||
| - | **NOTE**: | + | |
| The environment passed to the **mount** and **umount** scripts is the standard environment of the parent (e.g., prlctl) with two additional variables: **$VEID** and **$VE_CONFFILE**. The first has the container UUID and the second has the full path to container’s configuration file. Other container configuration parameters required for the script (such as **$VE_ROOT**) can be obtained from the global and per-container configuration files. | The environment passed to the **mount** and **umount** scripts is the standard environment of the parent (e.g., prlctl) with two additional variables: **$VEID** and **$VE_CONFFILE**. The first has the container UUID and the second has the full path to container’s configuration file. Other container configuration parameters required for the script (such as **$VE_ROOT**) can be obtained from the global and per-container configuration files. | ||
| - | **Listing virtual environments\\ | + | ==== Listing virtual environments |
| - | list** [**-a, | + | * **list** [**-a,< |
| - | <// | + | |
| - | + | | |
| - | List the virtual environments currently existing on the R-Virtualization server. By default, only running VEs are displayed. | + | |
| - | + | * **< | |
| - | **-o, --output** // | + | * **-t, <nowiki>--</nowiki>template** - Include templates |
| - | + | * **-j,<nowiki>--</nowiki>json** - Produce output | |
| - | Display only the specified // | + | * **list** -i,<nowiki>--</nowiki>info [**-f,<nowiki>--</nowiki>full**] [//ve_id// //ve_name//] [**-t,<nowiki>--</nowiki> |
| - | + | ||
| - | **-s, | + | |
| - | + | ||
| - | Sort by the value of //field// (arguments are the same as those for **-o**). Add **-** before the field name to reverse the sort order. | + | |
| - | + | ||
| - | ||**-L**||List fields which can be used for both the output (**-o**, **--output**) and sort order (**-s**, **--sort**) options. Use the **--vmtype** option to display fields pertaining to the specified virtual environment type.| | + | |
| - | + | ||
| - | **--vmtype** <//ct//|//vm//|//all//> | + | |
| - | + | ||
| - | Display only virtual environments of the specified type. | + | |
| - | + | ||
| - | **-t, --template** | + | |
| - | + | ||
| - | Include templates in the output. | + | |
| - | + | ||
| - | **-j, | + | |
| - | + | ||
| - | Produce output in the JSON format. | + | |
| - | + | ||
| - | **list** -i,--info [**-f, | + | |
| - | ct|vm|all**] [**-j, --json**] | + | |
| - | + | ||
| - | Display the information on the VE configuration. By default, the information on all VEs currently existing on the R-Virtualization server is shown. Use the **--full** option to display additional information about virtual environments. You can also use the **--json** option to produce machine-readable output in JSON format. | + | |
| - | + | ||
| - | **Configuring VE resource parameters\\ | + | |
| - | set** <// | + | |
| - | + | ||
| - | This command is used to set and configure various VE parameters.\\ | + | |
| - | The following options can be used with the **set** command: | + | |
| - | + | ||
| - | **CPU parameters\\ | + | |
| - | --cpus** | + | |
| - | + | ||
| - | Set the number of CPU cores per CPU socket to be available to the VE. | + | |
| - | + | ||
| - | **--cpu-sockets** <// | + | |
| - | + | ||
| - | Set the number of CPU sockets to be available to the VE. | + | |
| - | + | ||
| - | **--cpu-hotplug** <// | + | |
| - | + | ||
| - | Enable or disable CPU hot-plugging support | + | |
| - | + | ||
| - | **--cpuunits** <// | + | |
| - | + | ||
| - | Sets the CPU weight for the virtual environment. This is a positive integer number that defines how much CPU time the virtual environment can get as compared to the other virtual environments running on the server. The larger the number, the more CPU time the virtual environment can receive. Possible values range from 8 to 500000. If this parameter is not set, the default value of 1000 is used. | + | |
| - | + | ||
| - | **--cpulimit** <// | + | |
| - | + | ||
| - | Sets the CPU limit, in percent or megahertz (MHz), the virtual environment is not allowed to exceed. By default, the limit is set in percent. To specify the limit in MHz, specify " | + | |
| - | + | ||
| - | **--cpumask** | + | |
| - | + | ||
| - | Defines the CPUs on the physical server to use for executing the virtual environment process. A CPU affinity mask can be a single CPU number or a CPU range separated by commas (0,2,3-10). | + | |
| - | + | ||
| - | **--nodemask** | + | |
| - | + | ||
| - | Defines the NUMA node on the physical server to use for executing the virtual environment process. A node mask can be a single number or a range separated by commas, e.g., 0,2,3-10. | + | |
| - | + | ||
| - | **Memory parameters\\ | + | |
| - | --memsize** <// | + | |
| - | + | ||
| - | Set the amount of memory that the virtual environment can consume. | + | |
| - | + | ||
| - | **--mem-hotplug** <// | + | |
| - | + | ||
| - | Enable or disable memory (RAM) hot-plugging support | + | |
| - | + | ||
| - | **--memguarantee** <// | + | |
| - | + | ||
| - | Set the amount of memory (RAM) that will be guaranteed to a virtual machine or container. The guaranteed memory is a percentage of total RAM that is set for the virtual machine or container with the **--memsize** option. By default, memory guarantee is set to ’auto’ (depends on vcmmd policy for virtual machine and no guarantee for containter). | + | |
| - | + | ||
| - | **Boot order parameters\\ | + | |
| - | --device-bootorder** | + | |
| - | + | ||
| - | Used to specify the order of boot devices for a virtual environment. Supported devices are HDD, CD/DVD, FDD, Network. A device name can obtained using the ’prlctl list -i’ command. | + | |
| - | + | ||
| - | **--efi-boot** | + | |
| - | + | ||
| - | Set EFI boot options: //\\ | + | |
| - | on//: The virtual environment is booting using the EFI firmware. //\\ | + | |
| - | off//: The virtual environment is booting using the BIOS firmware. This option is used by default. | + | |
| - | + | ||
| - | **--select-boot-device** <// | + | |
| - | + | ||
| - | Enable or disable the selection of a boot device at the virtual environment startup. | + | |
| - | + | ||
| - | **--external-boot-device** <// | + | |
| - | + | ||
| - | Set an external device from which to boot the virtual environment. | + | |
| - | + | ||
| - | **Video parameters\\ | + | |
| - | --videosize** <// | + | |
| - | + | ||
| - | Set the amount of memory for the virtual environment graphic card. | + | |
| - | + | ||
| - | **--3d-accelerate** <// | + | |
| - | + | ||
| - | Set 3d acceleration video mode. | + | |
| - | + | ||
| - | **--vertical-sync** <// | + | |
| - | + | ||
| - | Set vertical synchronization video mode. | + | |
| - | + | ||
| - | **I/O priority management\\ | + | |
| - | --ioprio** <// | + | |
| - | + | ||
| - | Assigns I/O priority to VE. // | + | |
| - | + | ||
| - | **--iolimit** //limit//[**B**|**K**|**M**|**G**] | + | |
| - | + | ||
| - | Sets the I/O limit for the virtual environment. If no suffix is specified, the parameter is set in megabytes per second. The possible suffixes are listed below: **\\ | + | |
| - | b**, **B** -- bytes **\\ | + | |
| - | k**, **K** -- kilobytes **\\ | + | |
| - | m**, **M** -- megabytes **\\ | + | |
| - | g**, **G** -- gigabytes | + | |
| - | + | ||
| - | By default, the I/O limit of each virtual environment is set to 0 (that is, not limited). | + | |
| - | + | ||
| - | **--iopslimit** | + | |
| - | + | ||
| - | Assigns Input/ | + | |
| - | + | ||
| - | **Network parameters\\ | + | |
| - | --apply-iponly** | + | |
| - | + | ||
| - | If set to " | + | |
| - | + | ||
| - | **Container specific parameters\\ | + | |
| - | --netfilter** <// | + | |
| - | + | ||
| - | Restrict access to iptable modules inside the Container. The following modes are available: //\\ | + | |
| - | disabled// -- no modules are allowed. //\\ | + | |
| - | stateless// -- all modules except NAT and conntracks are allowed. //\\ | + | |
| - | stateful// -- all modules except NAT are allowed. //\\ | + | |
| - | full// -- (default) all modules are allowed. | + | |
| - | + | ||
| - | Note: This parameter cannot be applied to running Containers. | + | |
| - | + | ||
| - | **--swappages** //pages//[://pages//] **--swap** | + | |
| - | + | ||
| - | This parameter limits the amount of swap space that can be allocated to processes running in a Container. | + | |
| - | + | ||
| - | **--quotaugidlimit** //num// | + | |
| - | + | ||
| - | Sets the maximum number of user/group IDs in a Container for which disk quota is calculated. If this value is set to **0**, user and group disk quotas are not calculated. For ploop-based Containers, quotaugidlimit can be only enabled or disabled. Setting the //num// parameter to a value greater than 0 enables the quota, and **0** disables the quota. | + | |
| - | + | ||
| - | Note: Changing this parameter for a running Container, requires the Container be restarted. | + | |
| - | + | ||
| - | **--features** // | + | |
| - | + | ||
| - | Enables/ | + | |
| - | + | ||
| - | You can use the following values for //name//: **bridge**, **ipgre**, **ipip**, **nfs**, **nfsd**, **ppp**, **sit**, **time**. | + | |
| - | + | ||
| - | **VNC parameters\\ | + | |
| - | --vnc-mode** <// | + | |
| - | + | ||
| - | Enables/ | + | |
| - | + | ||
| - | **--vnc-port** <// | + | |
| - | + | ||
| - | Sets the VNC port. | + | |
| - | + | ||
| - | **--vnc-passwd** <// | + | |
| - | + | ||
| - | Sets the VNC password to //passwd//. If **-** is specified, user is prompted to enter the password or, in case the standard input is redirected (e.g. by using command pipeline), the password is read from the standard input. | + | |
| - | + | ||
| - | **--vnc-nopasswd** | + | |
| - | + | ||
| - | Do not require a password for VNC connections. | + | |
| - | + | ||
| - | **--vnc-address** <// | + | |
| - | + | ||
| - | Sets the VNC address. | + | |
| - | + | ||
| - | **High Availability Cluster\\ | + | |
| - | --ha-enable** <// | + | |
| - | + | ||
| - | Adds the virtual environment to (**yes**) or removes it (**no**) from the High Availability Cluster. By default, the parameter is set to **yes**. | + | |
| - | + | ||
| - | **--ha-prio** <// | + | |
| - | + | ||
| - | Sets the virtual environment priority in the High Availability Cluster. Virtual environments with a higher priority are restarted first in the case of a system failure. If the parameter is not set for a virtual environment (default), it has the lowest priority and is restarted after all virtual environments with any priorities set. | + | |
| - | + | ||
| - | **Optimization parameters\\ | + | |
| - | --nested-virt** <// | + | |
| - | + | ||
| - | Disable or enable nested virtualization. | + | |
| - | + | ||
| - | **Miscellaneous parameters\\ | + | |
| - | --applyconfig** <// | + | |
| - | + | ||
| - | Apply the resource parameter values from the specified VE configuration file to the virtual environment. The parameters defining the OS family and OS version are left intact. | + | |
| - | + | ||
| - | **--description** <// | + | |
| - | + | ||
| - | Set the VE description. | + | |
| - | + | ||
| - | **--name** <// | + | |
| - | + | ||
| - | Change the VE name. | + | |
| - | + | ||
| - | **--rename-ext-disks** | + | |
| - | + | ||
| - | Rename bundles of the external disks on vm rename. That is move external disk from path /// | + | |
| - | + | ||
| - | **--autostart** <// | + | |
| - | + | ||
| - | Set the virtual environment start-up options: //\\ | + | |
| - | on//: The virtual environment is started automatically on the R-Virtualization server boot. //\\ | + | |
| - | off//: The virtual environment is left in the stopped state on the R-Virtualization server boot. //\\ | + | |
| - | auto//: The virtual environment is returned to the state it was in when the R-Virtualization server was turned off. | + | |
| - | + | ||
| - | **--autostart-delay** <// | + | |
| - | + | ||
| - | Delay some seconds at virtual environment autostart. | + | |
| - | + | ||
| - | **--autostop** <// | + | |
| - | + | ||
| - | Specifies the mode to set the virtual environment on the R-Virtualization Service shutdown. | + | |
| - | + | ||
| - | **--autocompact** <// | + | |
| - | + | ||
| - | Turns on/off automatic virtual disk image compact. | + | |
| - | + | ||
| - | **--tools-autoupdate** <// | + | |
| - | + | ||
| - | Turns on/off automatic updating of R-Virtualization Guest Tools in the guest operating system. If this option is set to on, R-Virtualization Guest Tools updates will be performed automatically every time an update is available for R-Virtualization software. If this option is set to off, no automatic R-Virtualization Guest Tools updates will be performed, so that you can do it manually at a convenient time. | + | |
| - | + | ||
| - | **--on-crash** <// | + | |
| - | + | ||
| - | Specifies what to do with the virtual environment if it crashes: | + | |
| - | + | ||
| - | **--userpasswd** <// | + | |
| - | + | ||
| - | Sets the password for the specified user in the virtual environment. If the user account does not exist, it is created. R-Virtualization Guest Tools must be installed in the virtual environment for the command to succeed. If the **--crypted** parameter is specified, the system assumes that the passwords are encrypted (for Containers only). | + | |
| - | + | ||
| - | **--host-admin** | + | |
| - | + | ||
| - | Specifies a host OS administrator’s name if an administrator’s password is required to change the password for the specified user in the virtual environment. | + | |
| - | + | ||
| - | **--template** | + | |
| - | + | ||
| - | Convert the virtual environment to template | + | |
| - | + | ||
| - | **Managing VE devices** | + | |
| - | + | ||
| - | The following options can be used to manage VE devices: **--device-add**, | + | |
| - | + | ||
| - | **--device-add** <// | + | |
| - | + | ||
| - | **Adding virtual hard disk drives to VE\\ | + | |
| - | --device-add** // | + | |
| - | + | ||
| - | **image_name**: | + | |
| - | size**: the size of the hard disk drive, in megabytes. If the **--no-fs-resize** option is specified, the last partition | + | |
| - | iface**: virtual hard disk interface type: either //ide// or //scsi// or //virtio//. **\\ | + | |
| - | subtype**: SCSI controller subtype: // | + | |
| - | position**: the SCSI or IDE device identifier to be used for the disk drive. Allowed ranges:\\ | + | |
| - | 0-3 for IDE disk drives\\ | + | |
| - | 0-6 for SCSI disk drives **\\ | + | |
| - | mnt**: the mount point to automount virtual hard disk inside the container’s guest OS | + | |
| - | + | ||
| - | **Managing virtual hard disk drives encryption** | + | |
| - | + | ||
| - | **--device-add** //hdd// **--encryption-keyid** <// | + | |
| - | --device-set** //hdd// **--encrypt --encryption-keyid** <// | + | |
| - | --device-set** //hdd// **--decrypt** [**--no-wipe**] **\\ | + | |
| - | --device-set** //hdd// **--encryption-keyid** <// | + | |
| - | + | ||
| - | **encrypt**: | + | |
| - | decrypt**: decrypt the encrypted hard disk drive **\\ | + | |
| - | encryption-keyid**: | + | |
| - | reencrypt**: | + | |
| - | no-wipe**: remove the original virtual hard disk after it had been encrypted without securely erasing its data from the host disk drive. Without this option, after a virtual disk had been successfully encrypted, the original unencrypted data is securely erased from the host hard disk drive. | + | |
| - | + | ||
| - | **Connecting physical hard disks to VE\\ | + | |
| - | --device-add** //hdd// **--device** <// | + | |
| - | + | ||
| - | **device**: the name of the physical hard disk on the R-Virtualization server to be connected to the VE. You can use the **server info** command to view the name of all physical disks currently existing on the R-Virtualization server. | + | |
| - | iface**: virtual hard disk interface type: either //ide// or //scsi// or //virtio//. **\\ | + | |
| - | position**: | + | |
| - | 0-3 for IDE disk drives\\ | + | |
| - | 0-6 for SCSI disk drives | + | |
| - | + | ||
| - | **Adding virtual CD/DVD-ROM drives to VE\\ | + | |
| - | --device-add** //cdrom// **--image** <//name//> [**--iface** | + | |
| - | + | ||
| - | **image**: connect the specified image file (either on the R-Virtualization server or on the client computer where you are running the **prlctl** utility) | + | |
| - | iface**: virtual CD/DVD-ROM interface type: either //ide// or //scsi//. **\\ | + | |
| - | subtype**: SCSI controller subtype: // | + | |
| - | position**: the SCSI or IDE device identifier to be used for the DVD/CD-ROM drive. Allowed ranges:\\ | + | |
| - | 0-3 for IDE disk drives\\ | + | |
| - | 0-6 for SCSI disk drives | + | |
| - | + | ||
| - | **Connecting physical DVD/CD-ROM drive to VE\\ | + | |
| - | --device-add** //cdrom// **--device** <// | + | |
| - | + | ||
| - | **device**: the name of the physical DVD/CD-ROM on the R-Virtualization server to be connected to the VE. You can use the **server info** command to view the name of all DVD/CD-ROM drives currently existing on the R-Virtualization server. **\\ | + | |
| - | iface**: virtual CD/DVD-ROM interface type: either //ide// or //scsi//. **\\ | + | |
| - | position**: the SCSI or IDE device identifier to be used for the DVD/CD-ROM drive. Allowed ranges:\\ | + | |
| - | 0-3 for IDE disk drives\\ | + | |
| - | 0-6 for SCSI disk drives | + | |
| - | + | ||
| - | **Adding virtual floppy disk drive to VE\\ | + | |
| - | --device-add** //fdd// | + | |
| - | + | ||
| - | **Connecting physical floppy disk drive to VE\\ | + | |
| - | --device-add** //fdd// **--device** <//name//> | + | |
| - | + | ||
| - | **Adding virtual network adapters\\ | + | |
| - | --device-add** //net// {**--type** //routed// | **--network** | + | |
| - | + | ||
| - | **type**: the type of the network adapter to create in the virtual environment. **\\ | + | |
| - | network_id**: | + | |
| - | mac**: the MAC address to be assigned to the virtual network adapter. If you omit this option, the MAC address will be automatically generated by the R-Virtualization software. **\\ | + | |
| - | ipadd**: the IP address | + | |
| - | ipdel**: the IP address to be removed from the network adapter in the virtual environment. **\\ | + | |
| - | dhcp**: specifies whether the virtual network adapter should get its IP settings through a DHCP server. **\\ | + | |
| - | dhcp6**: specifies whether the virtual network adapter should get its IPv6 settings through a DHCP server.\\ | + | |
| - | Use the **--ipadd** option to switch from DHCP to a static IP address. **\\ | + | |
| - | gw**: the default gateway to be used by the virtual environment. **\\ | + | |
| - | gw6**: the default IPv6 gateway to be used by the virtual environment. **\\ | + | |
| - | nameserver**: | + | |
| - | searchdomain**: | + | |
| - | configure**: | + | |
| - | ipfilter**: determines if the specified network adapter is configured to filter network packages by IP address. If set to " | + | |
| - | macfilter**: | + | |
| - | preventpromisc**: | + | |
| - | adapter-type**: | + | |
| - | + | ||
| - | **Adding virtual serial port to VE\\ | + | |
| - | --device-add** //serial// {**--device** <// | + | |
| - | + | ||
| - | ||[**--socket-mode < | + | |
| - | + | ||
| - | **device**: the number of the serial port on the R-Virtualization server to be used by the VE. **\\ | + | |
| - | output**: the path to the file where the output of the virtual serial port will be sent. **\\ | + | |
| - | socket**: the name of the physical socket on the R-Virtualization server where the serial port is to be connected. You can use the **--socket-mode** option to configure the port to operate | + | |
| - | socket-tcp**: | + | |
| - | socket-udp**: | + | |
| - | + | ||
| - | **Enable USB support\\ | + | |
| - | --device-add** <// | + | |
| - | + | ||
| - | **Connecting VT-d PCI devices\\ | + | |
| - | --device-add** <// | + | |
| - | + | ||
| - | Connects the specified VT-d PCI device to the virtual environment. To list the available devices, use the **prlsrvctl info** command. | + | |
| - | + | ||
| - | **--device-set** <// | + | |
| - | [**--connect**|**--disconnect**] | + | |
| - | + | ||
| - | Used to configure various parameters of the specified virtual device. After its adding to the virtual environment, | + | |
| - | + | ||
| - | **--device-del** <// | + | |
| - | + | ||
| - | Removes the specified device from the virtual environment. If **--detach-only** is specified and the device is a virtual hard disk drive, the disk image is preserved. If **--destroy-image** is specified, the virtual HDD image is removed from the server. If **--destroy-image-force** is specified, | + | |
| - | the virtual HDD image is removed from all snapshots and from the server. The default action on deleting a virtual HDD is to preserve the HDD image as if **--detach-image** was specified. | + | |
| - | + | ||
| - | **--device-connect** <// | + | |
| - | Used to connect the specified device to a running | + | ==== Configuring |
| - | **--device-disconnect** <//device_name//> | + | |
| - | Disconnect | + | The following options can be used with the **set** command. |
| - | **--backup-add** <// | + | === CPU parameters === |
| - | [**--position** <// | + | |
| - | Attach a backup | + | * **< |
| - | backup_id**: The identifier of the backup | + | |
| - | disk_name**: The name of the disk in the backup | + | |
| - | iface**: Virtual hard disk interface: | + | |
| - | position**: The SCSI, IDE device identifier | + | |
| - | 0-3 for IDE disk drives\\ | + | |
| - | 0-6 for SCSI disk drives | + | |
| - | **--backup-del** <// | + | === Memory parameters === |
| - | Detach either | + | * **< |
| - | NOTE: To detach | + | |
| + | * **< | ||
| - | **Backup and restore management**\\ | + | === Boot order parameters === |
| - | The following command and options can be used to back up and restore a virtual environment. The **--storage** option allows you to specify the backup server. If this option is omitted, the local server is used. **\\ | + | |
| - | backup** <// | + | |
| - | < | + | |
| - | [**--no-compression**] [**--no-tunnel**] [**--no-reversed-delta**] | + | |
| - | Backs up the specified | + | * **< |
| + | * **< | ||
| + | * //on//: The virtual environment is booting using the EFI firmware. | ||
| + | * //off//: The virtual environment is booting using the BIOS firmware. This option is used by default. | ||
| + | * **< | ||
| + | * **< | ||
| - | **-f,--full** | + | === Video parameters === |
| + | | ||
| + | | ||
| + | * **< | ||
| - | Create a full backup of the virtual environment. A full backup contains all virtual environment data. | + | === I/O priority management === |
| - | **-i,--incremental** | + | |
| + | * **< | ||
| + | * **b**, **B** < | ||
| + | * **k**, **K** < | ||
| + | * **m**, **M** < | ||
| + | * **g**, **G** < | ||
| + | * By default, the I/O limit of each virtual environment is set to 0 (that is, not limited). | ||
| - | Create an incremental backup of the virtual environment. An incremental backup contains only the files changed since the previous full or incremental backup. This is the default backup type. | + | * **< |
| - | **--no-compression** | + | === Network parameters === |
| - | Do not compress backup image. | + | **< |
| - | **--no-reversed-delta** | + | === Container specific parameters === |
| - | Do not create an intermediate temporary image for reversed delta writes. | + | * **< |
| + | * // | ||
| + | * // | ||
| + | * // | ||
| + | * //full// < | ||
| + | * Note: This parameter cannot be applied to running Containers. | ||
| + | * **< | ||
| + | * **< | ||
| - | **--no-tunnel** | + | <WRAP center round tip 60%> |
| + | Changing this parameter for a running Container, requires the Container be restarted. | ||
| + | </ | ||
| - | Do not use connection tunneling | + | * **< |
| - | **backup-list** [// | + | === VNC parameters === |
| - | [--localvms**] [-s, | + | |
| - | Lists the existing backups. If the **--localvms** option is specified, | + | * **< |
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| - | **restore** {< | + | === High Availability Cluster === |
| - | < | + | |
| - | [**--no-tunnel**] | + | |
| - | Restore | + | * **< |
| + | | ||
| - | **-n, | + | === Optimization parameters === |
| - | Restore the virtual environment and assign the name **new_name** to it. | + | |
| - | **--dst** < | + | === Miscellaneous parameters === |
| - | Restore | + | * **< |
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * //on//: The virtual environment is started automatically | ||
| + | * //off//: The virtual environment is left in the stopped state on the R-Virtualization server boot. | ||
| + | * //auto//: The virtual environment is returned to the state it was in when the R-Virtualization server was turned off. | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| - | **--no-tunnel** | + | === Managing VE devices === |
| - | Do not use connection tunneling for restore. Connection tunneling is enabled for restore by default | + | The following options can be used to manage VE devices: **< |
| - | **--live** | + | **< |
| - | Live restore reduces VM downtime by starting the restored VM right after the restore process begins. | + | == Adding virtual hard disk drives to VE == |
| - | **backup-delete** {<//ve_id//> | + | **< |
| - | Delete | + | * **image_name**: |
| + | * **size**: the size of the hard disk drive, in megabytes. If the **< | ||
| + | * **iface**: virtual hard disk interface type: either //ide// or //scsi// or //virtio//. | ||
| + | * **subtype**: | ||
| + | * **position**: | ||
| + | * 0-3 for IDE disk drives | ||
| + | * 0-6 for SCSI disk drives | ||
| + | * **mnt**: the mount point to automount virtual hard disk inside the container’s guest OS | ||
| - | **Migration management**\\ | + | == Managing |
| - | The following options can be used to migrate a virtual | + | |
| - | migrate** < | + | |
| - | [**--clone**|**--remove-src**] [**--no-compression**] [**--ssh** <// | + | |
| - | Migrates the specified virtual environment from the source server | + | **< |
| + | | ||
| + | | ||
| + | | ||
| - | **--changesid** | + | |
| + | * **decrypt**: | ||
| + | * **encryption-keyid**: | ||
| + | * **\\reencrypt**: | ||
| + | * **no-wipe**: remove the original virtual hard disk after it had been encrypted without securely erasing its data from the host disk drive. Without this option, after a virtual disk had been successfully encrypted, the original unencrypted data is securely erased from the host hard disk drive. | ||
| - | This option is used to change the current Windows security identifier (SID) of a Windows-based virtual machine template. It requires R-Virtualization Guest Tools to be installed in the virtual machine template. | + | == Connecting physical hard disks to VE == |
| - | **--clone** | + | **< |
| - | If this option is provided, | + | * **device**: |
| + | | ||
| + | * **position**: | ||
| + | * 0-3 for IDE disk drives | ||
| + | * 0-6 for SCSI disk drives | ||
| - | **--remove-src** | + | == Adding virtual CD/DVD-ROM drives to VE == |
| - | If this option is provided, the source bundle will be removed after migration. Cannot be used together with **--clone**. This option is enabled for virtual machines by default. | + | **< |
| - | **--no-compression** | + | |
| + | * **iface**: virtual CD/DVD-ROM interface type: either //ide// or //scsi//. | ||
| + | * **subtype**: | ||
| + | | ||
| + | * 0-3 for IDE disk drives | ||
| + | * 0-6 for SCSI disk drives | ||
| - | Do not compress data during migration. | + | == Connecting physical DVD/CD-ROM drive to VE == |
| - | **--no-tunnel** | + | **< |
| - | Do not use connection tunneling for migration. Connection tunneling is enabled for migration by default | + | * **device**: the name of the physical DVD/CD-ROM on the R-Virtualization server to be connected to the VE. You can use the **server info** command to view the name of all DVD/CD-ROM drives currently existing on the R-Virtualization server. |
| + | * **iface**: virtual CD/DVD-ROM interface type: either //ide// or //scsi//. | ||
| + | * **position**: | ||
| + | * 0-3 for IDE disk drives | ||
| + | * 0-6 for SCSI disk drives | ||
| - | **--ssh** <//options//> | + | == Adding virtual floppy disk drive to VE == |
| + | **< | ||
| - | Options | + | == Connecting physical floppy disk drive to VE == |
| + | **< | ||
| - | Note: Do not specify the hostname/IP address of the destination server as an option. | + | == Adding virtual network adapters == |
| + | **< | ||
| - | **Snapshot management\\ | + | |
| - | snapshot** <// | + | * **network_id**: the name of the virtual network on the R-Virtualization server where the VE virtual adapter will be connected. |
| + | | ||
| + | * **ipadd**: the IP address to be assigned to the network adapter in the virtual environment. | ||
| + | * **ipdel**: the IP address to be removed from the network adapter in the virtual environment. | ||
| + | * **dhcp**: specifies whether the virtual network adapter should get its IP settings through a DHCP server. | ||
| + | * **dhcp6**: specifies whether the virtual network adapter should get its IPv6 settings through a DHCP server. Use the **< | ||
| + | * **gw**: the default gateway to be used by the virtual environment. | ||
| + | * **gw6**: the default IPv6 gateway to be used by the virtual environment. | ||
| + | * **nameserver**: | ||
| + | * **searchdomain**: | ||
| + | * **configure**: | ||
| + | * **ipfilter**: | ||
| + | * **macfilter**: | ||
| + | * **preventpromisc**: | ||
| + | * **adapter-type**: | ||
| - | This command is used to create | + | == Adding virtual serial port to VE == |
| + | **< | ||
| - | **snapshot-list** <// | + | |
| + | | ||
| + | | ||
| + | | ||
| + | * **socket-udp**: | ||
| - | This command is used to list the virtual environment’s snapshots tree. There are three modes of snapshot listing, if no option specified the snapshot tree represented in two columns " | + | == Enable USB support == |
| - | **snapshot-delete** | + | **< |
| - | Deletes snapshot with the specified //snapid//. If the **-c**, | + | == Connecting VT-d PCI devices == |
| - | **snapshot-switch** <//ve_id//|// | + | |
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **backup_id**: The identifier of the backup to attach. To list available backups, use the **backup-list** command. Please note that only backups on localhost can be attached. | ||
| + | * **disk_name**: | ||
| + | * **iface**: Virtual hard disk interface: //ide//, //scsi//. | ||
| + | * **position**: | ||
| + | * 0-3 for IDE disk drives | ||
| + | * 0-6 for SCSI disk drives | ||
| + | * **< | ||
| - | Used to revert to selected snapshot. | + | <WRAP center round tip 60%> |
| + | To detach a single backup disk, use the **< | ||
| + | </ | ||
| - | **Hostname | + | ==== Backup and restore |
| - | --hostname** <// | + | |
| - | Sets the hostname | + | The following command and options can be used to back up and restore a virtual environment. The **< |
| + | * **backup** <// | ||
| + | * **-f,< | ||
| + | * **-i,< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **backup-list** [//ve_id// // | ||
| + | * **restore** {< | ||
| + | * **-n,< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **backup-delete** {<// | ||
| - | **Offline | + | ==== Migration |
| - | --offline-management** <// | + | |
| - | Enable/disable | + | The following options can be used to migrate a virtual environment from the source server **src** to the destination server **dst**. If the virtual environment is running, the migration is performed as follows. First, virtual environment data is copied to the destination server, then the virtual environment is suspended, and, finally, the remaining data is migrated. After the virtual environment has been successfully migrated, it is removed from the source server. |
| + | * **migrate** <[**src/**]**ID**> | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| - | **--offline-service** | + | <WRAP center round tip 60%> |
| + | Do not specify | ||
| + | </WRAP> | ||
| - | **Network bandwidth management\\ | ||
| - | --rate** <// | ||
| - | Specifies the bandwidth guarantee of the virtual environment for the specified network class. | + | ==== Snapshot management ==== |
| - | **--ratebound** <//yes//|//no//> | + | * **snapshot** <// |
| + | * **snapshot-list** <//ve_id// // | ||
| + | * **snapshot-delete** <// | ||
| + | * **snapshot-switch** <// | ||
| - | If set to "// | + | ==== Hostname management ==== |
| - | **Performance statistics\\ | + | |
| - | statistics** {<// | + | |
| - | Print performance statistics for running | + | ==== Offline management ==== |
| + | * **< | ||
| + | * **< | ||
| - | **--filter** <// | + | ==== Network bandwidth management ==== |
| - | Specifies the subset | + | * **< |
| - | Storage device statistics** | + | |
| - | devices.ide# | + | ===== Performance statistics ===== |
| - | devices.ide# | + | |
| - | devices.ide# | + | |
| - | devices.ide# | + | |
| - | devices.scsi# | + | |
| - | devices.scsi# | + | |
| - | devices.scsi# | + | |
| - | devices.scsi# | + | |
| - | devices.sata# | + | |
| - | devices.sata# | + | |
| - | devices.sata# | + | |
| - | devices.sata# | + | |
| - | **Network | + | * |
| + | * **< | ||
| - | net.nic# | + | ==== Storage device statistics ==== |
| - | net.nic# | + | |
| - | net.nic# | + | |
| - | net.nic# | + | |
| - | **Classful network statistics** | + | |
| + | | ||
| + | | ||
| + | | ||
| + | * devices.scsi# | ||
| + | * devices.scsi# | ||
| + | * devices.scsi# | ||
| + | * devices.scsi# | ||
| + | * devices.sata# | ||
| + | * devices.sata# | ||
| + | * devices.sata# | ||
| + | * devices.sata# | ||
| - | Result is provided in 5 columns: //\\ | + | ==== Network statistics ==== |
| - | Class Input(bytes) Input(packets) Output(bytes) Output(packets)// | + | |
| - | net.classful.traffic | + | * net.nic#.pkts_in |
| - | net.classful.traffic.ipv4 | + | |
| - | net.classful.traffic.ipv6 - Counters for IPv6 traffic | + | |
| + | * net.nic# | ||
| - | **CPU statistics** | + | ==== Classful network |
| - | guest.cpu.usage - Guest OS CPU usage, | + | Result is provided |
| - | guest.cpu.time - Sum of guest CPU time differences since the last query for each vCPU averaged by the number of host CPUs, in microseconds\\ | + | | Class Input(bytes) | Input(packets) | Output(bytes) | Output(packets) | |
| - | host.cpu.time - Sum of host CPU time differences since the last query for each CPU averaged by the number of host CPUs, in microseconds\\ | + | |
| - | guest.vcpu# | + | |
| - | **RAM statistics** | + | |
| + | | ||
| + | | ||
| - | guest.ram.usage - Guest OS used RAM, in MiB\\ | + | ==== CPU statistics ==== |
| - | guest.ram.cached - Guest OS cached RAM, in MiB\\ | + | |
| - | guest.ram.total - Guest OS total RAM, in MiB\\ | + | |
| - | guest.ram.swap_in - Guest OS virtual memory stats, in counts\\ | + | |
| - | guest.ram.swap_out - Guest OS virtual memory stats, in counts\\ | + | |
| - | guest.ram.minor_fault - Guest OS minor page fault count\\ | + | |
| - | guest.ram.major_fault - Guest OS major page fault count\\ | + | |
| - | guest.ram.balloon_actual - Guest OS balloon size, in MiB | + | |
| - | **Mounted filesystems statistics** | + | |
| + | | ||
| + | | ||
| + | | ||
| - | guest.fs# | + | ==== RAM statistics ==== |
| - | guest.fs# | + | |
| - | guest.fs# | + | |
| - | guest.fs# | + | |
| - | **--loop** | + | |
| + | | ||
| + | * guest.ram.total | ||
| + | | ||
| + | | ||
| + | * guest.ram.minor_fault - Guest OS minor page fault count | ||
| + | * guest.ram.major_fault - Guest OS major page fault count | ||
| + | * guest.ram.balloon_actual - Guest OS balloon size, in MiB | ||
| - | Print statistics | + | ==== Mounted filesystems |
| - | **--all** | + | |
| + | | ||
| + | * guest.fs# | ||
| + | | ||
| - | Print statistics for all running virtual machines and containers on the server. | + | * **< |
| + | * **< | ||
| ===== DIAGNOSTICS | ===== DIAGNOSTICS | ||
| Line 901: | Line 544: | ||
| To create and start a VM having the name of //win2003// and based on the ’Windows XP’ template: | To create and start a VM having the name of //win2003// and based on the ’Windows XP’ template: | ||
| - | |||prlctl create win2003 --ostemplate ’Windows XP’| | + | prlctl create win2003 |
| - | |||prlctl start win2003 | + | |
| To stop the **win2003** VE: | To stop the **win2003** VE: | ||
| - | ||prlctl stop win2003| | + | |
| To remove the **win2003** virtual environment from the R-Virtualization server: | To remove the **win2003** virtual environment from the R-Virtualization server: | ||
| - | ||prlctl delete win2003| | + | |
| To list all virtual environments, | To list all virtual environments, | ||
| - | ||prlctl list -a -o uuid, | + | |
| ===== SEE ALSO ===== | ===== SEE ALSO ===== | ||