Solaris Zones Creation Examples
The following steps that are involved in setting up zones on your system for the first time.
- Perform the preconfiguration tasks. Determine zone name z1 and zone path (for example /export/z1), obtain IP address (zone needs to have a unique IP address), determine shared directories and devices for the zone. check resources req:
- At least 512M of memory on the server
- At least 100 MB of free disk space per zone to be installed
- CPU-power available. Running more than one zone with taxing CPU applications require enough CPU power. If you plan to install application to run in zone for security and global zone (“mothership”) will be mostly idle then the same server can be used.
- Use the zonecfg Command to Configure, Verify, and Commit a Zone and zonecf(1M).
- As root, verify and install configured zones. Zones must be verified and installed prior to login.
- As root, log in to the zone to perform the initial internal configuration, including assigning the zone root password.
- As root, boot the non-global zone.
Zones can be created using zone manager gui or command line tools:
- Zone manager GUI. This is the easiest way. docs.sun.com Installing and Administering Solaris Container Manager 1.1
- Creation via zoneadm is a little bit more involved, but it can be scripted.

Leave a Reply