Hi, I used xen about 2 years back, then moved to vmware esxi. Would like to go back to xen. Have a couple of questions. I spent a lot of time googling, and have been thoroughly confused... A bit of background - I am using Debian Wheezy. I just did a apt-get update/upgrade and virt-manager cannot see my virtual machines anymore, other than dom0. Since I have not been impressed with virt-manager anyway (cannot reboot a virtual machine, etc), I have a question: 1) In debian, what is the best/native way to create/configure domUs? xen-utils-4.1? xen-tools? 2) Is there really no easier way to set up networking? I want to set up 2 private, non-routed networks, and one natted network, and one bridged network. The natted and bridged interface should be on the physical eth0, the private ones should not be on eth0 3) What is the best way to install win7? Use redhat''s unsigned drivers? 4) What is the best open solaris? Use e1000 network driver? 5) Is there a good way to do sata passthrough? I want to passthrough all my sata drives to opensolaris (to do ZFS) 6) I have 16Gigs of ram, should I really limit dom0''s ram to 2G or 4G? The other virtual machines will be brought up and down as need be. Really appreciate any help you can provide. A definitive link for each of the above would be great! :) :) -- http://www.glumbert.com/media/shift http://www.youtube.com/watch?v=tGvHNNOLnCk "This officer''s men seem to follow him merely out of idle curiosity." -- Sandhurst officer cadet evaluation. "Securing an environment of Windows platforms from abuse - external or internal - is akin to trying to install sprinklers in a fireworks factory where smoking on the job is permitted." -- Gene Spafford learn french: http://www.youtube.com/watch?v=30v_g83VHK4 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
bofh wrote:>1) In debian, what is the best/native way to create/configure domUs? > xen-utils-4.1? xen-tools?These days I do it manually. debootstrap to create an initial image, but then I just clone that to make new guests.>2) Is there really no easier way to set up networking? I want to set >up 2 private, non-routed networks, and one natted network, and one >bridged network. The natted and bridged interface should be on the >physical eth0, the private ones should not be on eth0Hard to answer when you don''t say what the comparison is with ! Just don''t use any Xen network-script and create the bridges with the native tools. Creating bridges is a doddle in Debian these days.>6) I have 16Gigs of ram, should I really limit dom0''s ram to 2G or >4G?Probably less. Apparently various tables are sized at boot time according to total RAM. So limiting RAM to what is actually needed results in these tables being sized accordingly. Besides, it avoids resizing Dom0 memory every time you start/stop a guest. PS - BOFH ? Surely an imposter. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Oct 17, 2011 at 6:12 PM, Simon Hobson <linux@thehobsons.co.uk> wrote:> bofh wrote: > >> 1) In debian, what is the best/native way to create/configure domUs? >> xen-utils-4.1? xen-tools? > > These days I do it manually. debootstrap to create an initial image, but > then I just clone that to make new guests.OK, debootstrap... OK means cp everything? I can do that.>> 2) Is there really no easier way to set up networking? I want to set >> up 2 private, non-routed networks, and one natted network, and one >> bridged network. The natted and bridged interface should be on the >> physical eth0, the private ones should not be on eth0 > > Hard to answer when you don''t say what the comparison is with ! > Just don''t use any Xen network-script and create the bridges with the native > tools. Creating bridges is a doddle in Debian these days.I want to create my VMs to use one (or more) of the four interfaces a) non-routed self contained class C (192.168.100.0/24) b) non-routed self contained class C (192.168.200.0/24) c) natted interface to eth0 (so that I can "hide" behind a NAT) d) bridged interface to eth0 (so that I can pick up a live IP off the wire) So d) sounds like I just create a bridge, and point my VMs to the bridge. OK, easy enough.>> 6) I have 16Gigs of ram, should I really limit dom0''s ram to 2G or >> 4G? > > Probably less. Apparently various tables are sized at boot time according to > total RAM. So limiting RAM to what is actually needed results in these > tables being sized accordingly. Besides, it avoids resizing Dom0 memory > every time you start/stop a guest.Since this is my laptop, I''m thinking of using dom0 for my primary desktop too :P :P :P :P> PS - BOFH ? Surely an imposter.Hmm, what was your email address again? -- http://www.glumbert.com/media/shift http://www.youtube.com/watch?v=tGvHNNOLnCk "This officer''s men seem to follow him merely out of idle curiosity." -- Sandhurst officer cadet evaluation. "Securing an environment of Windows platforms from abuse - external or internal - is akin to trying to install sprinklers in a fireworks factory where smoking on the job is permitted." -- Gene Spafford learn french: http://www.youtube.com/watch?v=30v_g83VHK4 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
bofh wrote:>I want to create my VMs to use one (or more) of the four interfaces > >a) non-routed self contained class C (192.168.100.0/24) >b) non-routed self contained class C (192.168.200.0/24) >c) natted interface to eth0 (so that I can "hide" behind a NAT) >d) bridged interface to eth0 (so that I can pick up a live IP off the wire) > >So d) sounds like I just create a bridge, and point my VMs to the >bridge. OK, easy enough.Ditto a and b - just create extra bridges for them. For c, you can run a DomU that does the routing/filtering function between d and a/b. That''s what I have at home, a DomU takes the place of the traditional little white box - except that the outside is now a PPPoE interface, it used to be a dedicated NIC using pciback.hide etc.> >> 6) I have 16Gigs of ram, should I really limit dom0''s ram to 2G or >>> 4G? >> >> Probably less. Apparently various tables are sized at boot time according to >> total RAM. So limiting RAM to what is actually needed results in these >> tables being sized accordingly. Besides, it avoids resizing Dom0 memory >> every time you start/stop a guest. > >Since this is my laptop, I''m thinking of using dom0 for my primary >desktop too :P :P :P :PThat''s different then. No need to limit RAM and whatever you aren''t using for guests will be available for you.> > PS - BOFH ? Surely an imposter. > >Hmm, what was your email address again?But my **name** is Simon ;-) -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users