Friday, October 07, 2005

Live Upgrade Help

Subject: UPDATE: Live Upgrade Help
Hi Gurus,

I haven't received any response to this. I need help to resolve this as
we are planning to upgrade all our Production Servers from Solaris 2.6
to Solaris 8 by next week. Any Help will be greatly appreciated.

I tried it on a different box with same result.
One thing which i noticed is SUNWluu and SUNlur
I installed both from my Jumpstart Box Solaris 8 5/03 however live
upgrade version is:
"Live Upgrade 2.0 10/01"
I have only one version of Solaris 8 5/03 on my Jumpstart Box.
ALso i am not clear about profile which i am using
My profile file is upgrade and its content is
install_type upgrade

Here is theoutput of my Live Upgrade:

------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------------------------------------------------
--------------------------

# lucreate -c "Solaris26" -m /:/dev/dsk/c0t1d0s0:ufs -m
/usr:/dev/dsk/c0t1d0s5:ufs -m /var:/dev/dsk/c0t1d0s3:ufs -m
/opt:/dev/dsk/c0t1d0s4:ufs -m /home:/dev/dsk/c0t1d0s6:ufs -m
-:/dev/dsk/c0t1d0s1:swap -m /citadon:/dev/dsk/c0t1d0s7 -n "Solaris_8"
Please wait while your system configuration is determined.
No name for Current BE.
Current BE is named <Solaris26>.
Creating initial configuration for primary BE <Solaris26>.
PBE configuration successful: PBE name <Solaris26> PBE Boot Device
</dev/dsk/c0t0d0s0>.
Determining what file systems should be in the new BE.

Searching /dev for possible BE filesystem devices

Please wait while the configuration files are updated.
Please wait. Configuration validation in progress...

************************************************************
********************
Beginning process of creating Boot Environment <Solaris_8>.
No more user interaction is required until this process is complete.
************************************************************
********************

