Re: [OpenIndiana-discuss] KVM on Illumos

2011-08-19 Thread Jeppe Toustrup
On Fri, Aug 19, 2011 at 01:54, Gary gdri...@gmail.com wrote:
 I would imagine that since Intel CPUs have a larger footprint in the
 enterprise, it was targeted first for that reason. I've noticed that OEMs
 have gone back and forth with AMD over the years in their attempts to build
 more power efficient with each new generation.

Or its because Joyent and Intel have a pretty good relationship, and
Joyent didn't want to help Intel's competitor:
http://www.prnewswire.com/news-releases/joyent-secures-funding-from-intel-capital-70300952.html
http://www.joyent.com/2010/10/intel-selects-joyent-for-intel%C2%AE-cloud-builders/
http://www.intelcloudbuilders.com/ourpartners/joyent

--
Venlig hilsen / Kind regards
Jeppe Toustrup (aka. Tenzer)

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] KVM on Illumos / Xen support

2011-08-19 Thread Pasi Kärkkäinen
On Thu, Aug 18, 2011 at 09:38:19PM +0200, Nikola M wrote:
 Dave Koelmeyer wrote:
  For those that haven't already seen:
 
  http://dtrace.org/blogs/bmc/2011/08/15/kvm-on-illumos/???
 I would like to know, now that is KVM here in Illumos
 (and presumably in OpenIndiana and when also AMD CPU support is written,
 beside Intel support),
 does that means we have something more powerful than XEN is?
 

Depends how you define 'powerful' :) 
Architecture in Xen is quite different from KVM.. 

Xen has:
- Thin hypervisor (around 2MB in size) - much less code than OS kernel
- Thin interfaces between domains (VMs)
- Strong isolation between domains
- Xen driver domains -concept: virtual net/disk backends for VMs 
don't need to be in dom0, 
  backends can be served from special driver domain VMs! Making the 
system disaggregated and very secure.


 I do not know if all Joyent's upgrades they made to illumos
 (ZFS disk bandwith for zones, etc) ends up inside Illumos?
 
 Since Oracle left working Xen in S11Ex for 64-bit x86 host but is
 pushing it's closed Xen implementation
 and Xen support is currently not quite maintained in
 Illumos/OpenIndiana, maybe KVM is what one could use (beside Virtualbox).
 

Yep, that's the problem.. Xen support in Illumos/Openindiana needs some work.

- Someone should upstream the XVM hypervisor patches to upstream Xen 
hypervisor
- so you could use the stock Xen hypervisor in Illumos in the 
future

- Someone should make sure the Illumos/OpenIndiana kernel properly runs 
as Xen dom0
- Bugfixing, testing and maintenance in general needed

- Someone should make sure Illumos/OpenIndiana kernel properly runs 
with PV drivers as Xen HVM guest

That will be some work, yes, but the good thing is that it is (and has been) 
already working in OpenSolaris.. 


Example of Xen Driver Domains:

- Run Xen with Linux dom0 (or Illumos dom0, if someone starts working 
on Illumos Xen support).
- Create Illumos/OpenIndiana VM (Xen HVM probably to take advantage of 
CPU hardware virtualization and EPT)
- Use Xen PCI passthru to pass disk controller (HBA) to the 
Illumos/OpenIndiana VM
- Run ZFS in the Illumos/Openindiana VM, with direct access to the HBA 
and disks.
- Make sure the Xen backend-drivers from OpenSolaris run properly in 
Illumos/OpenIndiana, and run them.
- Serve disk backends to other VMs from the Illumos/OpenIndiana driver 
domain from ZFS!

That would be very interesting setup!

-- Pasi


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] virtual nic an routing

2011-08-19 Thread alessio
I have a virtual nic (vnic) on oi_148

  dladm create-vnic -m random -l igb0 vnic2
  ipadm create-addr -T static -d -a 192.168.11.127/24 vnic2/test

Interface igb0 has an IP of the same subnet of vnic2

Whitout VNIC, outgoing packets have the igb0 ip address. Ok.

With VNIC configured and enabled, outgoing packets have the vnic2 ip
address.

If I add a second vnic, outgoing packets will have the ip address of
such second vnic.

The routing table is as follow

  netstat -nr

Routing Table: IPv4
  Destination   Gateway   Flags  Ref Use  Interface
  - - 
default  192.168.11.1   UG  7   10763
192.168.11.0 192.168.11.127 U   3   3033 vnic2
192.168.11.0 192.168.11.50  US  7   8224 igb0
127.0.0.1127.0.0.1UH2   168  lo0


There is a way to set priority or precedence?
Even if I use ifconfig vnic2 deprecated, as stated in the man page,
outgoing packets have vnic2 ip address as source ip.


Ciao
A


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] KVM on Illumos

2011-08-19 Thread Christopher Chan

On Friday, August 19, 2011 03:38 AM, Nikola M wrote:

Dave Koelmeyer wrote:

For those that haven't already seen:

http://dtrace.org/blogs/bmc/2011/08/15/kvm-on-illumos/

I would like to know, now that is KVM here in Illumos
(and presumably in OpenIndiana and when also AMD CPU support is written,
beside Intel support),
does that means we have something more powerful than XEN is?



I thought kvm was more interesting for running guests like Windows and 
more of a competitor to virtualbox?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss