Products/HA/DellRedHatHALinuxCluster/Cluster/Storage Cluster with Conga
From DellLinuxWiki
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:
- Log in to Luci.
- Click the Storage tab.
- 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
- In the System List section, select a node.
- Select Partition Tables.
- 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.
- 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
- While at the Partition page, select Unused Space(click on the Blue Bar at the top).
- 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
- On the left-pane, click Volume Groups and click New Volume Group.
- In Volume Group Name enter a name that identifies your shared storage volume group. For example, vg_cluster.
- Ensure that the option Clustered is set to True.
- In the right-pane, select the newly-created data partition. In this example, the partition is /dev/sdb1.
- 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
- Click on the newly created volume group
- Select unused space (click on the Blue Bar)
- Enter a value in the Logical Volume Name field to identify your shared storage logical volume. For example, lv_cluster.
- Select a size. All the available space is used by default, however you can create several logical volumes to meet your specific needs.
- In the Content field, select GFS2 - Global FS v.2.
- The GFS entry dialogue appears.
- Verify that the value in the Cluster Name field is the same as the value listed in the Cluster tab.
- Enter a unique GFS name. You do not have to specify a mount point or list the mount point in /etc/fstab.
- In Number of Journals enter the number of cluster nodes plus one. In this example, the value is 3.
- 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