From owner-freebsd-virtualization@freebsd.org Fri Sep 28 13:23:40 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D42210B0B87 for ; Fri, 28 Sep 2018 13:23:40 +0000 (UTC) (envelope-from darcy@druid.net) Received: from mail.vex.net (mail.vex.net [IPv6:2605:2600:1001::44]) by mx1.freebsd.org (Postfix) with ESMTP id 01ACD7302E for ; Fri, 28 Sep 2018 13:23:39 +0000 (UTC) (envelope-from darcy@druid.net) Received: from dilbert.druid.net (dilbert.druid.net [207.35.13.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: darcy) by mail.vex.net (Postfix) with ESMTPSA id DC61F4A47907 for ; Fri, 28 Sep 2018 09:23:38 -0400 (EDT) To: freebsd-virtualization@freebsd.org From: D'Arcy Cain Subject: New bhyve user Openpgp: preference=signencrypt Message-ID: <2edf93d1-58c2-92bc-48e2-92a493a36e7e@druid.net> Date: Fri, 28 Sep 2018 09:23:38 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.27 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: Fri, 28 Sep 2018 13:23:40 -0000 Greetings. I have just recently started using bhyve (previously a Xen user). I am using vm-bhyve to manage it. I have a few questions. First question, am I making the right choice by switching and, if so, is bhyve the right choice to switch to? I realize that that is an impossible question but perhaps some pros and cons as well as war stories will help me. I created a switch and clients using the examples on the vm-bhyve web site. However, I could not get IP working until I put an IP address on the vm-public interface. I duplicated the address of the interface that it is connected to (re0 in my case) and used DHCP to assign addresses to the clients. If this is the correct way, shouldn't it have happened automatically? In any case, I saw I see that it can be added at creation time but how do I modify it later? I saw "switch address a.b.c.d/xx|none" in the man page but no way to specify which switch the address should be applied to. I tried adding the switch name before and after the address but that gave me an error. I tried to boot into a Linux install but even though I set grahics to yes, it doesn't seem to be serving VNC. On the console I can only get into the live CD. How do I get it installed? I am thinking of creating a base install with various install options and then copy that over to new installs as a starting point. I was going to use rsync with the -S option to copy over the file as sparse. Is there another way that is preferred? In Xen there is a maxvcpus which limit the number of CPUs but they could baloon down if not busy so that other clients who are busy can use the CPUs. In bhyve (at least in vm-bhyve) there is only a cpus line in the config. Is this a minimum, maximum or is it a hard limit? That's it for now. Thanks for any help. -- D'Arcy J.M. Cain | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner. IM: darcy@Vex.Net, VoIP: sip:darcy@druid.net