This procedure describes how to configure a kernel zone using the kernel zone template, SYSsolaris-kz. For an overview of zone template properties, see zonecfg template Property in Introduction to Oracle Solaris Zones . For general information regarding zone configuration, see Chapter 1, How to Plan and Configure Non-Global Zones, in Creating and Using Oracle Solaris Zones .
Before You Begin
Before you begin to configure a kernel zone, you must confirm kernel zone hardware support, software support, and memory configuration on your host system. See Verifying Hardware and Software Support on Kernel Zone Hosts and Tuning the Host ZFS ARC Cache on a Kernel Zone Host.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
The solaris-kz branded zone template is SYSsolaris-kz. For example, on the host global, to create a new kernel zone configuration for the kernel zone, kzone1:
global# zonecfg -z kzone1 Use 'create' to begin configuring a new zone. zonecfg:kzone1> create -t SYSsolaris-kz
The remaining configuration steps in this procedure use the kernel zone kzone1.
You can set some kernel zone resources now or after the zone is configured. For more information, see Configuring and Customizing Kernel Zone Resources.
zonecfg:kzone1> commit
zonecfg:kzone1> exit
You can verify a zone prior to installation. If you skip this step, the verification is performed automatically when you install the zone. See (Optional) How to Verify a Configured Zone Before It Is Installed in Creating and Using Oracle Solaris Zones .
# zoneadm -z zonename verify
For example, to verify the kernel zone kzone1 on the host global:
global# zoneadm -z kzone1 verify
If you see an error message and the zone fails to verify, make the corrections specified in the message and try the command again. If no error messages are displayed, you can install the zone.