Upgrading Samba 4 by vampire?
Andrew Bartlett
abartlet at samba.org
Thu Nov 4 04:24:30 MDT 2010
On Thu, 2010-11-04 at 11:02 +0100, Angelos Oikonomopoulos wrote:
> On 11/03/2010 10:49 AM, Angelos Oikonomopoulos wrote:
> > Hello all,
> >
> > for my setup it is likely that I'll have to use virtual machines to run
> > Samba 4 as a domain controller. So this gave me the idea of upgrading by
> > building a VM with the newer Samba 4 version, joining the domain as a DC
> > and then decommissioning the older Samba 4 VM. In particular, since I
> > plan to run a redundant setup, I'd like to do that in pairs (i.e.
> > joining two new VMs to the domain, then taking out the old ones).
> >
> > Is this expected to work? Any other considerations I'm not aware of?
>
> I've asked about this on IRC also and Andrew Bartlett advised against
> using vampire to upgrade to a newer Samba 4 version. He was also
> skeptical about my other idea of cloning a Samba 4 VM, upgrading using
> upgradeprovision and then removing the VM with the old Samba 4 version.
I perhaps should clarify - this is a reasonable approach, as long as
there is only one Samba4 server, and the clones are never online at the
same time, and the old clone is never put back online.
> Apparently the recommended way to upgrade a redundant Samba4 setup
> involves demoting a server, then upgrading to the newer Samba4 version,
> then re-promoting it, although I'm not yet clear on how to do the
> demoting. I'd be happy to put together an upgrade guide if someone can
> guide me through the demoting procedure.
We do need to clarify that, certainly.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101104/4b0a1aba/attachment.pgp>
More information about the samba-technical
mailing list