Oracle® Solaris Cluster Upgrade Guide

Exit Print View

Updated: July 2014, E39644–01
 
 

How to Recover from a Failed Dual-Partition Upgrade

If you experience an unrecoverable error during dual-partition upgrade, perform this procedure to back out of the upgrade.


Note -  You cannot restart a dual-partition upgrade after the upgrade has experienced an unrecoverable error.
  1. Assume the root role on each node of the cluster.
  2. Boot each node into noncluster mode.
    • SPARC:
      ok boot -x
    • x86:
      1. In the GRUB menu, use the arrow keys to select the appropriate Oracle Solaris entry and type e to edit its commands.

        For more information about GRUB based booting, see Booting a System in Booting and Shutting Down Oracle Solaris 11.2 Systems .

      2. In the boot parameters screen, use the arrow keys to select the kernel entry and type e to edit the entry.
      3. Add -x to the multiboot command to specify that the system boot into noncluster mode.
      4. Press Enter to accept the change and return to the boot parameters screen.

        The screen displays the edited command.

      5. Type b to boot the node into noncluster mode.

        Note - This change to the kernel boot parameter command does not persist over the system boot. The next time you reboot the node, it will boot into cluster mode. To boot into noncluster mode instead, perform these steps to again add the –x option to the kernel boot parameter command.
  3. On each node, run the upgrade recovery script.
    phys-schost# scinstall -u recover
    –u

    Specifies upgrade.

    recover

    Restores the /etc/vfstab file and the Cluster Configuration Repository (CCR) database to their original state before the start of the dual-partition upgrade.

    The recovery process leaves the cluster nodes in noncluster mode. Do not attempt to reboot the nodes into cluster mode.

    For more information, see the scinstall (1M) man page.

  4. Perform either of the following tasks.
    • Restore the old software from backup to return the cluster to its original state.
    • Continue to upgrade software on the cluster by using the standard upgrade method.

      This method requires that all cluster nodes remain in noncluster mode during the upgrade. See the task map for standard upgrade, Table 3–1. You can resume the upgrade at the last task or step in the standard upgrade procedures that you successfully completed before the dual-partition upgrade failed.