Sun Cluster 3.0-3.1 With Sun StorEdge 9900 Series Storage Device Manual

Adding Multipathing Software

This section contains a procedure on how to add multipathing software in a running cluster. Choose one of the following multipathing solutions.

ProcedureSPARC: How to Add Sun StorEdge 9900 Dynamic Link Manager Software

Use this procedure to add Sun StorEdge 9900 Dynamic Link Manager (Sun SDLM) software in a running cluster.

Do not use this procedure to convert from host-based mirroring to a multipathing solution. For the procedure on how to convert from host-based mirroring to a multipathing solution, contact your Sun service provider.

Perform this procedure on one node at a time. This procedure defines Node N as the node on which you are installing the multipathing software.

Before You Begin

This procedure assumes that you installed and configured your storage array. If you have not installed your storage array, see SPARC: How to Install Sun StorEdge 9900 Dynamic Link Manager Software to add multipathing software and the storage array at the same time.

Steps
  1. Determine the resource groups and device groups that are running on Node N.

    Record this information because you use this information in Step 11 of this procedure to return resource groups and device groups to these nodes.


    # scstat
    

    For more information, see the Sun Cluster system administration documentation.

  2. Move all resource groups and device groups off Node N.


    # scswitch -S -h from-node
    

    For more information, see the Sun Cluster system administration documentation.

  3. Do you need to install additional physical paths between Node N and the storage?


    Note –

    If you use multipathing software, each node requires two paths to the same set of LUNs. For an example configuration, see Figure 2–1.


    For the procedure on how to install host adapters, see the documentation that shipped with your host adapters and nodes.

  4. Shut down and power off Node N.

    For the full procedure on how to shut down and power off a node, see Sun Cluster system administration documentation.

  5. Install the host adapters and the cables between Node N and the storage.

    For the procedure on how to install host adapters, see the documentation that shipped with your host adapters and nodes.

  6. Power on and boot Node N into non-cluster mode.

    For more information on booting nodes, see Sun Cluster system administration documentation.

  7. If necessary, upgrade the host adapter firmware on Node N.

    PatchPro is a patch-management tool that eases the selection and download of patches required for installation or maintenance of Sun Cluster software. PatchPro provides an Interactive Mode tool especially for Sun Cluster. The Interactive Tool makes the installation of patches easier. PatchPro's Expert Mode tool helps you to maintain your configuration with the latest set of patches. Expert Mode is especially useful for obtaining all of the latest patches, not just the high availability and security patches.

    To access the PatchPro tool for Sun Cluster software, go to http://www.sun.com/PatchPro/, click Sun Cluster, then choose either Interactive Mode or Expert Mode. Follow the instructions in the PatchPro tool to describe your cluster configuration and download the patches.

    For third-party firmware patches, see the SunSolveSM Online site at http://sunsolve.ebay.sun.com.

  8. Install and configure Sun SDLM software on Node N, and apply required patches for Sun SDLM software support on Node N.

    For instructions on how to install and configure the Sun SDLM software, see the documentation that shipped with your storage array.

  9. Did you perform a reconfiguration reboot when you configured Sun SDLM software?

    • If yes, proceed to Step 10.

    • If no, perform a reconfiguration reboot to create the new Solaris device files and links on Node N.


      # boot -r
      
  10. On Node N, update the paths to the device ID instances.


    # scdidadm -C
    # scdidadm -r
    
  11. Return the resource groups and device groups that you identified in Step 1 to Node N.


    # scswitch -z -g resource-group -h nodename
    # scswitch -z -D device-group-name -h nodename
    

    For more information, see the Sun Cluster system administration documentation.

  12. On all remaining nodes and one node at a time, repeat Step 1 through Step 11.

ProcedureHow to Add Sun StorEdge Traffic Manager Software

The best way to enable multipathing for a cluster is to install the multipathing software and enable multipathing before installing the Sun Cluster software and establishing the cluster. For this procedure, see How to Install Sun Multipathing Software in Sun Cluster Software Installation Guide for Solaris OS. If you need to add multipathing software to an established cluster, use this procedure and be careful to perform the steps that clean up the device IDs.

Do not use this procedure to convert from host-based mirroring to a multipathing solution. For the procedure on how to convert from host-based mirroring to a multipathing solution, contact your Sun service provider.

