LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 05-11-2011, 03:52 PM   #1
bweaver
Member
 
Registered: Nov 2010
Posts: 44

Rep: Reputation: 0
where is ocfs2 installed--SAN or on the cluster nodes?


I want to build a 2-node cluster using Debian Squeeze, OCFS2, and, if necessary, Pacemaker.

1. Is is OCFS2 installed directly onto the SAN? or is it installed somehow inside of DRBD? If the latter, does DRBD/OCFS2 reside as a clone resource on both nodes, both of which point to the SAN?

2. Is DRBD necessary to run OCFS2?

I had read that 2 LUNs should be set up on a SAN--one for the main file store and another, smaller LUN for OCFS2 configuration files.

3. For a simple cluster, with failover on manual restart, is Pacemaker needed?
 
Old 05-11-2011, 05:52 PM   #2
Blue_Ice
Member
 
Registered: Jul 2006
Location: Belgium
Distribution: Debian, Fedora, CentOS, Windows
Posts: 352

Rep: Reputation: Disabled
Quote:
Originally Posted by bweaver View Post
1. Is is OCFS2 installed directly onto the SAN? or is it installed somehow inside of DRBD? If the latter, does DRBD/OCFS2 reside as a clone resource on both nodes, both of which point to the SAN?
OCFS2 is a filesystem and DRBD is a mechanism to replicated disk and keep them in sync. So OCFS2 is not installed inside DRBD, but you can format a drbd block device with OCFS2. This is not specifically for a SAN, but it can be used there. Instead of OCFS2 you can use other cluster file systems as well. OCFS2 is need to let 2 different systems access a shared disk.

Quote:
Originally Posted by bweaver View Post
2. Is DRBD necessary to run OCFS2?
No, OCFS2 doesn't need DRBD.

Quote:
Originally Posted by bweaver View Post
I had read that 2 LUNs should be set up on a SAN--one for the main file store and another, smaller LUN for OCFS2 configuration files.
You can do this, but as far as I know, you don't need to.

Quote:
Originally Posted by bweaver View Post
3. For a simple cluster, with failover on manual restart, is Pacemaker needed?
Not if you are using DRBD, it has its own heartbeat mechanism. But Pacemaker might be needed for other clustered resoutces.
 
Old 05-17-2011, 07:13 AM   #3
bweaver
Member
 
Registered: Nov 2010
Posts: 44

Original Poster
Rep: Reputation: 0
Thanks!
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which is better XEN SAN strategy--Clustered File System (OCFS2/GFS) or use of CLVM? bweaver Linux - Virtualization and Cloud 2 05-06-2011 08:49 AM
NFS cluster with OCFS2 + Quota + DRBD jirikmik Linux - Server 2 04-04-2011 06:58 AM
using lvm/ocfs2 to configure san storage mn9 Linux - Server 1 06-12-2007 03:35 AM
Cluster....which distro is best for the Nodes? KaptinKABOOM Linux - Software 7 06-14-2004 08:34 PM
How do i create an a/c at all nodes in the cluster dogma Linux - Networking 4 05-19-2003 10:21 AM


All times are GMT -5. The time now is 06:57 PM.

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