On 2/17/15 9:04 , Jason Lawrence via smartos-discuss wrote: > Is there a recommended method to simplify the act of reprovisioining zones > while maintaining setup? I have a single, standalone SmartOS node but would > like to migrate to more recent image sets. I considered just doing a 'zfs > diff' from the image to the current snapshot, but that leaves me ~32k files > to sort through. > > I feel like I’m doing this the wrong way, but don’t know where to start. Do I > need to bite the bullet, start over with a blank image, and learn chef or > something similar to make this easier in the future?
At Joyent, what we do is we build an image that has all the software that we care about and then put all of the data we care about inside of a delegated dataset. We then use a vmadm operation called vmadm reprovision which replaces the base image with the new one and leaves the delegated dataset intact. Unfortunately, it can be a bit hard to go through and repurpose an existing zone into this mode of use. Alternatively, what some people do is remove all of their pkgsrc related information and just pull down a new bootstrap. That may not be the path that you want to go, and generally isn't something we recommend or support. Robert ------------------------------------------- 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
