It just works!: Zones + ZFS + BrandZ + LiveUpgrade
By mramcha on Jan 26, 2007
I've successfully LiveUpgraded my home server twice so far. (I've been slightly lazy and decided to do alternate builds, so I've gone from Nevada b52 to b54 to b56. Apart from the minor zfs issues which require me to:
- Create an exclude file for the lucreate so that it doesn't try to copy my zfs partitions.
- Manually empty mountpoints where some of my zfs filesystems mount.
it all works really well.
I'd shied away from creating zones because LiveUpgrade didn't support zones in the earlier builds, but I've now been assured that it works fine now.
Zones + ZFS. WOW
It just works. When you create a zone, if it detects that your zonepath is on a zfs filesystem, it'll automatically create a new zfs dataset for you for the zones you are creating. You don't need to do anything special, it just does the "Right Thing(tm)".
Furthermore, if you decide to clone a zone, and it's on a zfs filesystem, it simply creates a snapshot of the cloned zone for you. You don't need to do anything special, it just does the "Right Thing(tm)".
This means that once you've created your first zone, all your additional zones can be created and booted in a matter of seconds. Talk about rapid provisioning!
The icing on the cake: BrandZ
I've simply followed the instructions here and I've now got CentOS running in a zone, running on top of Solaris. Got Skype working!!
I love it when a plan comes together. We've now got some really clever integration of some individual cool Solaris technologies. The combined benefit is compelling.
Just waiting for ZFS boot to become available (well, more available than it is), and my home server aspirations will be complete.