Link to home
Start Free TrialLog in
Avatar of herbetfy
herbetfy

asked on

Shared Storage Clustering on Centos/RHEL 5 w/ HA

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 ?
ASKER CERTIFIED SOLUTION
Avatar of Michael Worsham
Michael Worsham
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of herbetfy
herbetfy

ASKER

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 ?
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..