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:prlsrvctl [2023/01/26 09:22] – mchus | domestic:rosplatforma:man:prlsrvctl [2023/01/26 09:40] (current) – [Configuring R-Virtualization Server IP private networks] mchus | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| prlsrvctl **info** [**-j, --json**] [**--license**] [**-f, --full**] | prlsrvctl **info** [**-j, --json**] [**--license**] [**-f, --full**] | ||
| - | prlsrvctl **set** [-s, | + | prlsrvctl **set** [-s, |
| prlsrvctl **install-license -k,--key** <// | prlsrvctl **install-license -k,--key** <// | ||
| Line 63: | Line 63: | ||
| ===== OPTIONS | ===== OPTIONS | ||
| - | **Flags**\\ | + | ==== Flags ==== |
| - | The following flags can be used with the majority of **prlsrvctl** commands.\\ | + | |
| - | -l,--login user< | + | |
| - | 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, **prlsrvctl** assumes that the command is run on the local server. | + | The following flags can be used with the majority of **prlsrvctl** commands. |
| + | * -l,--login user< | ||
| + | * **--timeout < | ||
| - | **--timeout < | + | ==== Configuring R-Virtualization Server parameters ==== |
| - | Specify custom operation timeout in seconds (by default any operation has infinit timeout). | + | **set** [**SET_OPTIONS**] |
| - | + | ||
| - | **Configuring R-Virtualization Server parameters\\ | + | |
| - | set** [**SET_OPTIONS**] | + | |
| This command is used to set and configure various VM parameters.\\ | This command is used to set and configure various VM parameters.\\ | ||
| The following options can be used with the **set** command: | The following options can be used with the **set** command: | ||
| - | **-s, | + | * **-s, |
| + | * //low// - none of the transmitted data is encrypted. | ||
| + | * //normal// - only the most important data is encrypted. | ||
| + | * //high// - all transmitted data is encrypted. | ||
| + | * **--device** <// | ||
| + | * **--backup-path** <// | ||
| + | * **--idle-connection-timeout** <// | ||
| + | * **--backup-tmpdir** < | ||
| + | * **--backup-storage < | ||
| + | * **--allow-attach-screenshots** <// | ||
| + | * **--cpu-features-mask** < | ||
| + | * --vm-cpulimit-type <// | ||
| + | * **--vcmmd-policy** <// | ||
| + | * **--vnc-ssl-certificate** <// | ||
| - | Specifies the minimum allowable security level that can be used by users to connect to the server: //\\ | + | ==== Managing R-Virtualization |
| - | low// - none of the transmitted data is encrypted. //\\ | + | |
| - | normal// - only the most important data is encrypted. //\\ | + | |
| - | high// - all transmitted data is encrypted. | + | |
| - | **--device** <//device//> --assignment | + | |
| + | * **update-license** - Update current R-Virtualization license. | ||
| + | * **info** - Show detailed information about the R-Virtualization server configuration. If the **--license** option is specified, only the license info is displayed. You can use the **--json** option to produce machine-readable output in JSON format. | ||
| + | * **problem-report** < | ||
| - | Set assignment mode for VTd devices. | + | ==== Listing R-Virtualization server users ==== |
| - | **--backup-path** <// | + | **user list** - Lists the R-Virtualization server users. |
| - | Set the backup location on the local server. | + | ==== Configuring user settings ==== |
| + | **user set** - This command is used to manage | ||
| - | **--idle-connection-timeout** <//timeout//> | + | You can use the following option with the command: |
| + | * **--def-vm-home** <//path//> | ||
| - | Sets a timeout interval in seconds after which, if no data has been received from the storage server or backup client, the process of backup/ | + | ==== Configuring R-Virtualization Server Virtual Networks ==== |
| - | **--backup-tmpdir** <**tmpdir**> | + | **net** [**NET_OPTIONS**] |
| - | Set the backup directory for temporary snapshot creation. | + | This command is used to manage Virtual Networks on the R-Virtualization server. // |
| - | **--backup-storage < | + | The following actions can be used with the **net** command: |
| + | | ||
| + | * **set** Update the Virtual Network’s properties. | ||
| + | * **del** Remove the specified Virtual Network. | ||
| + | * **info** Show detailed information about the specified Virtual Network. | ||
| + | * **list** List the available Virtual Networks on the R-Virtualization server. | ||
| - | Set the default backup | + | The following options can be used with the **net** actions: |
| + | * **-i, | ||
| + | * **-m,--mac** <// | ||
| + | * **-t, | ||
| + | * //bridged// A virtual machine connected to this type of Virtual Network appears as an independent computer on the network. | ||
| + | * // | ||
| + | * **-d, | ||
| + | * **--ip** <// | ||
| + | * **--dhcp-server** <// | ||
| + | * **--dhcp-ip** <// | ||
| + | * **--ip-scope-start** <// | ||
| + | * **--ip-scope-end** <// | ||
| + | * **--ip6** <// | ||
| + | * **--dhcp6-server** <// | ||
| + | * **--dhcp-ip6** <// | ||
| + | * **--ip6-scope-start** <// | ||
| + | * **--ip6-scope-end** <// | ||
| - | **--allow-attach-screenshots** <// | + | ==== Configuring R-Virtualization Server IP private networks ==== |
| - | Enables/ | + | **privnet** [**PRIVNET_OPTIONS**] |
| - | + | ||
| - | **--cpu-features-mask** < | + | |
| - | + | ||
| - | Changes host’s global CPU features mask. NOTE: All virtual machines and Containers on the host must be stopped. On/off (boolean) features can be masked and unmasked using the {// | + | |
| - | + | ||
| - | --vm-cpulimit-type <// | + | |
| - | + | ||
| - | Specifies whether the CPU limit affects all virtual machine threads including service (//full//), or guest threads only (// | + | |
| - | + | ||
| - | **--vcmmd-policy** <// | + | |
| - | + | ||
| - | Sets host’s global vcmmd policy. NOTE: Before setting the policy, stop all virtual machines and containers on the host or temporarily migrate them live to another host. | + | |
| - | + | ||
| - | **--vnc-ssl-certificate** <// | + | |
| - | + | ||
| - | Install an SSL certificate and a private key to encrypt all VNC connections on node. To disable VNC encryption, specify empty arguments (e.g., ’’). | + | |
| - | + | ||
| - | **Managing R-Virtualization server\\ | + | |
| - | install-license -k,--key** <// | + | |
| - | + | ||
| - | Install R-Virtualization license. | + | |
| - | + | ||
| - | **update-license** | + | |
| - | + | ||
| - | Update current R-Virtualization license. | + | |
| - | + | ||
| - | **info** | + | |
| - | + | ||
| - | Show detailed information about the R-Virtualization server configuration. If the **--license** option is specified, only the license info is displayed. You can use the **--json** option to produce machine-readable output in JSON format. | + | |
| - | + | ||
| - | **problem-report** < | + | |
| - | <// | + | |
| - | + | ||
| - | Generate a problem report. If the **-s, | + | |
| - | + | ||
| - | **Listing R-Virtualization server users\\ | + | |
| - | user list** | + | |
| - | + | ||
| - | Lists the R-Virtualization server users. | + | |
| - | + | ||
| - | **Configuring user settings\\ | + | |
| - | user set** | + | |
| - | + | ||
| - | This command is used to manage the settings of the user currently logged in to the R-Virtualization server. | + | |
| - | + | ||
| - | You can use the following option with the command: **\\ | + | |
| - | --def-vm-home** <// | + | |
| - | + | ||
| - | Set the default location on the R-Virtualization server for storing virtual machines of the current user. | + | |
| - | + | ||
| - | **Configuring R-Virtualization Server Virtual Networks\\ | + | |
| - | net** [**NET_OPTIONS**] | + | |
| - | + | ||
| - | This command is used to manage Virtual Networks on the R-Virtualization server. // | + | |
| - | The following actions can be used with the **net** command: **\\ | + | |
| - | add** Create a new Virtual Network. **\\ | + | |
| - | set** Update the Virtual Network’s properties. **\\ | + | |
| - | del** Remove the specified Virtual Network. **\\ | + | |
| - | info** Show detailed information about the specified Virtual Network. **\\ | + | |
| - | list** List the available Virtual Networks on the R-Virtualization server. | + | |
| - | + | ||
| - | The following options can be used with the **net** actions: **\\ | + | |
| - | -i, | + | |
| - | + | ||
| - | Set the name of the network card on the R-Virtualization server to which the Virtual Network will be bound. | + | |
| - | + | ||
| - | **-m, | + | |
| - | + | ||
| - | Set the MAC address of the network card on the R-Virtualization server to which the Virtual Network will be bound. The network card with the specified MAC address must exist on the R-Virtualization server. | + | |
| - | + | ||
| - | **-t, | + | |
| - | + | ||
| - | Specifies the type of the Virtual Network. //\\ | + | |
| - | bridged// A virtual machine connected to this type of Virtual Network appears as an independent computer on the network. //\\ | + | |
| - | host-only// A virtual machine connected to this type of Virtual Network can access only the R-Virtualization server and the virtual machines connected to the same Virtual Network. | + | |
| - | + | ||
| - | **-d, | + | |
| - | + | ||
| - | Set the Virtual Network description. | + | |
| - | + | ||
| - | **--ip** <// | + | |
| - | + | ||
| - | Set an IPv4 address and subnet mask for the R-Virtualization virtual adapter. | + | |
| - | + | ||
| - | **--dhcp-server** <// | + | |
| - | + | ||
| - | Enable or disable the R-Virtualization virtual DHCPv4 server. | + | |
| - | + | ||
| - | **--dhcp-ip** <// | + | |
| - | + | ||
| - | Set an IPv4 address for the R-Virtualization virtual DHCPv4 server. | + | |
| - | + | ||
| - | **--ip-scope-start** <// | + | |
| - | + | ||
| - | Set a start IPv4 address for the pool of IPv4 addresses. | + | |
| - | + | ||
| - | **--ip-scope-end** <// | + | |
| - | + | ||
| - | Set an end IPv4 address for the pool of IPv4 addresses. | + | |
| - | + | ||
| - | **--ip6** <// | + | |
| - | + | ||
| - | Set an IPv6 address and subnet mask for the R-Virtualization virtual adapter. | + | |
| - | + | ||
| - | **--dhcp6-server** <// | + | |
| - | + | ||
| - | Enable or disable the R-Virtualization virtual DHCPv6 server. | + | |
| - | + | ||
| - | **--dhcp-ip6** <// | + | |
| - | + | ||
| - | Set an IPv6 address for the R-Virtualization virtual DHCPv6 server. | + | |
| - | + | ||
| - | **--ip6-scope-start** <// | + | |
| - | + | ||
| - | Set a start IPv6 address for the pool of IPv6 addresses. | + | |
| - | + | ||
| - | **--ip6-scope-end** <// | + | |
| - | + | ||
| - | Set an end IPv6 address for the pool of IPv6 addresses. | + | |
| - | + | ||
| - | **Configuring R-Virtualization Server IP private networks\\ | + | |
| - | privnet** [**PRIVNET_OPTIONS**] | + | |
| This command is used to manage IP private networks on the R-Virtualization server. // | This command is used to manage IP private networks on the R-Virtualization server. // | ||
| - | The following actions can be used with the **privnet** command: **\\ | + | The following actions can be used with the **privnet** command: |
| - | add** Create a new IP private network. **\\ | + | * **add** Create a new IP private network. |
| - | set** Update the IP private network’s properties. **\\ | + | * **set** Update the IP private network’s properties. |
| - | del** Remove the specified IP private network. **\\ | + | * **del** Remove the specified IP private network. |
| - | list** List the available IP private networks on the R-Virtualization server. | + | * **list** List the available IP private networks on the R-Virtualization server. |
| - | + | ||
| - | The following options can be used with the **privnet** command: **\\ | + | |
| - | -a, | + | |
| - | + | ||
| - | Add the IP subnet to the list of subnets in the specified IP private network. Specify an asterisk (’*’) to make the IP private network " | + | |
| - | + | ||
| - | **-d, | + | |
| - | + | ||
| - | Remove the IP subnet from the list of subnets in the specified IP private network. | + | |
| - | + | ||
| - | **--global** <// | + | |
| - | + | ||
| - | Specify whether the IP subnet defines global range of the IP addresses to be treated as covered by some private network or just particular IP private network. | + | |
| - | + | ||
| - | **Configuring Automatic USB Device Assignments\\ | + | |
| - | usb list** | + | |
| - | + | ||
| - | List the USB devices installed on the server together with the information on their assignments for the current user. | + | |
| - | + | ||
| - | **usb set** <// | + | |
| - | + | ||
| - | Assign the USB device with ID <// | + | |
| - | + | ||
| - | **usb del** <// | + | |
| - | + | ||
| - | Remove the assignment for the USB device with ID <// | + | |
| - | + | ||
| - | **Configuring templates for Containers\\ | + | |
| - | cttemplate list** | + | |
| - | + | ||
| - | List the OS and application templates installed on the R-Virtualization server. | + | |
| - | + | ||
| - | **cttemplate remove** <// | + | |
| - | + | ||
| - | Remove the specified OS or application template from the R-Virtualization server. To delete an application template, you need to additionally indicate the // | + | |
| - | + | ||
| - | **cttemplate copy** <// | + | |
| - | + | ||
| - | Copies the specified OS or application template from the local server to the destination server **dst_node**. To copy an application template, you need to additionally indicate the // | + | |
| - | + | ||
| - | **plugin list** | + | |
| - | List all installed R-Virtualization plugins. | + | The following options can be used with the **privnet** command: |
| + | * **-a, | ||
| + | * **-d, | ||
| + | * **--global** <// | ||
| - | **plugin refresh** | + | ==== Configuring Automatic USB Device Assignments ==== |
| - | Refresh installed R-Virtualization plugins. | + | **usb list** |
| - | **Backup management\\ | + | **usb set** <//usb_dev_id//> |
| - | backup** [**-f, | + | |
| - | <//user[: | + | |
| - | [**-u, | + | |
| - | Back up all virtual environments on the node. | + | **usb del** <// |
| - | **-f, | + | ==== Configuring templates for Containers ==== |
| - | Create a full backup of each virtual environment on the node. A full backup contains all the virtual environment data. | + | **cttemplate list** - List the OS and application templates installed on the R-Virtualization server. |
| - | **-i,--incremental** | + | **cttemplate remove** <// |
| - | Create an incremental backup of each virtual environment on the node. An incremental backup contains only the files that were changed since the previous full or incremental backup. This is the default backup type. | + | **cttemplate copy** <// |
| - | **-s,--storage** <// | + | **plugin list** - List all installed R-Virtualization plugins. |
| - | Specify the host to store backup images at. | + | **plugin refresh** - Refresh installed R-Virtualization plugins. |
| - | **--description** <// | + | ==== Backup management ==== |
| - | Add a description //desc// to each virtual environment backup. | ||
| - | **-u, | + | **backup** [**-f, |
| - | Do not compress backup images. | + | * **-f, |
| + | * **-i, | ||
| + | * **-s, | ||
| + | * **--description** <// | ||
| + | * **-u, | ||
| - | **Traffic control management\\ | + | ==== Traffic control management |
| - | tc restart** | + | |
| - | Apply the traffic shaping setting to all running virtual environments. | + | **tc restart** - Apply the traffic shaping setting to all running virtual environments. |
| ===== DIAGNOSTICS | ===== DIAGNOSTICS | ||
| Line 324: | Line 196: | ||
| ===== SEE ALSO ===== | ===== SEE ALSO ===== | ||
| - | **prlctl**(8) | + | **[[domestic: |
| ===== COPYRIGHT | ===== COPYRIGHT | ||