Update to r52827:
A few changes to the Xen setup: 1) The line sysrc -f /etc/sysctl.conf vm.max_wired=-1 does not work, it only returns an error about a name containing characters not allowed in shell. Instead, use echo to add the line to sysctl.conf. 2) Fix the rules for automatic bridge creation, taken from the bridging chapter of the handbook. 3) Add a note that FreeBSD's Dom0 requires booting in legacy (BIOS) mode. 4) Remove mention of xen.4th for the loader menu. It's not working anymore with the Lua loader that we have now. Until this is fixed, don't refer readers to it.
This commit is contained in:
parent
5d1b3fda75
commit
73f92382d4
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=53005
1 changed files with 14 additions and 14 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
$FreeBSD$
|
||||
$FreeBSDde: de-docproj/books/handbook/virtualization/chapter.xml,v 1.14 2010/07/03 14:29:30 jkois Exp $
|
||||
basiert auf: r52814
|
||||
basiert auf: r52827
|
||||
-->
|
||||
<chapter xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
||||
|
@ -1562,6 +1562,13 @@ kld_list="vmm nmdm"</programlisting>
|
|||
EPT</link>) und Input/Output Memory Management Unit
|
||||
(<link xlink:href="https://de.wikipedia.org/wiki/IOMMU">IOMMU</link>)
|
||||
im Host-Prozessor.</para>
|
||||
|
||||
<note>
|
||||
<para>Um ein &os; &xen; Dom0 betreiben zu können, muss die
|
||||
Maschine mit <foreignphrase>Legacy Boot</foreignphrase>
|
||||
(BIOS) gestartet werden.</para>
|
||||
</note>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="virtualization-host-xen-dom0-setup">
|
||||
|
@ -1583,7 +1590,7 @@ kld_list="vmm nmdm"</programlisting>
|
|||
Begrenzung für Speicherseiten. Andernfalls lassen sich DomU
|
||||
VMs mit höheren Speicheranforderungen nicht ausführen.</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>sysrc -f /etc/sysctl.conf vm.max_wired=-1</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>echo 'vm.max_wired=-1' >> /etc/sysctl.conf</userinput></screen>
|
||||
|
||||
<para>Für eine andere speicherbezogene Einstellung muss in
|
||||
<filename>/etc/login.conf</filename> die Option
|
||||
|
@ -1638,12 +1645,6 @@ kld_list="vmm nmdm"</programlisting>
|
|||
falls es zu Problemen kommt.</para>
|
||||
</tip>
|
||||
|
||||
<para>&xen; bietet ein Bootmenü zur Aktivierung und
|
||||
Deaktivierung des Hypervisors in
|
||||
<filename>/boot/menu.rc.local</filename>:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>echo "try-include /boot/xen.4th" >> /boot/menu.rc.local</userinput></screen>
|
||||
|
||||
<para>Aktivieren Sie den xencommons Dienst während des
|
||||
Systemstarts:</para>
|
||||
|
||||
|
@ -1655,12 +1656,12 @@ kld_list="vmm nmdm"</programlisting>
|
|||
beheben, können Sie eine Netzwerkbrücke über die
|
||||
Netzwerkschnittstelle des Hosts herstellen, die die DomU-VMs
|
||||
für die Verbindung zum Netzwerk benutzen können. Ersetzen Sie
|
||||
<replaceable>igb0</replaceable> durch den Namen der
|
||||
<replaceable>em0</replaceable> durch den Namen der
|
||||
Netzwerkschnittstelle des Hosts.</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>sysrc autobridge_interfaces=bridge0</userinput>
|
||||
&prompt.root; <userinput>sysrc autobridge_bridge0=<replaceable>igb0</replaceable></userinput>
|
||||
&prompt.root; <userinput>sysrc ifconfig_bridge0=SYNCDHCP</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>sysrc cloned_interfaces="bridge0"</userinput>
|
||||
&prompt.root; <userinput>sysrc ifconfig_bridge0="addm <replaceable>em0</replaceable> SYNCDHCP"</userinput>
|
||||
&prompt.root; <userinput>sysrc ifconfig_em0="up"</userinput></screen>
|
||||
|
||||
<para>Starten Sie den Host neu, um den &xen;-Kernel zu laden und
|
||||
den Dom0 zu starten.</para>
|
||||
|
@ -1702,8 +1703,7 @@ Domain-0 0 8192 4 r----- 962.0<
|
|||
und lokal in der Datei <filename>freebsd.iso</filename>
|
||||
gespeichert.</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>fetch
|
||||
<replaceable>ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/<replaceable>12.0</replaceable>/FreeBSD-<replaceable>12.0</replaceable>-RELEASE-amd64-bootonly.iso</replaceable> -o <replaceable>freebsd.iso</replaceable></userinput></screen>
|
||||
<screen>&prompt.root; <userinput>fetch <replaceable>ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/<replaceable>12.0</replaceable>/FreeBSD-<replaceable>12.0</replaceable>-RELEASE-amd64-bootonly.iso</replaceable> -o <replaceable>freebsd.iso</replaceable></userinput></screen>
|
||||
|
||||
<para>Ein ZFS Volume von 20 GB namens
|
||||
<filename>xendisk0</filename> wird erstellt und dient der VM
|
||||
|
|
Loading…
Reference in a new issue