Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: August 2019

How to Check the Source System With zonep2vchk

Perform this procedure on the source system.

Before You Begin

Review planning information and guidelines in About Zone Transformations and Using the zonep2vchk Tool to Prepare for Global to Non-Global Transformations.

  1. Become a zone administrator.

    For more information, see Using Rights Profiles to Install and Manage Zones.

  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.

Next Steps

Go to How to Create an Archive of the System Image.