Re: syncing bhyve instances

2018-01-23 Thread Michael Gmelin
> On 22. Jan 2018, at 20:47, tech-lists wrote: > >> On 22/01/2018 16:38, Paul Vixie wrote: >> for live sync you'll have to run software inside the guest that knows >> how to properly freeze state. for example if there's a live database of >> any kind you'll want it to be in its quiet state befo

Re: syncing bhyve instances

2018-01-23 Thread David Wimsey
> On Jan 22, 2018, at 11:38 AM, Paul Vixie wrote: > > i've used zfs for this, but i have to shut the guest down to do it. i'm using > zvols for my guest system disks, so it's > > shut the guest down (maybe just to single-user mode) > make a zfs checkpoint > start the guest back up > zfs send t

Re: syncing bhyve instances

2018-01-22 Thread Miroslav Lachman
tech-lists wrote on 2018/01/22 20:47: On 22/01/2018 16:38, Paul Vixie wrote: for live sync you'll have to run software inside the guest that knows how to properly freeze state. for example if there's a live database of any kind you'll want it to be in its quiet state before you sync from it. in

Re: syncing bhyve instances

2018-01-22 Thread tech-lists
On 22/01/2018 16:38, Paul Vixie wrote: > for live sync you'll have to run software inside the guest that knows > how to properly freeze state. for example if there's a live database of > any kind you'll want it to be in its quiet state before you sync from > it. in those situations, i do use rsync.

Re: syncing bhyve instances

2018-01-22 Thread Paul Vixie
i've used zfs for this, but i have to shut the guest down to do it. i'm using zvols for my guest system disks, so it's shut the guest down (maybe just to single-user mode) make a zfs checkpoint start the guest back up zfs send the checkpoint this also assumes that the sync-destination is a cold

Re: syncing bhyve instances

2018-01-22 Thread Miroslav Lachman
tech-lists wrote on 2018/01/22 16:45: Hello lists, If I have two bhyve hosts, production [p] and reserve [r], and on both there are identical guest[s] [1] and [2], what is the best way to sync the guests? What's the best tool? 1. would syncing the guests from the host work? (in other words, run

Re: syncing bhyve instances

2018-01-22 Thread Jason Barbier
Assuming you wanted sync and not just a shared volume the guest/host running rsync to push/pull would work the best. But to be totally honest what I do right now to allow guests access to stuff on the host file system is just CIFS/SMB shares. It would probably be better to do NFS shares but I ha

syncing bhyve instances

2018-01-22 Thread tech-lists
Hello lists, If I have two bhyve hosts, production [p] and reserve [r], and on both there are identical guest[s] [1] and [2], what is the best way to sync the guests? What's the best tool? 1. would syncing the guests from the host work? (in other words, running some kind of tool like say rsync on