I periodically upgrade the global zone on the few servers that I have but
because I don't have an automated way to upgrade the zones themselves
(without puppet or a similar automation tool in place), most of my zones
aren't being updated regularly. I want to make sure I'm understanding the
process so for example, if I have a server running a Tomcat instance:

Let's say there is a zone originally built on an older base64 image. It
uses the repository-supplied instances of Tomcat and Java JRE. To upgrade
that zone, I would have to:

1. Copy any needed data from the original zone (e.g. webapps directory,
custom scripts, cron jobs, etc) to some other location
2. Stop and move the zone to another server for easy recovery if something
breaks
3. Delete the original zone from the original server
4. Create a new zone using the latest base64 image and the same IP address
as the original
5. Make sure the new zone has the latest pkgin data
6. Install JRE and Tomcat
7. Copy over the contents of the webapps directory and other data from the
temporary location to the new zone
8. Start Tomcat on the new zone and test

Is this an accurate process to do all of this manually?


-- 
Mark



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to