First create a flar image of the source system .
Following are the various option for flarcreate command
1. flarcreate -n archive1 -c archive1.flar ---------- create flar archive which is a exact duplicate of master system and and compressed
2. flar info -l archive1.flar - To check the structure of flar archive
Create an archive that contains large files
-------------------------------------------------
The default archiving utiltiy in flar is cpio which cannot handle large file of more than 4G . Instead of that -L pax copy to be invoked when any individual file is larger than 4 G
#flarcreate -L pax -n archive1 -c archive1.flar
To check : #flar info -l archive1.flar
Create an archive from alternate root filesystem.
-------------------------------------------------------
#flarcreate -n archive1.flar -c -R /x/yy/zz archive1.flar
2. flar info -l archive1.flar - To check the structure of flar archive
Create an archive that contains large files
-------------------------------------------------
The default archiving utiltiy in flar is cpio which cannot handle large file of more than 4G . Instead of that -L pax copy to be invoked when any individual file is larger than 4 G
#flarcreate -L pax -n archive1 -c archive1.flar
To check : #flar info -l archive1.flar
Create an archive from alternate root filesystem.
-------------------------------------------------------
#flarcreate -n archive1.flar -c -R /x/yy/zz archive1.flar
# flarcreate -n archive3 -i 20000131221409 -m pumbaa -e "Solaris 8 Print Server" -a "Mighty Matt" -U "Internal Finance" -T server archive3.flar - provide description
flarcreate -S -n archive1 -L cpio archive1.flar - best command -S option will avoild disk size checking
P2V
Oracle Solaris Zones Physical-to-Virtual (P2V)
A new feature for Solaris 10 9/10.This feature provides the ability to build a Solaris 10 images from physical
system and migrate it into a virtualized operating system environment
There are three main steps using this tool
1. Image creation on the source system, this image includes the operating system and optionally the software in which we want to include within the image.
2. Preparing the target system by configuring a new zone that will host the new image.
3. Image installation on the target system using the image we created on step 1.
Once the image is ready and zone is configured then performs the below steps.
#zoneadm -z solaris10-up9-zone install -u -a /var/tmp/solaris_10_up9.flar - which will perform sys-unconfig. To preserve the sysidcfg setting use the below command
#zoneadm -z solaris10-up9-zone install -p -a /var/tmp/solaris_10_up9.flar