LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: How to manage External Storage?

To: Benyamin.Wongprasert@xxxxxxxxxxx
Subject: Re: How to manage External Storage?
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Lars Marowsky-Bree <lmb@xxxxxxx>
Date: Thu, 9 Nov 2000 09:31:09 +0100
On 2000-11-09T00:58:41,
   Benyamin.Wongprasert@xxxxxxxxxxx said:

I suggest you should move this discussion to linux-ha@xxxxxx, as it doesn't
really concern LVS and you'll find more interested parties there.

Anyway, on to your question ;-)

> I want some suggestion about my external storage & filesystem.
> I have 1 external storage(Compaq Raid Array 4100) connected 2 linux
> server(Compaq Proliant ML530) via fibre channel.

Yes, the Compaq's are nice machines.

> I mount the same patition to both server

Well, duh, you are mounting ext2 actively from two nodes! You should be happy
it doesn't crash immediately ;-), as ext2 doesn't know about two nodes
modifying the data on disk at the same time.

What you are doing essentially requires running GFS
(http://www.globalfilesystem.org/).

> 1.What should I do If I want to see the files that create by the other
> server immediately? and What the filesystem that I must use?

GFS.

> when I copy file to the external storage by using LINUX1 and also copy
> another file to the external storage by using LINUX2 at the
> same patition(same mount point)

As said, ext2 & co do not support what you are trying to do at all.

> 2.How can I prevent this error? 'my file is very important'. If It lost
> maybe my boss will fine me! :-(

Well, as should he for not doing your homework ;-) (tongue in cheek)

> I plan to use piranha (FOS) if I can't mount the same patition at the same
> time.I think I will use piranha to activate the patition at a time.

You can only use the partition from one node except if you are running GFS.

If you want to use a failover configuration, I recommend that you use a
journaled filesystem (reiserfs, ext3, more to come with 2.4) on it, this will
reduce the failover time by making the fsck unnecessary.

FailSafe, heartbeat and Kimberlite supports this configuration. You may want
to look into these solutions too.

Sincerely,
    Lars Marowsky-Brée <lmb@xxxxxxx>
    Development HA

-- 
Perfection is our goal, excellence will be tolerated. -- J. Yahl



<Prev in Thread] Current Thread [Next in Thread>