Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-23-2008, 02:08 PM   #1
LQ Newbie
Registered: Jan 2008
Distribution: FC8, CentOS 5
Posts: 2

Rep: Reputation: 0
CLVM clarification - general.


I've been reading up on Linux clustering and successfully set up a load-balancing cluster in a lab environment. I'm going to tear down that setup now and I want to learn about storage clusters.

After reviewing some of the clustering documentation on the Red Hat site, I have some confusion about storage clusters and thought I might be able to get some general questions answered here.

In the Red Hat diagrams, they model a storage cluster in a manner that looks similar to several servers accessing a SAN. In my lab, I want to take a different approach.

For my purposes, I have 3 Linux servers, each system has two 40GB hard drives. My goal is to load the Linux OS on the first drive of each of the servers, and to allocate the second drive in each server to be used as storage in the Linux storage cluster.

So here are a few questions I have...

1. First... is this approach possible?

2. If so, when I create the filesystem on the secondary drive of each server, do I use GFS?

3. Are you LVM2 and CLVM mutually exclusive? If so, do I have to use CLVM to do what I'm trying to do?

Thanks in advance.


Old 02-23-2008, 10:38 AM   #2
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
1. not really, since clustered storage needs to be shared storage which is accessible by all nodes. you can setup some scripts (rsync?) to keep the data close to identical between each node but it really isnt clustered storage in this case but more like a distributed web cluster where each has it's own local copy of the web pages and a load-balancer round-robins (or other method of distribution) the workload between the nodes

2. you are welcome to use GFS with the lock_nolock dlm for a single instance (single node access)

3. yes, only one or the other can be in use at a time but you can switch between them (so you can use LVM for local LVM managment and then switch back to CLVM when finished). CLVM piggy-backs off of LVM's technology and features. it provides the benefit of updating the other nodes LVM config through cluster communication so that they all maintain a consistent view of the shared storage.

what i did since i didnt have a SAN at my disposal either when i was "playing" with this is configure a system to be an iscsi-target so that the nodes in the cluster could access a single storage LUN using the iscsi-initiator utils. this should be a system distinct from the 3 nodes so that you are able to use your fencing without worrying about fencing the iscsi-target node. This seemed to work well.

hope this helps.
Old 02-25-2008, 02:14 AM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,289

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You might also want to look at PVFS and Lustre as they're cluster filesystems that are designed for use more in high performance environments. I've never used either, but I'd like to try them out sometime...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I just need some clarification Duneatreides Linux - Newbie 2 03-12-2007 05:48 AM
clvm error jaychamp Linux - Newbie 0 06-05-2006 10:01 PM
Clarification Needed nagu_linux Linux - Software 1 03-30-2005 02:48 AM
clarification about defragmenting ramdak5000 Linux - Software 2 02-20-2005 12:27 AM
Clarification needed..... SomeEverydayNob Linux - Newbie 3 05-10-2003 02:07 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration