From owner-freebsd-virtualization@freebsd.org Wed Nov 4 15:00:30 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35946A264E0; Wed, 4 Nov 2015 15:00:30 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADEDA1D67; Wed, 4 Nov 2015 15:00:29 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version; bh=8IrIy5eJ/26/ji44H1CkrtF3evzK0lskHi/zgBsi/M4=; b=UMIDviOTyRQENtV9xwDbDYhEG4 WyT9JjwZ5lu+xdXHXFaQbsiXepwcvCFt71eN8X3W81VPkqAelZO4aenM4lesJkDQ/I/BWVI2k2aJW 9Rg2BID0X69yzPz7xlp8l9IGhW5aw4BMZv5A3si/C8/TKa049KxUMauFroU28MVGCLEA=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:55105 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1:ECDHE-RSA-AES128-SHA:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1ZtzY0-000A7F-1g; Wed, 04 Nov 2015 09:00:24 -0600 Received: from proxy.lucent.com ([135.245.48.12]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Wed, 04 Nov 2015 09:00:23 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 04 Nov 2015 09:00:23 -0600 From: Larry Rosenman To: Matt Churchyard Cc: Adam Vande More , Shawn Debnath , FreeBSD virtualization , owner-freebsd-virtualization@freebsd.org Subject: RE: C bhyve administration tool In-Reply-To: References: <20151103221930.GA50869@debnath.net> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.1.3 X-Spam-Score: -1.0 (-) X-LERCTR-Spam-Score: -1.0 (-) X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2015 15:00:30 -0000 On 2015-11-04 03:47, Matt Churchyard via freebsd-virtualization wrote: >> Hello! >> >> Couple months ago I started writing a bhyve management tool in C for >> our startup, in preparation for migration to FreeBSD for our servers. >> The goal was to be able to create, drop, and auto-start/stop/restart >> VMs, individually or all at once, and provide a plugin infrastructure >> to expose some metrics / errors for reporting and aggregation. More >> importantly it would detect errors/failures, report them and attempt >> to restart the VM per assigned policy. >> >> The effort stalled due to some high priority work that crept in. >> However, I am planning on restarting soon and wanted to check if there >> was a need for something like this. I ran across Michael Dexter's >> vmrc, and although its shell based, it does provide quite a bit of >> features that we were looking for. There's also iohyve. And I heard >> Peter and Neel are working on something as well. If there is interest, >> this would be open sourced from the start. Or if there is an existing >> effort that addresses these problems, I would love to contribute to >> that project. >> >> Thoughts, comments, concerns, please share. >> > >> vm-bhyve is most mature to this point IME, just don't use the ports >> version. > >> Adam > > Thanks Adam :) > > I could do with updating the port. Unfortunately this is my first > porting experience so not exactly sure of the 'correct' channel to go > through to get things updated. It took 2 months for my original port > request to be addressed and I'm not sure re-opening that bug is the > right way to do it. > > If anyone uses the port, the error that gets printed when running 'vm > init' can be completely ignored. It's just trying to load any existing > virtual switches from the switch configuration file, and complaining > that the switch configuration file doesn't exist. Apart from that and > a few newer features/tweaks, I don't think there's anything > particularly show-stopping about the current port/package if people > prefer installing it that way to downloading from GitHub. > > Of course it would still be interesting to see a "real" bhyve > management tool (possibly even an official one) written in C. > to update an existing port, create a PR with the patch to update it, and then wait. If a committer doesn't grab it within a reasonable time, post to freebsd-ports to get their attention. Do run poudriere testport and provide the output. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961