VirtualBox & X11: Guest console does not display remotey anynmore

2014-11-10 Thread Peter Ross

Hi,

since yesterday I have a weird problem. I cannot display VirtualBox
_guest_ consoles remotely anymore (the GUI for configuration works).

It worked two weeks ago and I am not aware of any changes.

I am running Virtualbox headless on a server but use the GUI for installs
when needed. I forward ssh (-X) and use "su -m" to keep the DISPLAY
environment variable(DISPLAY=localhost:10.0) and xauth.

Two weeks ago I did just that,

1. started "VirtualBox",
2. created a VM and a disk,
3. attached an ISO disk
4. pressed start and the "BIOS" appeared

Yesterday it all goes up to step 3- just 4 does not work. I get an error
instead of the BIOS screen, and on the server I get:

X11 connection rejected because of wrong authentication.

I checked all variables and parts - nothing has changed since the last
install that worked a fortnight ago.

Same kernel, same VirtualBox, same xauth, same desktop.

# uname -a
FreeBSD DellT620one.vv.fda 10.1-PRERELEASE FreeBSD 10.1-PRERELEASE #0 
r273569: Fri Oct 24 14:43:34 AEDT 2014 
r...@dellt410two.vv.fda:/usr/obj/usr/src/sys/IPSEC  amd64

# pkg info | grep virtual
virtualbox-ose-4.3.18  General-purpose full virtualizer for x86 
hardware

virtualbox-ose-kmod-4.3.18 VirtualBox kernel module for FreeBSD

The desktop Oracle Linux 6.5.

I used this on the 28th of October successfully. No fresh 
installs/upgrades since, I believe.


I can open X11 clients remotely (e.g. the VirtualBox control GUI works - 
just not the guest console)


Do you have any ideas what could go wrong?

Thanks for ideas
Peter
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: VIMAGE and VirtualBox networking question

2014-11-10 Thread Peter Ross

Nikos Vassiliadis wrote:


On 11/05/14 00:29, Manas Bhatnagar wrote:


Install ports tree in a temporary location (another computer or 
something), grab the required folder and move it to the computer that 
you want to install the port on and do 'make install clean' ? probably 
won't work like that, you would need to make sure the directories for 
dependencies are there too :o)



Tried to do this with a full ports tree and I stopped it after gcc
started to build.


BTW: You need /usr/src available for the creation of the package. 
Preferably matching the kernel you want to install it..


I do this regularly (but without VIMAGE) in a jail where I build all my 
packages. ("make install" and "pkg create" in a script)


I do all updates from source. I only update kernel, user land and 
ports when security is at risk. Usually independent from each other.


But VirtualBox is an exception. I update kernel and VirtualBox at the same 
time.


I was not brave enough to enable VIMAGE and VirtualBox on the same server. 
But I may do that soon. I plan a major reconfiguration ca. end of the 
year. I hope it is stable enough.


Regards
Peter
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: VirtualBox & X11: Guest console does not display remotey anynmore

2014-11-10 Thread Peter Ross

On Tue, 11 Nov 2014, Peter Ross wrote:


since yesterday I have a weird problem. I cannot display VirtualBox
_guest_ consoles remotely anymore (the GUI for configuration works).

It worked two weeks ago and I am not aware of any changes.

I am running Virtualbox headless on a server but use the GUI for installs
when needed. I forward ssh (-X) and use "su -m" to keep the DISPLAY
environment variable(DISPLAY=localhost:10.0) and xauth.

Two weeks ago I did just that,

1. started "VirtualBox",
2. created a VM and a disk,
3. attached an ISO disk
4. pressed start and the "BIOS" appeared

Yesterday it all goes up to step 3- just 4 does not work. I get an error
instead of the BIOS screen, and on the server I get:

X11 connection rejected because of wrong authentication.


I found a workaround:

VBoxSDL --startvm SageConfig

This works and I can install my beloved Windows 7;-)

Weird.. as said, the other way worked two weeks ago and nothing changed 
(I believe)


Regards
Peter
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


VirtualBox performance

2014-11-13 Thread Peter Ross

Hi all,

I am running VirtualBox on a new server (a Dell T620).

Inside is Oracle Linux. I run a Java app and it is very slow to 
start.


Memory should not be an issue. I have 32 GB and 8 GB for the VM.

The server has 2 Xeon CPUs with 4 core each (hypertthreated so VBox sees 
16 CPUs).


I do not see any difference between using 1 CPU or 16 for the VM..

Interestingly all the host CPUs are 60-70% in system calls when I run it 
on 16 CPUs, according to top.


I am tempted to experiment with CPU sets, btw.

I wonder whether VirtualBox and multiple CPUs are a good mix at all..

