Solved

Shared Storage Clustering on Centos/RHEL 5 w/ HA

Posted on 2009-04-02
5
2,573 Views
Last Modified: 2012-05-06
dear expert...

i have 2 server with 2x40GB diskdrive on each server (1 disk system and other for shared storage), i want to make shared storage cluster with HA using centos/RHEL cluster software.
can you give me step by step for creating shared storage cluster ?
when the storage capacity is full ,its posible to add more server to the cluster to increase capacity ?
0
Comment
Question by:herbetfy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 29

Accepted Solution

by:
Michael Worsham earned 500 total points
ID: 24054583
What you are looking for is called Global File System (GFS), however it requires a minimum of three servers to function correctly.

Configuring and Managing a Red Hat Cluster
http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/RHEL510/Cluster_Administration/index.html

---

Another option would be to setup a series of virtual servers then connect to an GFS-based iSCSI environment:

How To Create A Cluster Testbed Using CentOS 5 Virtualization And iSCSI
http://www.howtoforge.com/creating-a-cluster-testbed-using-centos-5-virtualization-and-iscsi
0
 
LVL 4

Expert Comment

by:Multipath
ID: 24073731
You can use OCFS on the two disks then share out the disk from each system to the other through iSCSI and create a software mirror on both systems this would acheive the cluster you are looking for.  Also in the initial install of CetOS it has a way to set this up automagicly.
0
 

Author Comment

by:herbetfy
ID: 24124586
thank for answer, i has been try using 3 server...

[root@st1 lvm]# clustat
Cluster Status for ronald @ Sun Apr 12 11:46:28 2009
Member Status: Quorate

 Member Name                                                    ID   Status
 ------ ----                                                    ---- ------
 192.168.1.131                                                      1 Online
 192.168.1.157                                                      2 Online
 192.168.1.156                                                      3 Online, Local

but when i want to create logical volume got error like this :
[root@st1 lvm]# lvcreate -l 100%FREE -n mylv new_vg
  Error locking on node 192.168.1.131: Volume group for uuid not found: 0ta7RuewwIB2PbX83x6TAOd0QyoEtLjAFfZGoWqpZGod4qqI6JreNnGZfWaQjMZi
  Error locking on node 192.168.1.157: Volume group for uuid not found: 0ta7RuewwIB2PbX83x6TAOd0QyoEtLjAFfZGoWqpZGod4qqI6JreNnGZfWaQjMZi
  Aborting. Failed to activate new LV to wipe the start of it.

what happend with thats message ?
i used all free space on 1 physical disk on each server to be stripped as 1 disk volume..its posible ?
0
 

Author Comment

by:herbetfy
ID: 24131333
i found some info in google..

************
clvm is a way to control/configure your storage in a cluster.  It does  
not provide storage from one machine /to/ a cluster.

There are several ways of making this happen though.  You can use  
GNBD, iSCSI, AOE, fibre channel, or pretty much any other method of  
sharing block devices.  Once all machines in your cluster can see the  
same storage, then you will be able to use CLVM to configure/manage it.

  brassow
************

so if i want to join 1 disk on each node i must use iscsi to see shared disk on all node then use lvm to join them..is that right ?

please give me solution..
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question