Re: Live upgrade from Solaris 8 to Solaris 9

From: Vlad (vgrama_at_yahoo.com)
Date: 04/20/04


Date: 20 Apr 2004 05:18:13 -0700

Shivakanth Mundru <smundrunospam@cox.net> wrote in message news:<DW1hc.10975$c%3.8868@okepread02>...
> Hoping that some one has already done this and would be able to answer
> my questions..
>
> I am looking at the live upgrade guide and I understand that I have to
> create an empty boot environment with -s option before I can install a
> flash archive on the disk.
>
> Q) What comprises of the empty boot environment?
>
> Once an empty BE is set up, we use the luupgrade and -a/-j/-J the three
> mutually exclusive options. Crossing out -a option I am confused about
> the -j and -J option usage
>
> -J for an entry from the profile
>
> -j for for the profile path
>
If you setup an empty BE LiveUpgrade simply updates its internal
records and probably does some checks to see wheather the filesystems
specified exist and that there are no conflicts.
You simply use the -J -j options to tell Live Upgrade the location
where the FlashArchive resides.
I've only used the -J option like this: -J "archive_location
nfs://<server>/<your_path_here>/archive.flar"
You could use "-j <profile>" where <profile> would be a JumpStart
profile file containing the "archive_location" keyword.

> Q) If I use the -J switch will it still lay out the file systems as
> defined in the same profile? Where exactly are the filesystems laid out
> in this process assuming that I specified them as explicit partitioning
> in my profile. If they are laid out at this stage where is the empty BE
> stored that was create in the previous step? Was it stored on a file
> system as specified by the -m option? If Yes, Am I supposed to lay out
> the filesystem in such a way in my profile that it doesnt touch the
> slice where the empty BE was created?

If you use the "-j <profile>" option the only thing used from the
profile is the "archive_location" entry. The file system layout in the
profile does *not* matter.
The file system layout is specified with "-m" options, when you run
lucreate.
For what Live Upgrade is concerned with, using "-j" or "-J" option is
equivalent. The "-J" option is probably provided for conveniency so
you don't need to type the Flash archive location manually if you
already have a JumpStart profile using the same archive.
 
> Q) What does luactivate does? (without -s or any switches) What does it
> differently than using eeprom and changing the boot-device path?
>

I don't know the details. I think, among others, some init scripts
are created/modified.
 
> Thanks,
> Shivakanth.

Good luck,
Vlad Grama.



Relevant Pages

  • Repartition using liveupgrade
    ... to use Live Upgrade in conjunction with Web Start Flash. ... the profiles used with LiveUpgrade is limited to using the existing layout. ... Trying to specify a new file system layout through a profile (as you would ...
    (SunManagers)
  • Live upgrade from Solaris 8 to Solaris 9
    ... Q) What comprises of the empty boot environment? ... -J for an entry from the profile ... Q) If I use the -J switch will it still lay out the file systems as ... Where exactly are the filesystems laid out ...
    (comp.unix.solaris)