Solved

Shared Storage Clustering on Centos/RHEL 5 w/ HA

Posted on 2009-04-02
5
2,569 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
  • 2
5 Comments
 
LVL 29

Accepted Solution

by:
Michael W earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now