Sun Cluster 3.0 5/02 Release Notes

How to Upgrade Cluster Software Packages

  1. Become superuser on a cluster node.

  2. If you are installing from the CD‐ROM, insert the Sun Cluster 3.0 5/02 CD-ROM  into the CD‐ROM drive on a node.

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

  3. Change to the /cdrom/suncluster_3_0_u3/SunCluster_3.0/Packages directory.


    # cd /cdrom/suncluster_3_0_u3/SunCluster_3.0/Packages
    

  4. If your volume manager is Solstice DiskSuite, install the latest Solstice DiskSuite mediator package (SUNWmdm) on each node.

    1. Add the SUNWmdm package.


      # pkgadd -d . SUNWmdm
      

    2. Reboot the node.


      # shutdown -g0 -y -i6
      

    3. Repeat on the other node.

  5. Reconfigure mediators.

    1. Determine which node has ownership of the diskset to which you will add the mediator hosts.


      # metaset -s setname
      
      -s setname

      Specifies the diskset name

    2. If no node has ownership, take ownership of the diskset.


      # metaset -s setname -t
      
      -t

      Takes ownership of the diskset

    3. Recreate the mediators.


      # metaset -s setname -a -m mediator‐host‐list
      
      -a

      Adds to the diskset

      -m mediator‐host‐list

      Specifies the names of the nodes to add as mediator hosts for the diskset

    4. Repeat for each diskset.

  6. On each node, shut down the rpc.pfmd daemon.


    # /etc/init.d/initpmf stop
    

  7. Upgrade the first node to Sun Cluster 3.0 5/02 software.

    These procedures will refer to this node as the first-installed node.

    1. On the first node to upgrade, change to the /cdrom/suncluster_3_0_u3/SunCluster_3.0/Tools directory.


      # cd /cdrom/suncluster_3_0_u3/SunCluster_3.0/Tools
      

    2. Upgrade the cluster software framework.


      # ./scinstall ‐u begin ‐F
      
      -F

      Specifies that this is the first-installed node in the cluster

      See the scinstall(1M) man page for more information.

    3. Install any Sun Cluster patches on the first node.

      See the Sun Cluster 3.0 5/02 Release Notes for the location of patches and installation instructions.

    4. Reboot the node.


      # shutdown -g0 -y -i6
      

      When the first node reboots into cluster mode, it establishes the cluster.

  8. Upgrade the second node to Sun Cluster 3.0 5/02 software.

    1. On the second node, change to the /cdrom/suncluster_3_0_u3/SunCluster_3.0/Tools directory.


      # cd /cdrom/suncluster_3_0_u3/SunCluster_3.0/Tools
      

    2. Upgrade the cluster software framework.


      # ./scinstall ‐u begin ‐N node1
      
      ‐N node1

      Specifies the name of the first-installed node in the cluster, not the name of the second node to be installed

      See the scinstall(1M) man page for more information.

    3. Install any Sun Cluster patches on the second node.

      See the Sun Cluster 3.0 5/02 Release Notes for the location of patches and installation instructions.

    4. Reboot the node.


      # shutdown -g0 -y -i6
      

  9. After both nodes are rebooted, verify from either node that both nodes are cluster members.


    -- Cluster Nodes --
                       Node name      Status
                       ---------      ------
      Cluster node:    phys-schost-1  Online
      Cluster node:    phys-schost-2  Online

    See the scstat(1M) man page for more information about displaying cluster status.

  10. Choose a shared disk to be the quorum device.

    You can use any disk shared by both nodes as a quorum device. From either node, use the scdidadm(1M) command to determine the shared disk's device ID (DID) name. You specify this device name in Step 5, in the -q globaldev=DIDname option to scinstall.


    # scdidadm ‐L
    

  11. Configure the shared quorum device.

    1. Start the scsetup(1M) utility.


      # scsetup
      

      The Initial Cluster Setup screen is displayed.

      If the quorum setup process is interrupted or fails to complete successfully, rerun scsetup.

    2. At the prompt Do you want to add any quorum disks?, configure a shared quorum device.

      A two-node cluster remains in install mode until a shared quorum device is configured. After the scsetup utility configures the quorum device, the message Command completed successfully is displayed.

    3. At the prompt Is it okay to reset "installmode"?, answer Yes.

      After the scsetup utility sets quorum configurations and vote counts for the cluster, the message Cluster initialization is complete is displayed and the utility returns you to the Main Menu.

    4. Exit from the scsetup utility.

  12. From any node, verify the device and node quorum configurations.

    You do not need to be superuser to run this command.


    % scstat -q
    

  13. From any node, verify that cluster install mode is disabled.

    You do not need to be superuser to run this command.


    % scconf -p | grep "Cluster install mode:"
    Cluster install mode:                                  disabled

  14. Update the directory paths.

    Go to “How to Update the Root Environment” in the Sun Cluster 3.0 12/01 Software Installation Guide.