Products/HA/DellRedHatHALinuxCluster/Cluster/Storage Cluster with Conga

From DellLinuxWiki

< Products/HA/DellRedHatHALinuxCluster | Cluster
Revision as of 22:54, 24 April 2009 by Vvaldez (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Dell|Red Hat HA Linux > Cluster > Storage Cluster with Conga

Contents

Configuring a Storage Cluster With Conga

The following is an example of creating a clustered logical volume for use with GFS and a shared storage array using Conga. For instructions on using CLI tools, see Configuring a Storage Cluster With CLI Tools.

Preparing to Configure a Storage Cluster With Conga

Before continuing, ensure the following services are started on all nodes:

[root]# service cman start
[root]# service clvmd start

To configure a storage cluster with Conga:

  1. Log in to Luci.
  2. Click the Storage tab.
  3. In the System list section, select a node. The hard drives that are visible to the node are displayed. Repeat this step for all nodes. The same hard-drive list must be displayed. If all nodes cannot access the same hard drives, see the storage documentation to ensure all nodes are viewing the same virtual disk.

NOTICE: Executing the commands in the following steps will erase all partitions and data from your hard drive!
NOTE: Execute all commands from one cluster node only. All nodes have access to the same shared disk and the following steps must be performed only one time.

Creating a Partition Table

  1. In the System List section, select a node.
  2. Select Partition Tables.
  3. Select New Partition Table. For label ensure the option GPT is selected. On the right pane, check the box for your shared disk and click create.
  4. Luci will reprobe your storage, and should display your shared disk.
    NOTE: If your shared disk is not listed, click the option Reprobe Storage. If you still do not see your shared disk, run the following command to rescan your devices:
[root]# partprobe -s

Creating a Partition

  1. While at the Partition page, select Unused Space(click on the Blue Bar at the top).
  2. The entire space is usually consumed, but you may change it to fit your needs. Leave the value for Content as Empty and select Create.
    NOTE: If your shared disk partition is not listed, click the option Reprobe Storage. If you still do not see your shared disk, run the following command to rescan your devices:
[root]# partprobe -s

Creating a Volume Group

  1. On the left-pane, click Volume Groups and click New Volume Group.
  2. In Volume Group Name enter a name that identifies your shared storage volume group. For example, vg_cluster.
  3. Ensure that the option Clustered is set to True.
  4. In the right-pane, select the newly-created data partition. In this example, the partition is /dev/sdb1.
  5. Click Create. The new volume group is displayed. Verify that the volume group size is correct.

NOTE: If you encounter any errors such as pvcreate failed, run the following command to rescan for physical volumes and try again:

[root]# partprobe -s

Creating a Clustered Logical Volume and Global File System

  1. Click on the newly created volume group
  2. Select unused space (click on the Blue Bar)
  3. Enter a value in the Logical Volume Name field to identify your shared storage logical volume. For example, lv_cluster.
  4. Select a size. All the available space is used by default, however you can create several logical volumes to meet your specific needs.
  5. In the Content field, select GFS2 - Global FS v.2.
  6. The GFS entry dialogue appears.
  7. Verify that the value in the Cluster Name field is the same as the value listed in the Cluster tab.
  8. Enter a unique GFS name. You do not have to specify a mount point or list the mount point in /etc/fstab.
  9. In Number of Journals enter the number of cluster nodes plus one. In this example, the value is 3.
  10. Verify that the clustered value is set to true. Customize remaining fields as desired.
    NOTE: If you encounter any errors such as lvcreate failed, click the option Reprobe Storage. If you continue to have issues, run the following command to rescan your volume groups:
[root]# vgscan



Continue to Managing the Cluster Infrastructure



Dell|Red Hat HA Linux > Cluster > Storage Cluster with Conga

Personal tools
Distributions