0% found this document useful (0 votes)
58 views2 pages

Configuring Solaris Zones Guide

This document provides a 3-step guide to configure Solaris Zones: 1) Verify the IPS publisher is configured correctly, 2) Create an rpool/zones ZFS file system to mount zones, and 3) Use zonecfg to configure and commit a zone named "grandmazone", setting its zonepath, autoboot, and physical network interface. It also shows how to list, install, boot, and login to zones, as well as create a profile, install from a profile, and uninstall a zone.

Uploaded by

Tej Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views2 pages

Configuring Solaris Zones Guide

This document provides a 3-step guide to configure Solaris Zones: 1) Verify the IPS publisher is configured correctly, 2) Create an rpool/zones ZFS file system to mount zones, and 3) Use zonecfg to configure and commit a zone named "grandmazone", setting its zonepath, autoboot, and physical network interface. It also shows how to list, install, boot, and login to zones, as well as create a profile, install from a profile, and uninstall a zone.

Uploaded by

Tej Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Step by step guide to configuration of Solaris Zones.

Step 1: Verify that the IPS publisher is configured correctly and is


operational.
If it is not configured please follow this command

#pkg set-publisher G * g [Link] solaris

Step 2 : Create the rpool/zones ZFS file system so that the mount
point is /zones.

# zfs create -o mountpoint=/zones rpool/zones

# zfs list rpool/zones

step 3 : Configure grandmazone and display the results.

root@s11-desktop:~# zonecfg -z grandmazone

Use 'create' to begin configuring a new zone.

zonecfg:grandmazone> create

create: Using system default template SYSdefault

zonecfg:grandmazone> set zonepath=/zones/grandmazone

zonecfg:grandmazone> set autoboot=true

zonecfg:grandmazone> add net

zonecfg:grandmazone:net> set physical=vnic1

zonecfg:grandmazone:net> end
zonecfg:grandmazone> verify

zonecfg:grandmazone> commit

zonecfg:grandmazone> exit

#zonecfg -z grandmazone info

# zoneadm list -cv


#zoneadm -z grandmazone install
#zoneadm -z grandmazone boot

#zlogin grandmazone
# zlogin -C grandmazone

creating zone from profile

# sysconfig create-profile -o /opt/ora/data/gmconf

# zoneadm -z grandmazone install c


/opt/ora/data/gmconf/sc_profile.xml

how to delete a zone

#zoneadm -z grandmazone shutdown


#zoneadm -z grandmazone uninstall

You might also like