How to Use VxVM to Install patches for an Alternate Boot Environment for an encapsulated root disk

book

Article ID: 100007285

calendar_today

Updated On:

Resolution

1. Copy the  latest vxlu commands  from the Storage Foundation media to the local directory of the system

For 5.0 , do:

    # cp /mount_point/storage_foundation/scripts/vxlustart /var/tmp
    # cp /mount_point/storage_foundation/scripts/vxlufinish /var/tmp

For 5.1, do:

    # cp /mount_point/scripts/vxlustart /var/tmp
    # cp /mount_point/scripts/vxlufinish /var/tmp


3. Start vxlustart using the below syntax

   # vxlustart -U -u

   Example for Solaris 10 in SF 5.x
***********************************************************
   # /var/tmp/vxlustart -U -u 5.10

VERITAS Volume Manager VxVM 5.0.
  Live Upgrade is now upgrading from 5.10 to <5.10>

INFO: Upgrade is using CD's. See Solaris (5.10) upgrade guide
        for the required list of CD's.
        If you want to increase the size of the root partition, break and
        restart with -m option.

       Please make a note of the bootpath of the system
       in case of any eventuality, please use the path
       to boot the system


Enter upgrade destination disk name  : 
***********************************************************
When prompted please provide the destination disk path for vxlustart, this has to be an unused disk in the system

Example

Enter upgrade destination disk name  :  c2t1d0s2

Now the script should continue with creating new Boot Environment on the specified destination disk. This task will take a while depending upon the size of the OS.

 

4. Apply OS patches to the alternate boot environment using OS patch cluster script or patchadd using the -R option like below:

Eg:
    # installcluster -R /altroot.5.10
    # patchadd -R /altroot.5.10 patch#

 


5. Finish the upgrade process using

   # /var/tmp/vxlufinish -u 5.10

Enter the name of the alternate root diskgroup:

When prompted for the alternate root diskgroup, enter the new disk group name for the alternate boot environment. This should be different than the disk group for the encapsulated boot disk you are booted off of.
 


6. Once vxlufinish completes, reboot the server using shutdown command and system should boot up using new boot environment.

# shutdown -y -g0 -i6


Issue/Introduction

How to Use VxVM to Install patches for an Alternate Boot Environment for an encapsulated root disk