You do not have to perform the following procedures to switch the boot environment when you use the vxlufinish scripts to process Live Upgrade. You must perform the following procedures when you perform a manual Live Upgrade.
Two different procedures exist to switch the boot environment, choose one of the following procedures based on the encapsulation of the root disk:
The switching procedures for Solaris SPARC vary, depending on whether VxVM encapsulates the root disk.
To switch the boot environment if the root disk is not encapsulated
# lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status ---------------- -------- ------ --------- ------ ------ source.2657 yes yes yes no - dest.2657 yes no no yes -
In this example, the primary boot disk is currently (source.2657). You want to activate the alternate boot disk (dest.2657)
# lufslist dest.2657 boot environment name: dest.2657 Filesystem fstype device size Mounted on Mount Options ----------------- ------ ------------ ---------- ------------- /dev/dsk/c0t0d0s1 swap 4298342400 - - /dev/dsk/c0t0d0s0 ufs 15729328128 / - /dev/dsk/c0t0d0s5 ufs 8591474688 /var - /dev/dsk/c0t0d0s3 ufs 5371625472 /vxfs -
# luumount dest.2657
# luactivate dest.2657
# shutdown -g0 -i6 -y
The system automatically selects the boot environment entry that was activated.
To switch the boot environment if the root disk is encapsulated
# eeprom boot-device=vx-rootdg vx-int_disk use-nvramrc?=true nvramrc=devalias vx-int_disk /pci@1c,600000/scsi@2/disk@0,0:a devalias vx-rootdg01 /pci@1c,600000/scsi@2/disk@1,0:a
# eeprom boot-device=vx-rootdg01
# shutdown -g0 -i6 -y