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.
-
Assume the root role on each node of the cluster.
-
Boot each node into noncluster mode.
- SPARC:
ok boot -x
- x86:
- 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.3 Systems.
- In the boot parameters screen, use the arrow keys to select the kernel entry and type e to edit the entry.
- Add -x to the multiboot command to specify that the
system boot into noncluster mode.
- Press Enter to accept the change and return to the boot parameters
screen.
The screen displays the edited command.
- 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.
-
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.
-
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, Figure 1, Table 1, Task Map: Performing a Standard Upgrade for Oracle Solaris Cluster 4.3 Software.
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.