Sun Open Telecommunications Platform 2.0 Administration Guide

ProcedureTo Transfer Global Devices to a New Root Disk

You must perform this procedure before you upgrade Sun Open Telecommunications Platform using live upgrade.

  1. Log in as root (su - root).

  2. Backup the /etc/vfstab file.

    cp /etc/vfstab /etc/vfstab.old

  3. Open the /etc/vfstab file for editing.

  4. Locate the line that corresponds to /global/.device/node@N.

  5. Edit the global device entry as follows:

    1. Change the DID names to the physical names.

    2. Change /dev/did/{r}dsk/dYsZ to /dev/{r}dsk/cNtXdYsZ.

    3. Remove global from the entry.

    The following example shows the name of DID device d3s3, which corresponds to /global/.devices/node@s, changed to its physical device names and the global entry removed.

    Original:

    /dev/did/dsk/d3s3 /dev/did/rdsk/d3s3 /global/.devices/node@2 ufs 2 no global

    Changed:

    /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3 /global/.devices/node@2 ufs 2 no -

  6. When the /etc/vfstab file is modified on all cluster nodes, run the OTP upgrade plan to upgrade the OS and cluster. See Upgrading Sun OTP Using Standard Upgrade.

  7. After upgrading Sun OTP high availability service and before rebooting to the new boot environment (BE), restore the original /etc/vfstab file on each node of the un-upgraded BE.

    cp /etc/vfstab.old /etc/vfstab

  8. Mount the new Boot Environment (BE).

    lumount sunotp1.1-sunotp2.0 /altroot

  9. Locate the line that corresponds to /global/.devices/node@N and replace the dash (-) at the end of the entry with the word global.

    /dev/dsk/cNtXdYsZ /dev/rdsk/cNtXdYsZ /global/.devices/node@N ufs 2 no global

  10. Unmount the new BE.

    luumount sunotp1.1-sunotp2.0

  11. Check the BE status.

    /usr/sbin/lustatus

  12. Activate the BE.

    /usr/sbin/luactivate BEname

    BEname is the name of the boot environment variable.

  13. Reboot the system.

    /usr/sbin/init 6

  14. Perform the common steps for all types of upgrade. See Upgrade Remaining Services and Install the Security Service .