Go to the Logical Domains download page at http://www.sun.com/servers/coolthreads/ldoms/get.jsp.
Download the P2V software package, SUNWldmp2v.
Become superuser.
Use the pkgadd command to install the SUNWldmp2v package.
# pkgadd -d . SUNWldmp2v |
Create the /etc/ldmp2v.conf file to configure the following properties:
VDS – Name of the virtual disk service, such as VDS="primary-vds0"
VSW – Name of the virtual switch, such as VSW="primary-vsw0"
VCC – Name of the virtual console concentrator, such as VCC="primary-vcc0"
BACKEND_TYPE – Backend type of zvol or file
BACKEND_SPARSE – Whether to create backend devices as sparse volumes or files BACKEND_SPARSE="yes", or non-sparse volumes or files BACKEND_SPARSE="no"
BACKEND_PREFIX – Location to create virtual disk backend devices
When BACKEND_TYPE="zvol", specify the BACKEND_PREFIX value as a ZFS dataset name. When BACKEND_TYPE="files", the BACKEND_PREFIX value is interpreted as a path name of a directory that is relative to /.
For example, BACKEND_PREFIX="tank/ldoms" would result in having ZVOLs created in the tank/ldoms/domain-name dataset, and files created in the /tank/ldoms/domain-name subdirectory.
BOOT_TIMEOUT – Timeout for Solaris OS boot in seconds
For more information, see the ldmp2v.conf.sample configuration file that is part of the downloadable bundle.