On Tue, Nov 24, 2009 at 6:41 AM, Dr. Hung-Sheng Tsao
<hung-sheng.t...@sun.com> wrote:
> hi
> Is there p2v in s10 to move  from physical host to zone env?
> It seems that cpio of the apps directory should work
> regards

That general mechanism works for p2v regardless if the source is a
Solaris 10 or Solaris 2.6.  The key things to watch out for are:

- be sure the app doesn't need anything that doesn't work in the zone
(kernel modules, NFS serving, etc.)
- watch out for customizations to editable files that are part of
Solaris.  That is, be sure that the required entries from /etc/passwd
and others are brought over.  If package selection or patch level is
different between the source and destination, simply copying these
files is not safe - a merge is required.
- newer releases of Solaris tend to run fewer services.  If the
application has some dependency on telnet into the box working, you
may need to enable this on the destination.

Key helpers in this process are:

- the /var/sadm/install/contents file.  It will tell you what was
installed by packages.
- the output of pkginfo.  Compare it to the packages that existed on
the media for the source machine.  If you can't account for some of
the packages there, you may need to find third party sysv packages to

Going forward, I suggest using separate file systems for application
data.  That is, don't put applications in the root or zone root file
system.  This simplifies the process of a similar migration next time.
  The way things look right now, I think that you will need to do a
v2p (inverse of p2v) to create something that looks like a S10 global
zone to use S10 Containers on OpenSolaris, or if you decide to
transition to a global zone in LDoms, Xen, VMware, etc.

Mike Gerdts
zones-discuss mailing list

Reply via email to