Sun Cluster 2.2 Cluster Volume Manager Guide

1.4.8 How to Configure New Disks

If you are installing and setting up CVM for the first time, configure the shared disks as follows:

  1. Start the cluster on at least one node. If the cluster contains more than one node, perform Steps 3 and 4 only on the master node. vxdctl -c mode reports the operating mode of CVM.

  2. Run vxdisksetup to initialize each shared disk on any node; run vxdctl enable on all nodes afterwards.

    If you have decided not to put configuration information on every disk, or if you want larger areas for this information, vxdisksetup enables you to specify your choices.

  3. Create disk groups on the shared disks.

    You can use vxdg or the Visual Administrator to do this. Use the -s option of vxdg to create shared disk groups.

  4. Create volumes in the disk groups.

    You can use vxassist or the Visual Administrator to do this.

    The volumes must be of type gen. Do not create RAID5 volumes. Before creating any log subdisks, read "2.1.4 Dirty Region Logging and CVM".

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

    When each node is ready, enter the command vxdg list on it. This should display the same list of shared disk groups that appeared earlier.