How to Check the Source System With zonep2vchk

Perform this procedure on the source system.

  1. Become a zone administrator.
  2. Perform a basic analysis that checks for Oracle Solaris features in use that might be impacted by a transformation.

    The ‐b option specifies a basic analysis.

    source$ zonep2vchk -b
  3. Perform a static analysis of application files.

    The ‐s option specifies a static analysis. The option takes a comma-separated list of paths. The following example command inspects two application paths for ELF binaries for system and library calls that might affect operation inside a zone.

    source$ zonep2vchk -s /opt/myapp/bin,/opt/myapp/lib
  4. Perform runtime checks that look for processes that could not be executed successfully inside a zone.

    The ‐r option specifies a runtime check. The following example command performs a runtime check for two hours.

    source$ zonep2vchk -r 2h
  5. Generate a template zonecfg configuration.

    The template name you specify must end with the .config extension.

    source$ zonep2vchk -c > /path/filename.config

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