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

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

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

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,

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