meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| domestic:rosplatforma:man:prlctl [2022/11/02 06:26] – created mchus | domestic:rosplatforma:man:prlctl [2023/02/09 06:43] (current) – mchus | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <code > | + | ====== prlctl ====== |
| - | prlctl(8) System Manager' | + | ===== NAME ===== |
| + | prlctl − utility for managing R-Virtualization servers and virtual environments residing on them. | ||
| + | ===== SYNOPSIS | ||
| - | NAME | + | prlctl |
| - | prlctl - utility for managing R-Virtualization servers and virtual environments residing on them. | + | |
| - | SYNOPSIS | + | prlctl |
| - | prlctl | + | |
| - | prlctl backup | + | prlctl |
| - | prlctl backup-list [ve_id|ve_name] [-f,--full] [--localvms] [--vmtype ct|vm|all] [-s, | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl list [-a,--all] [-L] [-o,--output field[, | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| + | * [**< | ||
| - | prlctl | + | prlctl |
| - | [--3d-accelerate < | + | |
| - | [--cpuunits <n>] [--cpulimit <n>] [--cpumask < | + | |
| - | [--cpu-hotplug < | + | |
| - | [--ioprio < | + | |
| - | [--mem-hotplug < | + | |
| - | [--memguarantee < | + | |
| - | [--description < | + | |
| - | [--autostop < | + | |
| - | [--autocompact < | + | |
| - | [--tools-autoupdate < | + | |
| - | [--on-crash < | + | |
| - | [--vnc-mode < | + | |
| - | [--name < | + | |
| - | [--netfilter < | + | |
| - | [--swappages pages[: | + | |
| - | [--features name: | + | |
| - | [--device-add < | + | |
| - | [--device-connect < | + | |
| - | [--device-bootorder "< | + | |
| - | [--offline-management < | + | |
| - | [--hostname < | + | |
| - | [--rate < | + | |
| - | [--applyconfig < | + | |
| - | [--nested-virt < | + | |
| - | [--efi-boot < | + | |
| - | [--ha-enable < | + | |
| - | [--template < | + | |
| - | [--backup-add < | + | |
| - | [--backup-del < | + | |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl snapshot <ve_id|name> [-n,--name <name>] | + | prlctl |
| - | prlctl snapshot-list <ve_id|name> | + | prlctl |
| - | prlctl snapshot-delete | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | prlctl | + | prlctl |
| - | | + | ===== DESCRIPTION |
| + | The **prlctl** utility is used to manage R-Virtualization servers and virtual environments (VEs) residing on them. A virtual environment can be referred to by its ID or name assigned to the VE during its creation. | ||
| - | DESCRIPTION | + | ===== OPTIONS |
| - | | + | ==== Flags ==== |
| - | during its creation. | + | |
| - | OPTIONS | + | The following flags can be used with the majority of **prlctl** commands. |
| - | | + | * **-l,< |
| - | The following flags can be used with the majority of prlctl commands. | + | * **-p,< |
| + | * **-v,< | ||
| + | * **< | ||
| - | | + | ==== Managing virtual environments ==== |
| - | | + | |
| - | ters are specified, prlctl assumes that the command is run on the local server. | + | |
| - | -p,--read-passwd | + | * **create** <// |
| - | Use the password from the file file to log in to the remote | + | |
| + | * 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. | ||
| - | -v,--verbose | + | * **clone** <// |
| - | Configure | + | * 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** <// | ||
| - | | + | ==== Container action scripts ==== |
| - | | + | |
| - | | + | Action scripts can be used to perform actions |
| - | | + | |
| - | | + | |
| - | | + | Two types of scripts are supported: global, triggered for each container on host, and per-container, triggered for specific containers. Custom action scripts can be created manually and must be assigned specific file names to be triggered. |
| - | | + | |
| - | Use the --uuid option to manually specify the UUID to use. | + | Custom action scripts can be of two types: |
| - | | + | |
| - | | + | |
| - | list of available os types using the prlctl create | + | |
| - | | + | * **vps.mount**, **mount** |
| - | | + | * **start** |
| - | the list of available distributions using the prlctl create ve_name | + | |
| + | * **vps.umount**, | ||
| - | | + | <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. | ||
| + | </WRAP> | ||
| - | Use the --no-hdd option | + | The environment passed |
| - | | + | ==== Listing virtual environments ==== |
| + | * **list** [**-a,< | ||
| + | * **-o, < | ||
| + | * **-s,< | ||
| + | * **-L** | ||
| + | * **< | ||
| + | * **-t, < | ||
| + | * **-j,< | ||
| + | * **list** -i,< | ||
| - | clone < | + | ==== Configuring VE resource parameters ==== |
| - | Make a copy of a virtual environment and name it < | + | |
| - | Use the --template option | + | * **set** <// |
| - | Use the --dst option to specify the path to the directory where the < | + | The following options can be used with the **set** command. |
| - | will be created in the default directory. | + | |
| - | 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. | + | === CPU parameters === |
| - | | + | * **< |
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| - | | + | === Memory parameters === |
| - | will be removed from the resulting configuration. If you specify no, outside hard disks will remain in the resulting configuration. Note: In either case, outside | + | |
| - | | + | |
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| - | | + | === Boot order parameters === |
| - | | + | |
| - | | + | * **<nowiki>--</ |
| - | | + | * **< |
| + | * //on//: The virtual environment | ||
| + | * //off//: The virtual environment is booting using the BIOS firmware. This option is used by default. | ||
| + | * **< | ||
| + | * **< | ||
| - | | + | === Video parameters === |
| - | | + | * **<nowiki>--</nowiki>videosize** <// |
| - | -c " | + | * **< |
| + | * **< | ||
| - | enter < | + | === I/O priority management === |
| - | Log in to the virtual environment. For virtual machines, it requires R-Virtualization Guest Tools to be installed. | + | |
| - | | + | * **<nowiki>--</ |
| - | | + | * **< |
| - | Container | + | |
| + | * **k**, **K** < | ||
| + | * **m**, **M** < | ||
| + | * **g**, **G** < | ||
| + | * By default, the I/O limit of each virtual environment | ||
| - | | + | * **<nowiki>--</ |
| - | 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 < | + | === Network parameters === |
| - | Pause the specified virtual environment. | + | |
| - | | + | **<nowiki>--</ |
| - | | + | |
| - | | + | === Container specific parameters === |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | * **<nowiki>--</ |
| - | Recreates | + | * // |
| - | fied), and renames the old root directory '/' to '/old' | + | * // |
| + | | ||
| + | | ||
| + | * Note: This parameter cannot be applied to running Containers. | ||
| + | * **< | ||
| + | * **< | ||
| - | | + | <WRAP center round tip 60%> |
| - | | + | Changing this parameter for a running Container, requires |
| + | </ | ||
| - | | + | * **<nowiki>--</ |
| - | Start the specified | + | |
| - | | + | === VNC parameters === |
| - | | + | |
| - | | + | * **<nowiki>--</ |
| - | | + | * **< |
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| - | | + | === High Availability Cluster === |
| - | | + | |
| - | | + | * **<nowiki>--</ |
| - | | + | * **< |
| - | | + | === Optimization parameters === |
| - | | + | |
| - | | + | * **<nowiki>--</ |
| - | | + | |
| - | | + | === Miscellaneous parameters === |
| - | | + | |
| - | | + | * **<nowiki>--</ |
| - | Mounts | + | * **< |
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | | ||
| + | * //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. | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| - | | + | === Managing VE devices === |
| - | | + | |
| - | | + | The following options can be used to manage VE devices: **<nowiki>--</nowiki>device-add**, |
| - | Moves the directory with files of the specified | + | |
| - | | + | **< |
| - | | + | == Adding virtual hard disk drives |
| - | | + | |
| - | | + | **< |
| - | must be assigned specific file names to be triggered. | + | |
| - | | + | * **image_name**: the image file to be used to emulate the VE virtual hard disk. To use an existing image file, specify its name and path. To create a new image file, omit the **< |
| - | · Global, executed for all containers on host. Such scripts must have the prefix ' | + | * **size**: the size of the hard disk drive, in megabytes. If the **< |
| - | · per-container, executed for specific containers. Such scripts must not have the prefix ' | + | * **iface**: virtual hard disk interface type: either |
| + | * **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 | ||
| - | | + | == Managing virtual hard disk drives encryption == |
| - | | + | |
| - | start | + | |
| - | | + | **< |
| + | | ||
| + | | ||
| - | stop | + | * **encrypt**: |
| - | | + | * **decrypt**: |
| + | * **encryption-keyid**: | ||
| + | * **\\reencrypt**: | ||
| + | * **no-wipe**: | ||
| - | | + | == Connecting physical hard disks to VE == |
| - | | + | |
| - | NOTE: All action scripts except start and stop are executed in the host context. The start and stop scripts are executed in the container context. | + | **< |
| - | The environment passed | + | * **device**: the name of the physical hard disk on the R-Virtualization server to be connected |
| - | | + | * **iface**: virtual hard disk interface type: either //ide// or //scsi// or //virtio//. |
| - | global and per-container configuration files. | + | |
| + | | ||
| + | * 0-6 for SCSI disk drives | ||
| - | | + | == Adding |
| - | list [-a,--all] [-L] [-o, | + | |
| - | List the virtual environments currently existing on the R-Virtualization server. By default, only running VEs are displayed. | + | |
| - | -o, --output field[,field...] | + | **< |
| - | Display only the specified field(s). | + | |
| - | | + | * **image**: connect |
| - | Sort by the value of field (arguments are the same as those for -o). Add - before | + | * **iface**: virtual CD/DVD-ROM interface type: either //ide// or //scsi//. |
| + | * **subtype**: | ||
| + | * **position**: | ||
| + | * 0-3 for IDE disk drives | ||
| + | * 0-6 for SCSI disk drives | ||
| - | -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 | + | == Connecting physical DVD/CD-ROM drive to VE == |
| - | ment type. | + | |
| - | --vmtype | + | **< |
| - | Display only virtual environments of the specified type. | + | |
| - | -t, --template | + | * **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. |
| - | Include templates in the output. | + | * **iface**: virtual CD/DVD-ROM interface type: either //ide// or //scsi//. |
| + | * **position**: | ||
| + | * 0-3 for IDE disk drives | ||
| + | * 0-6 for SCSI disk drives | ||
| - | -j,--json | + | == Adding virtual floppy disk drive to VE == |
| - | Produce output in the JSON format. | + | **< |
| - | list -i,--info [-f,--full] [ve_id|ve_name] [-t, | + | == Connecting physical floppy disk drive to VE == |
| - | | + | **< |
| - | | + | |
| - | | + | == Adding virtual network adapters == |
| - | set <ve_id|name> [SET_OPTIONS] | + | **<nowiki>--</ |
| - | This command is used to set and configure | + | |
| - | The following options can be used with the set command: | + | |
| - | CPU parameters | + | * **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 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**: | ||
| - | --cpus <num> | + | == Adding virtual serial port to VE == |
| - | Set the number of CPU cores per CPU socket | + | **< |
| - | --cpu-sockets | + | * **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-tcp**: | ||
| + | * **socket-udp**: | ||
| - | | + | == Enable |
| - | Enable | + | |
| - | --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 environ‐ | + | |
| - | | + | |
| - | value of 1000 is used. | + | |
| - | --cpulimit <n> | + | == Connecting VT-d PCI devices == |
| - | 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 " | + | |
| - | the value. | + | |
| - | --cpumask | + | * **< |
| - | | + | * **< |
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **backup_id**: | ||
| + | * **disk_name**: | ||
| + | * **iface**: Virtual hard disk interface: //ide//, //scsi//. | ||
| + | * **position**: | ||
| + | * 0-3 for IDE disk drives | ||
| + | * 0-6 for SCSI disk drives | ||
| + | * **< | ||
| - | | + | <WRAP center round tip 60%> |
| - | | + | To detach |
| + | </ | ||
| - | | + | ==== Backup and restore management ==== |
| - | --memsize | + | The following command and options can be used to back up and restore a virtual environment. The **< |
| - | Set the amount | + | * **backup** <// |
| + | | ||
| + | * **-i,< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **backup-list** [//ve_id// // | ||
| + | * **restore** {< | ||
| + | * **-n,< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **backup-delete** {<// | ||
| - | | + | ==== Migration management ==== |
| - | | + | |
| - | --memguarantee | + | 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. |
| - | Set the | + | * **migrate** < |
| - | tainer with the --memsize | + | |
| + | | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| + | * **< | ||
| - | Boot order parameters | + | <WRAP center round tip 60%> |
| + | Do not specify the hostname/IP address of the destination server as an option. | ||
| + | </ | ||
| - | | ||
| - | 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 ' | ||
| - | | + | ==== Snapshot management ==== |
| - | 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 | + | * **snapshot** <// |
| - | | + | * **snapshot-list** <// |
| + | * **snapshot-delete** <// | ||
| + | * **snapshot-switch** <// | ||
| - | | + | ==== Hostname management ==== |
| - | Set an external device from which to boot the virtual environment. | + | |
| - | Video parameters | + | * **< |
| - | --videosize | + | ==== Offline management ==== |
| - | | + | * **< |
| + | * **< | ||
| - | | + | ==== Network bandwidth management ==== |
| - | Set 3d acceleration video mode. | + | |
| - | --vertical-sync | + | * **< |
| - | Set vertical synchronization video mode. | + | * **< |
| - | I/O priority management | + | ===== Performance statistics ===== |
| - | --ioprio | + | * **statistics** {<// |
| - | Assigns I/O priority | + | |
| - | | + | ==== Storage device statistics ==== |
| - | 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). | + | * devices.ide# |
| + | * devices.ide# | ||
| + | * devices.ide# | ||
| + | * devices.ide# | ||
| + | * devices.scsi# | ||
| + | * devices.scsi# | ||
| + | * devices.scsi# | ||
| + | * devices.scsi# | ||
| + | * devices.sata# | ||
| + | * devices.sata# | ||
| + | * devices.sata# | ||
| + | * devices.sata# | ||
| - | | + | ==== Network statistics ==== |
| - | | + | |
| - | | + | * net.nic# |
| + | * net.nic# | ||
| + | * net.nic# | ||
| + | * net.nic# | ||
| - | | + | ==== Classful network statistics ==== |
| - | If set to " | + | |
| - | | + | Result is provided in 5 columns: |
| + | | Class Input(bytes) | Input(packets) | Output(bytes) | Output(packets) | | ||
| - | --netfilter < | + | * net.classful.traffic |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | Note: This parameter cannot be applied to running Containers. | + | ==== CPU statistics ==== |
| - | --swappages pages[: | + | * guest.cpu.usage |
| - | This parameter limits | + | * guest.cpu.time |
| + | * host.cpu.time - Sum of host CPU time differences since the last query for each CPU averaged by the number | ||
| + | * guest.vcpu#.time - per-vCPU statistics, in nanoseconds | ||
| - | | + | ==== RAM statistics ==== |
| - | 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. | + | |
| - | | + | |
| - | Note: Changing this parameter for a running Container, requires the Container be restarted. | + | * guest.ram.usage - Guest OS used RAM, in MiB |
| + | * 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 ==== |
| - | | + | |
| - | You can use the following values for name: bridge, ipgre, ipip, nfs, nfsd, ppp, sit, time. | + | * guest.fs#.name - Device name for the filesystem as seen from inside guest |
| + | * guest.fs# | ||
| + | * guest.fs# | ||
| + | * guest.fs# | ||
| - | VNC parameters | + | * **< |
| + | * **< | ||
| - | | + | ===== DIAGNOSTICS |
| - | | + | |
| - | | + | **prlctl** returns 0 upon successful command execution. If a command fails, it returns |
| - | | + | |
| - | | + | ===== EXAMPLES |
| - | 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. | + | |
| - | | + | To create and start a VM having the name of //win2003// and based on the ’Windows XP’ template: |
| - | Do not require | + | |
| - | --vnc-address | + | |
| - | Sets the VNC address. | + | prlctl start win2003 |
| - | High Availability Cluster | + | To stop the **win2003** VE: |
| - | | + | prlctl stop win2003 |
| - | Adds the virtual environment to (yes) or removes it (no) from the High Availability Cluster. By default, the parameter is set to yes. | + | |
| - | | + | To remove |
| - | | + | |
| - | not set for a virtual environment (default), it has the lowest priority and is restarted after all virtual environments with any priorities set. | + | |
| - | | + | prlctl delete win2003 |
| - | | + | To list all virtual environments, |
| - | | + | |
| - | | + | prlctl list -a -o uuid, |
| - | | + | ===== SEE ALSO ===== |
| - | 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. | + | |
| - | | + | **[[domestic: |
| - | Set the VE description. | + | |
| - | | + | ===== COPYRIGHT |
| - | | + | |
| - | --rename-ext-disks | + | Copyright (c) 2012-2017 R-Platforma LLC, All rights reserved. Copyright (c) 2017-2019 R-Platforma LLC, All rights reserved. |
| - | | + | |
| - | | ||
| - | 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 <n> | + | ---- |
| - | Delay some seconds at virtual environment autostart. | + | |
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | Turns on/off automatic virtual disk image compact. | ||
| - | |||
| - | | ||
| - | | ||
| - | cally 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. | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | Sets the password for the specified user in the virtual environment. If the user account does not exist, it is created. | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | The following options can be used to manage VE devices: --device-add, | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | new file named harddiskN.hdd will be created in the VE directory) or use --recreate option. | ||
| - | size: the size of the hard disk drive, in megabytes. If the --no-fs-resize option is specified, the last partition on the hard disk is not resized. | ||
| - | | ||
| - | | ||
| - | | ||
| - | 0-3 for IDE disk drives | ||
| - | 0-6 for SCSI disk drives | ||
| - | mnt: the mount point to automount virtual hard disk inside the container' | ||
| - | |||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | of encrypted data (i.e. LUKS header) is changed in the virtual disk drive. When the --reencrypt option is added to the command above, the entire disk contents are re-encrypted. | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | 0-3 for IDE disk drives | ||
| - | 0-6 for SCSI disk drives | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | image file formats are supported: .iso, .cue, .ccd, and .dmg. | ||
| - | | ||
| - | | ||
| - | | ||
| - | 0-3 for IDE disk drives | ||
| - | 0-6 for SCSI disk drives | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | 0-3 for IDE disk drives | ||
| - | 0-6 for SCSI disk drives | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | < | ||
| - | |||
| - | |||
| - | type: the type of the network adapter to create in the virtual environment. | ||
| - | | ||
| - | 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. | ||
| - | | ||
| - | | ||
| - | dhcp: specifies whether the virtual network adapter should get its IP 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. | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | MAC address. | ||
| - | | ||
| - | its virtual environment. | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | [--socket-mode < | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | ure the port to operate in client or server mode. By default, server mode is enabled. | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | |||
| - | |||
| - | | ||
| - | Used to configure various parameters of the specified virtual device. After its adding to the virtual environment, | ||
| - | You can use any of the parameters available to --device-add with --device-set. | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | 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. | ||
| - | |||
| - | | ||
| - | Used to connect the specified device to a running VE. Supported device types: fdd, cdrom, net. The device name could be obtained using the ' | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | list -f command. | ||
| - | | ||
| - | | ||
| - | 0-3 for IDE disk drives | ||
| - | 0-6 for SCSI disk drives | ||
| - | |||
| - | |||
| - | | ||
| - | | ||
| - | NOTE: To detach a single backup disk, use the --device-del command. | ||
| - | |||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | Backs up the specified virtual environment. | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | type. | ||
| - | |||
| - | | ||
| - | Do not compress backup image. | ||
| - | |||
| - | | ||
| - | Do not create an intermediate temporary image for reversed delta writes. | ||
| - | |||
| - | | ||
| - | Do not use connection tunneling for backup. Connection tunneling is enabled for backup by default to provide secure data transmission. | ||
| - | |||
| - | | ||
| - | Lists the existing backups. If the --localvms option is specified, list only backups that were created on the local server. | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | --dst < | ||
| - | | ||
| - | |||
| - | | ||
| - | Do not use connection tunneling for restore. Connection tunneling is enabled for restore by default to provide secure data transmission. | ||
| - | |||
| - | | ||
| - | Live restore reduces VM downtime by starting the restored VM right after the restore process begins. | ||
| - | |||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | as follows. | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | This option is used to change the current Windows security identifier (SID) of a Windows-based virtual machine template. | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | If this option is provided, the source bundle will be removed after migration. | ||
| - | |||
| - | | ||
| - | Do not compress data during migration. | ||
| - | |||
| - | | ||
| - | Do not use connection tunneling for migration. Connection tunneling is enabled for migration by default to provide secure data transmission. | ||
| - | |||
| - | --ssh < | ||
| - | | ||
| - | |||
| - | Note: Do not specify the hostname/IP address of the destination server as an option. | ||
| - | |||
| - | | ||
| - | | ||
| - | This command is used to create VE snapshot. Note: Taking a snapshot of a running VE saves not only its filesystem state but in-memory state as well. | ||
| - | |||
| - | | ||
| - | This command | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | Used to revert to selected snapshot. | ||
| - | |||
| - | | ||
| - | | ||
| - | Sets the hostname for the virtual environment. For virtual machines, R-Virtualization Guest Tools must be installed in the virtual machine. | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | If set to " | ||
| - | file. | ||
| - | |||
| - | | ||
| - | | ||
| - | Print performance statistics for running virtual machines and containers on the server. | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | Class Input(bytes) Input(packets) Output(bytes) Output(packets) | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | CPU statistics | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | RAM statistics | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | Print statistics every second until the program is terminated. | ||
| - | |||
| - | --all | ||
| - | Print statistics for all running virtual machines and containers on the server. | ||
| - | |||
| - | DIAGNOSTICS | ||
| - | | ||
| - | |||
| - | EXAMPLES | ||
| - | To create and start a VM having the name of win2003 and based on the ' | ||
| - | prlctl create win2003 --ostemplate ' | ||
| - | prlctl start win2003 | ||
| - | |||
| - | To stop the win2003 VE: | ||
| - | prlctl stop win2003 | ||
| - | |||
| - | To remove the win2003 virtual environment from the R-Virtualization server: | ||
| - | prlctl delete win2003 | ||
| - | |||
| - | To list all virtual environments, | ||
| - | prlctl list -a -o uuid, | ||
| - | |||
| - | SEE ALSO | ||
| - | | ||
| - | |||
| - | COPYRIGHT | ||
| - | | ||
| - | |||
| - | |||
| - | |||
| - | R-Virtualization | ||
| - | </ | ||