[Linux-cluster] GFS as a Resource
brettcave at gmail.com
Fri Aug 15 08:52:04 UTC 2008
On Thu, Aug 14, 2008 at 10:26 PM, Chris Edwards
<cedwards at smartechcorp.net> wrote:
> Hello all again,
> I am really trying hard to figure out how this clustering works and I
> appreciate any help that is given.
There are some good docs out there - read through
> What happens if I set GFS up as a resource? Should it automatically mount
> my GFS file system?
there is a GFS service. If you set it to autostart, it will mount any
gfs file systems defined in /etc/fstab.
You would have to set up iSCSI first, and have your volumes accessible
- to GFS, these just block devices, regardless of the underlying
technology - DRBD / iSCSI / SAN.
The order of startup should be iSCSI first, then cluster services
(cman, locking service such as DLM, fencing, etc) from the cman
service and once the cluster services are up, you can then mount gfs
file systems, via "service gfs start". Also look into using a quorum
disk in your cluster, it can help with the cluster maintaining quorum
when a few nodes go down.
Here is a sample gfs entry from my fs tab.
/dev/sda1 /gfs/cache1 gfs
num_glockd=6,noatime,noquota,nodiratime 0 0
You would replace /dev/sda1 with the path to your iSCSI device.
> I am using GFS over an iscsi target.
> Chris Edwards
> Linux-cluster mailing list
> Linux-cluster at redhat.com
More information about the Linux-cluster