The state you want to see your zone in is "configured". You may have had an initial botched install that put you in the incomplete state. Try:

# zoneadm -z web-zone  uninstall

Followed by your install again.

Also, here's a quick demo <http://wikis.sun.com/display/solaris/DemoZones> I put together on installing a Solaris zone, which may be of some help.

Regards,
Brian

brown wrap wrote:
I downloaded the Solaris 10 How To Guide on "Consolidating Servers and Applications 
with Solaris Containers". In following the instructions, I immediately encountered 
an error when trying to execute:

zoneadm -z webzone install

zoneadm: 'web-zone': zone is incomplete; uninstall required.

In the example, two zones are to be set up. An email zone, and a zone containing two web servers. I just want one web server in a zone.
What I did was:



zonecfg -z web-zone

I received the 'no such zone", which the example said to expect.

zonecfg:web-zone> create

zonecfg:web-zone> set zonepath=/zfs-ramos/zones/web-zone


which it created

zonecfg:web-zone> set pool=web-zone

zonecfg:web-zone> add net

zonecfg:web-zone:net> set address=10.1.1.220

zonecfg:web-zone:net> set physical=afe0

zonecfg:web-zone:net> end

zonecfg:web-zone> verify


no errors

zonecfg:web-zone> commit

zonecfg:webzone> exit


The next step:

zoneadm -z web-zone install

zoneadm: zone 'web-zone': zone is incomplete: uninstall required.

This is the How To I am following:


https://www.sun.com/offers/docs/solaris_containers.pdf


Did I miss something?


_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

--
W Brian Leonard
Principal Product Manager
860.206.6093
http://blogs.sun.com/observatory

_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to