Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

Scanning the Source System With zonep2vchk

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Run the zonep2vchk tool with the –b option to perform a basic analysis that checks for Oracle Solaris features in use that might be impacted by a P2V migration.
    source# zonep2vchk -b 11
  3. Run the zonep2vchk tool with the –s option to perform a static analysis of application files. This inspects ELF binaries for system and library calls that might affect operation inside a zone.
    source# zonep2vchk -s /opt/myapp/bin,/opt/myapp/lib
  4. Run the zonep2vchk tool with the –r option to perform runtime checks that look for processes that could not be executed successfully inside a zone.
    source# zonep2vchk -r 2h
  5. Run the zonep2vchk tool with the –c option on the source system to generate a template zonecfg script, named s11-zone.config in this procedure.
    source# zonep2vchk -c > /net/somehost/p2v/s11-zone.config

    This configuration will contain resource limits and network configuration based on the physical resources and networking configuration of the source host.