Perform this procedure on one node at a time. This procedure defines Node N as the node on which you are installing the multipathing software.

Before You Begin

This procedure assumes that you have already installed and configured your storage array. If you have not installed your storage array, see How to Install Sun StorEdge Traffic Manager Software to add multipathing software and the storage array at the same time.

Steps
  1. Determine the resource groups and device groups that are running on Node N.

    Record this information because you use this information in Step 14 of this procedure to return resource groups and device groups to these nodes.


    # scstat
    

    For more information, see the Sun Cluster system administration documentation.

  2. Move all resource groups and device groups off Node N.


    # scswitch -S -h from-node
    

    For more information, see the Sun Cluster system administration documentation.

  3. Do you need to install additional physical paths between Node N and the storage?


    Note –

    If you use multipathing software, each node requires two paths to the same set of LUNs. For an example configuration, see Figure 2–2.


  4. Shut down and power off Node N.

    For the full procedure on how to shut down and power off a node, see Sun Cluster system administration documentation.

  5. Install the host adapters and the cables between Node N and the storage.


    Note –

    If you use multipathing software, each node requires two paths to the same set of LUNs.


    For the procedure on how to install host adapters, see the documentation that shipped with your host adapters and nodes.

  6. Power on and boot Node N into non-cluster mode.

    For more information on how to boot nodes, see Sun Cluster system administration documentation.

  7. If necessary, upgrade the host adapter firmware on Node N.

    PatchPro is a patch-management tool that eases the selection and download of patches required for installation or maintenance of Sun Cluster software. PatchPro provides an Interactive Mode tool especially for Sun Cluster. The Interactive Tool makes the installation of patches easier. PatchPro's Expert Mode tool helps you to maintain your configuration with the latest set of patches. Expert Mode is especially useful for obtaining all of the latest patches, not just the high availability and security patches.

    To access the PatchPro tool for Sun Cluster software, go to http://www.sun.com/PatchPro/, click Sun Cluster, then choose either Interactive Mode or Expert Mode. Follow the instructions in the PatchPro tool to describe your cluster configuration and download the patches.

    For third-party firmware patches, see the SunSolveSM Online site at http://sunsolve.ebay.sun.com.

  8. Install any required patches or software for Sun StorEdge Traffic Manager software support on Node N.

    For instructions on installing the software, see the Sun StorEdge Traffic Manager Installation and Configuration Guide at http://www.sun.com/products-n-solutions/hardware/docs/.

  9. (Optional) Activate multipathing functionality.

    • If you are using the Solaris 10 operating system, issue the following commands to enable multipathing:


      # /usr/sbin/stmsboot -e
      stmsboot -e

      Enables Solaris I/O multipathing

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

    • If you are using the Solaris 8 or 9 operating system, edit the /kernel/drv/scsi_vhci.conf file.

      Set the mpxio-disable parameter to no.

      For more information, see the release notes for your storage device.

  10. Boot Node N into cluster mode.


    # boot -r
    

    For more information on booting nodes, see Sun Cluster system administration documentation.

  11. On each node connected to the storage array, use the format(1M) command. Use this command to verify that the same set of LUNs is visible to the expected controllers.


    # format
    

    See the format command man page for more information about by using the command.

  12. On Node N, configure all controllers that are affected by the new physical path.


    # cfgadm -c configure cN
    
  13. On Node N, update the paths to the device ID instances.


    # scdidadm -C
    # scdidadm -r
    
    scdidadm -C and -r

    Update DID mappings with new device names while preserving DID instance numbers for disks that are connected to multiple cluster nodes. DID instance numbers of the local disks might not be preserved. For this reason, the DID disk names for local disks might change.

  14. Return the resource groups and device groups that you identified in Step 1 to Node N.


    # scswitch -z -g resource-group -h nodename
    # scswitch -z -D device-group-name -h nodename
    

    For more information, see the Sun Cluster system administration documentation.

  15. On each node connected to the storage array, use the format(1M) command. Use this command to verify that you see half the number of disks you saw in Step 11.


    # format
    

    See the format command man page for more information about by using the command.

  16. On all remaining nodes and one node at a time, repeat Step 1 through Step 14.