Sun Cluster 3.0-3.1 Hardware Administration Manual for Solaris OS

ProcedureHow to Configure Internal Disk Mirroring After the Cluster is Established

Before You Begin

This procedure assumes that you have already installed your hardware and software and have established the cluster. To configure an internal disk mirror during cluster installation, see the Sun Cluster Installation Guide.

Check the PatchPro site for any patches required for using internal disk mirroring.

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.

  1. If necessary, prepare the node for establishing the mirror.

    1. Determine the resource groups and device groups that are running on the node.

      Record this information because you use this information in later in this procedure to return resource groups and device groups to the node.


      # scstat
      
    2. If necessary, move all resource groups and device groups off the node.


      # scswitch -S -h fromnode
      
  2. Configure the internal mirror.


    # raidctl -c clt0d0 clt1d0 
    
    -c clt0d0 clt1d0

    Creates the mirror of primary disk to the mirror disk. Enter the name of your primary disk as the first argument. Enter the name of the mirror disk as the second argument.

  3. Boot the node into single user mode.


    # reboot -- -S
    
  4. Clean up the device IDs.


    # scdidadm -R /dev/rdsk/clt0d0 
    
    -R /dev/rdsk/clt0d0

    Updates the cluster's record of the device IDs for the primary disk. Enter the name of your primary disk as the argument.

  5. Confirm that the mirror has been created and only the primary disk is visible to the cluster.


    # scdidadm -l  
    

    The command lists only the primary disk as visible to the cluster.

  6. Boot the node back into cluster mode.


    # reboot 
    
  7. If you are using Solstice DiskSuite or Solaris Volume Manager and if the state database replicas are on the primary disk, recreate the state database replicas.


    # metadb -afc 3 /dev/rdsk/clt0d0s4
    
  8. If you moved device groups off the node in Step 1, move all device groups back to the node.

    Perform the following step for each device group you want to return to the original node.


    # scswitch -z -D devicegroup -h nodename
    

    In these commands, devicegroup is one or more device groups that are returned to the node.

  9. If you moved resource groups off the node in Step 1, move all resource groups back to the node.


    # scswitch -z -g resourcegroup -h nodename