Setting BE <Solaris_8> state to Not Complete.
Creating file systems on BE <Solaris_8>.
Creating <ufs> file system on </dev/dsk/c0t1d0s0>.
/dev/rdsk/c0t1d0s0: 1027216 sectors in 218 cylinders of 19 tracks, 248
sectors
501.6MB in 14 cyl groups (16 c/g, 36.81MB/g, 17664 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 75680, 151328, 226976, 302624, 378272, 453920, 529568, 605216,
680864,
756512, 832160, 907808, 983456,
Creating <ufs> file system on </dev/dsk/c0t1d0s6>.
/dev/rdsk/c0t1d0s6: 2101552 sectors in 446 cylinders of 19 tracks, 248
sectors
1026.1MB in 23 cyl groups (20 c/g, 46.02MB/g, 11200 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 94528, 189024, 283520, 378016, 472512, 567008, 661504, 756000,
850496,
944992, 1039488, 1133984, 1228480, 1322976, 1417472, 1511968, 1606464,
1700960, 1795456, 1889952, 1984448, 2078944,
Creating <ufs> file system on </dev/dsk/c0t1d0s4>.
/dev/rdsk/c0t1d0s4: 12326592 sectors in 2616 cylinders of 19 tracks, 248
sectors
6018.8MB in 119 cyl groups (22 c/g, 50.62MB/g, 6208 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 103952, 207872, 311792, 415712, 519632, 623552, 727472, 831392,
935312,
1039232, 1143152, 1247072, 1350992, 1454912, 1558832, 1662752, 1766672,
1870592, 1974512, 2078432, 2182352, 2286272, 2390192, 2494112, 2598032,
2701952, 2805872, 2909792, 3013712, 3117632, 3221552, 3317280, 3421200,
3525120, 3629040, 3732960, 3836880, 3940800, 4044720, 4148640, 4252560,
4356480, 4460400, 4564320, 4668240, 4772160, 4876080, 4980000, 5083920,
5187840, 5291760, 5395680, 5499600, 5603520, 5707440, 5811360, 5915280,
6019200, 6123120, 6227040, 6330960, 6434880, 6538800, 6634528, 6738448,
6842368, 6946288, 7050208, 7154128, 7258048, 7361968, 7465888, 7569808,
7673728, 7777648, 7881568, 7985488, 8089408, 8193328, 8297248, 8401168,
8505088, 8609008, 8712928, 8816848, 8920768, 9024688, 9128608, 9232528,
9336448, 9440368, 9544288, 9648208, 9752128, 9856048, 9951776, 10055696,
10159616, 10263536, 10367456, 10471376, 10575296, 10679216, 10783136,
10887056, 10990976, 11094896, 11198816, 11302736, 11406656, 11510576,
11614496, 11718416, 11822336, 11926256, 12030176, 12134096, 12238016,
Creating <ufs> file system on </dev/dsk/c0t1d0s5>.
/dev/rdsk/c0t1d0s5: 4198392 sectors in 891 cylinders of 19 tracks, 248
sectors
2050.0MB in 41 cyl groups (22 c/g, 50.62MB/g, 8256 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 103952, 207872, 311792, 415712, 519632, 623552, 727472, 831392,
935312,
1039232, 1143152, 1247072, 1350992, 1454912, 1558832, 1662752, 1766672,
1870592, 1974512, 2078432, 2182352, 2286272, 2390192, 2494112, 2598032,
2701952, 2805872, 2909792, 3013712, 3117632, 3221552, 3317280, 3421200,
3525120, 3629040, 3732960, 3836880, 3940800, 4044720, 4148640,
Creating <ufs> file system on </dev/dsk/c0t1d0s3>.
/dev/rdsk/c0t1d0s3: 1027216 sectors in 218 cylinders of 19 tracks, 248
sectors
501.6MB in 14 cyl groups (16 c/g, 36.81MB/g, 17664 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 75680, 151328, 226976, 302624, 378272, 453920, 529568, 605216,
680864,
756512, 832160, 907808, 983456,
Mounting file systems for BE <Solaris_8>.
Calculating required sizes of file systems for BE <Solaris_8>.
Populating file systems on BE <Solaris_8>.
Copying file system contents to BE <Solaris_8>.
INFORMATION: Setting asynchronous flag on ABE <Solaris_8> mount point
</.alt.2703/var> file system type <ufs>.
INFORMATION: Setting asynchronous flag on ABE <Solaris_8> mount point
</.alt.2703/usr> file system type <ufs>.
INFORMATION: Setting asynchronous flag on ABE <Solaris_8> mount point
</.alt.2703/opt> file system type <ufs>.
INFORMATION: Setting asynchronous flag on ABE <Solaris_8> mount point
</.alt.2703/home> file system type <ufs>.
INFORMATION: Setting asynchronous flag on ABE <Solaris_8> mount point
</.alt.2703/> file system type <ufs>.
Copying of file system / directory </var> is in progress...
Copying of file system / directory </var> completed successfully.
Copying of file system / directory </usr> is in progress...
Copying of file system / directory </usr> completed successfully.
Copying of file system / directory </opt> is in progress...
Copying of file system / directory </opt> completed successfully.
Copying of file system / directory </home> is in progress...
Copying of file system / directory </home> completed successfully.
Copying of file system / directory </> is in progress...
Copying of file system / directory </> completed successfully.
Creating compare database for file system </var>.
Creating compare database for file system </usr>.
Creating compare database for file system </opt>.
Creating compare database for file system </home>.
Creating compare database for file system </>.
Updating compare database on other BEs.
Updating compare database on BE <Solaris_8>.
Compare databases updated on all BEs.
Making Boot Environment <Solaris_8> bootable.
Making the ABE bootable.
Updating ABE's /etc/vfstab file.
The update of the vfstab file on the ABE succeeded.
Updating ABE's /etc/mnttab file.
The update of the mnttab file on the ABE succeeded.
Updating ABE's /etc/dumpadm.conf file.
The update of the dumpadm.conf file on the ABE succeeded.
Updating partition ID tag on boot environment <Solaris_8> device
</dev/rdsk/c0t1d0s2> to be root slice.
Updating boot loader for <SUNW,UltraSPARC-IIi-cEngine> on boot
environment <Solaris_8> device </dev/dsk/c0t1d0s0> to match OS release.
Making the ABE <Solaris_8> bootable succeeded.
Setting BE <Solaris_8> state to Complete.
Creation of Boot Environment <Solaris_8> successful.
Creation of Boot Environment <Solaris_8> successful.
# luupgrade -u -n "Solaris_8" -s /opt/install/Solaris_28_503 -j
/opt/install/config/liveupgrade/upgrade
Validating the contents of the media </opt/install/Solaris_28_503>.
The media is a standard Solaris media.
The media contains an operating system upgrade image.
The media contains <Solaris> version <8>.
The media contains patches for the product.
Locating upgrade profile template to use.
Locating the operating system upgrade program.
Checking for existence of previously scheduled Live Upgrade requests.
Creating upgrade profile for BE <Solaris_8>.
Updating ABE's /etc/vfstab file.
The update of the vfstab file on the ABE succeeded.
Determining packages to install or upgrade for BE <Solaris_8>.
Performing the operating system upgrade of the BE <Solaris_8>.
CAUTION: Interrupting this process may leave the boot environment
unstable
or unbootable.
Segmentation Fault
The operating system patch installation completed.
WARNING: BE file system </dev/dsk/c0t1d0s6> not mounted.
The Solaris upgrade of the BE <Solaris_8> failed.

------------------------------------------------------------------------
------------------------------------------------------------------------
---------------------------------------------------------------------

Hi Gurus,

I figured out the problem. It was typo in the lucreate command near /opt
(s was missing) .After rectifying that I was able to create BE but while
in upgrade process it failed with error "segmentation fault".

luupgrade -u -n "Solaris_8" -s /install/Solaris_28_503/ -j
/install/config/liveupgrade/upgrade

Snip.....

Creating upgrade profile for BE <Solaris_8>.
Updating ABE's /etc/vfstab file.
The update of the vfstab file on the ABE succeeded.
Determining packages to install or upgrade for BE <Solaris_8>.
Performing the operating system upgrade of the BE <Solaris_8>.
CAUTION: Interrupting this process may leave the boot environment
unstable or unbootable.

Segmentation Fault
The operating system patch installation completed.
The Solaris upgrade of the BE <Solaris_8> failed.

Any help/pointer will be greatly appreciated. I will summarize.

Regards

B

Hi Gurus,

This is my first Live Upgrade so please bear with me if my questions
sound silly.

I am trying to do live upgrade from Solaris 2.6 to Solaris 8 and ran
into following error:

# lucreate -c "Solaris_26" -m /:/dev/dsk/c0t1d0s0:ufs -m
/usr:/dev/dsk/c0t1d0s3:

ufs -m /var:/dev/dsk/c0t1d0s4:ufs -m /opt:/dev/dsk/c0t1d06:ufs -m
-:/dev/dsk/c0t1d0s1:swap -m /home:/dev/dsk/c0t1d0s5 -n "Solaris_8"

Please wait while your system configuration is determined.
No name for Current BE.
Current BE is named <Solaris_26>.
Creating initial configuration for primary BE <Solaris_26>.
PBE configuration successful: PBE name <Solaris_26> PBE Boot Device
</dev/dsk/c0t0d0s0>.

Determining what file systems should be in the new BE.

Searching /dev for possible BE filesystem devices

luconfig: ERROR: Template filesystem definition failed for /opt..

ERROR: Configuration of BE failed.

I id the flowing steps to create a boot environment:

1) Install Latest patch Cluster on Target Box
2) Install SUNWluu and SUNWlur from Solaris 8 CD to target box.
3) Created partition on Target box on second Disk
4) Mount Jumstart /opt/install to target box as /install
5) Ran lucreate to create a boot environment on target box second disk
as below:

# lucreate -c "Solaris_26" -m /:/dev/dsk/c0t1d0s0:ufs -m
/usr:/dev/dsk/c0t1d0s3:

ufs -m /var:/dev/dsk/c0t1d0s4:ufs -m /opt:/dev/dsk/c0t1d06:ufs -m
-:/dev/dsk/c0t1d0s1:swap -m /home:/dev/dsk/c0t1d0s5 -n "Solaris_8"

1) Do I need to create a file system with newfs? Or just partition will

do?

2) On Jumpstart Box what steps I need to follow besides creating a

profile file which contains - "install_type upgrade" ?

3) How do I select cluster type? Cluster SUNWCall?

4) How do I select the Patch Cluster for Solaris 8 on jumpstart Box?

Any help will be greatly appreciated

TIA

B

0 Comments:

Post a Comment

<< Home