Fairly new to ZFS. I am looking to replicate data between two thumper boxes. Found quite a few articles about using zfs incremental snapshot send/receive. Just a cheeky question to see if anyone has anything working in a live environment and are happy to share the scripts, save me reinventing the wheel. thanks in advance. -- This message posted from opensolaris.org
You might want to look at AVS for realtime replication http://www.opensolaris.org/os/project/avs/ However, I have had huge performance hits after enabling that. The replicated volume is almost 10% the speed of normal ones On Thu, Jan 15, 2009 at 1:28 PM, Ian Mather <ian.mather at northtyneside.gov.uk> wrote:> Fairly new to ZFS. I am looking to replicate data between two thumper > boxes. > Found quite a few articles about using zfs incremental snapshot > send/receive. Just a cheeky question to see if anyone has anything working > in a live environment and are happy to share the scripts, save me > reinventing the wheel. thanks in advance. > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20090115/98e402b6/attachment.html>
zfs-auto-snapshot (SUNWzfs-auto-snapshot) is what I''m using. Only trick is that on the other end, we have to manage our own retention of the snapshots we send to our offsite/backup boxes. zfs-auto-snapshot can handle the sending of snapshots as well. We''re running this in OpenSolaris 2008.11 (snv_100). Another use I''ve seen is using zfs-auto-snapshot to take and manage snapshots on both ends, using rsync to replicate the data, but that''s less than ideal for most folks... -Greg Ian Mather wrote:> Fairly new to ZFS. I am looking to replicate data between two thumper boxes. > Found quite a few articles about using zfs incremental snapshot send/receive. Just a cheeky question to see if anyone has anything working in a live environment and are happy to share the scripts, save me reinventing the wheel. thanks in advance.
It''s good article explains about how to use ZFS for replication. http://swik.net/MySQL/Planet+MySQL/ZFS+Replication+for+MySQL+data/ckjo2 http://www.markround.com/archives/38-ZFS-Replication.html ========================"Free India Opensource India." ========================Thanks and regards; Ashish Nabira nabira at sun.com http://sun.com Mobile: 9845082183 ======================== On 15-Jan-09, at 11:01 PM, Greg Mason wrote:> zfs-auto-snapshot (SUNWzfs-auto-snapshot) is what I''m using. Only > trick > is that on the other end, we have to manage our own retention of the > snapshots we send to our offsite/backup boxes. > > zfs-auto-snapshot can handle the sending of snapshots as well. > > We''re running this in OpenSolaris 2008.11 (snv_100). > > Another use I''ve seen is using zfs-auto-snapshot to take and manage > snapshots on both ends, using rsync to replicate the data, but that''s > less than ideal for most folks... > > -Greg > > Ian Mather wrote: >> Fairly new to ZFS. I am looking to replicate data between two >> thumper boxes. >> Found quite a few articles about using zfs incremental snapshot >> send/receive. Just a cheeky question to see if anyone has anything >> working in a live environment and are happy to share the scripts, >> save me reinventing the wheel. thanks in advance. > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20090116/0cd2c9d0/attachment.html>
Ian Mather wrote:> Fairly new to ZFS. I am looking to replicate data between two thumper boxes. > Found quite a few articles about using zfs incremental snapshot send/receive. Just a cheeky question to see if anyone has anything working in a live environment and are happy to share the scripts, save me reinventing the wheel. thanks in advance. >I have a tool that automates snapshots, replication and retention between 3 Thumpers. The process works well with one show stopping exception: toxic streams. At least on Solaris 10, it''s all too easy to produce incremental streams that panic the receiving system. -- Ian.