P2v

From pressy's brainbackup
Jump to: navigation, search

LDOM p2v

a short summary how to migrate a solaris server to a LDOM

First create a default configuration file on the target server

target # more /etc/ldmp2v.conf
# Virtual switch to use
VSW="primary-switch"
# Virtual disk service to use
VDS="primary-vds"
# Virtual console concentrator to use
VCC="primary-console"
# Location where vdisk backend devices are stored
BACKEND_PREFIX=""
# Default backend type: "zvol" or "file".
BACKEND_TYPE="file"
# Create sparse backend devices: "yes" or "no"
BACKEND_SPARSE="no"
# Timeout for Solaris boot in seconds
BOOT_TIMEOUT=60

now copy the "ldmp2v" script from the target server to the solaris client and start the collect phase. the rest is done on the target server, that's all

source # ldmp2v collect -d /mnt/src-svr1
 
target # ldmp2v prepare -b disk -B /dev/dsk/c0t60060E801653CE00000153CE00001520d0s2:src-svr1-vol0:src-svr1-hdd0 -c 8 -M 32g -m /:40g -m swap:4g -m /var:8g -o keep-hostid -p primary-vds -d /export/collect/src-svr1 src-svr1
 
target # ldmp2v convert -i /downloads/new/sol-10-u11-ga-sparc-dvd.iso -d /export/collect/src-svr1 -x skip-ping-test src-svr1