Sun Cluster Software Installation Guide for Solaris OS

ProcedureHow to Perform a Nonrolling Upgrade of Sun Cluster 3.1 8/05 Software

Perform this procedure to upgrade each node of the cluster to Sun Cluster 3.1 8/05 software. You must also perform this procedure to complete cluster upgrade from Solaris 8 to Solaris 9 software or from Solaris 9 to Solaris 10 10/05 software or compatible.


Tip –

You can perform this procedure on more than one node at the same time.


Before You Begin

Ensure that dependency software is installed or upgraded. See How to Upgrade Dependency Software Before a Nonrolling Upgrade.

Steps
  1. Become superuser on a node of the cluster.

  2. Insert the Sun Cluster 2 of 2 CD-ROM in the CD-ROM drive on the node.

    If the volume management daemon vold(1M) is running and is configured to manage CD-ROM devices, the daemon automatically mounts the CD-ROM on the /cdrom/cdrom0/ directory.

  3. Change to the Solaris_arch/Product/sun_cluster/Solaris_ver/Tools/ directory, where arch is sparc or x86 and where ver is 8 for Solaris 8, 9 for Solaris 9, or 10 for Solaris 10 .


    # cd /cdrom/cdrom0/Solaris_arch/Product/sun_cluster/Solaris_ver/Tools
    
  4. Start the scinstall utility.


    # ./scinstall
    

    Note –

    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 Cluster 2 of 2 CD-ROM.


  5. From the Main Menu, choose the menu item, Upgrade this cluster node.


      *** Main Menu ***
    
        Please select from one of the following (*) options:
    
          * 1) Install a cluster or cluster node
            2) Configure a cluster to be JumpStarted from this install server
          * 3) Add support for new data services to this cluster node
          * 4) Upgrade this cluster node
          * 5) Print release information for this cluster node
    
          * ?) Help with menu options
          * q) Quit
    
        Option:  4
    
  6. From the Upgrade Menu, choose the menu item, Upgrade Sun Cluster framework on this node.

  7. 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:

    Upgrade processing is finished when the system displays the message Completed Sun Cluster framework upgrade and prompts you to press Enter to continue.

  8. Press Enter.

    The Upgrade Menu is displayed.

  9. (Optional) Upgrade Java Enterprise System data services from the Sun Cluster 2 of 2 CD-ROM.

    1. From the Upgrade Menu of the scinstall utility, choose the menu item, Upgrade Sun Cluster data service agents on this node.

    2. 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.

    3. Press Enter.

      The Upgrade Menu is displayed.

  10. Quit the scinstall utility.

  11. Change to a directory that does not reside on the CD-ROM and eject the CD-ROM.


    # eject cdrom
    
  12. Upgrade Sun Cluster data services from the Sun Cluster 2 of 2 CD-ROM.

    • If you are using the Sun Cluster HA for NFS data service and you upgrade to the Solaris 10 OS, you must upgrade the data service and migrate the resource type to the new version. See Upgrading the SUNW.nfs Resource Type in Sun Cluster Data Service for NFS Guide for Solaris OS for more information.

    • If you are using the Sun Cluster HA for Oracle 3.0 64-bit for Solaris 9 data service, you must upgrade to the Sun Cluster 3.1 8/05 version.

    • The upgrade of any other data services to the Sun Cluster 3.1 8/05 version is optional. You can continue to use any other Sun Cluster 3.x data services after you upgrade the cluster to Sun Cluster 3.1 8/05 software.

    Only those data services that are delivered on the Sun Cluster Agents CD are automatically upgraded by the scinstall(1M) utility. You must manually upgrade any custom or third-party data services. Follow the procedures that are provided with those data services.

    1. Insert the Sun Cluster Agents CD in the CD-ROM drive on the node.

    2. Start the scinstall utility.

      For data-service upgrades, you can use the /usr/cluster/bin/scinstall command that is already installed on the node.


      # scinstall
      
    3. From the Main Menu, choose the menu item, Upgrade this cluster node.

    4. From the Upgrade Menu, choose the menu item, Upgrade Sun Cluster data service agents on this node.

    5. 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.

    6. Press Enter.

      The Upgrade Menu is displayed.

    7. Quit the scinstall utility.

    8. Change to a directory that does not reside on the CD-ROM and eject the CD-ROM.


      # eject cdrom
      
  13. As needed, manually upgrade any custom data services that are not supplied on the product media.

  14. 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.

  15. Install any Sun Cluster 3.1 8/05 software patches, if you did not already install them by using the scinstall command.

  16. Install any Sun Cluster 3.1 8/05 data-service software patches.

    See Patches and Required Firmware Levels in Sun Cluster 3.1 8/05 Release Notes for Solaris OS for the location of patches and installation instructions.

  17. 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.

  18. After all nodes are upgraded, reboot each node into the cluster.


    # reboot
    
  19. Copy the security files for the common agent container to all cluster nodes.

    This step ensures that security files for the common agent container are identical on all cluster nodes and that the copied files retain the correct file permissions.

    1. On each node, stop the Sun Java Web Console agent.


      # /usr/sbin/smcwebserver stop
      
    2. On each node, stop the security file agent.


      # /opt/SUNWcacao/bin/cacaoadm stop
      
    3. On one node, change to the /etc/opt/SUNWcacao/ directory.


      phys-schost-1# cd /etc/opt/SUNWcacao/
      
    4. Create a tar file of the /etc/opt/SUNWcacao/security/ directory.


      phys-schost-1# tar cf /tmp/SECURITY.tar security
      
    5. Copy the /tmp/SECURITY.tar file to each of the other cluster nodes.

    6. On each node to which you copied the /tmp/SECURITY.tar file, extract the security files.

      Any security files that already exist in the /etc/opt/SUNWcacao/ directory are overwritten.


      phys-schost-2# cd /etc/opt/SUNWcacao/
      phys-schost-2# tar xf /tmp/SECURITY.tar
      
    7. Delete the /tmp/SECURITY.tar file from each node in the cluster.

      You must delete each copy of the tar file to avoid security risks.


      phys-schost-1# rm /tmp/SECURITY.tar
      phys-schost-2# rm /tmp/SECURITY.tar
      
    8. On each node, start the security file agent.


      phys-schost-1# /opt/SUNWcacao/bin/cacaoadm start
      phys-schost-2# /opt/SUNWcacao/bin/cacaoadm start
      
    9. On each node, start the Sun Java Web Console agent.


      phys-schost-1# /usr/sbin/smcwebserver start
      phys-schost-2# /usr/sbin/smcwebserver start
      
Next Steps

Go to How to Verify a Nonrolling Upgrade of Sun Cluster 3.1 8/05 Software