This product is protected by United States and international copyright laws. The product’s underlying
technology, patents, and trademarks are listed at http://www.parallels.com/trademarks.
Microsoft, Windows, Windows Server, Windows NT, Windows Vista, and MS-DOS are registered trademarks of
Microsoft Corporation.
Linux is a registered trademark of Linus Torvalds.
Mac is a registered trademark of Apple, Inc.
All other marks and names mentioned herein may be trademarks of their respective owners.
3
Contents
Introduction 5
About Parallels Command Line Tools......................................................................................................... 5
Organization of This Guide.......................................................................................................................... 6
General Syntax............................................................................................................................................. 8
General Syntax........................................................................................................................................... 20
prlctl set .......................................................................................................................................... 20
Parallels Server, Parallels Workstation, and Parallels Desktop come with two command-line
utilities: prlsrvctl and prlctl.
prlsrvctl
The prlsrvctl utility is used to administer Parallels Service (the core component of any
Parallels hypervisor-based virtualization product). The tasks that can be performed include
getting general information about the Parallels Service and its configuration settings, modifying
Parallels Service preferences, getting a list of users, obtaining statistics, installing a license, and
others.
To launch the utility from the command line, type:
prlsrvctl
prlctl
The prlctl utility is used to perform administration tasks on virtual machines. The utility
supports a full range of tasks from creating and administering virtual machines to installing
Parallels Tools, getting statistics, and generating problem reports.
To launch the utility from the command line, type:
prlctl
The rest of this guide provides detailed technical information about commands and options
available with each utility.
Introduction 6
Organization of This Guide
This guide is organized into the following chapters:
Introduction (you are reading it now).
Parallels Service Management. Provides technical information about the prlsrvctl utility, its
commands and options.
Virtual Machine Management. Provides technical information about the prlctl utility, its
commands and options.
Feedback
If you spot a typo in this guide, or if you have an opinion about how to make this guide more
helpful, you can share your comments and suggestions with us by completing the
Documentation Feedback form on our website (http://www.parallels.com/en/support/usersdoc/).
7
C HAPTER 2
Parallels Service Management
Parallels Virtualization Service is a core component of any Parallels hypervisor-based
virtualization product. Parallels Service is managed using the prlsrvctl command-line
utility, which is supplied with all Parallels virtualization products and is installed on the host
machine during the product installation.
Between curly brackets and/or separated
by pipe (|).
Examples:
ID|name
{-o name|-dname}
Parameter followed by the same
parameter in brackets with ellipses.
Parameters that the user must type exactly as
shown.
Parameter values that the user must supply.
Optional parameters.
Set of choices from which the user must choose
only one.
Parameters that can be repeated more than once
in the same command line.
Example: name[,name...]
Parallels Service Management 8
General Syntax
The prlsrvctl command-line utility is used to perform management tasks on Parallels
Service. The tasks include getting the Parallels Service information, modifying Parallels Service
preferences, installing a license, obtaining statistics and problem reports, and some others.
user Name of the user on the remote server. passwdThe user password. If the password is omitted, you will be
serverThe remote server IP address or hostname.
-v, --verbose
number
Command options. See individual commands for available options.
Connect to the remote Parallels Service and execute a command on
it. If this parameter is omitted, the command will be executed on
the local machine.
prompted to enter it.
Show verbose output. The greater the number, the more verbose
output will be produced.
Remarks
To display help, enter prlsrvctl on the command line without any parameters.
Links
Legend (p. 7)
Parallels Service Management 9
prlsrvctl Commands
prlsrvctl info
Displays the host computer and the Parallels Service configuration information.
Syntax
prlsrvctl info
Remarks
The information returned by the info command includes the following:
Host machine name.
Parallels virtualization product version number.
Host operating system type and version.
The default virtual machine directory name and path.
Parallels Service memory limits.
Parallels Service minimum allowable security level.
The default backup directory name and path for virtual machines.
Parallels license information.
Host machine hardware configuration information.
Other miscellaneous info.
Links
General Syntax (p. 8), Legend (p. 7)
Parallels Service Management 10
prlsrvctl install-license
Installs Parallels Server, Parallels Desktop, or Parallels Workstation license on the host
computer.
The prlsrvctl net command allows you to create and configure Parallels virtual networks.
The following subsections describe how to perform individual virtual network configuration
tasks.
Parallels Service Management 11
Creating a New Virtual Network
The prlsrvctl net add command can be used to create a new virtual network.
A user-defined name that will identify the new virtual
network.
-i,--ifname if
-m,--mac mac_address
-t,--type value
-d,--description
description
Links
General Syntax, Legend (p. 7)
The name of a physical network adapter on the host computer
to which this virtual network should be bound.
The MAC address of a virtual network adapter on the host
computer to which this virtual network should be bound.
The type of the virtual network to create. Possible values are:
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 host
computer and the virtual machines connected to the
same virtual network.
shared -- a virtual machine connected to this type
of virtual network uses the host computer network
connections.
A user-defined description of the virtual net wo rk .
Parallels Service Management 12
Modifying a Virtual Network
The prlsrvctl net set command allows you to modify an existing virtual network.
Syntax
prlsrvctl net set vnetwork_id -i --ifname if-m --mac mac_address] [,] [,
[-t,--type bridged|host-only|shared]
[-d,--description description]
[-n, --name new_name]
Parameters
Name Description
vnetwork_id
The name of the virtual network to modify.
-i,--ifname if
-m,--mac mac_address
-t,--type
-d,--description
description
-n, --name new_name
Links
The name of a physical network adapter on the host computer
to which this virtual network should be bound.
The MAC address of a virtual network adapter on the host
computer to which this virtual network should be bound.
The type of the virtual network to create. Possible values are:
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 host
computer and the virtual machines connected to the
same virtual network.
shared -- a virtual machine connected to this type
of virtual network uses the host computer network
connections.
A user-defined description of the virtual net wo rk .
A new name for the virtual network. Use this parameter if you
would like to rename the virtual network.
General Syntax, Legend (p. 7)
Parallels Service Management 13
Deleting a Virtual Network
The prlsrvctl net del command allows to delete an existing virtual network.
Syntax
prlsrvctl net del vnetwork_id
Parameters
Name Description
vnetwork_id
The name of the virtual network to delete.
Links
General Syntax, Legend (p. 7)
Listing Existing Virtual Networks
The prlsrvctl net list command lists the existing virtual networks.
Syntax
prlsrvctl net list
Links
General Syntax, Legend (p. 7)
Parallels Service Management 14
prlsrvctl problem-report
Obtains the Parallels Service problem report and displays it on the screen.
Syntax
prlsrvctl problem-report
Parameters
The command accepts no parameters.
Remarks
The command collects technical data about the Parallels Service and displays the report on the
screen (the output can also be piped to a file). The report can then be directed to Parallels
technical support for analysis.
Sets the upper limit of the memory size that can be reserved
for Parallels Service operation. The following options are
available:
-s,--min-security-level
-c,--cep
--mng-settings
auto -- if this option is used, the memory size will
be calculated automatically.
size -- user-defined memory size, in megabytes.
The lowest allowable security level that can be used to
connect to the Parallels Service. The following options are
available:
low -- plain TCP/IP (no encryption).
normal -- most important data is sent and received
using SSL over TCP/IP (user credentials during
login, guest OS clipboard, etc.) Other data is sent
and received using plain TCP/IP with no encryption.
high -- all of the data is sent and received using
SSL.
Enables/disables the participation in the Customer
Experience Program. The following options are available:
on -- enables CEP.
off -- disables CEP.
Allows to grant or deny permission to new users to modify
Parallels Service preferences. By default, only administrators
of the host OS can modify Parallels Service preferences.
When a new Parallels Service user profile is created (this
happens when a user logs in to Parallels Service for the first
time), he/she will be granted or denied this privilege based on
the default setting. This parameter allows to set that default
setting. Please note that this parameter only affects new users
(the users that will be created in the future). The profiles of
the existing users will not be modified.
Parallels Service Management 16
--device device -assignment
Allows to set the assignment mode for the specified VTd
device. The following options are available:
host -- assign the device to host.
vm -- assign the device to virtual machines.
--backup-storage
userName of the user on the backup server.
passwdThe user password.
serverThe backup server IP address or hostname.
portPort number. If omitted, the default port number will be used.
--backup-path path
--default-encryptionplugin plugin-id
--reset-defaultencryption-plugin
The default backup server where virtual machine backups will
be stored.
Name and path of the default directory on the backup server
where virtual machines backups will be stored.
Allows to specify which encryption plug-in should be used by
default. An encryption plug-in implements an encryption
algorithm, which is used to encrypt a virtual machine. Use
this option to specify the ID of the plug-in, which should be
used by default.
Resets the default encryption plug-in assignment and sets the
built-in plug-in to be used by default.
Links
General Syntax (p. 8), Legend (p. 7)
prlsrvctl shutdown
Shuts down the Parallels Service.
Syntax
prlsrvctl shutdown [-f,--force]
Parameters
Name Description
-f, --force
Links
General Syntax (p. 8), Legend (p. 7)
Specifies whether the shutdown operation should be for c ed. If one or
more virtual machines are running, clients are connected, or some
tasks are currently in progress, then forcing the shutdown will stop
all processes automatically and will shut down the Parallels Service.
Subscribes to receive statistics on the periodic basis. Once you
execute the command with this option, the statistics will be
displayed in your console window every time a new set of values is
collected. To unsubscribe, press the Enter key or Ctrl-C in your
console window.
This parameter is not currently used.
Links
General Syntax (p. 8), Legend (p. 7)
Parallels Service Management 18
prlsrvctl user list
Displays the list of Parallels Service users.
Syntax
prlsrvctl user list [-o,--output name[,name...]]
Parameters
Name Description
-o,--output name
Names of the fields to include in the output. The following fields are
available:
name -- User name.
mng_settings -- Indicates whether the user is allowed
to modify Parallels Service preferences.
def_vm_home -- The user default virtual machine
folder.
The fields must be specified using the lower case letters.
See Also
prlsrvctl user set
Links
General Syntax (p. 8), Legend (p. 7)
Loading...
+ 42 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.