Re: Live Upgrade for Linux

From: Stephen Samuel (samuel@bcgreen.com)
Date: 04/03/03

  • Next message: Devdas Bhagat: "Re: Red Hat: To patch or to upgrade?"
    Date: Wed, 02 Apr 2003 17:09:15 -0800
    From: Stephen Samuel <samuel@bcgreen.com>
    To: focus-linux@securityfocus.com
    
    

    Christopher Cashell wrote:
    > At Wed, 26 Mar 03, Unidentified Flying Banana Eric Rostetter, said:
    >
    >>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

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

    I've upgraded a box from 7.0 to 7.3 using RPMs. It worked fine for a
    home system (YMMV on a production box). I wrote a program to search
    find upgraded versions of installed RPMS from a file list.

    > A full install would be somewhat trickier, though with a little work, it
    > should be doable. A major OS upgrade is definitely possible, but you
    > should be prepared for possible minor down time while individual
    > applications are upgraded.>

    As far as I can tell, A full install with RPMs is doable... All you
    have to do is rpm --root /mnt/second a_long_list_of_RPMS.
    You can get a list of RPMS to install using anaconda. but
    the only way I've used anaconda is from the boot CD, so you're
    on your own for doing the last bit of research on that.

    I've created minimal RedHat installations on clean partitions that
    would *seem* to be bootable using RPMs, so you can try something like
    that. You'd then have to update all the pertinent configuration files.

    Doing a dd or tar of appropriate partitionswould also allow you to test
    the results of upgrades. The one thing you would have to do is modify the
    /etc/fstab file on the 'test' root system before you reboot, and make
    sure that a reference to the appropriate kernel is in the main grub
    directory. having your /home directory on a mountable partition helps on this.

    In terms of making the two systems reboot-compatible, you'd also need to do
    things like symbolically link /var/spool from the old filesystem to the new
    system. If you're using RedHat, you can't do that with all of /var because
    /var/lib/rpm contains the list of installed RPMs (which will be different
    on the two systems).
    what other directories you do(n't) want to transfer between installations is
    going to be up to you.

    -- 
    Stephen Samuel +1(604)876-0426                samuel@bcgreen.com
    		   http://www.bcgreen.com/~samuel/
    Powerful committed communication, reaching through fear, uncertainty and
    doubt to touch the jewel within each person and bring it to life.
    

  • Next message: Devdas Bhagat: "Re: Red Hat: To patch or to upgrade?"

    Relevant Pages

    • Re: [SLE] Need a little advice after upgrading to KDE 3.2.3
      ... On Thursday 24 Jun 2004 04:08, Tim Erickson wrote: ... With the upgrade Konqueror no ... > longer opens downloaded RPMs into the install RPMs window (lacking ... > a better description) where I could install the new file via YAST2. ...
      (SuSE)
    • 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: 10.6.7 Just works
      ... If you have the install disc just pop it in and do a reinstall. ... The recent upgrade to 10.6.7 brings a lot of problems with third part ... I have tried switching System Language, and even restarting the mac. ... Did anyone else run into a slow restart after the 10.6.7 update ...
      (comp.sys.mac.advocacy)
    • Re: OOo 3.2 for F12?
      ... officially packaged for Fedora 12. ... I really would like to upgrade to ... third-party rpms? ... F12 install; or, failing that, install from the generic tarball. ...
      (Fedora)