[Linux-cluster] Cluster in virtual machines ???

Lon Hohberger lhh at redhat.com
Wed Mar 21 14:24:30 UTC 2007


On Wed, 2007-03-21 at 11:45 +1100, qua nong wrote:
> Hi,
> 
> I have only 1 physical server with a number of local harddisks (no SAN
> or external hardisks).
> I would like set up at least 2 virtual machines using either xen or
> vmware server, then cluster the virtual machines.
> 
> I wonder how could  the same disks be presented to both virtual
> machines. i.e. both virtual machines can share the same disks ? 
> Is it possible to configure the iSCSI to both virtual machines ?
> 
> The problem is I donnot have any SAN or external storage which  can be
> shared to both servers.

You can use iSCSI/gnbd, or you can enable multiple-writers in the Xen
config files for the block devices - bypassing all that stuff. ;)   I
forgot what the exact flag was, though.

On the client side, if you intend to mount the same file system on
multiple nodes, you'll still need something like GFS running in the
client.

-- Lon





More information about the Linux-cluster mailing list