Date: Tue, 13 Dec 2005 13:21:25 +0100 From: Michael Schuh <michael.schuh@gmail.com> To: Ivan Voras <ivoras@fer.hr> Cc: freebsd-geom@freebsd.org Subject: Re: Questions about geom-gate and RAID1/10 and CARP Message-ID: <1dbad3150512130421i5278d693g@mail.gmail.com> In-Reply-To: <43998C95.3050505@fer.hr> References: <1dbad3150512090509l2ab08e03k@mail.gmail.com> <43998C95.3050505@fer.hr>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, thanks to Ivan for his suggestions and his experiences. I have this mailing first mailed to stable, but i think now this was the wrong place. It this the real place, or even better place as stable? I hope so. >From the suggestions from Ivan i have learned, that i must think a little bit in other directions. First change to following case is: I woud have a Machine that do the Writer Job. I call this Machine W. W binds the shared Disks (per ggated-exports) from A and B with his own shared Disk-Device to an RAID1 OR RAID10. Incoming Traffic like ftp-uploads, passwdchanges, accountchanges must be done on W. The Machines A and B mount the ggate-exported RAID on an unique mountpoint read only, so that all software work on an that shared RAID. On the other site all Loggings are made through the private interfaces to W. He is the only one where could write the logfiles to the RAID. For the rest of functionality look down in the original posting, i pasted it after this mailing. Have anyone any suggestion. Should this work ready? Give it another Way to work so? Thanks for all help. regards michael --------8<---snip---8<-------- 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 Mac= hine. 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 -------->8---snap--->8-------- 2005/12/9, Ivan Voras <ivoras@fer.hr>: > 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 ove= r > > 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) >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1dbad3150512130421i5278d693g>