Re: Live Upgrade for Linux

From: Eric Rostetter (eric.rostetter@physics.utexas.edu)
Date: 03/27/03

  • Next message: Steffen Dettmer: "Re: Live Upgrade for Linux"
    Date: Wed, 26 Mar 2003 17:14:53 -0600
    From: Eric Rostetter <eric.rostetter@physics.utexas.edu>
    To: focus-linux@securityfocus.com
    
    

    Quoting Seth Arnold <sarnold@wirex.com>:

    > On Tue, Mar 25, 2003 at 02:20:27PM -0600, Kelly Sauke wrote:
    > > What Live Upgrade does under solaris is it creates a complete
    > > alternate boot environment with a root /usr /var and any other
    > > filesystem you want. Then you can apply patches etc to this other
    > > boot environment and boot off of that.
    >
    > Ahh! That's kindof a cool idea.

    Yes, it is.

    > When partitioning your hard drives, make duplicates of your "replicated"
    > filesystems, and ask /etc/fstab to mount them under /testing/ in their
    > normal ordering. Then, use either the packaging tool's --chroot option
    > (I expect that all tools can be asked to use a chroot environment) or
    > just use the chroot command to run them all within the little
    > environment.

    This isn't the same as Live Upgrade. With Live Upgrade, I can install a
    fresh OS while the machine is running, or upgrade (e.g. From Solaris 8
    to Solaris 9) while the system is running. In the linux world, at least
    the versions I've used, you can't do this (Install RedHat 8.0 on the
    machine while it is up and running RedHat 7.3, or upgrade 7.3 to 8.0
    while running). In other words, there are no vendor install/upgrade
    utilities that I know of for linux that run on a running system.

    I agree you can do updates (install security patches, etc) this way.
    But not a full install or major OS upgrade, AFAIK.

    The alternative I use, and it sucks, is:

    Software mirror the disks. Break the mirror. Move the drive to another
    machine which has the exact same hardware. Do the upgrade/install. Shut
    down the first machine. Swap the disks. Boot. Once it all works, is
    tested, etc. then resync the mirrors. If it fails, reboot off the old
    (not yet synced) disk.

    Problem is obvious: it requires another machine of the same type of hardware.

    --
    Eric Rostetter
    The Department of Physics
    The University of Texas at Austin
    Why get even? Get odd!
    

  • Next message: Steffen Dettmer: "Re: Live Upgrade for Linux"

    Relevant Pages

    • Problems with luupgrade using Solaris 10 1/06 media
      ... I've been trying to get my V440 upgraded from Solaris 8 to Solaris 10 ... The live upgrade process always fails on luupgrade command. ... Cross referencing storage devices with boot environment configurations ... Determining packages to install or upgrade for BE. ...
      (comp.unix.solaris)
    • Cant upgrade Solaris 2.6 to Solaris 9 ? HELP
      ... I'm trying to upgrade one Sun Enterprise 3500 with Solaris 2.6 to new ... install is in progress... ... Solaris Software Group: Entire Group ...
      (comp.unix.solaris)
    • Re: Web vs. Desktop based systems
      ... provider with better privacy policy (perhaps Yahoo) also provides ... to other folder or reporting spam or changing the filter recipes. ... But how do you *really* know the important upgrade that keeps ... The alert-window doesn't exactly say *why* you need to install this ...
      (comp.programming)
    • Re: Requesting some leniency on your piracy protection program ple
      ... If Windows is retail, not at all. ... You can reinstall, upgrade, move to a different computer all you want as long as it is only installed on one computer at a time. ... The things I do not get, is not being able to> install the same ...
      (microsoft.public.windowsxp.general)
    • Re: upgrading xp to vista premium question
      ... prior to using an upgrade install of Vista. ... install of Vista Home Premium full retail version was to my main MCE2005 ... built and did a clean install and love it. ...
      (microsoft.public.windows.mediacenter)