The following table lists the tasks to perform to upgrade from Sun Cluster 3.1 or 3.2 software to Sun Cluster 3.2 1/09 software. You also perform these tasks to upgrade only the version of the Solaris OS. If you upgrade the Solaris OS to a new marketing release, such as from Solaris 9 to Solaris 10 software, you must also upgrade the Sun Cluster software and dependency software to the version that is compatible with the new version of the Solaris OS.
Table 3–1 Task Map: Performing a Dual-Partition Upgrade to Sun Cluster 3.2 1/09 Software
Task |
Instructions |
---|---|
1. Read the upgrade requirements and restrictions. Determine the proper upgrade method for your configuration and needs. | |
2. If Sun Cluster Geographic Edition software is installed, uninstall it. Partition the cluster into two groups of nodes. | |
3. Upgrade the Solaris software, if necessary, to a supported Solaris update. If the cluster uses dual-string mediators for Solaris Volume Manager software, unconfigure the mediators. As needed, upgrade Veritas Volume Manager (VxVM) and Veritas File System (VxFS). Solaris Volume Manager software is automatically upgraded with the Solaris OS. |
How to Upgrade the Solaris OS and Volume Manager Software (Dual-Partition) |
4. Upgrade to Sun Cluster 3.2 1/09 framework and data-service software. If necessary, upgrade applications. If the cluster uses dual-string mediators and you upgraded the Solaris OS, reconfigure the mediators. If you upgraded VxVM, upgrade disk groups. |
How to Upgrade Sun Cluster 3.2 1/09 Software (Dual-Partition) |
5. Use the scversions command to commit the cluster to the upgrade. |
How to Commit the Upgraded Cluster to Sun Cluster 3.2 1/09 Software |
6. Verify successful completion of upgrade to Sun Cluster 3.2 1/09 software. | |
7. Enable resources and bring resource groups online. Optionally, migrate existing resources to new resource types. | |
8. (Optional) SPARC: Upgrade the Sun Cluster module for Sun Management Center, if needed. |
SPARC: How to Upgrade Sun Cluster Module Software for Sun Management Center |
Perform this procedure to prepare a multiple-node cluster for a dual-partition upgrade. These procedures will refer to the two groups of nodes as the first partition and the second partition. The nodes that you assign to the second partition will continue cluster services while you upgrade the nodes in the first partition. After all nodes in the first partition are upgraded, you switch cluster services to the first partition and upgrade the second partition. After all nodes in the second partition are upgraded, you boot the nodes into cluster mode to rejoin the nodes from the first partition.
If you are upgrading a single-node cluster, do not use this upgrade method. Instead, go to How to Prepare the Cluster for Upgrade (Standard) or How to Prepare the Cluster for Upgrade (Live Upgrade).
On the Solaris 10 OS, perform all steps from the global zone only.
Perform the following tasks:
Ensure that the configuration meets the requirements for upgrade. See Upgrade Requirements and Software Support Guidelines.
Have available the installation media, documentation, and patches for all software products that you are upgrading, including the following software:
Solaris OS
Sun Cluster 3.2 1/09 framework
Sun Cluster 3.2 Core Patch
Solaris 9 OS - 125510–02
Solaris 10 OS on SPARC - 125511–02
Solaris 10 OS on x86 - 125512–02
Sun Cluster 3.2 1/09 data services (agents)
Applications that are managed by Sun Cluster 3.2 1/09 data-services
Veritas Volume Manager, if applicable
See Patches and Required Firmware Levels in the Sun Cluster Release Notes for the location of patches and installation instructions.
If you use role-based access control (RBAC) instead of superuser to access the cluster nodes, ensure that you can assume an RBAC role that provides authorization for all Sun Cluster commands. This series of upgrade procedures requires the following Sun Cluster RBAC authorizations if the user is not superuser:
solaris.cluster.modify
solaris.cluster.admin
solaris.cluster.read
See Role-Based Access Control (Overview) in System Administration Guide: Security Services for more information about using RBAC roles. See the Sun Cluster man pages for the RBAC authorization that each Sun Cluster subcommand requires.
Ensure that the cluster is functioning normally.
View the current status of the cluster by running the following command from any node.
On Sun Cluster 3.1 software, use the following command:
phys-schost% scstat |
On Sun Cluster 3.2 software, use the following command:
phys-schost% cluster status |
See the scstat(1M) or cluster(1CL) man page for more information.
Search the /var/adm/messages log on the same node for unresolved error messages or warning messages.
Check the volume-manager status.
If necessary, notify users that cluster services might be temporarily interrupted during the upgrade.
Service interruption will be approximately the amount of time that your cluster normally takes to switch services to another node.
Become superuser.
Ensure that the RG_system property of all resource groups in the cluster is set to FALSE.
A setting of RG_system=TRUE would restrict certain operations that the dual-partition software must perform.
On each node, determine whether any resource groups are set to RG_system=TRUE.
phys-schost# clresourcegroup show -p RG_system |
Make note of which resource groups to change. Save this list to use when you restore the setting after upgrade is completed.
For each resource group that is set to RG_system=TRUE, change the setting to FALSE.
phys-schost# clresourcegroup set -p RG_system=FALSE resourcegroup |
If Sun Cluster Geographic Edition software is installed, uninstall it.
For uninstallation procedures, see the documentation for your version of Sun Cluster Geographic Edition software.
If you will upgrade the Solaris OS and your cluster uses dual-string mediators for Solaris Volume Manager software, unconfigure your mediators.
See Configuring Dual-String Mediators in Sun Cluster Software Installation Guide for Solaris OS for more information about mediators.
Run the following command to verify that no mediator data problems exist.
phys-schost# medstat -s setname |
Specifies the disk set name.
If the value in the Status field is Bad, repair the affected mediator host. Follow the procedure How to Fix Bad Mediator Data in Sun Cluster Software Installation Guide for Solaris OS.
List all mediators.
Save this information for when you restore the mediators during the procedure How to Finish Upgrade to Sun Cluster 3.2 1/09 Software.
For a disk set that uses mediators, take ownership of the disk set if no node already has ownership.
On Sun Cluster 3.1 software, use the following command:
phys-schost# scswitch -z -D setname -h node |
Changes mastery.
Specifies the name of the disk set.
Specifies the name of the node to become primary of the disk set.
On Sun Cluster 3.2 software, use the following command:
phys-schost# cldevicegroup switch -n node devicegroup |
Unconfigure all mediators for the disk set.
phys-schost# metaset -s setname -d -m mediator-host-list |
Specifies the disk set name.
Deletes from the disk set.
Specifies the name of the node to remove as a mediator host for the disk set.
See the mediator(7D) man page for further information about mediator-specific options to the metaset command.
Repeat Step c through Step d for each remaining disk set that uses mediators.
If you are upgrading a two-node cluster, skip to Step 17.
Otherwise, proceed to Step 8 to determine the partitioning scheme to use. You will determine which nodes each partition will contain, but interrupt the partitioning process. You will then compare the node lists of all resource groups against the node members of each partition in the scheme that you will use. If any resource group does not contain a member of each partition, you must change the node list.
Load the Sun Java Availability Suite DVD-ROM into the DVD-ROM drive.
If the volume management daemon vold(1M) is running and is configured to manage CD-ROM or DVD devices, the daemon automatically mounts the media on the /cdrom/cdrom0 directory.
Become superuser on a node of the cluster.
Change to the /Solaris_arch/Product/sun_cluster/Solaris_ver/Tools/ directory, where arch is sparc or x86 (Solaris 10 only) and where ver is 9 for Solaris 9 or 10 for Solaris 10 .
phys-schost# cd /cdrom/cdrom0/Solaris_arch/Product/sun_cluster/Solaris_ver/Tools |
Start the scinstall utility in interactive mode.
phys-schost# ./scinstall |
Do not use the /usr/cluster/bin/scinstall command that is already installed on the node. You must use the scinstall command on the Sun Java Availability Suite DVD-ROM.
The scinstall Main Menu is displayed.
Type the option number for Manage a Dual-Partition Upgrade and press the Return key.
*** Main Menu *** Please select from one of the following (*) options: 1) Create a new cluster or add a cluster node 2) Configure a cluster to be JumpStarted from this install server * 3) Manage a dual-partition upgrade * 4) Upgrade this cluster node * 5) Print release information for this cluster node * ?) Help with menu options * q) Quit Option: 3 |
The Manage a Dual-Partition Upgrade Menu is displayed.
Type the option number for Display and Select Possible Partitioning Schemes and press the Return key.
Follow the prompts to perform the following tasks:
Display the possible partitioning schemes for your cluster.
Choose a partitioning scheme.
Choose which partition to upgrade first.
Stop and do not respond yet when prompted, Do you want to begin the dual-partition upgrade?, but do not exit the scinstall utility. You will respond to this prompt in Step 19 of this procedure.
Make note of which nodes belong to each partition in the partition scheme.
On another node of the cluster, become superuser.
Ensure that any critical data services can switch over between partitions.
For a two-node cluster, each node will be the only node in its partition.
When the nodes of a partition are shut down in preparation for dual-partition upgrade, the resource groups that are hosted on those nodes switch over to a node in the other partition. If a resource group does not contain a node from each partition in its node list, the resource group cannot switch over. To ensure successful switchover of all critical data services, verify that the node list of the related resource groups contains a member of each upgrade partition.
Display the node list of each resource group that you require to remain in service during the entire upgrade.
On Sun Cluster 3.1 software, use the following command:
phys-schost# scrgadm -pv -g resourcegroup | grep "Res Group Nodelist" |
Displays configuration information.
Displays in verbose mode.
Specifies the name of the resource group.
On Sun Cluster 3.2 software, use the following command:
phys-schost# clresourcegroup show -p nodelist === Resource Groups and Resources === Resource Group: resourcegroup Nodelist: node1 node2 … |
If the node list of a resource group does not contain at least one member of each partition, redefine the node list to include a member of each partition as a potential primary node.
On Sun Cluster 3.1 software, use the following command:
phys-schost# scrgadm -a -g resourcegroup -h nodelist |
Adds a new configuration.
Specifies a comma-separated list of node names.
On Sun Cluster 3.2 software, use the following command:
phys-schost# clresourcegroup add-node -n node resourcegroup |
Determine your next step.
If you are upgrading a two-node cluster, return to Step 8 through Step 14 to designate your partitioning scheme and upgrade order.
When you reach the prompt Do you want to begin the dual-partition upgrade?, skip to Step 19.
If you are upgrading a cluster with three or more nodes, return to the node that is running the interactive scinstall utility.
Proceed to Step 19.
At the interactive scinstall prompt Do you want to begin the dual-partition upgrade?, type Yes.
The command verifies that a remote installation method is available.
When prompted, press Enter to continue each stage of preparation for dual-partition upgrade.
The command switches resource groups to nodes in the second partition, and then shuts down each node in the first partition.
After all nodes in the first partition are shut down, boot each node in that partition into noncluster mode.
On SPARC based systems, perform the following command:
ok boot -x |
On x86 based systems, perform the following commands:
In the GRUB menu, use the arrow keys to select the appropriate Solaris entry and type e to edit its commands.
The GRUB menu appears similar to the following:
GNU GRUB version 0.95 (631K lower / 2095488K upper memory) +----------------------------------------------------------------------+ | Solaris 10 /sol_10_x86 | | Solaris failsafe | | | +----------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line. |
For more information about GRUB based booting, see Booting an x86 Based System by Using GRUB (Task Map) in System Administration Guide: Basic Administration.
In the boot parameters screen, use the arrow keys to select the kernel entry and type e to edit the entry.
The GRUB boot parameters screen appears similar to the following:
GNU GRUB version 0.95 (615K lower / 2095552K upper memory) +----------------------------------------------------------------------+ | root (hd0,0,a) | | kernel /platform/i86pc/multiboot | | module /platform/i86pc/boot_archive | +----------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press 'b' to boot, 'e' to edit the selected command in the boot sequence, 'c' for a command-line, 'o' to open a new line after ('O' for before) the selected line, 'd' to remove the selected line, or escape to go back to the main menu. |
Add -x to the command to specify that the system boot into noncluster mode.
[ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ESC at any time exits. ] grub edit> kernel /platform/i86pc/multiboot -x |
Press Enter to accept the change and return to the boot parameters screen.
The screen displays the edited command.
GNU GRUB version 0.95 (615K lower / 2095552K upper memory) +----------------------------------------------------------------------+ | root (hd0,0,a) | | kernel /platform/i86pc/multiboot -x | | module /platform/i86pc/boot_archive | +----------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press 'b' to boot, 'e' to edit the selected command in the boot sequence, 'c' for a command-line, 'o' to open a new line after ('O' for before) the selected line, 'd' to remove the selected line, or escape to go back to the main menu.- |
Type b to boot the node into noncluster mode.
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 to add the -x option to the kernel boot parameter command.
Ensure that each system disk is backed up.
If any applications that are running in the second partition are not under control of the Resource Group Manager (RGM), create scripts to halt the applications before you begin to upgrade those nodes.
During dual-partition upgrade processing, these scripts would be called to stop applications such as Oracle Real Application Clusters before the nodes in the second partition are halted.
Create the scripts that you need to stop applications that are not under RGM control.
Create separate scripts for those applications that you want stopped before applications under RGM control are stopped and for those applications that you want stop afterwards.
To stop applications that are running on more than one node in the partition, write the scripts accordingly.
Use any name and directory path for your scripts that you prefer.
Ensure that each node in the cluster has its own copy of your scripts.
On each node, modify the following Sun Cluster scripts to call the scripts that you placed on that node.
/etc/cluster/ql/cluster_pre_halt_apps - Use this file to call those scripts that you want to run before applications that are under RGM control are shut down.
/etc/cluster/ql/cluster_post_halt_apps - Use this file to call those scripts that you want to run after applications that are under RGM control are shut down.
The Sun Cluster scripts are issued from one arbitrary node in the partition during post-upgrade processing of the partition. Therefore, ensure that the scripts on any node of the partition will perform the necessary actions for all nodes in the partition.
Upgrade software on each node in the first partition.
To upgrade Solaris software before you perform Sun Cluster software upgrade, go to How to Upgrade the Solaris OS and Volume Manager Software (Dual-Partition).
If Sun Cluster 3.2 1/09 software does not support the release of the Solaris OS that you currently run on your cluster, you must upgrade the Solaris software to a supported release. See Supported Products in Sun Cluster Release Notes for more information.
If Sun Cluster 3.2 1/09 software supports the release of the Solaris OS that you currently run on your cluster, further Solaris software upgrade is optional.
Otherwise, upgrade to Sun Cluster 3.2 1/09 software. Go to How to Upgrade Sun Cluster 3.2 1/09 Software (Dual-Partition).
Perform this procedure on each node in the cluster to upgrade the Solaris OS. On the Solaris 10 OS, perform all steps from the global zone only. If the cluster already runs on a version of the Solaris OS that supports Sun Cluster 3.2 1/09 software, further upgrade of the Solaris OS is optional. If you do not intend to upgrade the Solaris OS, proceed to How to Upgrade Sun Cluster 3.2 1/09 Software (Standard).
The cluster must already run on, or be upgraded to, at least the minimum required level of the Solaris OS to support upgrade to Sun Cluster 3.2 1/09 software. See Supported Products in Sun Cluster Release Notes for more information.
Ensure that all steps in How to Prepare the Cluster for Upgrade (Standard) are completed.
Become superuser on the cluster node to upgrade.
The node must be a member of the partition that is in noncluster mode.
Determine whether the following Apache run-control scripts exist and are enabled or disabled:
/etc/rc0.d/K16apache /etc/rc1.d/K16apache /etc/rc2.d/K16apache /etc/rc3.d/S50apache /etc/rcS.d/K16apache |
Some applications, such as Sun Cluster HA for Apache, require that Apache run control scripts be disabled.
If these scripts exist and contain an uppercase K or S in the file name, the scripts are enabled. No further action is necessary for these scripts.
If these scripts do not exist, in Step 7 you must ensure that any Apache run control scripts that are installed during the Solaris OS upgrade are disabled.
If these scripts exist but the file names contain a lowercase k or s, the scripts are disabled. In Step 7 you must ensure that any Apache run control scripts that are installed during the Solaris OS upgrade are disabled.
Comment out all entries for globally mounted file systems in the node's /etc/vfstab file.
For later reference, make a record of all entries that are already commented out.
Temporarily comment out all entries for globally mounted file systems in the /etc/vfstab file.
Entries for globally mounted file systems contain the global mount option. Comment out these entries to prevent the Solaris upgrade from attempting to mount the global devices.
Determine which procedure to follow to upgrade the Solaris OS.
Volume Manager |
Procedure |
Location of Instructions |
---|---|---|
Solaris Volume Manager |
Any Solaris upgrade method except the Live Upgrade method |
Solaris installation documentation |
Veritas Volume Manager |
“Upgrading VxVM and Solaris” |
Veritas Volume Manager installation documentation |
If your cluster has VxVM installed, you must reinstall the existing VxVM software or upgrade to the Solaris 9 or 10 version of VxVM software as part of the Solaris upgrade process.
Upgrade the Solaris software, following the procedure that you selected in Step 4.
When prompted, choose the manual reboot option.
When prompted to reboot, always reboot into noncluster mode.
Do not perform the final reboot instruction in the Solaris software upgrade. Instead, do the following:
Reboot into noncluster mode in Step 8 to complete Solaris software upgrade.
Execute the following commands to boot a node into noncluster mode during Solaris upgrade:
On SPARC based systems, perform either of the following commands:
phys-schost# reboot -- -x or ok boot -x |
If the instruction says to run the init S command, use the reboot -- -xs command instead.
On x86 based systems, perform the following command:
phys-schost# shutdown -g -y -i0 Press any key to continue |
In the GRUB menu, use the arrow keys to select the appropriate Solaris entry and type e to edit its commands.
The GRUB menu appears similar to the following:
GNU GRUB version 0.95 (631K lower / 2095488K upper memory) +-------------------------------------------------------------------------+ | Solaris 10 /sol_10_x86 | | Solaris failsafe | | | +-------------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line. |
For more information about GRUB based booting, see Booting an x86 Based System by Using GRUB (Task Map) in System Administration Guide: Basic Administration.
In the boot parameters screen, use the arrow keys to select the kernel entry and type e to edit the entry.
The GRUB boot parameters screen appears similar to the following:
GNU GRUB version 0.95 (615K lower / 2095552K upper memory) +----------------------------------------------------------------------+ | root (hd0,0,a) | | kernel /platform/i86pc/multiboot | | module /platform/i86pc/boot_archive | +----------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press 'b' to boot, 'e' to edit the selected command in the boot sequence, 'c' for a command-line, 'o' to open a new line after ('O' for before) the selected line, 'd' to remove the selected line, or escape to go back to the main menu. |
Add -x to the command to specify that the system boot into noncluster mode.
[ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ESC at any time exits. ] grub edit> kernel /platform/i86pc/multiboot -x |
Press Enter to accept the change and return to the boot parameters screen.
The screen displays the edited command.
GNU GRUB version 0.95 (615K lower / 2095552K upper memory) +----------------------------------------------------------------------+ | root (hd0,0,a) | | kernel /platform/i86pc/multiboot -x | | module /platform/i86pc/boot_archive | +----------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press 'b' to boot, 'e' to edit the selected command in the boot sequence, 'c' for a command-line, 'o' to open a new line after ('O' for before) the selected line, 'd' to remove the selected line, or escape to go back to the main menu.- |
Type b to boot the node into noncluster mode.
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 to add the -x option to the kernel boot parameter command.
If the instruction says to run the init S command, shut down the system then change the GRUB kernel boot command to /platform/i86pc/multiboot -sx instead.
In the /a/etc/vfstab file, uncomment those entries for globally mounted file systems that you commented out in Step 3.
If Apache run control scripts were disabled or did not exist before you upgraded the Solaris OS, ensure that any scripts that were installed during Solaris upgrade are disabled.
To disable Apache run control scripts, use the following commands to rename the files with a lowercase k or s.
phys-schost# mv /a/etc/rc0.d/K16apache /a/etc/rc0.d/k16apache phys-schost# mv /a/etc/rc1.d/K16apache /a/etc/rc1.d/k16apache phys-schost# mv /a/etc/rc2.d/K16apache /a/etc/rc2.d/k16apache phys-schost# mv /a/etc/rc3.d/S50apache /a/etc/rc3.d/s50apache phys-schost# mv /a/etc/rcS.d/K16apache /a/etc/rcS.d/k16apache |
Alternatively, you can rename the scripts to be consistent with your normal administration practices.
Reboot the node into noncluster mode.
On SPARC based systems, perform the following command.
Include the double dashes (--) in the command:
phys-schost# reboot -- -x |
On x86 based systems, perform the shutdown and boot procedures that are described in Step 5 except add -x to the kernel boot command instead of -sx.
If your cluster runs VxVM, perform the remaining steps in the procedure “Upgrading VxVM and Solaris” to reinstall or upgrade VxVM.
Make the following changes to the procedure:
After VxVM upgrade is complete but before you reboot, verify the entries in the /etc/vfstab file.
If any of the entries that you uncommented in Step 6 were commented out, make those entries uncommented again.
When the VxVM procedures instruct you to perform a final reconfiguration reboot, do not use the -r option alone. Instead, reboot into noncluster mode by using the -rx options.
On SPARC based systems, perform the following command:
phys-schost# reboot -- -rx |
On x86 based systems, perform the shutdown and boot procedures that are described in Step 5 except add -rx to the kernel boot command instead of -sx.
If you see a message similar to the following, type the root password to continue upgrade processing. Do not run the fsck command nor type Ctrl-D.
WARNING - Unable to repair the /global/.devices/node@1 filesystem. Run fsck manually (fsck -F ufs /dev/vx/rdsk/rootdisk_13vol). Exit the shell when done to continue the boot process. Type control-d to proceed with normal startup, (or give root password for system maintenance): Type the root password |
(Optional) SPARC: Upgrade VxFS.
Follow procedures that are provided in your VxFS documentation.
Install any required Solaris software patches and hardware-related patches, and download any needed firmware that is contained in the hardware patches.
Do not reboot after you add patches. Wait to reboot the node until after you upgrade the Sun Cluster software.
See Patches and Required Firmware Levels in the Sun Cluster Release Notes for the location of patches and installation instructions.
Upgrade to Sun Cluster 3.2 1/09 software. Go to How to Upgrade Sun Cluster 3.2 1/09 Software (Dual-Partition).
To complete the upgrade to a new marketing release of the Solaris OS, such as from Solaris 9 to Solaris 10 software, you must also upgrade the Sun Cluster software and dependency software to the version that is compatible with the new version of the Solaris OS.
Perform this procedure to upgrade each node of the cluster to Sun Cluster 3.2 1/09 software. This procedure also upgrades required Sun Java Enterprise System shared components. You must also perform this procedure after you upgrade to a different marketing release of the Solaris OS, such as from Solaris 9 to Solaris 10 software.
On the Solaris 10 OS, perform all steps from the global zone only.
You can perform this procedure on more than one node of the partition at the same time.
Perform the following tasks:
Ensure that all steps in How to Prepare the Cluster for Upgrade (Dual-Partition) are completed.
Ensure that the node you are upgrading belongs to the partition that is not active in the cluster and that the node is in noncluster mode.
If you upgraded to a new marketing release of the Solaris OS, such as from Solaris 9 to Solaris 10 software, ensure that all steps in How to Upgrade the Solaris OS and Volume Manager Software (Dual-Partition) are completed.
Ensure that you have installed all required Solaris software patches and hardware-related patches.
Become superuser on a node that is a member of the partition that is in noncluster mode.
Ensure that the /usr/java/ directory is a symbolic link to the minimum or latest version of Java software.
Sun Cluster software requires at least version 1.5.0_06 of Java software. If you upgraded to a version of Solaris that installs an earlier version of Java, the upgrade might have changed the symbolic link to point to a version of Java that does not meet the minimum requirement for Sun Cluster 3.2 software.
Determine what directory the /usr/java/ directory is symbolically linked to.
phys-schost# ls -l /usr/java lrwxrwxrwx 1 root other 9 Apr 19 14:05 /usr/java -> /usr/j2se/ |
Determine what version or versions of Java software are installed.
The following are examples of commands that you can use to display the version of their related releases of Java software.
phys-schost# /usr/j2se/bin/java -version phys-schost# /usr/java1.2/bin/java -version phys-schost# /usr/jdk/jdk1.5.0_06/bin/java -version |
If the /usr/java/ directory is not symbolically linked to a supported version of Java software, recreate the symbolic link to link to a supported version of Java software.
The following example shows the creation of a symbolic link to the /usr/j2se/ directory, which contains Java 1.5.0_06 software.
phys-schost# rm /usr/java phys-schost# ln -s /usr/j2se /usr/java |
Load the Sun Java Availability Suite DVD-ROM into the DVD-ROM drive.
If the volume management daemon vold(1M) is running and is configured to manage CD-ROM or DVD devices, the daemon automatically mounts the media on the /cdrom/cdrom0 directory.
Change to the installation wizard directory of the DVD-ROM.
If you are installing the software packages on the SPARC platform, type the following command:
phys-schost# cd /cdrom/cdrom0/Solaris_sparc |
If you are installing the software packages on the x86 platform, type the following command:
phys-schost# cd /cdrom/cdrom0/Solaris_x86 |
Start the installation wizard program.
phys-schost# ./installer |
Follow the instructions on the screen to select and upgrade Shared Components software packages on the node.
Do not use the installation wizard program to upgrade Sun Cluster software packages.
The installation wizard program displays the status of the installation. When the installation is complete, the program displays an installation summary and the installation logs.
Exit the installation wizard program.
Change to the /Solaris_arch/Product/sun_cluster/Solaris_ver/Tools/ directory, where arch is sparc or x86 (Solaris 10 only) and where ver is 9 for Solaris 9 or 10 for Solaris 10 .
phys-schost# cd /cdrom/cdrom0/Solaris_arch/Product/sun_cluster/Solaris_ver/Tools |
phys-schost# ./scinstall |
Do not use the /usr/cluster/bin/scinstall command that is already installed on the node. You must use the scinstall command that is located on the Sun Java Availability Suite DVD-ROM.
The scinstall Main Menu is displayed.
Type the option number for Upgrade This Cluster Node and press the Return key.
*** Main Menu *** Please select from one of the following (*) options: 1) Create a new cluster or add a cluster node 2) Configure a cluster to be JumpStarted from this install server * 3) Manage a dual-partition upgrade * 4) Upgrade this cluster node * 5) Print release information for this cluster node * ?) Help with menu options * q) Quit Option: 4 |
The Upgrade Menu is displayed.
Type the option number for Upgrade Sun Cluster Framework On This Cluster Node and press the Return key.
Follow the menu prompts to upgrade the cluster framework.
During the Sun Cluster upgrade, scinstall might make one or more of the following configuration changes:
Convert NAFO groups to IPMP groups but keep the original NAFO-group name.
See one of the following manuals for information about test addresses for IPMP:
Configuring Test Addresses in Administering Multipathing Groups With Multiple Physical Interfaces in System Administration Guide: IP Services (Solaris 9)
Test Addresses in System Administration Guide: IP Services (Solaris 10)
See the scinstall(1M) man page for more information about the conversion of NAFO groups to IPMP during Sun Cluster software upgrade.
Rename the ntp.conf file to ntp.conf.cluster, if ntp.conf.cluster does not already exist on the node.
Set the local-mac-address? variable to true, if the variable is not already set to that value.
Upgrade processing is finished when the system displays the message Completed Sun Cluster framework upgrade and prompts you to press Enter to continue.
Quit the scinstall utility.
Upgrade data service packages.
You must upgrade all data services to the Sun Cluster 3.2 version.
For Sun Cluster HA for SAP Web Application Server, if you are using a J2EE engine resource or a web application server component resource or both, you must delete the resource and recreate it with the new web application server component resource. Changes in the new web application server component resource includes integration of the J2EE functionality. For more information, see Sun Cluster Data Service for SAP Web Application Server Guide for Solaris OS.
Start the upgraded interactive scinstall utility.
phys-schost# /usr/cluster/bin/scinstall |
Do not use the scinstall utility that is on the installation media to upgrade data service packages.
The scinstall Main Menu is displayed.
Type the option number for Upgrade This Cluster Node and press the Return key.
The Upgrade Menu is displayed.
Type the option number for Upgrade Sun Cluster Data Service Agents On This Node and press the Return key.
Follow the menu prompts to upgrade Sun Cluster data service agents that are installed on the node.
You can choose from the list of data services that are available to upgrade or choose to upgrade all installed data services.
Upgrade processing is finished when the system displays the message Completed upgrade of Sun Cluster data services agents and prompts you to press Enter to continue.
Press Enter.
The Upgrade Menu is displayed.
Quit the scinstall utility.
Unload the Sun Java Availability Suite DVD-ROM from the DVD-ROM drive.
If you have Sun Cluster HA for NFS configured on a highly available local file system, ensure that the loopback file system (LOFS) is disabled.
If you have non-global zones configured, LOFS must remain enabled. For guidelines about using LOFS and alternatives to disabling it, see Cluster File Systems in Sun Cluster Software Installation Guide for Solaris OS.
As of the Sun Cluster 3.2 release, LOFS is no longer disabled by default during Sun Cluster software installation or upgrade. To disable LOFS, ensure that the /etc/system file contains the following entry:
exclude:lofs |
This change becomes effective at the next system reboot.
As needed, manually upgrade any custom data services that are not supplied on the product media.
Verify that each data-service update is installed successfully.
View the upgrade log file that is referenced at the end of the upgrade output messages.
Install any Sun Cluster 3.2 1/09 framework and data-service software patches.
See Patches and Required Firmware Levels in the Sun Cluster Release Notes for the location of patches and installation instructions.
Upgrade software applications that are installed on the cluster.
Ensure that application levels are compatible with the current versions of Sun Cluster and Solaris software. See your application documentation for installation instructions.
Repeat all steps in this procedure up to this point on all remaining nodes that you need to upgrade in the partition.
After all nodes in a partition are upgraded, apply the upgrade changes.
From one node in the partition that you are upgrading, start the interactive scinstall utility.
phys-schost# /usr/cluster/bin/scinstall |
Do not use the scinstall command that is located on the installation media. Only use the scinstall command that is located on the cluster node.
The scinstall Main Menu is displayed.
Type option number for Apply Dual-Partition Upgrade Changes to the Partition and press the Return key.
Follow the prompts to continue each stage of the upgrade processing.
The command performs the following tasks, depending on which partition the command is run from:
First partition - The command halts each node in the second partition, one node at a time. When a node is halted, any services on that node are automatically switched over to a node in the first partition, provided that the node list of the related resource group contains a node in the first partition. After all nodes in the second partition are halted, the nodes in the first partition are booted into cluster mode and take over providing cluster services.
Second partition - The command boots the nodes in the second partition into cluster mode, to join the active cluster that was formed by the first partition. After all nodes have rejoined the cluster, the command performs final processing and reports on the status of the upgrade.
Exit the scinstall utility, if it is still running.
If you are finishing upgrade of the first partition, perform the following substeps to prepare the second partition for upgrade.
Otherwise, if you are finishing upgrade of the second partition, proceed to How to Verify Upgrade of Sun Cluster 3.2 1/09 Software.
Boot each node in the second partition into noncluster mode.
On SPARC based systems, perform the following command:
ok boot -x |
On x86 based systems, perform the following commands:
In the GRUB menu, use the arrow keys to select the appropriate Solaris entry and type e to edit its commands.
The GRUB menu appears similar to the following:
GNU GRUB version 0.95 (631K lower / 2095488K upper memory) +----------------------------------------------------------------------+ | Solaris 10 /sol_10_x86 | | Solaris failsafe | | | +----------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line. |
For more information about GRUB based booting, see Booting an x86 Based System by Using GRUB (Task Map) in System Administration Guide: Basic Administration.
In the boot parameters screen, use the arrow keys to select the kernel entry and type e to edit the entry.
The GRUB boot parameters screen appears similar to the following:
GNU GRUB version 0.95 (615K lower / 2095552K upper memory) +----------------------------------------------------------------------+ | root (hd0,0,a) | | kernel /platform/i86pc/multiboot | | module /platform/i86pc/boot_archive | +----------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press 'b' to boot, 'e' to edit the selected command in the boot sequence, 'c' for a command-line, 'o' to open a new line after ('O' for before) the selected line, 'd' to remove the selected line, or escape to go back to the main menu. |
Add -x to the command to specify that the system boot into noncluster mode.
[ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ESC at any time exits. ] grub edit> kernel /platform/i86pc/multiboot -x |
Press Enter to accept the change and return to the boot parameters screen.
The screen displays the edited command.
GNU GRUB version 0.95 (615K lower / 2095552K upper memory) +----------------------------------------------------------------------+ | root (hd0,0,a) | | kernel /platform/i86pc/multiboot -x | | module /platform/i86pc/boot_archive | +----------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press 'b' to boot, 'e' to edit the selected command in the boot sequence, 'c' for a command-line, 'o' to open a new line after ('O' for before) the selected line, 'd' to remove the selected line, or escape to go back to the main menu.- |
Type b to boot the node into noncluster mode.
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 to add the -x option to the kernel boot parameter command.
Upgrade the nodes in the second partition.
To upgrade Solaris software before you perform Sun Cluster software upgrade, go to How to Upgrade the Solaris OS and Volume Manager Software (Dual-Partition).
Otherwise, upgrade Sun Cluster software on the second partition. Return to Step 1.
If you changed the RG_system property of any resource groups to FALSE, change the settings back to TRUE.
phys-schost# clresourcegroup set -p RG_system=TRUE resourcegroup |
Go to Chapter 6, Completing the Upgrade.
If you experience an unrecoverable error during dual-partition upgrade, perform recovery procedures in How to Recover from a Failed Dual-Partition Upgrade.