VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/solaris-zones.dita

最後變更 在這個檔案是 107390,由 vboxsync 提交於 8 週 前

Docs: bugref:10705. bugref: 10829. The docs build has been modified to split generated refentry dita files and the user manual files and the following commits from doc's team git repo has been applied:

0946136c74dda0483704db891345cb39548b4e28 Started consolidating known issues and troubleshooting information
845b847e6a8e778b38a57867e25ee5e086a73800 Added individual topics for list of known issues, integrated into Troubleshooting section.
bb574836aac775889bd61e4a72f489617fcb7d18 Removed EFI firmware from experimental features for 7.2
6d2e68b244869991e713d170ecd239739d99ba56 Moved known issues into Known Issues section
e2630c896561587718b5c3197c384a38d07014d5 Merge branch 'VBP-1461_experimental-features' into 'main'
0512e2cce51f49ccdc56f3381a2a0c924f2bd278 Feedback on known issues
a77d6c980f6ff5cad9d32b2fb9290990093a03fa Restructured host and guest OS topics
988af5cc9628f5de0806531bc98686f691a911fd Updates with feedbback from Jacob
982a61c9f25b22b745ec483e763e3d88efe59c40 Included feedback from Jacob
93181c8c6cc2d9a26bcccb1145cb0423c0d9f4c9 Updated known issues with feedback from Klaus
8bc369561c383f09b409fe5e44f507440b3735fb Created Legacy Guest OS section
d7932f55accdab7a03666302d58b8c941cd48be2 Moved known issues to more appropriate places for the info
2a4aa094ba8a7ac6894d2a777316eabf41746580 Further moving of known issues
baeabd5308c5519a4dc26b4197be9b00e419a85a Updated links to cli_topics

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 3.3 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE topic
3 PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
4<topic xml:lang="en-us" id="solaris-zones">
5 <title>Configuring a Non-Global Zone for Running <ph conkeyref="vbox-conkeyref-phrases/product-name"/></title>
6
7 <body>
8 <p>After installing <ph conkeyref="vbox-conkeyref-phrases/product-name"/> in the global zone (see
9 <xref href="install-solaris-host.dita#install-solaris-host"/> for the installation instructions) the first step
10 required to run <ph conkeyref="vbox-conkeyref-phrases/product-name"/> in a non-global zone is to modify the zone's
11 configuration to be able to access the <ph conkeyref="vbox-conkeyref-phrases/product-name"/> device nodes located
12 in the global zone. This is done by performing the following steps as a zone administrator in the global zone. </p>
13 <pre xml:space="preserve">global$ zonecfg -z <varname>vboxzone</varname>
14 </pre>
15 <p>Replace <varname>vboxzone</varname> with the name of the non-gloabl zone where you plan to run <ph
16 conkeyref="vbox-conkeyref-phrases/product-name"/>. </p>
17 <p>Use <userinput>zonecfg(8)</userinput> to add the <codeph>device</codeph> resource and the
18 <codeph>match</codeph> property for each <ph conkeyref="vbox-conkeyref-phrases/product-name"/> device node in
19 the global zone to the non-global zone as follows: </p>
20 <pre xml:space="preserve">zonecfg:vboxzone&gt; add device
21zonecfg:vboxzone:device&gt; set match=/dev/vboxdrv
22zonecfg:vboxzone:device&gt; end
23zonecfg:vboxzone&gt; add device
24zonecfg:vboxzone:device&gt; set match=/dev/vboxdrvu
25zonecfg:vboxzone:device&gt; end
26zonecfg:vboxzone&gt; exit</pre>
27 <p>On Oracle Solaris 11 if you plan to use VMs configured to use a USB device, e.g. a USB pointing
28 device or a USB pass-through device, you should also pass through the <filepath>/dev/vboxusbmon</filepath> device
29 using the steps above. </p>
30 <p>Oracle Solaris 11 does not support sparse root zones so you will need to loopback mount
31 <filepath>/opt/VirtualBox</filepath> from the global zone into the non-global zone at the same path. This is
32 done using <userinput>zonecfg(8)</userinput> to set the <codeph>dir</codeph> attribute and the
33 <codeph>special</codeph> attribute for this directory. For example: </p>
34 <pre xml:space="preserve">zonecfg:vboxzone&gt; add fs
35zonecfg:vboxzone:fs&gt; set dir=/opt/VirtualBox
36zonecfg:vboxzone:fs&gt; set special=/opt/VirtualBox
37zonecfg:vboxzone:fs&gt; set type=lofs
38zonecfg:vboxzone:fs&gt; add options [readonly]
39zonecfg:vboxzone:fs&gt; end
40zonecfg:vboxzone&gt; exit</pre>
41 <p>After making the above changes using <userinput>zonecfg(8)</userinput>, reboot the zone using
42 <userinput>zoneadm(8)</userinput> as follows: </p>
43 <pre xml:space="preserve">global$ zoneadm -z <varname>vboxzone</varname> reboot
44 </pre>
45 <p>for the changes to take effect. You will then be able to run <ph
46 conkeyref="vbox-conkeyref-phrases/product-name"/> from /opt/VirtualBox within the configured non-global zone. </p>
47 </body>
48
49 </topic>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette