Diff for /wikisrc/ports/xen/howto.mdwn between versions 1.27 and 1.28

version 1.27, 2014/12/24 08:32:49 version 1.28, 2014/12/24 14:35:23
Line 250  As with non-Xen systems, you should have Line 250  As with non-Xen systems, you should have
 kernel that works without Xen) and fallback versions of the non-Xen  kernel that works without Xen) and fallback versions of the non-Xen
 kernel, Xen, and the dom0 kernel.  kernel, Xen, and the dom0 kernel.
   
   The [HowTo on Installing into
   RAID-1](http://mail-index.NetBSD.org/port-xen/2006/03/01/0010.html)
   explains how to set up booting a dom0 with Xen using grub with
   NetBSD's RAIDframe.  (This is obsolete with the use of NetBSD's native
   boot.)
   
 Configuring Xen  Configuring Xen
 ---------------  ---------------
   
Line 298  Ensure that the contents of /etc/rc.d/xe Line 304  Ensure that the contents of /etc/rc.d/xe
 correct set of daemons.  Ensure that the domU config files are valid  correct set of daemons.  Ensure that the domU config files are valid
 for the new version.  for the new version.
   
 Creating unprivileged domains (domU)  
 ====================================  Unprivileged domains (domU)
   ===========================
   
   This section describes general concepts about domUs.  It does not
   address specific domU operating systems or how to install them.
   
   Provided Resources for PV domains
   ---------------------------------
   
   TODO: Explain that domUs get cpu, memory, disk and network.
   Explain that randomness can be an issue.
   
   Virtual disks
   -------------
   
   TODO: Explain how to set up files for vnd and that one should write all zeros to preallocate.
   TODO: Explain in what NetBSD versions sparse vnd files do and don't work.
   
   Virtual Networking
   ------------------
   
   TODO: explain xvif concept, and that it's general.
   
   There are two normal styles: bridging and NAT.
   
   With bridging, the domU perceives itself to be on the same network as
   the dom0.  For server virtualization, this is usually best.
   
   With NAT, the domU perceives itself to be behind a NAT running on the
   dom0.  This is often appropriate when running Xen on a workstation.
   
   One can construct arbitrary other configurations, but there is no
   script support.
   
   Config files
   ------------
   
   TODO: give example config files.   Use both lvm and vnd.
   
   TODO: explain the mess with 3 arguments for disks and how to cope (0x1).
   
   Starting domains
   ----------------
   
   TODO: Explain "xm start" and "xl start".  Explain rc.d/xendomains.
   
   TODO: Explain why 4.1 rc.d/xendomains has xl, when one should use xm
   on 4.1.
   
   Creating specific unprivileged domains (domU)
   =============================================
   
 Creating domUs is almost entirely independent of operating system.  We  Creating domUs is almost entirely independent of operating system.  We
 first explain NetBSD, and then differences for Linux and Solaris.  first explain NetBSD, and then differences for Linux and Solaris.
Line 447  working vif-bridge is also provided with Line 503  working vif-bridge is also provided with
   
     #!/bin/sh      #!/bin/sh
     #============================================================================      #============================================================================
     # $NetBSD: howto.mdwn,v 1.26 2014/12/24 01:38:26 gdt Exp $      # $NetBSD: howto.mdwn,v 1.27 2014/12/24 08:32:49 jnemeth Exp $
     #      #
     # /usr/pkg/etc/xen/vif-bridge      # /usr/pkg/etc/xen/vif-bridge
     #      #
Line 824  to use PCI devices in a domU. Here's a k Line 880  to use PCI devices in a domU. Here's a k
     sd*     at scsibus? target ? lun ?      # SCSI disk drives      sd*     at scsibus? target ? lun ?      # SCSI disk drives
     cd*     at scsibus? target ? lun ?      # SCSI CD-ROM drives      cd*     at scsibus? target ? lun ?      # SCSI CD-ROM drives
   
 Links and further information  
 =============================  
   
 -   The [HowTo on Installing into RAID-1](http://mail-index.NetBSD.org/port-xen/2006/03/01/0010.html)  NetBSD as a domU in a VPS
     explains how to set up booting a dom0 with Xen using grub   =========================
     with NetBSD's RAIDframe.  (This is obsolete with the use of  
     NetBSD's native boot.)  The bulk of the HOWTO is about using NetBSD as a dom0 on your own
 -   An example of how to use NetBSD's native bootloader to load  hardware.  This section explains how to deal with Xen in a domU as a
     NetBSD/Xen instead of Grub can be found in the i386/amd64 boot(8)  virtual private server where you do not control or have access to the
     and boot.cfg(5) manpages.  dom0.
   
   TODO: Perhaps reference panix, prmgr, amazon as interesting examples.
   
   TODO: Somewhere, discuss pvgrub and py-grub to load the domU kernel
   from the domU filesystem.

Removed from v.1.27  
changed lines
  Added in v.1.28


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb