Sun Cluster 2.2 Cluster Volume Manager Guide

1.4.7 How to Convert Existing SEVM 2.x Disks to Shared Disks

If you are upgrading from SEVM 2.x to CVM 2.2.1 and want to share existing disk groups, configure the shared disks as follows:

  1. Start the cluster on at least one node.

    For a two-node cluster, start the cluster on one node; for a four-node cluster, start the cluster on three nodes.

  2. List all disk groups:


    # vxdg list
    
  3. Deport disk groups to be shared:


    # vxdg deport groupname
    
  4. Import disk groups to be shared:


    # vxdg -s import groupname
    

    This will mark the disks in the shared disk groups as shared and stamp them with the ID of the cluster, enabling other nodes to recognize the shared disks.

    If there are dirty region logs, make sure they are active. If not, replace them with bigger ones.

  5. Display the shared flag for all the shared disk groups:


    # vxdg list
    

    The disk groups are now ready to be shared.

  6. If the cluster is running with one node only, bring up the other cluster nodes.

  7. When the each node is ready, enter the command vxdg list on it.

    This should display the same list of shared disk groups that appeared earlier.