On 27/08/2013 09:54, Ben wrote:
OK, but virtualisation also helps you mitigate this:
- I setup my "containers" so that I have at least two mount points, one for the operating system and any data broken out into it's own mount.
- This makes it quite simple to duplicate the container and spin up a test version pointing if required at the live data
- Now you can run a test upgrade on the test container. If it works either swap them around or upgrade the original
Additionally:
- My choice of distro (gentoo) makes it fairly simple to build binary packages of the software I'm using.
- I then use these binary packages on all my containers, additionally with guided profiles which control which packages and which options we deploy.
- It's fairly simple to roll back most packages to the previous binary version if a problem is detected (logging of package changes is built-in)
So it's quite low risk to use such a rolling distro in general. Note, I can't speak for other distros, but gentoo "stable" is fairly conservative and shouldn't be a problem for an experienced admin to keep up to date. It has the option to unmask "bleeding edge" packages where necessary and this can be useful to hit specific version numbers of software. It's also pretty trivial to keep a private repo of customised packages (ebuilds) with either personal patches or to pin certain versions of software. (So for example if you run, say, Dovecot with a few custom patches, then it's fairly trivial to drop these patches in a directory and now you can use the package manager to follow stable builds, but your custom patches will be rolled in for you with each update - can be very handy for some requirements)
I don't have the same experience with RPM/DEB so I can't say that all the same is easy to do, but the key thing is the use of containers/virtualisation to assist with testing and upgrades. Even worst case you have to do a whole OS upgrade, at least if you can do that in a test container while the live remains running, is a big advantage
Good luck
Ed W
participants (1)
-
Ed W