What about something similar to drbd where the actual data being written to
one disk node on server A is written to another on server B via TCP/IP as
well? Heartbeat in this case would depend on drbd writing the data to both
servers... Can this be accomplished with Solaris/AVS/ZFS?

Thanks,
Ryan

-----Original Message-----
From: storage-discuss-boun...@opensolaris.org
[mailto:storage-discuss-bounces at opensolaris.org] On Behalf Of Fredrich Maney
Sent: Thursday, March 11, 2010 9:43 AM
To: Anton Altaparmakov
Cc: ha-clusters-discuss at opensolaris.org; Unix Support;
storage-discuss at opensolaris.org
Subject: Re: [storage-discuss] [ha-clusters-discuss] How to setup up highly
available zfs file system replicated synchronously across two sites?

In order for a filesystem (any filesystem on any OS) to failover between
nodes, that filesystem needs to be on shared storage that is external to all
nodes. This is because if the node that hosts the storage fails, i.e. has a
system board failure, there is no way for the other node to see it.

You are already doing this in your working example on Linux - the iSCSI LUNs
are presented to both nodes in the cluster from whatever device is hosting
the iSCSI LUNs.

You just need to do the same thing thing on the Solaris side. However,
remember that ZFS is not multi-initiator aware, so you can not mount the
zpools on both nodes at once without disk corruption. You will probably want
to wrap the service, ip and storage in a zone and fail that over all
together instead of separately at the global zone level.

Google is your friend. I'd suggest searching for "Solaris Cluster iSCSI
zone".

fpsm

On Thu, Mar 11, 2010 at 9:18 AM, Anton Altaparmakov <aia21 at cam.ac.uk> wrote:
> Hi,
>
> I have been trying to setup Solaris Storage AVS with Sun Cluster in the
hope of having a ZFS file system replicated synchronously (via TCP/IP only)
between two machines so that it is mounted on one machine read-write and if
that machine fails it is mounted read-write on the other machine.
>
> I have been reading all sorts of documentation and man pages and
experimenting but everything I have tried immediately asks for configuration
of shared storage which we don't have as the two machines are only connected
by TCP/IP.
>
> We have such a system running at the moment using Linux, iSCSI plus
software raid for the replication and XFS as the file system and heartbeat
v2 for the failover and that works well. ?We then have an NFS server which
exports the XFS file system and the NFS server is migrated together with the
service ip address and the XFS file system between the two nodes in the
heartbeat cluster but I have now spent ages trying to figure out what to do
with Sun Cluster and AVS to achieve the same and I am completely failing to
do it. ?)-:
>
> Would someone, pretty please with sugar on top, point me at the
documentation I am failing to find or alternatively giving me some pointers
as to which commands it is I should be using?
>
> Thank you very much in advance!
>
> Best regards,
>
> ? ? ? ?Anton
> --
> Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Unix 
> Support, Computing Service, University of Cambridge, CB2 3QH, UK Linux 
> NTFS maintainer, http://www.linux-ntfs.org/
>
> _______________________________________________
> ha-clusters-discuss mailing list
> ha-clusters-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ha-clusters-discuss
>
_______________________________________________
storage-discuss mailing list
storage-discuss at opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to