Re: Build failover ZFS, like HA-Storage from Solaris

Freddie Cash <[email protected]>
Newsgroups gmane.os.freebsd.devel.cluster
Message-ID <[email protected]>
On Fri, Feb 18, 2011 at 3:44 PM, Denny Schierz <[email protected]> wrote:
> Am 18.02.2011 um 21:29 schrieb Freddie Cash:
>
>> You create a separate hast device for each physical harddrive in the
>> system.  That "mirrors" the drives between the two servers.
>
> why should I mirror the drives, while both systems are connected to one sas storage? Both hosts can see all drives at the same time, via the SAS HBA.


Sorry, re-reading your original post I see that I mixed up the layers.  :)

To make sure I understand completely, you have:

[ SAN box ] ---- iSCSI ---- [ node 1 using ZFS ]
                            \-------- [ node 2 using ZFS ]

Correct?  And you want to fail-over services from node 1 to node 2?

You don't need HAST in that situation, as the SAN handles making the
storage available to both.  My bad.

But you can still use CARP and devd.  CARP provides the shared IP so
that other systems won't notice the switch over.  And devd provides
the hooks into your custom scripts so that when CARP switches from
node 1 to node 2, you export the pool on node 1, and import the pool
on node 2.

-- 
Freddie Cash
[email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-cluster
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.