Hello, i have searched informations about geom-gate and RAID1 or Raid10 over TCP/IP. But nothing relevant found, so that i write the questions here. My opinion/scenario that i thinked out: i Have 2 Machines Host A and Host B, both Machines have 2 Networkinterfaces, one official and one private. The official interfaces getting bound with CARP for traffic, so that peoples think they connect's to one Machine. So that i get, for this case, a high-availibility-solution on CARP-Base. The private interfaces get to be used to derive my data from one Machine to the other Machine, and also spend the possibility to watch the other Machine. To this point everything is clear for me, so let us go to the more complex part. In the description above i be suppressed to derive the shared-data for booth machines from one to another. My idea was to build an RAID1 or RAID10 over the Network by using geom-gate and vinum respective gvinum. Has anyone any experiences with geom-gate and doing RAID1 or RAID10 over TCP/IP? And has anyone a good solution in Production use? My Questions about these thema are: a) Is this generally possible with FreeBSD ? b)is this generally a good idea ? c)how must i setup the RAID? d)who must build the raid? Host A? Host B? or BOTH? e) can i use this way to become an HA-Solution? I have searched in the Web about these questions, but nothing found. Only things that i have found was Mirroring (local) and mode generals related to local work with geom. Thanks for help. regards Michael
Michael Schuh wrote:> i have searched informations about geom-gate and RAID1 or > Raid10 over TCP/IP. But nothing relevant found, so that i write > the questions here.Actually, there has been some discussion about this, but you probably won't like the result...> Has anyone any experiences with geom-gate and doing RAID1 or RAID10 over > TCP/IP? And has anyone a good solution in Production use?Theoretically, yes - it can be done this way. You could use any GEOM-aware RAID solution, and throw ggate in the mix. When I tried it (back in early 5-stable days) I could create the setup just fine, but could not stabilise it - gmirror kept loosing the ggate component(s), possibly(?) due to timeouts from network latency. IIRC, just around the time 6-stable was branched there was a similar report from somebody else. BUT, ggate has had several changes since then that should address performace, so maybe it's time to try again. There's another problem: if you do get the over-the-network mirroring to work, you won't be able to share data this way: the one-writer-multiple-readers scenario won't work because the filesystem doesn't support it on the reader side (when the data gets modified by the writer, the reader doesn't know about it). Readonly-for-all scenario will work. (see also this: http://docs.freebsd.org/cgi/mid.cgi?438B05D6.3000108 - I'll maybe find the time soon)