Do you have any recommendations how to speed up my VM and Java?

Thank you
Peter
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: VIMAGE and VirtualBox networking question

2014-11-16 Thread Peter Ross

Hi Nikos,

On Sat, 15 Nov 2014, Nikos Vassiliadis wrote:


On 11/11/14 00:39, Peter Ross wrote:


 I was not brave enough to enable VIMAGE and VirtualBox on the same
 server. But I may do that soon. I plan a major reconfiguration ca. end
 of the year. I hope it is stable enough.


Just want to add that everything works as expected with VIMAGE and VBox.


Thanks. Then I will try that too:-)

Regards
Peter
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: RFC: Enabling VIMAGE in GENERIC

2014-11-18 Thread Peter Ross

On Sun, 16 Nov 2014, Craig Rodrigues wrote:


 (4)  Not everyone uses bhyve.  FreeBSD jails are an excellent virtualization
   platform for FreeBSD.  Jails are still very popular and
   performant.  VIMAGE makes jails even better by allowing per-jail
   network stacks.


I am using jails and VIMAGE for ca. 4 years, btw.

On the other side of the fence (see Linux) containers became quite popular with 
Docker and are also used for process management and separation (systemd e.g.)


Just to add this as a motivation for using jails and possibly VIMAGE, from a 
sysadmin perspective.


Regards
Peter
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Can a host OS user process create a zillion BHyVe VM:s and microcontrol them?

2014-12-07 Thread Peter Ross

On Mon, 8 Dec 2014, Tinker wrote:

Looking at Capsicum, I think it has an even lower safety profile than NaCl - 
my usecase might just run any beastly binary code, so the sandbox wall needs 
to be the toughest you got, so using BHyVe here makes sense.


You could use jails..

- The kernel is booted in zero seconds;-),

- you could use nullfs mounts to create a read-only filesystem tree

- have one location read-write for your result

- use a devfs mount for needed device nodes (see rule set 4)

- and than run the command in a simple jail (directly from command line).

- Afterwards you delete the mounts.

Well, in fact you could prepare many many read-only jail file system trees 
and reuse them for the jail command again and again (minus the read-writre 
area for the output)


It has much less overhead than starting a VM every time, I guess.

Regards
Peter
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Virtualbx and CPU counting

2015-02-02 Thread Peter Ross

Hi,

I have a question:

I have a server with

- 2 Xeon E5-2609,
- 4 cores each
- 4 threads per core

On OS level, Linux and FreeBSD see 8 processors.

VirtualBox offers 16 CPUs as the maximal number for a VM.

I expected 32. How does this work?

Regards
Peter
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Virtualbox and CPU counting

2015-02-02 Thread Peter Ross

P.S. More precisly, I expected VirtualBOx to see 8 or 32 CPUs.

In the past it was virtual CPU= "real" thread number, if I remember 
correctly.


How many you give to a VM is a different matter.

Regards
Peter

On Mon, 2 Feb 2015, Peter Ross wrote:


Hi,

I have a question:

I have a server with

- 2 Xeon E5-2609,
- 4 cores each
- 4 threads per core

On OS level, Linux and FreeBSD see 8 processors.

VirtualBox offers 16 CPUs as the maximal number for a VM.

I expected 32. How does this work?

Regards
Peter
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"



___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: available hypervisors in FreeBSD

2015-12-20 Thread Peter Ross

Hi all,

I read through an older threat I kept in my archive. It started like this:

On Wed, 1 Apr 2015, Udo Rader wrote:


As far as my homework digging revealed, FreeBSD supports four hypervisors:

* bhyve
* KVM
* QEMU
* VirtualBox


.. and later Xen was mentioned.

I ask myself which of the solutions are most mature at the moment and 
immediately usable in production.


Reason is a potential company move from VMware ESXi/Centos(6/7) with some 
critical Windows 2008 and 2012 IIS/.NET applications) involved.


While most of open source may go into FreeBSD jails, we have a few 
CentOS6/7 boxes with proprietary software we have to keep, as well as the 
Windows VMs to maintain (there is a long term effort to move them to Open 
Source too but the final migration of all may be years away).


We may phase out ESXi gradually, or just keep it, depending on the 
performance and maturity of FreeBSD based solutions.


I have experience with Linux on VirtualBox and it worked well if the load 
was not high but the performance wasn't too good when under stress (but it 
never crashed, I might add).


Which of the solutions are worth testing? Do you have recommendations?

I am thinking of server software and "containerisation" only, so USB 
passthrough or PCI etc. is not really important.


Stability, performance and resource utilisation (e.g. possible 
over-allocation of RAM) are matter most.


Thanks for any advice
Peter
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"