VirtualBox

source: vbox/trunk/doc/manual/en_US/user_Introduction.xml@ 96300

Last change on this file since 96300 was 95789, checked in by vboxsync, 3 years ago

doc/manual: fix previous change

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
  • Property svn:mergeinfo set to (toggle deleted branches)
    /branches/VBox-4.0/doc/manual/en_US/user_Introduction.xml71214
    /branches/VBox-4.2/doc/manual/en_US/user_Introduction.xml91503-91504,​91506-91508,​91510,​91514-91515,​91521
    /branches/VBox-4.3/doc/manual/en_US/user_Introduction.xml91223
    /branches/VBox-4.3/trunk/doc/manual/en_US/user_Introduction.xml91223
    /branches/VBox-5.0/doc/manual/en_US/user_Introduction.xml104445
    /branches/dsen/gui/doc/manual/en_US/user_Introduction.xml79076-79078,​79089,​79109-79110,​79112-79113,​79127-79130,​79134,​79141,​79151,​79155,​79157-79159,​79193,​79197
    /branches/dsen/gui2/doc/manual/en_US/user_Introduction.xml79224,​79228,​79233,​79235,​79258,​79262-79263,​79273,​79341,​79345,​79354,​79357,​79387-79388,​79559-79569,​79572-79573,​79578,​79581-79582,​79590-79591,​79598-79599,​79602-79603,​79605-79606,​79632,​79635,​79637,​79644
    /branches/dsen/gui3/doc/manual/en_US/user_Introduction.xml79645-79692
File size: 158.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
4<!ENTITY % all.entities SYSTEM "all-entities.ent">
5%all.entities;
6]>
7<chapter id="Introduction">
8
9 <title>First Steps</title>
10
11 <para>
12 Welcome to &product-name;.
13 </para>
14
15 <para>
16 &product-name; is a cross-platform virtualization application. What
17 does that mean? For one thing, it installs on your existing Intel or
18 AMD-based computers, whether they are running Windows, macOS,
19 Linux, or Oracle Solaris operating systems (OSes). Secondly, it
20 extends the capabilities of your existing computer so that it can
21 run multiple OSes, inside multiple virtual machines, at the same
22 time. As an example, you can run Windows and Linux on your Mac, run
23 Windows Server 2016 on your Linux server, run Linux on your Windows
24 PC, and so on, all alongside your existing applications. You can
25 install and run as many virtual machines as you like. The only
26 practical limits are disk space and memory.
27 </para>
28
29 <para>
30 &product-name; is deceptively simple yet also very powerful. It can
31 run everywhere from small embedded systems or desktop class machines
32 all the way up to datacenter deployments and even Cloud
33 environments.
34 </para>
35
36 <para>
37 The following screenshot shows how &product-name;, installed on an
38 Apple Mac computer, is running Windows Server 2016 in a virtual
39 machine window.
40 </para>
41
42 <figure id="fig-win2016-intro">
43 <title>Windows Server 2016 Virtual Machine, Displayed on a macOS Host</title>
44 <mediaobject>
45 <imageobject>
46 <imagedata align="center" fileref="images/vm-vista-running.png"
47 width="14cm" />
48 </imageobject>
49 </mediaobject>
50 </figure>
51
52 <para>
53 In this User Manual, we will begin simply with a quick introduction
54 to virtualization and how to get your first virtual machine running
55 with the easy-to-use &product-name; graphical user interface.
56 Subsequent chapters will go into much more detail covering more
57 powerful tools and features, but fortunately, it is not necessary to
58 read the entire User Manual before you can use &product-name;.
59 </para>
60
61 <para>
62 You can find a summary of &product-name;'s capabilities in
63 <xref linkend="features-overview" />. For existing &product-name;
64 users who just want to find out what is new in this release, see the
65 <xref linkend="ChangeLog"/>.
66 </para>
67
68 <sect1 id="virt-why-useful">
69
70 <title>Why is Virtualization Useful?</title>
71
72 <para>
73 The techniques and features that &product-name; provides are
74 useful in the following scenarios:
75 </para>
76
77 <itemizedlist>
78
79 <listitem>
80 <para>
81 <emphasis role="bold">Running multiple operating systems
82 simultaneously.</emphasis> &product-name; enables you to run
83 more than one OS at a time. This way, you can run software
84 written for one OS on another, such as Windows software on
85 Linux or a Mac, without having to reboot to use it. Since you
86 can configure what kinds of <emphasis>virtual</emphasis>
87 hardware should be presented to each such OS, you can install
88 an old OS such as DOS or OS/2 even if your real computer's
89 hardware is no longer supported by that OS.
90 </para>
91 </listitem>
92
93 <listitem>
94 <para>
95 <emphasis role="bold">Easier software
96 installations.</emphasis> Software vendors can use virtual
97 machines to ship entire software configurations. For example,
98 installing a complete mail server solution on a real machine
99 can be a tedious task. With &product-name;, such a complex
100 setup, often called an <emphasis>appliance</emphasis>, can be
101 packed into a virtual machine. Installing and running a mail
102 server becomes as easy as importing such an appliance into
103 &product-name;.
104 </para>
105 </listitem>
106
107 <listitem>
108 <para>
109 <emphasis role="bold">Testing and disaster
110 recovery.</emphasis> Once installed, a virtual machine and its
111 virtual hard disks can be considered a
112 <emphasis>container</emphasis> that can be arbitrarily frozen,
113 woken up, copied, backed up, and transported between hosts.
114 </para>
115
116 <para>
117 On top of that, with the use of another &product-name; feature
118 called <emphasis>snapshots</emphasis>, one can save a
119 particular state of a virtual machine and revert back to that
120 state, if necessary. This way, one can freely experiment with
121 a computing environment. If something goes wrong, such as
122 problems after installing software or infecting the guest with
123 a virus, you can easily switch back to a previous snapshot and
124 avoid the need of frequent backups and restores.
125 </para>
126
127 <para>
128 Any number of snapshots can be created, allowing you to travel
129 back and forward in virtual machine time. You can delete
130 snapshots while a VM is running to reclaim disk space.
131 </para>
132 </listitem>
133
134 <listitem>
135 <para>
136 <emphasis role="bold">Infrastructure consolidation.</emphasis>
137 Virtualization can significantly reduce hardware and
138 electricity costs. Most of the time, computers today only use
139 a fraction of their potential power and run with low average
140 system loads. A lot of hardware resources as well as
141 electricity is thereby wasted. So, instead of running many
142 such physical computers that are only partially used, one can
143 pack many virtual machines onto a few powerful hosts and
144 balance the loads between them.
145 </para>
146 </listitem>
147
148 </itemizedlist>
149
150 </sect1>
151
152 <sect1 id="virtintro">
153
154 <title>Some Terminology</title>
155
156 <para>
157 When dealing with virtualization, and also for understanding the
158 following chapters of this documentation, it helps to acquaint
159 oneself with a bit of crucial terminology, especially the
160 following terms:
161 </para>
162
163 <itemizedlist>
164
165 <listitem>
166 <para>
167 <emphasis role="bold">Host operating system (host
168 OS).</emphasis> This is the OS of the physical computer on
169 which &product-name; was installed. There are versions of
170 &product-name; for Windows, macOS, Linux, and Oracle
171 Solaris hosts. See <xref linkend="hostossupport" />.
172 </para>
173
174 <para>
175 Most of the time, this manual discusses all &product-name;
176 versions together. There may be platform-specific differences
177 which we will point out where appropriate.
178 </para>
179 </listitem>
180
181 <listitem>
182 <para>
183 <emphasis role="bold">Guest operating system (guest
184 OS).</emphasis> This is the OS that is running inside the
185 virtual machine. Theoretically, &product-name; can run any x86
186 OS such as DOS, Windows, OS/2, FreeBSD, and OpenBSD. But to
187 achieve near-native performance of the guest code on your
188 machine, we had to go through a lot of optimizations that are
189 specific to certain OSes. So while your favorite OS
190 <emphasis>may</emphasis> run as a guest, we officially support
191 and optimize for a select few, which include the most common
192 OSes.
193 </para>
194
195 <para>
196 See <xref linkend="guestossupport" />.
197 </para>
198 </listitem>
199
200 <listitem>
201 <para>
202 <emphasis role="bold">Virtual machine (VM).</emphasis> This is
203 the special environment that &product-name; creates for your
204 guest OS while it is running. In other words, you run your
205 guest OS <emphasis>in</emphasis> a VM. Normally, a VM is shown
206 as a window on your computer's desktop. Depending on which of
207 the various frontends of &product-name; you use, the VM might
208 be shown in full screen mode or remotely on another computer.
209 </para>
210
211 <para>
212 Internally, &product-name; treats a VM as a set of parameters
213 that specify its behavior. Some parameters describe hardware
214 settings, such as the amount of memory and number of CPUs
215 assigned. Other parameters describe the state information,
216 such as whether the VM is running or saved.
217 </para>
218
219 <para>
220 You can view these VM settings in the VirtualBox Manager
221 window, the <emphasis role="bold">Settings</emphasis> dialog,
222 and by running the <command>VBoxManage</command> command. See
223 <xref linkend="vboxmanage" />.
224 </para>
225 </listitem>
226
227 <listitem>
228 <para>
229 <emphasis role="bold">Guest Additions.</emphasis> This refers
230 to special software packages which are shipped with
231 &product-name; but designed to be installed
232 <emphasis>inside</emphasis> a VM to improve performance of the
233 guest OS and to add extra features. See
234 <xref linkend="guestadditions" />.
235 </para>
236 </listitem>
237
238 </itemizedlist>
239
240 </sect1>
241
242 <sect1 id="features-overview">
243
244 <title>Features Overview</title>
245
246 <para>
247 The following is a brief outline of &product-name;'s main
248 features:
249 </para>
250
251 <itemizedlist>
252
253 <listitem>
254 <para>
255 <emphasis role="bold">Portability.</emphasis> &product-name;
256 runs on a large number of 64-bit host operating systems. See
257 <xref linkend="hostossupport" />.
258 </para>
259
260 <para>
261 &product-name; is a so-called <emphasis>hosted</emphasis>
262 hypervisor, sometimes referred to as a <emphasis>type
263 2</emphasis> hypervisor. Whereas a
264 <emphasis>bare-metal</emphasis> or <emphasis>type 1</emphasis>
265 hypervisor would run directly on the hardware, &product-name;
266 requires an existing OS to be installed. It can thus run
267 alongside existing applications on that host.
268 </para>
269
270 <para>
271 To a very large degree, &product-name; is functionally
272 identical on all of the host platforms, and the same file and
273 image formats are used. This enables you to run virtual
274 machines created on one host on another host with a different
275 host OS. For example, you can create a virtual machine on
276 Windows and then run it under Linux.
277 </para>
278
279 <para>
280 In addition, virtual machines can easily be imported and
281 exported using the Open Virtualization Format (OVF), an
282 industry standard created for this purpose. You can even
283 import OVFs that were created with a different virtualization
284 software. See <xref linkend="ovf" />.
285 </para>
286
287 <para>
288 For users of &oci; the functionality extends to exporting and
289 importing virtual machines to and from the cloud. This
290 simplifies development of applications and deployment to the
291 production environment. See
292 <xref linkend="cloud-export-oci"/>.
293 </para>
294 </listitem>
295
296 <listitem>
297 <para>
298 <emphasis role="bold">Guest Additions: shared folders,
299 seamless windows, 3D virtualization.</emphasis> The
300 &product-name; Guest Additions are software packages which can
301 be installed <emphasis>inside</emphasis> of supported guest
302 systems to improve their performance and to provide additional
303 integration and communication with the host system. After
304 installing the Guest Additions, a virtual machine will support
305 automatic adjustment of video resolutions, seamless windows,
306 accelerated 3D graphics and more. See
307 <xref linkend="guestadditions" />.
308 </para>
309
310 <para>
311 In particular, Guest Additions provide for <emphasis>shared
312 folders</emphasis>, which let you access files on the host
313 system from within a guest machine. See
314 <xref linkend="sharedfolders" />.
315 </para>
316 </listitem>
317
318 <listitem>
319 <para>
320 <emphasis role="bold">Great hardware support.</emphasis> Among
321 other features, &product-name; supports the following:
322 </para>
323
324 <itemizedlist>
325
326 <listitem>
327 <para>
328 <emphasis role="bold">Guest multiprocessing
329 (SMP).</emphasis> &product-name; can present up to 32
330 virtual CPUs to each virtual machine, irrespective of how
331 many CPU cores are physically present on your host.
332 </para>
333 </listitem>
334
335 <listitem>
336 <para>
337 <emphasis role="bold">USB device support.</emphasis>
338 &product-name; implements a virtual USB controller and
339 enables you to connect arbitrary USB devices to your
340 virtual machines without having to install device-specific
341 drivers on the host. USB support is not limited to certain
342 device categories. See <xref linkend="settings-usb" />.
343 </para>
344 </listitem>
345
346 <listitem>
347 <para>
348 <emphasis role="bold">Hardware compatibility.</emphasis>
349 &product-name; virtualizes a vast array of virtual
350 devices, among them many devices that are typically
351 provided by other virtualization platforms. That includes
352 IDE, SCSI, and SATA hard disk controllers, several virtual
353 network cards and sound cards, virtual serial and parallel
354 ports and an Input/Output Advanced Programmable Interrupt
355 Controller (I/O APIC), which is found in many computer
356 systems. This enables easy cloning of disk images from
357 real machines and importing of third-party virtual
358 machines into &product-name;.
359 </para>
360 </listitem>
361
362 <listitem>
363 <para>
364 <emphasis role="bold">Full ACPI support.</emphasis> The
365 Advanced Configuration and Power Interface (ACPI) is fully
366 supported by &product-name;. This enables easy cloning of
367 disk images from real machines or third-party virtual
368 machines into &product-name;. With its unique
369 <emphasis>ACPI power status support</emphasis>,
370 &product-name; can even report to ACPI-aware guest OSes
371 the power status of the host. For mobile systems running
372 on battery, the guest can thus enable energy saving and
373 notify the user of the remaining power, for example in
374 full screen modes.
375 </para>
376 </listitem>
377
378 <listitem>
379 <para>
380 <emphasis role="bold">Multiscreen resolutions.</emphasis>
381 &product-name; virtual machines support screen resolutions
382 many times that of a physical screen, allowing them to be
383 spread over a large number of screens attached to the host
384 system.
385 </para>
386 </listitem>
387
388 <listitem>
389 <para>
390 <emphasis role="bold">Built-in iSCSI support.</emphasis>
391 This unique feature enables you to connect a virtual
392 machine directly to an iSCSI storage server without going
393 through the host system. The VM accesses the iSCSI target
394 directly without the extra overhead that is required for
395 virtualizing hard disks in container files. See
396 <xref linkend="storage-iscsi" />.
397 </para>
398 </listitem>
399
400 <listitem>
401 <para>
402 <emphasis role="bold">PXE Network boot.</emphasis> The
403 integrated virtual network cards of &product-name; fully
404 support remote booting using the Preboot Execution
405 Environment (PXE).
406 </para>
407 </listitem>
408
409 </itemizedlist>
410 </listitem>
411
412 <listitem>
413 <para>
414 <emphasis role="bold">Multigeneration branched
415 snapshots.</emphasis> &product-name; can save arbitrary
416 snapshots of the state of the virtual machine. You can go back
417 in time and revert the virtual machine to any such snapshot
418 and start an alternative VM configuration from there,
419 effectively creating a whole snapshot tree. See
420 <xref linkend="snapshots" />. You can create and delete
421 snapshots while the virtual machine is running.
422 </para>
423 </listitem>
424
425 <listitem>
426 <para>
427 <emphasis role="bold">VM groups.</emphasis> &product-name;
428 provides a groups feature that enables the user to organize
429 and control virtual machines collectively, as well as
430 individually. In addition to basic groups, it is also possible
431 for any VM to be in more than one group, and for groups to be
432 nested in a hierarchy. This means you can have groups of
433 groups. In general, the operations that can be performed on
434 groups are the same as those that can be applied to individual
435 VMs: Start, Pause, Reset, Close (Save state, Send Shutdown,
436 Poweroff), Discard Saved State, Show in File System, Sort.
437 </para>
438 </listitem>
439
440 <listitem>
441 <para>
442 <emphasis role="bold">Clean architecture and unprecedented
443 modularity.</emphasis> &product-name; has an extremely modular
444 design with well-defined internal programming interfaces and a
445 clean separation of client and server code. This makes it easy
446 to control it from several interfaces at once. For example,
447 you can start a VM simply by clicking on a button in the
448 &product-name; graphical user interface and then control that
449 machine from the command line, or even remotely. See
450 <xref linkend="frontends" />.
451 </para>
452
453 <para>
454 Due to its modular architecture, &product-name; can also
455 expose its full functionality and configurability through a
456 comprehensive <emphasis role="bold">software development kit
457 (SDK),</emphasis> which enables integration of &product-name;
458 with other software systems. See
459 <xref linkend="VirtualBoxAPI" />.
460 </para>
461 </listitem>
462
463 <listitem>
464 <para>
465 <emphasis role="bold">Remote machine display.</emphasis> The
466 VirtualBox Remote Desktop Extension (VRDE) enables
467 high-performance remote access to any running virtual machine.
468 This extension supports the Remote Desktop Protocol (RDP)
469 originally built into Microsoft Windows, with special
470 additions for full client USB support.
471 </para>
472
473 <para>
474 The VRDE does not rely on the RDP server that is built into
475 Microsoft Windows. Instead, the VRDE is plugged directly into
476 the virtualization layer. As a result, it works with guest
477 OSes other than Windows, even in text mode, and does not
478 require application support in the virtual machine either. The
479 VRDE is described in detail in <xref linkend="vrde" />.
480 </para>
481
482 <para>
483 On top of this special capacity, &product-name; offers you
484 more unique features:
485 </para>
486
487 <itemizedlist>
488
489 <listitem>
490 <para>
491 <emphasis role="bold">Extensible RDP
492 authentication.</emphasis> &product-name; already supports
493 Winlogon on Windows and PAM on Linux for RDP
494 authentication. In addition, it includes an easy-to-use
495 SDK which enables you to create arbitrary interfaces for
496 other methods of authentication. See
497 <xref linkend="vbox-auth" />.
498 </para>
499 </listitem>
500
501 <listitem>
502 <para>
503 <emphasis role="bold">USB over RDP.</emphasis> Using RDP
504 virtual channel support, &product-name; also enables you
505 to connect arbitrary USB devices locally to a virtual
506 machine which is running remotely on an &product-name; RDP
507 server. See <xref linkend="usb-over-rdp" />.
508 </para>
509 </listitem>
510
511 </itemizedlist>
512 </listitem>
513
514 </itemizedlist>
515
516 </sect1>
517
518 <sect1 id="hostossupport">
519
520 <title>Supported Host Operating Systems</title>
521
522 <para>
523 Currently, &product-name; runs on the following host OSes:
524 </para>
525
526 <itemizedlist>
527
528 <listitem>
529 <para>
530 <emphasis role="bold">Windows hosts (64-bit):</emphasis>
531 </para>
532
533 <itemizedlist>
534
535 <listitem>
536 <para>
537 Windows 8.1
538 </para>
539 </listitem>
540
541 <listitem>
542 <para>
543 Windows 10
544 </para>
545 </listitem>
546
547 <listitem>
548 <para>
549 Windows 11 21H2
550 </para>
551 </listitem>
552
553 <listitem>
554 <para>
555 Windows Server 2012
556 </para>
557 </listitem>
558
559 <listitem>
560 <para>
561 Windows Server 2012 R2
562 </para>
563 </listitem>
564
565 <listitem>
566 <para>
567 Windows Server 2016
568 </para>
569 </listitem>
570
571 <listitem>
572 <para>
573 Windows Server 2019
574 </para>
575 </listitem>
576
577 <listitem>
578 <para>
579 Windows Server 2022
580 </para>
581 </listitem>
582
583 </itemizedlist>
584 </listitem>
585
586 <listitem>
587 <para>
588 <emphasis role="bold">macOS hosts (64-bit):</emphasis>
589 </para>
590
591 <itemizedlist>
592
593 <listitem>
594 <para>
595 10.15 (Catalina)
596 </para>
597 </listitem>
598
599 <listitem>
600 <para>
601 11 (Big Sur)
602 </para>
603 </listitem>
604
605 <listitem>
606 <para>
607 12 (Monterey)
608 </para>
609 </listitem>
610
611 </itemizedlist>
612
613 <para>
614 Intel hardware is required. See also
615 <xref linkend="KnownIssues" />.
616 </para>
617 </listitem>
618
619 <listitem>
620 <para>
621 <emphasis role="bold">Linux hosts (64-bit).</emphasis>
622 Includes the following:
623 </para>
624
625 <itemizedlist>
626
627 <listitem>
628 <para>
629 Ubuntu 18.04 LTS, 20.04 LTS and 22.04
630 </para>
631 </listitem>
632
633 <listitem>
634 <para>
635 Debian GNU/Linux 10 ("Buster") and 11 ("Bullseye")
636 </para>
637 </listitem>
638
639 <listitem>
640 <para>
641 Oracle Linux 6, 7 and 8
642 </para>
643 </listitem>
644
645 <listitem>
646 <para>
647 CentOS/Red Hat Enterprise Linux 7 and 8
648 </para>
649 </listitem>
650
651 <listitem>
652 <para>
653 Fedora 35 and 36
654 </para>
655 </listitem>
656
657 <listitem>
658 <para>
659 Gentoo Linux
660 </para>
661 </listitem>
662
663 <listitem>
664 <para>
665 SUSE Linux Enterprise server 12 and 15
666 </para>
667 </listitem>
668
669 <listitem>
670 <para>
671 openSUSE Leap 15.3
672 </para>
673 </listitem>
674
675 </itemizedlist>
676
677 <para>
678 It should be possible to use &product-name; on most systems
679 based on Linux kernel 2.6, 3.x, 4.x or 5.x using either the
680 &product-name; installer or by doing a manual installation.
681 See <xref linkend="install-linux-host" />. However, the
682 formally tested and supported Linux distributions are those
683 for which we offer a dedicated package.
684 </para>
685
686 <para>
687 Note that Linux 2.4-based host OSes are no longer supported.
688 </para>
689 </listitem>
690
691 <listitem>
692 <para>
693 <emphasis role="bold">Oracle Solaris hosts (64-bit
694 only).</emphasis> The following versions are supported with
695 the restrictions listed in <xref linkend="KnownIssues" />:
696 </para>
697
698 <itemizedlist>
699
700 <listitem>
701 <para>
702 Oracle Solaris 11.4
703 </para>
704 </listitem>
705
706 </itemizedlist>
707 </listitem>
708
709 </itemizedlist>
710
711 <para>
712 Note that any feature which is marked as
713 <emphasis>experimental</emphasis> is not supported. Feedback and
714 suggestions about such features are welcome.
715 </para>
716
717 <sect2 id="hostcpurequirements">
718
719 <title>Host CPU Requirements</title>
720
721 <para>
722 SSE2 (Streaming SIMD Extensions 2) support is required for host
723 CPUs.
724 </para>
725
726 </sect2>
727
728 </sect1>
729
730 <sect1 id="intro-installing">
731
732 <title>Installing &product-name; and Extension Packs</title>
733
734 <para>
735 &product-name; comes in many different packages, and installation
736 depends on your host OS. If you have installed software before,
737 installation should be straightforward. On each host platform,
738 &product-name; uses the installation method that is most common
739 and easy to use. If you run into trouble or have special
740 requirements, see <xref linkend="installation" /> for details
741 about the various installation methods.
742 </para>
743
744 <para>
745 &product-name; is split into the following components:
746 </para>
747
748 <itemizedlist>
749
750 <listitem>
751 <para>
752 <emphasis role="bold">Base package.</emphasis> The base
753 package consists of all open source components and is licensed
754 under the GNU General Public License V2.
755 </para>
756 </listitem>
757
758 <listitem>
759 <para>
760 <emphasis role="bold">Extension packs.</emphasis> Additional
761 extension packs can be downloaded which extend the
762 functionality of the &product-name; base package. Currently,
763 Oracle provides a single extension pack, available from:
764 <ulink url="http://www.virtualbox.org" />. The extension pack
765 provides the following added functionality:
766 </para>
767
768 <itemizedlist>
769
770 <listitem>
771 <para>
772 The virtual USB 2.0 (EHCI) device. See
773 <xref linkend="settings-usb" />.
774 </para>
775 </listitem>
776
777 <listitem>
778 <para>
779 The virtual USB 3.0 (xHCI) device. See
780 <xref linkend="settings-usb" />.
781 </para>
782 </listitem>
783
784 <listitem>
785 <para>
786 VirtualBox Remote Desktop Protocol (VRDP) support. See
787 <xref linkend="vrde" />.
788 </para>
789 </listitem>
790
791 <listitem>
792 <para>
793 Host webcam passthrough. See
794 <xref linkend="webcam-passthrough" />.
795 </para>
796 </listitem>
797
798 <listitem>
799 <para>
800 Intel PXE boot ROM.
801 </para>
802 </listitem>
803
804<!-- <listitem>
805 <para>
806 Experimental support for PCI passthrough on Linux hosts.
807 See <xref linkend="pcipassthrough" />.
808 </para>
809 </listitem>-->
810
811 <listitem>
812 <para>
813 Disk image encryption with AES algorithm. See
814 <xref linkend="diskencryption" />.
815 </para>
816 </listitem>
817
818 <listitem>
819 <para>
820 Cloud integration features. See <xref linkend="ovf"/>.
821 </para>
822 </listitem>
823
824 </itemizedlist>
825
826 <para>
827 &product-name; extension packages have a
828 <filename>.vbox-extpack</filename> file name extension. To
829 install an extension, simply double-click on the package file
830 and a <emphasis role="bold">Network Operations
831 Manager</emphasis> window is shown to guide you through the
832 required steps.
833 </para>
834
835 <para>
836 To view the extension packs that are currently installed,
837 start the VirtualBox Manager, as shown in
838 <xref linkend="intro-starting"/>. From the
839 <emphasis role="bold">File</emphasis> menu, select
840 <emphasis role="bold">Preferences</emphasis>. In the window
841 that displays, go to the
842 <emphasis role="bold">Extensions</emphasis> category. This
843 shows you the extensions which are currently installed, and
844 enables you to remove a package or add a new package.
845 </para>
846
847 <para>
848 Alternatively, you can use the <command>VBoxManage</command>
849 command line. See <xref linkend="vboxmanage-extpack" />.
850 </para>
851 </listitem>
852
853 </itemizedlist>
854
855 </sect1>
856
857 <sect1 id="intro-starting">
858
859 <title>Starting &product-name;</title>
860
861 <para>
862 After installation, you can start &product-name; as follows:
863 </para>
864
865 <itemizedlist>
866
867 <listitem>
868 <para>
869 On a Windows host, in the
870 <emphasis role="bold">Programs</emphasis> menu, click on the
871 item in the <emphasis role="bold">VirtualBox</emphasis> group.
872 On some Windows platforms, you can also enter
873 <command>VirtualBox</command> in the search box of the
874 <emphasis role="bold">Start</emphasis> menu.
875 </para>
876 </listitem>
877
878 <listitem>
879 <para>
880 On a macOS host, in the Finder, double-click on the
881 <emphasis role="bold">VirtualBox</emphasis> item in the
882 Applications folder. You may want to drag this item onto your
883 Dock.
884 </para>
885 </listitem>
886
887 <listitem>
888 <para>
889 On a Linux or Oracle Solaris host, depending on your desktop
890 environment, an &product-name; item may have been placed in
891 either the System or System Tools group of your
892 <emphasis role="bold">Applications</emphasis> menu.
893 Alternatively, you can enter <command>VirtualBox</command> in
894 a terminal window.
895 </para>
896 </listitem>
897
898 </itemizedlist>
899
900 <para>
901 When you start &product-name; for the first time, a window like
902 the following is displayed:
903 </para>
904
905 <figure id="fig-vbox-manager-initial">
906 <title>VirtualBox Manager Window, After Initial Startup</title>
907 <mediaobject>
908 <imageobject>
909 <imagedata align="center" fileref="images/virtualbox-main-empty.png"
910 width="10cm" />
911 </imageobject>
912 </mediaobject>
913 </figure>
914
915 <para>
916 This window is called the <emphasis role="bold">VirtualBox
917 Manager</emphasis>. The left pane will later list all your virtual
918 machines. Since you have not yet created any virtual machines,
919 this list is empty. The <emphasis role="bold">Tools</emphasis>
920 button provides access to user tools, such as the Virtual Media
921 Manager.
922 </para>
923
924 <para>
925 The pane on the right displays the properties of the currently
926 selected virtual machine. Since you do not have any machines yet,
927 the pane displays a welcome message.
928 </para>
929
930 <para>
931 The buttons on the right pane are used to create and work with
932 VMs.
933 </para>
934
935 <para>
936 The following figure gives an idea of what &product-name; might
937 look like after you have created some VMs.
938 </para>
939
940 <figure id="fig-vbox-manager-populated">
941 <title>VirtualBox Manager Window, After Creating Virtual Machines</title>
942 <mediaobject>
943 <imageobject>
944 <imagedata align="center" fileref="images/virtualbox-main.png"
945 width="12cm" />
946 </imageobject>
947 </mediaobject>
948 </figure>
949
950 </sect1>
951
952 <sect1 id="gui-createvm">
953
954 <title>Creating Your First Virtual Machine</title>
955
956 <para>
957 Selecting <emphasis role="bold">New</emphasis> menu item from
958 <emphasis role="bold">Machine</emphasis> menu of the Manager Window
959 shows a wizard which guides you through setting up a new virtual
960 machine (VM).
961 </para>
962
963 <figure id="fig-new-vm-name">
964 <title>Creating a New Virtual Machine: Name and Operating System</title>
965 <mediaobject>
966 <imageobject>
967 <imagedata align="center" fileref="images/create-vm-1.png"
968 width="10cm" />
969 </imageobject>
970 </mediaobject>
971 </figure>
972
973 <para>
974 On the following pages, the wizard will ask you for the bare
975 minimum of information that is needed to create a VM, in
976 particular:
977 </para>
978
979 <orderedlist>
980 <listitem>
981 <para>
982 The first page lets you specify name, location, and guest
983 operating system type. Additionally you can enable the unattended
984 guest operating system install feature (<xref linkend="gui-wizard-unattended"/>.).
985 </para>
986 <itemizedlist>
987 <listitem>
988 <para>
989 The <emphasis role="bold">Name</emphasis> of the VM you choose
990 is shown in the machine list of the VirtualBox Manager window
991 and is also used for the VM's files on disk.
992 </para>
993 <para>
994 Be sure to assign each VM an informative name that describes
995 the OS and software running on the VM. For example,
996 <literal>Windows 10 with Visio</literal>.
997 </para>
998 </listitem>
999 <listitem>
1000 <para>
1001 The <emphasis role="bold">Folder</emphasis> is the location
1002 where VMs are stored on your computer. The default folder
1003 location is shown.
1004 </para>
1005 </listitem>
1006 <listitem>
1007 <para>
1008 The <emphasis role="bold">ISO Image</emphasis> is ISO file which
1009 may be used to install the guest operating system or to be attached
1010 to DVD drive of the new virtual machine. Note that selecting
1011 an ISO image is optional. Please see the section <xref linkend="gui-wizard-unattended"/>.
1012 </para>
1013 </listitem>
1014 <listitem>
1015 <para>
1016 For <emphasis role="bold">Type</emphasis>,
1017 select the OS that you want to install. The supported OSes are
1018 grouped. If you want to install something very unusual that is
1019 not listed, select <emphasis role="bold">Other</emphasis>.
1020 Depending on your selection, &product-name; will enable or
1021 disable certain VM settings that your guest OS may require.
1022 This is particularly important for 64-bit guests. See
1023 <xref linkend="intro-64bitguests" />. It is therefore
1024 recommended to always set it to the correct value. Also note
1025 that if an ISO image is selected and &product-name; is able to detect
1026 an operating system from that ISO, <emphasis role="bold">Type</emphasis>
1027 and <emphasis role="bold">Version</emphasis> controls are populated
1028 accordingly and disabled.
1029 </para>
1030 </listitem>
1031 <listitem>
1032 <para>
1033 The checkox <emphasis role="bold">Skip Unattended Installation</emphasis>
1034 can be used to disable unattended guest OS installation even if an ISO
1035 image is selected that supports unattended install. In that case the
1036 selected ISO image is inserted DVD drive of the new virtual machine.
1037 </para>
1038 </listitem>
1039 </itemizedlist>
1040 </listitem>
1041 <listitem>
1042 <para>
1043 If unattended install is enabled then the second page of the wizard
1044 will show some controls which can be used to input values needed during
1045 unattended installation. These include username, password, host name,
1046 product key (only applies to some guest operating system type), etc.
1047 If for some reason unattended install is not enabled, this page is
1048 skipped.
1049 </para>
1050 </listitem>
1051 <listitem>
1052 <para>
1053 On the next page, select the <emphasis role="bold">Base Memory
1054 </emphasis> that &product-name; should allocate every
1055 time the virtual machine is started. The amount of memory
1056 given here will be taken away from your host machine and
1057 presented to the guest OS, which will report this size as the
1058 virtual computer's installed RAM. <emphasis role="bold">Processor(s)
1059 </emphasis> control determines how many virtual processors are to be
1060 assigned to new virtual machine.
1061 </para>
1062 <caution>
1063 <para>
1064 Choose this setting carefully. The memory you give to the VM
1065 will not be available to your host OS while the VM is
1066 running, so do not specify more than you can spare.
1067 Also note that it is not advised to assign more than
1068 half of the processor threads the host machine has.
1069 </para>
1070 <para>
1071 For example, if your host machine has 4 GB of RAM and you
1072 enter 2048 MB as the amount of RAM for a particular virtual
1073 machine, you will only have 2 GB left for all the other
1074 software on your host while the VM is running. If you run
1075 two VMs at the same time, even more memory will be allocated
1076 for the second VM, which may not even be able to start if
1077 that memory is not available.
1078 </para>
1079 <para>
1080 On the other hand, you should specify as much as your guest
1081 OS and your applications will require to run properly. A
1082 guest OS may require at least 1 or 2 GB of memory to install
1083 and boot up. For best performance, more memory than that may
1084 be required.
1085 </para>
1086 </caution>
1087 <para>
1088 Always ensure that the host OS has enough RAM remaining. If
1089 insufficient RAM remains, the system might excessively swap
1090 memory to the hard disk, which effectively brings the host
1091 system to a standstill.
1092 </para>
1093 <para>
1094 As with the other settings, you can change this setting later,
1095 after you have created the VM.
1096 </para>
1097 </listitem>
1098 <listitem>
1099 <para>
1100 Next, you must specify a <emphasis role="bold">Virtual Hard
1101 Disk</emphasis> for your VM.
1102 </para>
1103 <para>
1104 There are many and potentially complicated ways in which
1105 &product-name; can provide hard disk space to a VM, see
1106 <xref linkend="storage" />, but the most common way is to use
1107 a large image file on your physical hard disk, whose contents
1108 &product-name; presents to your VM as if it were a complete
1109 hard disk. This file then represents an entire hard disk, so
1110 you can even copy it to another host and use it with another
1111 &product-name; installation.
1112 </para>
1113 <para>
1114 The wizard displays the following page:
1115 </para>
1116 <figure id="fig-new-vm-hard-disk">
1117 <title>Creating a New Virtual Machine: Hard Disk</title>
1118 <mediaobject>
1119 <imageobject>
1120 <imagedata align="center" fileref="images/create-vm-2.png"
1121 width="10cm" />
1122 </imageobject>
1123 </mediaobject>
1124 </figure>
1125 <para>
1126 At this screen, you have the following options:
1127 </para>
1128 <itemizedlist>
1129 <listitem>
1130 <para>
1131 To create a new, empty virtual hard disk, please select
1132 <emphasis role="bold">Create a Virtual Hard Disk Now</emphasis>.
1133 This will create a new disk image file in the new virtual
1134 machine's folder.
1135 </para>
1136 <para>
1137 The checkbox <emphasis role="bold">Pre-allocate Full Size</emphasis>
1138 is initially not checked. This results in having a so called
1139 <emphasis role="bold">dynamically allocated file</emphasis>
1140 which only grows in size when the guest actually
1141 stores data on its virtual hard disk. Therefore, this file
1142 is small initially. As the drive is filled with data, the
1143 file grows to the specified size. When the mentioned checkbox
1144 is checked then &product-name; creates a
1145 <emphasis role="bold">fixed-size file</emphasis> which
1146 immediately occupies the file specified, even if only a
1147 fraction of that virtual hard disk space is actually in
1148 use. While occupying much more space, a fixed-size file
1149 incurs less overhead and is therefore slightly faster than
1150 a dynamically allocated file.
1151 </para>
1152 <para>
1153 For more details on the differences between
1154 <emphasis role="bold">dynamically allocated file</emphasis> and
1155 <emphasis role="bold">fixed-size file</emphasis> please see
1156 <xref linkend="vdidetails" />.
1157 </para>
1158 <para>
1159 To prevent your physical hard disk (host OS) from filling up,
1160 &product-name; limits the size of the image file. But the
1161 image file must be large enough to hold the contents of the
1162 guest OS and the applications you want to install. For a
1163 Windows or Linux guest, you will probably need several
1164 gigabytes for any serious use. The limit of the image file
1165 size can be changed later, see
1166 <xref linkend="vboxmanage-modifymedium"/>.
1167 </para>
1168 </listitem>
1169 <listitem>
1170 <para>
1171 You can pick an existing disk image
1172 file by selecting <emphasis role="bold">Use
1173 a Existing Virtual Hard Disk File </emphasis>.
1174 </para>
1175
1176 <para>
1177 The drop-down list presented in the window lists all disk
1178 images which are currently remembered by &product-name;.
1179 These disk images are currently attached to a virtual
1180 machine, or have been attached to a virtual machine.
1181 </para>
1182
1183 <para>
1184 Alternatively, click on the small
1185 <emphasis role="bold">folder icon</emphasis> next to the
1186 drop-down list. In the displayed file dialog, you can
1187 click <emphasis role="bold">Add</emphasis> to select any
1188 disk image file on your host disk.
1189 </para>
1190 </listitem>
1191 <listitem>
1192 <para>
1193 You can skip attaching a virtual hard disk file to the
1194 new virtual machine you are creating. Note that you will
1195 need to attach an hard disk later on in order to install a
1196 guest operating system.
1197 </para>
1198 </listitem>
1199 </itemizedlist>
1200 <para>
1201 If you are using &product-name; for the first time, you will
1202 want to create a new disk image. Select
1203 <emphasis role="bold">Create a Virtual Hard Disk Now</emphasis> button.
1204 </para>
1205 <para>
1206 After having selected or created your image file, click
1207 <emphasis role="bold">Next</emphasis> to go to the next page.
1208 </para>
1209 </listitem>
1210 <listitem>
1211 <para>The next page summarizes several attributes of the virtual
1212 machine to be created. If you are not appy if any of them you
1213 can use <emphasis role="bold">Back</emphasis> button to go
1214 back to corresponding page to modify it.</para>
1215 <para>
1216 Alternatively you can click <emphasis role="bold">Finish</emphasis>,
1217 to create your new virtual machine. The virtual machine is displayed
1218 in the list on the left side of the VirtualBox Manager window, with
1219 the name that you entered initially.
1220 </para>
1221 </listitem>
1222 </orderedlist>
1223 <note>
1224 <para>
1225 After becoming familiar with the use of wizards, consider using
1226 the Expert Mode available in some wizards. Where available, this
1227 is selectable using a button, and speeds up the process of using
1228 wizards.
1229 </para>
1230 </note>
1231 <sect2 id="gui-wizard-unattended">
1232 <title>Unattended Install</title>
1233 <para>
1234 When supported by the selected ISO &product-name; attempts to install
1235 the guest OS without any user input. When an ISO image is selected
1236 &product-name; tries to determine type of the OS. If this succeeds and
1237 if the selected OS is supported for the unattended install then the
1238 newly created virtual machine is started after this wizard is closed
1239 and OS install kicks off. Note that it is also possible to skip the
1240 unattended install by ticking the checkbox "Skip unattended installation".
1241 In this case the selected ISO is inserted to DVD drive of the new vm. The
1242 guest OS will need to be installed manually. If OS cannot be determined
1243 from the selected ISO or determined OS is not supported for the unattended
1244 installation then again ISO is inserted to the DVD drive of the new virtual
1245 machine and a manual guest OS install will be necessary.
1246 </para>
1247 </sect2>
1248 </sect1>
1249
1250 <sect1 id="intro-running">
1251
1252 <title>Running Your Virtual Machine</title>
1253
1254 <para>
1255 To start a virtual machine, you have several options:
1256 </para>
1257
1258 <itemizedlist>
1259
1260 <listitem>
1261 <para>
1262 Double-click on the VM's entry in the list in the VirtualBox
1263 Manager window.
1264 </para>
1265 </listitem>
1266
1267 <listitem>
1268 <para>
1269 Select the VM's entry in the list in the VirtualBox Manager
1270 window, and click <emphasis role="bold">Start</emphasis> at
1271 the top of the window.
1272 </para>
1273 </listitem>
1274
1275 <listitem>
1276 <para>
1277 Go to the <filename>VirtualBox VMs</filename> folder in your
1278 system user's home directory. Find the subdirectory of the
1279 machine you want to start and double-click on the machine
1280 settings file. This file has a <filename>.vbox</filename> file
1281 extension.
1282 </para>
1283 </listitem>
1284
1285 </itemizedlist>
1286
1287 <para>
1288 Starting a virtual machine displays a new window, and the virtual
1289 machine which you selected will boot up. Everything which would
1290 normally be seen on the virtual system's monitor is shown in the
1291 window. See the screenshot image in
1292 <xref linkend="Introduction"/>.
1293 </para>
1294
1295 <para>
1296 In general, you can use the virtual machine as you would use a
1297 real computer. There are couple of points worth mentioning
1298 however.
1299 </para>
1300
1301 <sect2 id="intro-starting-vm-first-time">
1302
1303 <title>Starting a New VM for the First Time</title>
1304
1305 <para>
1306 When a VM is started for the first time, the
1307 <emphasis role="bold">First Start Wizard</emphasis>, is
1308 displayed. This wizard helps you to select an installation
1309 medium. Since the VM is created empty, it would otherwise behave
1310 just like a real computer with no OS installed. It will do
1311 nothing and display an error message that no bootable OS was
1312 found.
1313 </para>
1314
1315 <para>
1316 For this reason, the wizard helps you to select a medium to
1317 install an OS from.
1318 </para>
1319
1320 <itemizedlist>
1321
1322 <listitem>
1323 <para>
1324 If you have physical CD or DVD media from which you want to
1325 install your guest OS, such as a Windows installation CD or
1326 DVD, put the media into your host's CD or DVD drive.
1327 </para>
1328
1329 <para>
1330 In the wizard's drop-down list of installation media, select
1331 <emphasis role="bold">Host Drive</emphasis> with the correct
1332 drive letter. In the case of a Linux host, choose a device
1333 file. This will allow your VM to access the media in your
1334 host drive, and you can proceed to install from there.
1335 </para>
1336 </listitem>
1337
1338 <listitem>
1339 <para>
1340 If you have downloaded installation media from the Internet
1341 in the form of an ISO image file such as with a Linux
1342 distribution, you would normally burn this file to an empty
1343 CD or DVD and proceed as described above. With
1344 &product-name; however, you can skip this step and mount the
1345 ISO file directly. &product-name; will then present this
1346 file as a CD or DVD-ROM drive to the virtual machine, much
1347 like it does with virtual hard disk images.
1348 </para>
1349
1350 <para>
1351 In this case, the wizard's drop-down list contains a list of
1352 installation media that were previously used with
1353 &product-name;.
1354 </para>
1355
1356 <para>
1357 If your medium is not in the list, especially if you are
1358 using &product-name; for the first time, click the small
1359 folder icon next to the drop-down list to display a standard
1360 file dialog. Here you can pick an image file on your host
1361 disks.
1362 </para>
1363 </listitem>
1364
1365 </itemizedlist>
1366
1367 <para>
1368 After completing the choices in the wizard, you will be able to
1369 install your OS.
1370 </para>
1371
1372 </sect2>
1373
1374 <sect2 id="keyb_mouse_normal">
1375
1376 <title>Capturing and Releasing Keyboard and Mouse</title>
1377
1378 <para>
1379 &product-name; provides a virtual USB tablet device to new
1380 virtual machines through which mouse events are communicated to
1381 the guest OS. If you are running a modern guest OS that can
1382 handle such devices, mouse support may work out of the box
1383 without the mouse being <emphasis>captured</emphasis> as
1384 described below. See <xref linkend="settings-motherboard" />.
1385 </para>
1386
1387 <para>
1388 Otherwise, if the virtual machine detects only standard PS/2
1389 mouse and keyboard devices, since the OS in the virtual machine
1390 does not know that it is not running on a real computer, it
1391 expects to have exclusive control over your keyboard and mouse.
1392 But unless you are running the VM in full screen mode, your VM
1393 needs to share keyboard and mouse with other applications and
1394 possibly other VMs on your host.
1395 </para>
1396
1397 <para>
1398 After installing a guest OS and before you install the Guest
1399 Additions, described later, either your VM or the rest of your
1400 computer can "own" the keyboard and the mouse. Both cannot own
1401 the keyboard and mouse at the same time. You will see a
1402 <emphasis>second</emphasis> mouse pointer which is always
1403 confined to the limits of the VM window. You activate the VM by
1404 clicking inside it.
1405 </para>
1406
1407 <para>
1408 To return ownership of keyboard and mouse to your host OS,
1409 &product-name; reserves a special key on your keyboard: the
1410 <emphasis>Host key</emphasis>. By default, this is the
1411 <emphasis>right Ctrl key</emphasis> on your keyboard. On a Mac
1412 host, the default Host key is the left Command key. You can
1413 change this default in the &product-name; Global Settings. See
1414 <xref linkend="globalsettings" />. The current setting for the
1415 Host key is always displayed at the bottom right of your VM
1416 window.
1417 </para>
1418
1419 <figure id="fig-host-key">
1420 <title>Host Key Setting on the Virtual Machine Task Bar</title>
1421 <mediaobject>
1422 <imageobject>
1423 <imagedata align="center" fileref="images/vm-hostkey.png"
1424 width="7cm" />
1425 </imageobject>
1426 </mediaobject>
1427
1428 </figure>
1429
1430 <para>
1431 This means the following:
1432 </para>
1433
1434 <itemizedlist>
1435
1436 <listitem>
1437 <para>
1438 Your <emphasis role="bold">keyboard</emphasis> is owned by
1439 the VM if the VM window on your host desktop has the
1440 keyboard focus. If you have many windows open in your guest
1441 OS, the window that has the focus in your VM is used. This
1442 means that if you want to enter text within your VM, click
1443 on the title bar of your VM window first.
1444 </para>
1445
1446 <para>
1447 To release keyboard ownership, press the Host key. As
1448 explained above, this is typically the right Ctrl key.
1449 </para>
1450
1451 <para>
1452 Note that while the VM owns the keyboard, some key
1453 sequences, such as Alt+Tab, will no longer be seen by the
1454 host, but will go to the guest instead. After you press the
1455 Host key to reenable the host keyboard, all key presses will
1456 go through the host again, so that sequences such as Alt+Tab
1457 will no longer reach the guest. For technical reasons it may
1458 not be possible for the VM to get all keyboard input even
1459 when it does own the keyboard. Examples of this are the
1460 Ctrl+Alt+Del sequence on Windows hosts or single keys
1461 grabbed by other applications on X11 hosts such as the GNOME
1462 desktop Locate Pointer feature.
1463 </para>
1464 </listitem>
1465
1466 <listitem>
1467 <para>
1468 Your <emphasis role="bold">mouse</emphasis> is owned by the
1469 VM only after you have clicked in the VM window. The host
1470 mouse pointer will disappear, and your mouse will drive the
1471 guest's pointer instead of your normal mouse pointer.
1472 </para>
1473
1474 <para>
1475 Note that mouse ownership is independent of that of the
1476 keyboard. Even after you have clicked on a titlebar to be
1477 able to enter text into the VM window, your mouse is not
1478 necessarily owned by the VM yet.
1479 </para>
1480
1481 <para>
1482 To release ownership of your mouse by the VM, press the Host
1483 key.
1484 </para>
1485 </listitem>
1486
1487 </itemizedlist>
1488
1489 <para>
1490 As this behavior is inconvenient, &product-name; provides a set
1491 of tools and device drivers for guest systems called the
1492 &product-name; Guest Additions. These tools make VM keyboard and
1493 mouse operations much more seamless. Most importantly, the Guest
1494 Additions suppress the second "guest" mouse pointer and make
1495 your host mouse pointer work directly in the guest. See
1496 <xref linkend="guestadditions" />.
1497 </para>
1498
1499 </sect2>
1500
1501 <sect2 id="specialcharacters">
1502
1503 <title>Typing Special Characters</title>
1504
1505 <para>
1506 Some OSes expect certain key combinations to initiate certain
1507 procedures. The key combinations that you type into a VM might
1508 target the host OS, the &product-name; software, or the guest
1509 OS. The recipient of these keypresses depends on a number of
1510 factors, including the key combination itself.
1511 </para>
1512
1513 <itemizedlist>
1514
1515 <listitem>
1516 <para>
1517 Host OSes reserve certain key combinations for themselves.
1518 For example, you cannot use the
1519 <emphasis role="bold">Ctrl+Alt+Delete</emphasis> combination
1520 to reboot the guest OS in your VM because this key
1521 combination is usually hard-wired into the host OS. So, even
1522 though both the Windows and Linux OSes intercept this key
1523 combination, only the host OS would be rebooted.
1524 </para>
1525
1526 <para>
1527 On Linux and Oracle Solaris hosts, which use the X Window
1528 System, the key combination
1529 <emphasis role="bold">Ctrl+Alt+Backspace</emphasis> normally
1530 resets the X server and restarts the entire graphical user
1531 interface. As the X server intercepts this combination,
1532 pressing it will usually restart your
1533 <emphasis>host</emphasis> graphical user interface and kill
1534 all running programs, including &product-name;, in the
1535 process.
1536 </para>
1537
1538 <para>
1539 On Linux hosts supporting virtual terminals, the key
1540 combination <emphasis role="bold">Ctrl+Alt+Fx</emphasis>,
1541 where Fx is one of the function keys from F1 to F12,
1542 normally enables you to switch between virtual terminals. As
1543 with <emphasis role="bold">Ctrl+Alt+Delete</emphasis>, these
1544 combinations are intercepted by the host OS and therefore
1545 always switch terminals on the <emphasis>host</emphasis>.
1546 </para>
1547
1548 <para>
1549 If, instead, you want to send these key combinations to the
1550 <emphasis>guest</emphasis> OS in the virtual machine, you
1551 will need to use one of the following methods:
1552 </para>
1553
1554 <itemizedlist>
1555
1556 <listitem>
1557 <para>
1558 Use the items in the
1559 <emphasis role="bold">Input</emphasis>,
1560 <emphasis role="bold">Keyboard</emphasis> menu of the
1561 virtual machine window. This menu includes the settings
1562 <emphasis role="bold">Insert Ctrl+Alt+Delete</emphasis>
1563 and <emphasis role="bold">Insert
1564 Ctrl+Alt+Backspace</emphasis>. However, the latter
1565 setting affects only Linux guests or Oracle Solaris
1566 guests.
1567 </para>
1568
1569 <para>
1570 This menu also includes an option for inserting the Host
1571 key combination.
1572 </para>
1573 </listitem>
1574
1575 <listitem>
1576 <para>
1577 Use special key combinations with the Host key, which is
1578 normally the right Control key. &product-name; then
1579 translates the following key combinations for the VM:
1580 </para>
1581
1582 <itemizedlist>
1583
1584 <listitem>
1585 <para>
1586 <emphasis role="bold">Host key + Del</emphasis>
1587 sends <emphasis role="bold">Ctrl+Alt+Del</emphasis>
1588 to reboot the guest OS.
1589 </para>
1590 </listitem>
1591
1592 <listitem>
1593 <para>
1594 <emphasis role="bold">Host key +
1595 Backspace</emphasis> sends
1596 <emphasis role="bold">Ctrl+Alt+Backspace</emphasis>
1597 to restart the graphical user interface of a Linux
1598 or Oracle Solaris guest.
1599 </para>
1600 </listitem>
1601
1602 <listitem>
1603 <para>
1604 <emphasis role="bold">Host key + Function
1605 key</emphasis>. For example, use this key
1606 combination to simulate
1607 <emphasis role="bold">Ctrl+Alt+Fx</emphasis> to
1608 switch between virtual terminals in a Linux guest.
1609 </para>
1610 </listitem>
1611
1612 </itemizedlist>
1613 </listitem>
1614
1615 </itemizedlist>
1616 </listitem>
1617
1618 <listitem>
1619 <para>
1620 For some other keyboard combinations such as
1621 <emphasis role="bold">Alt+Tab</emphasis> to switch between
1622 open windows, &product-name; enables you to configure
1623 whether these combinations will affect the host or the
1624 guest, if a virtual machine currently has the focus. This is
1625 a global setting for all virtual machines and can be found
1626 under <emphasis role="bold">File</emphasis>,
1627 <emphasis role="bold">Preferences</emphasis>,
1628 <emphasis role="bold">Input</emphasis>.
1629 </para>
1630 </listitem>
1631
1632 <listitem>
1633 <para>
1634 A soft keyboard can be used to input key combinations in the
1635 guest. See <xref linkend="soft-keyb"/>.
1636 </para>
1637 </listitem>
1638
1639 </itemizedlist>
1640
1641 </sect2>
1642
1643 <sect2 id="intro-removable-media-changing">
1644
1645 <title>Changing Removable Media</title>
1646
1647 <para>
1648 While a virtual machine is running, you can change removable
1649 media in the <emphasis role="bold">Devices</emphasis> menu of
1650 the VM's window. Here you can select in detail what
1651 &product-name; presents to your VM as a CD, DVD, or floppy
1652 drive.
1653 </para>
1654
1655 <para>
1656 The settings are the same as those available for the VM in the
1657 <emphasis role="bold">Settings</emphasis> dialog of the
1658 &product-name; main window. But as the
1659 <emphasis role="bold">Settings</emphasis> dialog is disabled
1660 while the VM is in the Running or Saved state, the
1661 <emphasis role="bold">Devices</emphasis> menu saves you from
1662 having to shut down and restart the VM every time you want to
1663 change media.
1664 </para>
1665
1666 <para>
1667 Using the <emphasis role="bold">Devices</emphasis> menu, you can
1668 attach the host drive to the guest or select a floppy or DVD
1669 image, as described in <xref linkend="settings-storage" />.
1670 </para>
1671
1672 <para>
1673 The <emphasis role="bold">Devices</emphasis> menu also includes
1674 an option for creating a virtual ISO (VISO) from selected files
1675 on the host.
1676 </para>
1677
1678 </sect2>
1679
1680 <sect2 id="intro-resize-window">
1681
1682 <title>Resizing the Machine's Window</title>
1683
1684 <para>
1685 You can resize the VM's window while that VM is running. When
1686 you do, the window is scaled as follows:
1687 </para>
1688
1689 <orderedlist>
1690
1691 <listitem>
1692 <para>
1693 If you have <emphasis role="bold">scaled mode</emphasis>
1694 enabled, then the virtual machine's screen will be scaled to
1695 the size of the window. This can be useful if you have many
1696 machines running and want to have a look at one of them
1697 while it is running in the background. Alternatively, it
1698 might be useful to enlarge a window if the VM's output
1699 screen is very small, for example because you are running an
1700 old OS in it.
1701 </para>
1702
1703 <para>
1704 To enable scaled mode, press <emphasis role="bold">Host key
1705 + C</emphasis>, or select <emphasis role="bold">Scaled
1706 Mode</emphasis> from the
1707 <emphasis role="bold">View</emphasis> menu in the VM window.
1708 To leave scaled mode, press <emphasis role="bold">Host key +
1709 C </emphasis>again.
1710 </para>
1711
1712 <para>
1713 The aspect ratio of the guest screen is preserved when
1714 resizing the window. To ignore the aspect ratio, press
1715 <emphasis role="bold">Shift</emphasis> during the resize
1716 operation.
1717 </para>
1718
1719 <para>
1720 See <xref linkend="KnownIssues" /> for additional remarks.
1721 </para>
1722 </listitem>
1723
1724 <listitem>
1725 <para>
1726 If you have the Guest Additions installed and they support
1727 automatic <emphasis role="bold">resizing</emphasis>, the
1728 Guest Additions will automatically adjust the screen
1729 resolution of the guest OS. For example, if you are running
1730 a Windows guest with a resolution of 1024x768 pixels and you
1731 then resize the VM window to make it 100 pixels wider, the
1732 Guest Additions will change the Windows display resolution
1733 to 1124x768.
1734 </para>
1735
1736 <para>
1737 See <xref linkend="guestadditions" />.
1738 </para>
1739 </listitem>
1740
1741 <listitem>
1742 <para>
1743 Otherwise, if the window is bigger than the VM's screen, the
1744 screen will be centered. If it is smaller, then scroll bars
1745 will be added to the machine window.
1746 </para>
1747 </listitem>
1748
1749 </orderedlist>
1750
1751 </sect2>
1752
1753 <sect2 id="intro-save-machine-state">
1754
1755 <title>Saving the State of the Machine</title>
1756
1757 <para>
1758 When you click on the <emphasis role="bold">Close</emphasis>
1759 button of your virtual machine window, at the top right of the
1760 window, just like you would close any other window on your
1761 system, &product-name; asks you whether you want to save or
1762 power off the VM. As a shortcut, you can also press
1763 <emphasis role="bold">Host key + Q</emphasis>.
1764 </para>
1765
1766 <figure id="fig-vm-close">
1767 <title>Closing Down a Virtual Machine</title>
1768 <mediaobject>
1769 <imageobject>
1770 <imagedata align="center" fileref="images/vm-close.png"
1771 width="10cm" />
1772 </imageobject>
1773 </mediaobject>
1774 </figure>
1775
1776 <para>
1777 The difference between the three options is crucial. They mean
1778 the following:
1779 </para>
1780
1781 <itemizedlist>
1782
1783 <listitem>
1784 <para>
1785 <emphasis role="bold">Save the machine state:</emphasis>
1786 With this option, &product-name;
1787 <emphasis>freezes</emphasis> the virtual machine by
1788 completely saving its state to your local disk.
1789 </para>
1790
1791 <para>
1792 When you start the VM again later, you will find that the VM
1793 continues exactly where it was left off. All your programs
1794 will still be open, and your computer resumes operation.
1795 Saving the state of a virtual machine is thus in some ways
1796 similar to suspending a laptop computer by closing its lid.
1797 </para>
1798 </listitem>
1799
1800 <listitem>
1801 <para>
1802 <emphasis role="bold">Send the shutdown signal.</emphasis>
1803 This will send an ACPI shutdown signal to the virtual
1804 machine, which has the same effect as if you had pressed the
1805 power button on a real computer. This should trigger a
1806 proper shutdown mechanism from within the VM.
1807 </para>
1808 </listitem>
1809
1810 <listitem>
1811 <para>
1812 <emphasis role="bold">Power off the machine:</emphasis> With
1813 this option, &product-name; also stops running the virtual
1814 machine, but <emphasis>without</emphasis> saving its state.
1815 </para>
1816
1817 <warning>
1818 <para>
1819 This is equivalent to pulling the power plug on a real
1820 computer without shutting it down properly. If you start
1821 the machine again after powering it off, your OS will have
1822 to reboot completely and may begin a lengthy check of its
1823 virtual system disks. As a result, this should not
1824 normally be done, since it can potentially cause data loss
1825 or an inconsistent state of the guest system on disk.
1826 </para>
1827 </warning>
1828
1829 <para>
1830 As an exception, if your virtual machine has any snapshots,
1831 see <xref linkend="snapshots"/>, you can use this option to
1832 quickly <emphasis
1833 role="bold">restore the current
1834 snapshot</emphasis> of the virtual machine. In that case,
1835 powering off the machine will not disrupt its state, but any
1836 changes made since that snapshot was taken will be lost.
1837 </para>
1838 </listitem>
1839
1840 </itemizedlist>
1841
1842 <para>
1843 The <emphasis role="bold">Discard</emphasis> button in the
1844 VirtualBox Manager window discards a virtual machine's saved
1845 state. This has the same effect as powering it off, and the same
1846 warnings apply.
1847 </para>
1848
1849 </sect2>
1850
1851 </sect1>
1852
1853 <sect1 id="gui-vmgroups">
1854
1855 <title>Using VM Groups</title>
1856
1857 <para>
1858 VM groups enable the user to create ad hoc groups of VMs, and to
1859 manage and perform functions on them collectively, as well as
1860 individually.
1861 </para>
1862
1863 <para>
1864 The following figure shows VM groups displayed in VirtualBox
1865 Manager.
1866 </para>
1867
1868 <figure id="fig-vm-groups">
1869 <title>Groups of Virtual Machines</title>
1870 <mediaobject>
1871 <imageobject>
1872 <imagedata align="center" fileref="images/vm-groups.png"
1873 width="10cm" />
1874 </imageobject>
1875 </mediaobject>
1876
1877 </figure>
1878
1879 <para>
1880 The following features are available for groups:
1881 </para>
1882
1883 <itemizedlist>
1884
1885 <listitem>
1886 <para>
1887 Create a group using the VirtualBox Manager. Do one of the
1888 following:
1889 </para>
1890
1891 <itemizedlist>
1892
1893 <listitem>
1894 <para>
1895 Drag one VM on top of another VM.
1896 </para>
1897 </listitem>
1898
1899 <listitem>
1900 <para>
1901 Select multiple VMs and select
1902 <emphasis role="bold">Group</emphasis> from the
1903 right-click menu.
1904 </para>
1905 </listitem>
1906
1907 </itemizedlist>
1908 </listitem>
1909
1910 <listitem>
1911 <para>
1912 Create and manage a group using the command line. Do one of
1913 the following:
1914 </para>
1915
1916 <itemizedlist>
1917
1918 <listitem>
1919 <para>
1920 Create a group and assign a VM. For example:
1921 </para>
1922
1923<screen>VBoxManage modifyvm "vm01" --groups "/TestGroup"</screen>
1924
1925 <para>
1926 This command creates a group "TestGroup" and attaches the
1927 VM "vm01" to that group.
1928 </para>
1929 </listitem>
1930
1931 <listitem>
1932 <para>
1933 Detach a VM from the group, and delete the group if empty.
1934 For example:
1935 </para>
1936
1937<screen>VBoxManage modifyvm "vm01" --groups ""</screen>
1938
1939 <para>
1940 This command detaches all groups from the VM "vm01" and
1941 deletes the empty group.
1942 </para>
1943 </listitem>
1944
1945 </itemizedlist>
1946 </listitem>
1947
1948 <listitem>
1949 <para>
1950 Create multiple groups. For example:
1951 </para>
1952
1953<screen>VBoxManage modifyvm "vm01" --groups "/TestGroup,/TestGroup2"</screen>
1954
1955 <para>
1956 This command creates the groups "TestGroup" and "TestGroup2",
1957 if they do not exist, and attaches the VM "vm01" to both of
1958 them.
1959 </para>
1960 </listitem>
1961
1962 <listitem>
1963 <para>
1964 Create nested groups, having a group hierarchy. For example:
1965 </para>
1966
1967<screen>VBoxManage modifyvm "vm01" --groups "/TestGroup/TestGroup2"</screen>
1968
1969 <para>
1970 This command attaches the VM "vm01" to the subgroup
1971 "TestGroup2" of the "TestGroup" group.
1972 </para>
1973 </listitem>
1974
1975 <listitem>
1976 <para>
1977 The following is a summary of group commands: Start, Pause,
1978 Reset, Close (save state, send shutdown signal, poweroff),
1979 Discard Saved State, Show in File System, Sort.
1980 </para>
1981 </listitem>
1982
1983 </itemizedlist>
1984
1985 </sect1>
1986
1987 <sect1 id="snapshots">
1988
1989 <title>Snapshots</title>
1990
1991 <para>
1992 With snapshots, you can save a particular state of a virtual
1993 machine for later use. At any later time, you can revert to that
1994 state, even though you may have changed the VM considerably since
1995 then. A snapshot of a virtual machine is thus similar to a machine
1996 in Saved state, but there can be many of them, and these saved
1997 states are preserved.
1998 </para>
1999
2000 <para>
2001 To see the snapshots of a virtual machine, click on the machine
2002 name in VirtualBox Manager. Then click the
2003 <emphasis role="bold">List</emphasis> icon next to the machine
2004 name, and select <emphasis role="bold">Snapshots</emphasis>. Until
2005 you take a snapshot of the machine, the list of snapshots will be
2006 empty except for the <emphasis role="bold">Current
2007 State</emphasis> item, which represents the "now" point in the
2008 lifetime of the virtual machine.
2009 </para>
2010
2011 <sect2 id="snapshots-take-restore-delete">
2012
2013 <title>Taking, Restoring, and Deleting Snapshots</title>
2014
2015 <para>
2016 There are three operations related to snapshots, as follows:
2017 </para>
2018
2019 <orderedlist>
2020
2021 <listitem>
2022 <para>
2023 <emphasis role="bold">Take a snapshot</emphasis>. This makes
2024 a copy of the machine's current state, to which you can go
2025 back at any given time later.
2026 </para>
2027
2028 <itemizedlist>
2029
2030 <listitem>
2031 <para>
2032 If your VM is running, select <emphasis role="bold">Take
2033 Snapshot</emphasis> from the
2034 <emphasis role="bold">Machine</emphasis> pull-down menu
2035 of the VM window.
2036 </para>
2037 </listitem>
2038
2039 <listitem>
2040 <para>
2041 If your VM is in either the Saved or the Powered Off
2042 state, as displayed next to the VM name in the
2043 &product-name; main window, click the
2044 <emphasis role="bold">List</emphasis> icon next to the
2045 machine name and select
2046 <emphasis role="bold">Snapshots</emphasis>. The
2047 snapshots window is shown. Do one of the following:
2048 </para>
2049
2050 <itemizedlist>
2051
2052 <listitem>
2053 <para>
2054 Click the <emphasis role="bold">Take</emphasis>
2055 icon.
2056 </para>
2057 </listitem>
2058
2059 <listitem>
2060 <para>
2061 Right-click on the <emphasis role="bold">Current
2062 State </emphasis>item in the list and select
2063 <emphasis role="bold">Take</emphasis>.
2064 </para>
2065 </listitem>
2066
2067 </itemizedlist>
2068 </listitem>
2069
2070 </itemizedlist>
2071
2072 <para>
2073 In either case, a window is displayed prompting you for a
2074 snapshot name. This name is purely for reference purposes to
2075 help you remember the state of the snapshot. For example, a
2076 useful name would be "Fresh installation from scratch, no
2077 Guest Additions", or "Service Pack 3 just installed". You
2078 can also add a longer text in the
2079 <emphasis role="bold">Description</emphasis> field.
2080 </para>
2081
2082 <para>
2083 Your new snapshot will then appear in the snapshots list.
2084 Underneath your new snapshot, you will see an item called
2085 <emphasis role="bold">Current State</emphasis>, signifying
2086 that the current state of your VM is a variation based on
2087 the snapshot you took earlier. If you later take another
2088 snapshot, you will see that they are displayed in sequence,
2089 and that each subsequent snapshot is derived from an earlier
2090 one.
2091 </para>
2092
2093 <figure id="fig-snapshots-list">
2094 <title>Snapshots List For a Virtual Machine</title>
2095 <mediaobject>
2096 <imageobject>
2097 <imagedata align="center" fileref="images/snapshots-1.png"
2098 width="10cm" />
2099 </imageobject>
2100 </mediaobject>
2101 </figure>
2102
2103 <para>
2104 &product-name; imposes no limits on the number of snapshots
2105 you can take. The only practical limitation is disk space on
2106 your host. Each snapshot stores the state of the virtual
2107 machine and thus occupies some disk space. See
2108 <xref linkend="snapshots-contents"/> for details on what is
2109 stored in a snapshot.
2110 </para>
2111 </listitem>
2112
2113 <listitem>
2114 <para>
2115 <emphasis role="bold">Restore a snapshot</emphasis>. In the
2116 list of snapshots, right-click on any snapshot you have
2117 taken and select <emphasis role="bold">Restore</emphasis>.
2118 By restoring a snapshot, you go back or forward in time. The
2119 current state of the machine is lost, and the machine is
2120 restored to the exact state it was in when the snapshot was
2121 taken.
2122 </para>
2123
2124 <note>
2125 <para>
2126 Restoring a snapshot will affect the virtual hard drives
2127 that are connected to your VM, as the entire state of the
2128 virtual hard drive will be reverted as well. This means
2129 also that all files that have been created since the
2130 snapshot and all other file changes <emphasis>will be
2131 lost. </emphasis>In order to prevent such data loss while
2132 still making use of the snapshot feature, it is possible
2133 to add a second hard drive in
2134 <emphasis>write-through</emphasis> mode using the
2135 <command>VBoxManage</command> interface and use it to
2136 store your data. As write-through hard drives are
2137 <emphasis>not</emphasis> included in snapshots, they
2138 remain unaltered when a machine is reverted. See
2139 <xref linkend="hdimagewrites" />.
2140 </para>
2141 </note>
2142
2143 <para>
2144 To avoid losing the current state when restoring a snapshot,
2145 you can create a new snapshot before the restore operation.
2146 </para>
2147
2148 <para>
2149 By restoring an earlier snapshot and taking more snapshots
2150 from there, it is even possible to create a kind of
2151 alternate reality and to switch between these different
2152 histories of the virtual machine. This can result in a whole
2153 tree of virtual machine snapshots, as shown in the
2154 screenshot above.
2155 </para>
2156 </listitem>
2157
2158 <listitem>
2159 <para>
2160 <emphasis role="bold">Delete a snapshot</emphasis>. This
2161 does not affect the state of the virtual machine, but only
2162 releases the files on disk that &product-name; used to store
2163 the snapshot data, thus freeing disk space. To delete a
2164 snapshot, right-click on the snapshot name in the snapshots
2165 tree and select <emphasis role="bold">Delete</emphasis>.
2166 Snapshots can be deleted even while a machine is running.
2167 </para>
2168
2169 <note>
2170 <para>
2171 Whereas taking and restoring snapshots are fairly quick
2172 operations, deleting a snapshot can take a considerable
2173 amount of time since large amounts of data may need to be
2174 copied between several disk image files. Temporary disk
2175 files may also need large amounts of disk space while the
2176 operation is in progress.
2177 </para>
2178 </note>
2179
2180 <para>
2181 There are some situations which cannot be handled while a VM
2182 is running, and you will get an appropriate message that you
2183 need to perform this snapshot deletion when the VM is shut
2184 down.
2185 </para>
2186 </listitem>
2187
2188 </orderedlist>
2189
2190 </sect2>
2191
2192 <sect2 id="snapshots-contents">
2193
2194 <title>Snapshot Contents</title>
2195
2196 <para>
2197 Think of a snapshot as a point in time that you have preserved.
2198 More formally, a snapshot consists of the following:
2199 </para>
2200
2201 <itemizedlist>
2202
2203 <listitem>
2204 <para>
2205 The snapshot contains a complete copy of the VM settings,
2206 including the hardware configuration, so that when you
2207 restore a snapshot, the VM settings are restored as well.
2208 For example, if you changed the hard disk configuration or
2209 the VM's system settings, that change is undone when you
2210 restore the snapshot.
2211 </para>
2212
2213 <para>
2214 The copy of the settings is stored in the machine
2215 configuration, an XML text file, and thus occupies very
2216 little space.
2217 </para>
2218 </listitem>
2219
2220 <listitem>
2221 <para>
2222 The complete state of all the virtual disks attached to the
2223 machine is preserved. Going back to a snapshot means that
2224 all changes that had been made to the machine's disks, file
2225 by file and bit by bit, will be undone as well. Files that
2226 were since created will disappear, files that were deleted
2227 will be restored, changes to files will be reverted.
2228 </para>
2229
2230 <para>
2231 Strictly speaking, this is only true for virtual hard disks
2232 in "normal" mode. You can configure disks to behave
2233 differently with snapshots, see
2234 <xref linkend="hdimagewrites" />. In technical terms, it is
2235 not the virtual disk itself that is restored when a snapshot
2236 is restored. Instead, when a snapshot is taken,
2237 &product-name; creates differencing images which contain
2238 only the changes since the snapshot were taken. When the
2239 snapshot is restored, &product-name; throws away that
2240 differencing image, thus going back to the previous state.
2241 This is both faster and uses less disk space. For the
2242 details, which can be complex, see
2243 <xref linkend="diffimages" />.
2244 </para>
2245
2246 <para>
2247 Creating the differencing image as such does not occupy much
2248 space on the host disk initially, since the differencing
2249 image will initially be empty and grow dynamically later
2250 with each write operation to the disk. The longer you use
2251 the machine after having created the snapshot, however, the
2252 more the differencing image will grow in size.
2253 </para>
2254 </listitem>
2255
2256 <listitem>
2257 <para>
2258 If you took a snapshot while the machine was running, the
2259 memory state of the machine is also saved in the snapshot.
2260 This is in the same way that memory can be saved when you
2261 close a VM window. When you restore such a snapshot,
2262 execution resumes at exactly the point when the snapshot was
2263 taken.
2264 </para>
2265
2266 <para>
2267 The memory state file can be as large as the memory size of
2268 the VM and will therefore occupy considerable disk space.
2269 </para>
2270 </listitem>
2271
2272 </itemizedlist>
2273
2274 </sect2>
2275
2276 </sect1>
2277
2278 <sect1 id="configbasics">
2279
2280 <title>Virtual Machine Configuration</title>
2281
2282 <para>
2283 When you select a virtual machine from the list in the VirtualBox
2284 Manager window, you will see a summary of that machine's settings
2285 on the right.
2286 </para>
2287
2288 <para>
2289 Clicking on <emphasis role="bold">Settings</emphasis> displays a
2290 window, where you can configure many of the properties of the
2291 selected VM. But be careful when changing VM settings. It is
2292 possible to change all VM settings after installing a guest OS,
2293 but certain changes might prevent a guest OS from functioning
2294 correctly if done after installation.
2295 </para>
2296
2297 <note>
2298 <para>
2299 The <emphasis role="bold">Settings</emphasis> button is disabled
2300 while a VM is either in the Running or Saved state. This is
2301 because the <emphasis role="bold">Settings</emphasis> dialog
2302 enables you to change fundamental characteristics of the virtual
2303 machine that is created for your guest OS. For example, the
2304 guest OS may not perform well if half of its memory is taken
2305 away. As a result, if the
2306 <emphasis role="bold">Settings</emphasis> button is disabled,
2307 shut down the current VM first.
2308 </para>
2309 </note>
2310
2311 <para>
2312 &product-name; provides a wide range of parameters that can be
2313 changed for a virtual machine. The various settings that can be
2314 changed in the <emphasis role="bold">Settings</emphasis> window
2315 are described in detail in <xref linkend="BasicConcepts" />. Even
2316 more parameters are available when using the
2317 <command>VBoxManage</command> command line interface. See
2318 <xref linkend="vboxmanage" />.
2319 </para>
2320
2321 </sect1>
2322
2323 <sect1 id="intro-removing">
2324
2325 <title>Removing and Moving Virtual Machines</title>
2326
2327 <para>
2328 You can remove a VM from &product-name; or move the VM and its
2329 associated files, such as disk images, to another location on the
2330 host.
2331 </para>
2332
2333 <itemizedlist>
2334
2335 <listitem>
2336 <para>
2337 <emphasis role="bold">Removing a VM.</emphasis> To remove a
2338 VM, right-click on the VM in the VirtualBox Manager's machine
2339 list and select <emphasis role="bold">Remove</emphasis>.
2340 </para>
2341
2342 <para>
2343 The confirmation dialog enables you to specify whether to only
2344 remove the VM from the list of machines or to remove the files
2345 associated with the VM.
2346 </para>
2347
2348 <para>
2349 Note that the <emphasis role="bold">Remove</emphasis> menu
2350 item is disabled while a VM is running.
2351 </para>
2352 </listitem>
2353
2354 <listitem>
2355 <para>
2356 <emphasis role="bold">Moving a VM.</emphasis> To move a VM to
2357 a new location on the host, right-click on the VM in the
2358 VirtualBox Manager's machine list and select
2359 <emphasis
2360 role="bold">Move</emphasis>.
2361 </para>
2362
2363 <para>
2364 The file dialog prompts you to specify a new location for the
2365 VM.
2366 </para>
2367
2368 <para>
2369 When you move a VM, &product-name; configuration files are
2370 updated automatically to use the new location on the host.
2371 </para>
2372
2373 <para>
2374 Note that the <emphasis role="bold">Move</emphasis> menu item
2375 is disabled while a VM is running.
2376 </para>
2377
2378 <para>
2379 You can also use the <command>VBoxManage movevm</command>
2380 command to move a VM. See <xref linkend="vboxmanage-movevm"/>.
2381 </para>
2382 </listitem>
2383
2384 </itemizedlist>
2385
2386 <para>
2387 For information about removing or moving a disk image file from
2388 &product-name;, see <xref linkend="vdis"/>.
2389 </para>
2390
2391 </sect1>
2392
2393 <sect1 id="clone">
2394
2395 <title>Cloning Virtual Machines</title>
2396
2397 <para>
2398 You can create a full copy or a linked copy of an existing VM.
2399 This copy is called a <emphasis>clone</emphasis>. You might use a
2400 cloned VM to experiment with a VM configuration, to test different
2401 guest OS levels, or to back up a VM.
2402 </para>
2403
2404 <para>
2405 The <emphasis role="bold">Clone Virtual Machine</emphasis> wizard
2406 guides you through the cloning process.
2407 </para>
2408
2409 <figure id="fig-clone-wizard">
2410 <title>The Clone Virtual Machine Wizard</title>
2411 <mediaobject>
2412 <imageobject>
2413 <imagedata align="center" fileref="images/clone-vm.png"
2414 width="10cm" />
2415 </imageobject>
2416 </mediaobject>
2417 </figure>
2418
2419 <para>
2420 Start the wizard by clicking
2421 <emphasis role="bold">Clone</emphasis> in the right-click menu of
2422 the VirtualBox Manager's machine list or in the
2423 <emphasis role="bold">Snapshots</emphasis> view of the selected
2424 VM.
2425 </para>
2426
2427 <para>
2428 Specify a new <emphasis role="bold">Name</emphasis> for the clone.
2429 You can choose a <emphasis role="bold">Path</emphasis> for the
2430 cloned virtual machine, otherwise &product-name; uses the default
2431 machines folder.
2432 </para>
2433
2434 <para>
2435 The <emphasis role="bold">Clone Type</emphasis> option specifies
2436 whether to create a clone linked to the source VM or to create a
2437 fully independent clone:
2438 </para>
2439
2440 <itemizedlist>
2441
2442 <listitem>
2443 <para>
2444 <emphasis role="bold">Full Clone:</emphasis> Copies all
2445 dependent disk images to the new VM folder. A full clone can
2446 operate fully without the source VM.
2447 </para>
2448 </listitem>
2449
2450 <listitem>
2451 <para>
2452 <emphasis role="bold">Linked Clone:</emphasis> Creates new
2453 differencing disk images based on the source VM disk images.
2454 If you select the current state of the source VM as the clone
2455 point, &product-name; creates a new snapshot.
2456 </para>
2457 </listitem>
2458
2459 </itemizedlist>
2460
2461 <para>
2462 The <emphasis role="bold">Snapshots</emphasis> option specifies
2463 whether to create a clone of the current machine state only or of
2464 everything.
2465 </para>
2466
2467 <itemizedlist>
2468
2469 <listitem>
2470 <para>
2471 <emphasis role="bold">Everything:</emphasis> Clones the
2472 current machine state and all its snapshots.
2473 </para>
2474 </listitem>
2475
2476 <listitem>
2477 <para>
2478 <emphasis role="bold">Current Machine State and All
2479 Children:</emphasis>. Clones a VM snapshot and all its child
2480 snapshots.
2481 </para>
2482 </listitem>
2483
2484 </itemizedlist>
2485
2486 <para>
2487 The following clone options are available:
2488 </para>
2489
2490 <itemizedlist>
2491
2492 <listitem>
2493 <para>
2494 <emphasis role="bold">MAC Address Policy:</emphasis> Specifies
2495 how to retain network card MAC addresses when cloning the VM.
2496 </para>
2497
2498 <para>
2499 For example, the <emphasis role="bold">Generate New MAC
2500 Addresses For All Network Adapters</emphasis> value assigns a
2501 new MAC address to each network card during cloning. This is
2502 the default setting. This is the best option when both the
2503 source VM and the cloned VM must operate on the same network.
2504 Other values enable you to retain the existing MAC addresses
2505 in the cloned VM.
2506 </para>
2507 </listitem>
2508
2509 <listitem>
2510 <para>
2511 <emphasis role="bold">Keep Disk Names:</emphasis> Retains the
2512 disk image names when cloning the VM.
2513 </para>
2514 </listitem>
2515
2516 <listitem>
2517 <para>
2518 <emphasis role="bold">Keep Hardware UUIDs:</emphasis> Retains
2519 the hardware universally unique identifiers (UUIDs) when
2520 cloning the VM.
2521 </para>
2522 </listitem>
2523
2524 </itemizedlist>
2525
2526 <para>
2527 The duration of the clone operation depends on the size and number
2528 of attached disk images. In addition, the clone operation saves
2529 all the differencing disk images of a snapshot.
2530 </para>
2531
2532 <para>
2533 Note that the <emphasis role="bold">Clone</emphasis> menu item is
2534 disabled while a machine is running.
2535 </para>
2536
2537 <para>
2538 You can also use the <command>VBoxManage clonevm</command> command
2539 to clone a VM. See <xref linkend="vboxmanage-clonevm" />.
2540 </para>
2541
2542 </sect1>
2543
2544 <sect1 id="ovf">
2545
2546 <title>Importing and Exporting Virtual Machines</title>
2547
2548 <para>
2549 &product-name; can import and export virtual machines in the
2550 following formats:
2551 </para>
2552
2553 <itemizedlist>
2554
2555 <listitem>
2556 <para>
2557 <emphasis role="bold">Open Virtualization Format
2558 (OVF).</emphasis> This is the industry-standard format. See
2559 <xref linkend="ovf-about"/>.
2560 </para>
2561 </listitem>
2562
2563 <listitem>
2564 <para>
2565 <emphasis role="bold">Cloud service formats.</emphasis> Export
2566 to and import from cloud services such as &oci; is supported.
2567 See <xref linkend="cloud-integration"/>.
2568 </para>
2569 </listitem>
2570
2571 </itemizedlist>
2572
2573 <sect2 id="ovf-about">
2574
2575 <title>About the OVF Format</title>
2576
2577 <para>
2578 OVF is a cross-platform standard supported by many
2579 virtualization products which enables the creation of ready-made
2580 virtual machines that can then be imported into a hypervisor
2581 such as &product-name;. &product-name; makes OVF import and
2582 export easy to do, using the VirtualBox Manager window or the
2583 command-line interface.
2584 </para>
2585
2586 <para>
2587 Using OVF enables packaging of <emphasis>virtual
2588 appliances</emphasis>. These are disk images, together with
2589 configuration settings that can be distributed easily. This way
2590 one can offer complete ready-to-use software packages, including
2591 OSes with applications, that need no configuration or
2592 installation except for importing into &product-name;.
2593 </para>
2594
2595 <note>
2596 <para>
2597 The OVF standard is complex, and support in &product-name; is
2598 an ongoing process. In particular, no guarantee is made that
2599 &product-name; supports all appliances created by other
2600 virtualization software. For a list of known limitations, see
2601 <xref linkend="KnownIssues" />.
2602 </para>
2603 </note>
2604
2605 <para>
2606 Appliances in OVF format can appear in the following variants:
2607 </para>
2608
2609 <itemizedlist>
2610
2611 <listitem>
2612 <para>
2613 They can come in several files, as one or several disk
2614 images, typically in the widely-used VMDK format. See
2615 <xref linkend="vdidetails" />. They also include a textual
2616 description file in an XML dialect with an
2617 <filename>.ovf</filename> extension. These files must then
2618 reside in the same directory for &product-name; to be able
2619 to import them.
2620 </para>
2621 </listitem>
2622
2623 <listitem>
2624 <para>
2625 Alternatively, the above files can be packed together into a
2626 single archive file, typically with an
2627 <filename>.ova</filename> extension. Such archive files use
2628 a variant of the TAR archive format and can therefore be
2629 unpacked outside of &product-name; with any utility that can
2630 unpack standard TAR files.
2631 </para>
2632 </listitem>
2633
2634 </itemizedlist>
2635
2636 <note>
2637 <para>
2638 OVF cannot describe snapshots that were taken for a virtual
2639 machine. As a result, when you export a virtual machine that
2640 has snapshots, only the current state of the machine will be
2641 exported. The disk images in the export will have a
2642 <emphasis>flattened</emphasis> state identical to the current
2643 state of the virtual machine.
2644 </para>
2645 </note>
2646
2647 </sect2>
2648
2649 <sect2 id="ovf-import-appliance">
2650
2651 <title>Importing an Appliance in OVF Format</title>
2652
2653 <para>
2654 The following steps show how to import an appliance in OVF
2655 format.
2656 </para>
2657
2658 <orderedlist>
2659
2660 <listitem>
2661 <para>
2662 Double-click on the OVF or OVA file.
2663 </para>
2664
2665 <para>
2666 &product-name; creates file type associations automatically
2667 for any OVF and OVA files on your host OS.
2668 </para>
2669 </listitem>
2670
2671 <listitem>
2672 <para>
2673 Select <emphasis role="bold">File</emphasis>,
2674 <emphasis role="bold">Import Appliance</emphasis> from the
2675 VirtualBox Manager window.
2676 </para>
2677
2678 <para>
2679 From the file dialog, go to the file with either the
2680 <filename>.ovf</filename> or the <filename>.ova</filename>
2681 file extension.
2682 </para>
2683
2684 <para>
2685 Click <emphasis role="bold">Import</emphasis> to open the
2686 <emphasis role="bold">Appliance Settings</emphasis> screen.
2687 </para>
2688
2689 <figure id="fig-import-appliance">
2690 <title>Appliance Settings Screen for Import Appliance</title>
2691 <mediaobject>
2692 <imageobject>
2693 <imagedata align="center" fileref="images/ovf-import.png"
2694 width="12cm" />
2695 </imageobject>
2696 </mediaobject>
2697
2698 </figure>
2699
2700 <para>
2701 This screen shows the VMs described in the OVF or OVA file
2702 and enables you to change the VM settings.
2703 </para>
2704
2705 <para>
2706 By default, membership of VM groups is preserved on import
2707 for VMs that were initially exported from &product-name;.
2708 You can change this behavior by using the
2709 <emphasis
2710 role="bold">Primary Group</emphasis>
2711 setting for the VM.
2712 </para>
2713
2714 <para>
2715 The following global settings apply to all of the VMs that
2716 you import:
2717 </para>
2718
2719 <itemizedlist>
2720
2721 <listitem>
2722 <para>
2723 <emphasis role="bold">Base Folder:</emphasis> Specifies
2724 the directory on the host in which to store the imported
2725 VMs.
2726 </para>
2727
2728 <para>
2729 If an appliance has multiple VMs, you can specify a
2730 different directory for each VM by editing the
2731 <emphasis role="bold">Base Folder</emphasis> setting for
2732 the VM.
2733 </para>
2734 </listitem>
2735
2736 <listitem>
2737 <para>
2738 <emphasis role="bold">MAC Address Policy:</emphasis>
2739 Reinitializes the MAC addresses of network cards in your
2740 VMs prior to import, by default. You can override the
2741 default behavior and preserve the MAC addresses on
2742 import.
2743 </para>
2744 </listitem>
2745
2746 <listitem>
2747 <para>
2748 <emphasis role="bold">Import Hard Drives as
2749 VDI:</emphasis> Imports hard drives in the VDI format
2750 rather than in the default VMDK format.
2751 </para>
2752 </listitem>
2753
2754 </itemizedlist>
2755 </listitem>
2756
2757 <listitem>
2758 <para>
2759 Click <emphasis role="bold">Import</emphasis> to import the
2760 appliance.
2761 </para>
2762
2763 <para>
2764 &product-name; copies the disk images and creates local VMs
2765 with the settings described on the
2766 <emphasis role="bold">Appliance Settings</emphasis> screen.
2767 The imported VMs are shown in the list of VMs in VirtualBox
2768 Manager.
2769 </para>
2770
2771 <para>
2772 Because disk images are large, the VMDK images that are
2773 included with virtual appliances are shipped in a compressed
2774 format that cannot be used directly by VMs. So, the images
2775 are first unpacked and copied, which might take several
2776 minutes.
2777 </para>
2778 </listitem>
2779
2780 </orderedlist>
2781
2782 <para>
2783 You can use the <command>VBoxManage import</command> command to
2784 import an appliance. See <xref linkend="vboxmanage-import" />.
2785 </para>
2786
2787 </sect2>
2788
2789 <sect2 id="ovf-export-appliance">
2790
2791 <title>Exporting an Appliance in OVF Format</title>
2792
2793 <para>
2794 The following steps show how to export an appliance in OVF
2795 format.
2796 </para>
2797
2798 <orderedlist>
2799
2800 <listitem>
2801 <para>
2802 Select <emphasis role="bold">File</emphasis>,
2803 <emphasis role="bold"> Export Appliance</emphasis> to open
2804 the <emphasis role="bold">Export Virtual
2805 Appliance</emphasis> wizard.
2806 </para>
2807
2808 <para>
2809 From the initial window, you can combine several VMs into an
2810 OVF appliance.
2811 </para>
2812
2813 <para>
2814 Select one or more VMs to export, and click
2815 <emphasis role="bold">Next</emphasis>.
2816 </para>
2817 </listitem>
2818
2819 <listitem>
2820 <para>
2821 The <emphasis role="bold">Appliance Settings</emphasis>
2822 screen enables you to select the following settings:
2823 </para>
2824
2825 <itemizedlist>
2826
2827 <listitem>
2828 <para>
2829 <emphasis role="bold">Format:</emphasis> Selects the
2830 <emphasis role="bold">Open Virtualization
2831 Format</emphasis> value for the output files.
2832 </para>
2833
2834 <para>
2835 The <emphasis role="bold">&oci;</emphasis> value exports
2836 the appliance to &oci;. See
2837 <xref linkend="cloud-export-oci"/>.
2838 </para>
2839 </listitem>
2840
2841 <listitem>
2842 <para>
2843 <emphasis role="bold">File:</emphasis> Selects the
2844 location in which to store the exported files.
2845 </para>
2846 </listitem>
2847
2848 <listitem>
2849 <para>
2850 <emphasis role="bold">MAC Address Policy:</emphasis>
2851 Specifies whether to retain or reassign network card MAC
2852 addresses on export.
2853 </para>
2854 </listitem>
2855
2856 <listitem>
2857 <para>
2858 <emphasis role="bold">Write Manifest File:</emphasis>
2859 Enables you to include a manifest file in the exported
2860 archive file.
2861 </para>
2862 </listitem>
2863
2864 <listitem>
2865 <para>
2866 <emphasis role="bold">Include ISO Image
2867 Files:</emphasis> Enables you to include ISO image files
2868 in the exported archive file.
2869 </para>
2870 </listitem>
2871
2872 </itemizedlist>
2873 </listitem>
2874
2875 <listitem>
2876 <para>
2877 Click <emphasis role="bold">Next</emphasis> to show the
2878 <emphasis role="bold">Virtual System Settings</emphasis>
2879 screen.
2880 </para>
2881
2882 <para>
2883 You can edit settings for the virtual appliance. For
2884 example, you can change the name of the virtual appliance or
2885 add product information, such as vendor details or license
2886 text.
2887 </para>
2888
2889 <para>
2890 Double-click the appropriate field to change its value.
2891 </para>
2892 </listitem>
2893
2894 <listitem>
2895 <para>
2896 Click <emphasis role="bold">Export</emphasis> to begin the
2897 export process. Note that this operation might take several
2898 minutes.
2899 </para>
2900 </listitem>
2901
2902 </orderedlist>
2903
2904 <para>
2905 You can use the <command>VBoxManage export</command> command to
2906 export an appliance. See <xref linkend="vboxmanage-export" />.
2907 </para>
2908
2909 </sect2>
2910
2911 </sect1>
2912
2913 <sect1 id="cloud-integration">
2914
2915 <title>Integrating with &oci;</title>
2916
2917 <para>
2918 This section describes how to use the features of &product-name;
2919 to integrate with &oci;.
2920 </para>
2921
2922 <para>
2923 Integrating with &oci; involves the following steps:
2924 </para>
2925
2926 <itemizedlist>
2927
2928 <listitem>
2929 <para>
2930 <emphasis role="bold">Prepare for &oci;
2931 Integration.</emphasis> Before using &product-name; with &oci;
2932 there are some initial configuration steps you may need to do.
2933 See <xref linkend="cloud-integration-steps"/>.
2934 </para>
2935 </listitem>
2936
2937 <listitem>
2938 <para>
2939 <emphasis role="bold">Use &product-name; with
2940 &oci;.</emphasis> <xref linkend="cloud-vbox-oci-tasks"/>
2941 describes how you can use &product-name; with &oci;.
2942 </para>
2943 </listitem>
2944
2945 </itemizedlist>
2946
2947 <sect2 id="cloud-integration-steps">
2948
2949 <title>Preparing for &oci; Integration</title>
2950
2951 <para>
2952 Perform the following configuration steps before using
2953 &product-name; to integrate with your &oci; account.
2954 </para>
2955
2956 <orderedlist>
2957
2958 <listitem>
2959 <para>
2960 <emphasis role="bold">Install the Extension Pack.</emphasis>
2961 Cloud integration features are only available when you
2962 install the &product-name; Extension Pack. See
2963 <xref linkend="intro-installing"/>.
2964 </para>
2965 </listitem>
2966
2967 <listitem>
2968 <para>
2969 <emphasis role="bold">Create a key pair.</emphasis> Generate
2970 an API signing key pair that is used for API requests to
2971 &oci;. See <xref linkend="cloud-create-api-keypair"/>.
2972 </para>
2973
2974 <para>
2975 Upload the public key of the key pair from your client
2976 device to the cloud service. See
2977 <xref linkend="cloud-upload-public-key"/>.
2978 </para>
2979 </listitem>
2980
2981 <listitem>
2982 <para>
2983 <emphasis role="bold">Create a cloud profile.</emphasis> The
2984 cloud profile contains resource identifiers for your cloud
2985 account, such as your user OCID, and details of your key
2986 pair. See <xref linkend="cloud-create-cloud-profile"/>.
2987 </para>
2988 </listitem>
2989
2990 </orderedlist>
2991
2992 </sect2>
2993
2994 <sect2 id="cloud-create-api-keypair">
2995
2996 <title>Creating an API Signing Key Pair</title>
2997
2998 <para></para>
2999
3000 <para>
3001 To use the cloud integration features of &product-name;, you
3002 must generate an API signing key pair that is used for API
3003 requests to &oci;.
3004 </para>
3005
3006 <para>
3007 Your API requests are signed with your private key, and &oci;
3008 uses the public key to verify the authenticity of the request.
3009 You must upload the public key to the &oci; Console.
3010 </para>
3011
3012 <note>
3013 <para>
3014 This key pair is not the same SSH key that you use to access
3015 compute instances on &oci;.
3016 </para>
3017 </note>
3018
3019 <orderedlist>
3020
3021 <listitem>
3022 <para>
3023 (Optional) Create a <filename>.oci</filename> directory to
3024 store the key pair.
3025 </para>
3026
3027<screen>$ mkdir ~/.oci</screen>
3028
3029 <para>
3030 The key pair is usually installed in the
3031 <filename>.oci</filename> folder in your home directory. For
3032 example, <filename>~/.oci</filename> on a Linux system.
3033 </para>
3034 </listitem>
3035
3036 <listitem>
3037 <para>
3038 Generate the private key.
3039 </para>
3040
3041 <para>
3042 Use the <command>openssl</command> command.
3043 </para>
3044
3045 <itemizedlist>
3046
3047 <listitem>
3048 <para>
3049 To generate a private key with a passphrase:
3050 </para>
3051
3052<screen>$ openssl genrsa -out ~/.oci/oci_api_key.pem -aes128 2048 </screen>
3053 </listitem>
3054
3055 <listitem>
3056 <para>
3057 To generate a private key without a passphrase:
3058 </para>
3059
3060<screen>$ openssl genrsa -out ~/.oci/oci_api_key.pem 2048</screen>
3061 </listitem>
3062
3063 </itemizedlist>
3064 </listitem>
3065
3066 <listitem>
3067 <para>
3068 Change permissions for the private key.
3069 </para>
3070
3071<screen>$ chmod 600 ~/.oci/oci_api_key.pem</screen>
3072
3073 <para>
3074 Generate the public key.
3075 </para>
3076
3077<screen>$ openssl rsa -pubout -in ~/.oci/oci_api_key.pem -out ~/.oci/oci_api_key_public.pem</screen>
3078 </listitem>
3079
3080 </orderedlist>
3081
3082 </sect2>
3083
3084 <sect2 id="cloud-upload-public-key">
3085
3086 <title>Uploading the Public Key to &oci;</title>
3087
3088 <para>
3089 Use the following steps to upload your public key to &oci;.
3090 </para>
3091
3092 <orderedlist>
3093
3094 <listitem>
3095 <para>
3096 Log in to the &oci; Console.
3097 </para>
3098 </listitem>
3099
3100 <listitem>
3101 <para>
3102 Display the <emphasis role="bold">User Settings</emphasis>
3103 page.
3104 </para>
3105
3106 <para>
3107 Click <emphasis role="bold">Profile</emphasis>,
3108 <emphasis role="bold">User Settings</emphasis>.
3109 </para>
3110 </listitem>
3111
3112 <listitem>
3113 <para>
3114 Display your current API signing keys.
3115 </para>
3116
3117 <para>
3118 Click <emphasis role="bold">Resources</emphasis>,
3119 <emphasis role="bold">API Keys</emphasis>.
3120 </para>
3121 </listitem>
3122
3123 <listitem>
3124 <para>
3125 Upload the public key.
3126 </para>
3127
3128 <para>
3129 Click <emphasis role="bold">Add Public Key</emphasis>.
3130 </para>
3131
3132 <para>
3133 The <emphasis role="bold">Add Public Key</emphasis> dialog
3134 is displayed.
3135 </para>
3136
3137 <figure id="fig-upload-key-oci">
3138 <title>Upload Public Key Dialog in &oci; Console</title>
3139 <mediaobject>
3140 <imageobject>
3141 <imagedata align="center" fileref="images/upload-key.png"
3142 width="12cm" />
3143 </imageobject>
3144 </mediaobject>
3145
3146 </figure>
3147
3148 <para>
3149 Select one of the following options:
3150 </para>
3151
3152 <itemizedlist>
3153
3154 <listitem>
3155 <para>
3156 <emphasis role="bold">Choose Public Key File.</emphasis>
3157 This option enables you to browse to the public key file
3158 on your local hard disk.
3159 </para>
3160 </listitem>
3161
3162 <listitem>
3163 <para>
3164 <emphasis role="bold">Paste Public Keys.</emphasis> This
3165 option enables you to paste the contents of the public
3166 key file into the window in the dialog box.
3167 </para>
3168 </listitem>
3169
3170 </itemizedlist>
3171
3172 <para>
3173 Click <emphasis role="bold">Add</emphasis> to upload the
3174 public key.
3175 </para>
3176 </listitem>
3177
3178 </orderedlist>
3179
3180 </sect2>
3181
3182 <sect2 id="cloud-create-cloud-profile">
3183
3184 <title>Creating a Cloud Profile</title>
3185
3186 <para>
3187 &product-name; uses a <emphasis>cloud profile</emphasis> to
3188 connect to &oci;. A cloud profile is a text file that contains
3189 details of your key files and Oracle Cloud Identifier (OCID)
3190 resource identifiers for your cloud account, such as the
3191 following:
3192 </para>
3193
3194 <itemizedlist>
3195
3196 <listitem>
3197 <para>
3198 <emphasis role="bold">Fingerprint of the public
3199 key.</emphasis> To obtain the fingerprint, you can use the
3200 <command>openssl</command> command:
3201 </para>
3202
3203<screen>$ openssl rsa -pubout -outform DER -in ~/.oci/oci_api_key.pem | openssl md5 -c</screen>
3204 </listitem>
3205
3206 <listitem>
3207 <para>
3208 <emphasis role="bold">Location of the private key on the
3209 client device.</emphasis> Specify the full path to the
3210 private key.
3211 </para>
3212 </listitem>
3213
3214 <listitem>
3215 <para>
3216 <emphasis role="bold">(Optional) Passphrase for the private
3217 key.</emphasis>. This is only required if the key is
3218 encrypted.
3219 </para>
3220 </listitem>
3221
3222 <listitem>
3223 <para>
3224 <emphasis role="bold">Region</emphasis>. Shown on the &oci;
3225 Console. Click
3226 <emphasis role="bold">Administration</emphasis>,
3227 <emphasis role="bold">Tenancy Details</emphasis>.
3228 </para>
3229 </listitem>
3230
3231 <listitem>
3232 <para>
3233 <emphasis role="bold">Tenancy OCID.</emphasis> Shown on the
3234 &oci; Console. Click
3235 <emphasis role="bold">Administration</emphasis>,
3236 <emphasis role="bold">Tenancy Details</emphasis>.
3237 </para>
3238
3239 <para>
3240 A link enables you to copy the Tenancy OCID.
3241 </para>
3242 </listitem>
3243
3244 <listitem>
3245 <para>
3246 <emphasis role="bold">Compartment OCID.</emphasis> Shown on
3247 the &oci; Console. Click
3248 <emphasis role="bold">Identity</emphasis>,
3249 <emphasis role="bold">Compartments</emphasis>.
3250 </para>
3251
3252 <para>
3253 A link enables you to copy the Compartment OCID.
3254 </para>
3255 </listitem>
3256
3257 <listitem>
3258 <para>
3259 <emphasis role="bold">User OCID.</emphasis> Shown on the
3260 &oci; Console. Click
3261 <emphasis role="bold">Profile</emphasis>,
3262 <emphasis role="bold">User Settings</emphasis>.
3263 </para>
3264
3265 <para>
3266 A link enables you to copy the User OCID.
3267 </para>
3268 </listitem>
3269
3270 </itemizedlist>
3271
3272 <para>
3273 You can create a cloud profile in the following ways:
3274 </para>
3275
3276 <itemizedlist>
3277
3278 <listitem>
3279 <para>
3280 Automatically, by using the <emphasis role="bold">Cloud
3281 Profile Manager</emphasis>. See
3282 <xref linkend="cloud-using-cloud-profile-manager"/>.
3283 </para>
3284
3285 <para>
3286 The Cloud Profile Manager is a component of &product-name;
3287 that enables you to create, edit, and manage cloud profiles
3288 for your cloud service accounts.
3289 </para>
3290 </listitem>
3291
3292 <listitem>
3293 <para>
3294 Automatically, by using the <command>VBoxManage
3295 cloudprofile</command> command. See
3296 <xref linkend="vboxmanage-cloudprofile"/>.
3297 </para>
3298 </listitem>
3299
3300 <listitem>
3301 <para>
3302 Manually, by creating an <filename>oci_config</filename>
3303 file in your &product-name; global configuration directory.
3304 For example, this is
3305 <filename>$HOME/.config/VirtualBox/oci_config</filename> on
3306 a Linux host.
3307 </para>
3308 </listitem>
3309
3310 <listitem>
3311 <para>
3312 Manually, by creating a <filename>config</filename> file in
3313 your &oci; configuration directory. For example, this is
3314 <filename>$HOME/.oci/config</filename> on a Linux host.
3315 </para>
3316
3317 <para>
3318 This is the same file that is used by the &oci; command line
3319 interface.
3320 </para>
3321
3322 <para>
3323 &product-name; automatically uses the
3324 <filename>config</filename> file if no cloud profile file is
3325 present in your global configuration directory.
3326 Alternatively, you can import this file manually into the
3327 Cloud Profile Manager.
3328 </para>
3329 </listitem>
3330
3331 </itemizedlist>
3332
3333 </sect2>
3334
3335 <sect2 id="cloud-using-cloud-profile-manager">
3336
3337 <title>Using the Cloud Profile Manager</title>
3338
3339 <para>
3340 This section describes how to use the Cloud Profile Manager to
3341 create a cloud profile.
3342 </para>
3343
3344 <para>
3345 To open the Cloud Profile Manager click
3346 <emphasis role="bold">File</emphasis>,
3347 <emphasis role="bold">Cloud Profile Manager</emphasis> in the
3348 VirtualBox Manager window.
3349 </para>
3350
3351 <figure id="fig-cloud-profile-manager">
3352 <title>The Cloud Profile Manager</title>
3353 <mediaobject>
3354 <imageobject>
3355 <imagedata align="center" fileref="images/cloud-profile-manager.png"
3356 width="12cm" />
3357 </imageobject>
3358 </mediaobject>
3359 </figure>
3360
3361 <para>
3362 You can use the Cloud Profile Manager in the following ways:
3363 </para>
3364
3365 <itemizedlist>
3366
3367 <listitem>
3368 <para>
3369 To create a new cloud profile automatically
3370 </para>
3371 </listitem>
3372
3373 <listitem>
3374 <para>
3375 To create a cloud profile by importing settings from your
3376 &oci; configuration file.
3377 </para>
3378 </listitem>
3379
3380 </itemizedlist>
3381
3382 <para>
3383 Perform the following steps to create a new cloud profile
3384 automatically, using the Cloud Profile Manager:
3385 </para>
3386
3387 <orderedlist>
3388
3389 <listitem>
3390 <para>
3391 Click the <emphasis role="bold">Add</emphasis> icon and
3392 specify a <emphasis role="bold">Name</emphasis> for the
3393 profile.
3394 </para>
3395 </listitem>
3396
3397 <listitem>
3398 <para>
3399 Click <emphasis role="bold">Properties</emphasis> and
3400 specify the following property values for the profile:
3401 </para>
3402
3403 <itemizedlist>
3404
3405 <listitem>
3406 <para>
3407 Compartment OCID
3408 </para>
3409 </listitem>
3410
3411 <listitem>
3412 <para>
3413 Fingerprint of the public key
3414 </para>
3415 </listitem>
3416
3417 <listitem>
3418 <para>
3419 Location of the private key on the client device
3420 </para>
3421 </listitem>
3422
3423<!-- <listitem>
3424 <para>
3425 (Optional) Passphrase for the private key, if the key is
3426 encrypted
3427 </para>
3428 </listitem>-->
3429
3430 <listitem>
3431 <para>
3432 Region OCID
3433 </para>
3434 </listitem>
3435
3436 <listitem>
3437 <para>
3438 Tenancy OCID
3439 </para>
3440 </listitem>
3441
3442 <listitem>
3443 <para>
3444 User OCID
3445 </para>
3446 </listitem>
3447
3448 </itemizedlist>
3449
3450 <para>
3451 Some of these are settings for your &oci; account, which you
3452 can view from the &oci; Console.
3453 </para>
3454 </listitem>
3455
3456 <listitem>
3457 <para>
3458 Click <emphasis role="bold">Apply</emphasis> to save your
3459 changes.
3460 </para>
3461
3462 <para>
3463 The cloud profile settings are saved in the
3464 <filename>oci_config</filename> file in your &product-name;
3465 global settings directory.
3466 </para>
3467 </listitem>
3468
3469 </orderedlist>
3470
3471 <para>
3472 Perform the following steps to import an existing &oci;
3473 configuration file into the Cloud Profile Manager:
3474 </para>
3475
3476 <orderedlist>
3477
3478 <listitem>
3479 <para>
3480 Ensure that a <filename>config</filename> file is present in
3481 your &oci; configuration directory. For example, this is
3482 <filename>$HOME/.oci/config</filename> on a Linux host.
3483 </para>
3484 </listitem>
3485
3486 <listitem>
3487 <para>
3488 Click the <emphasis role="bold">Import</emphasis> icon to
3489 open a dialog that prompts you to import cloud profiles from
3490 external files.
3491 </para>
3492
3493 <warning>
3494 <para>
3495 This action overwrites any cloud profiles that are in your
3496 &product-name; global settings directory.
3497 </para>
3498 </warning>
3499 </listitem>
3500
3501 <listitem>
3502 <para>
3503 Click <emphasis role="bold">Import</emphasis>.
3504 </para>
3505
3506 <para>
3507 Your cloud profile settings are saved to the
3508 <filename>oci_config</filename> file in your &product-name;
3509 global settings directory.
3510 </para>
3511 </listitem>
3512
3513 <listitem>
3514 <para>
3515 Click <emphasis role="bold">Properties</emphasis> to show
3516 the cloud profile settings.
3517 </para>
3518
3519 <para>
3520 Double-click on the appropriate field to change the value.
3521 </para>
3522 </listitem>
3523
3524 <listitem>
3525 <para>
3526 Click <emphasis role="bold">Apply</emphasis> to save your
3527 changes.
3528 </para>
3529 </listitem>
3530
3531 </orderedlist>
3532
3533 </sect2>
3534
3535 <sect2 id="cloud-vbox-oci-tasks">
3536
3537 <title>Using &product-name; With &oci;</title>
3538
3539 <para>
3540 This section describes how you can use &product-name; with &oci;
3541 to do the following tasks:
3542 </para>
3543
3544 <itemizedlist>
3545
3546 <listitem>
3547 <para>
3548 Export an &product-name; VM to &oci;. See
3549 <xref linkend="cloud-export-oci"/>.
3550 </para>
3551 </listitem>
3552
3553 <listitem>
3554 <para>
3555 Import a cloud instance into &product-name;. See
3556 <xref linkend="cloud-import-oci"/>.
3557 </para>
3558 </listitem>
3559
3560 <listitem>
3561 <para>
3562 Create a new cloud instance from a custom image stored on
3563 &oci;. See <xref linkend="cloud-new-vm"/>.
3564 </para>
3565 </listitem>
3566
3567 <listitem>
3568 <para>
3569 Use the <command>VBoxManage</command> commands to integrate
3570 with &oci; and perform cloud operations. See
3571 <xref linkend="cloud-using-cli"/>.
3572 </para>
3573 </listitem>
3574
3575 </itemizedlist>
3576
3577 </sect2>
3578
3579 <sect2 id="cloud-export-oci">
3580
3581 <title>Exporting an Appliance to &oci;</title>
3582
3583 <para>
3584 &product-name; supports the export of VMs to an &oci; service.
3585 The exported VM is stored on &oci; as a custom Linux image. You
3586 can configure whether a cloud instance is created and started
3587 after the export process has completed.
3588 </para>
3589
3590 <note>
3591 <para>
3592 Before you export a VM to &oci;, you must prepare the VM as
3593 described in <xref linkend="cloud-export-oci-prepare-vm"/>.
3594 </para>
3595 </note>
3596
3597 <para>
3598 Use the following steps to export a VM to &oci;:
3599 </para>
3600
3601 <orderedlist>
3602
3603 <listitem>
3604 <para>
3605 Select <emphasis role="bold">File</emphasis>,
3606 <emphasis role="bold">Export Appliance</emphasis> to open
3607 the <emphasis role="bold">Export Virtual
3608 Appliance</emphasis> wizard.
3609 </para>
3610
3611 <para>
3612 Select a VM to export and click
3613 <emphasis role="bold">Next</emphasis> to open the
3614 <emphasis role="bold">Appliance Settings</emphasis> screen.
3615 </para>
3616 </listitem>
3617
3618 <listitem>
3619 <para>
3620 From the <emphasis role="bold">Format</emphasis> drop-down
3621 list, select <emphasis role="bold">&oci;</emphasis>.
3622 </para>
3623
3624 <para>
3625 In the <emphasis role="bold">Account</emphasis> drop-down
3626 list, select the cloud profile for your &oci; account.
3627 </para>
3628
3629 <para>
3630 The list after the <emphasis role="bold">Account</emphasis>
3631 field shows the profile settings for your cloud account.
3632 </para>
3633
3634 <figure id="fig-export-appliance-oci">
3635 <title>Appliance Settings Screen, Showing Cloud Profile and Machine Creation
3636 Settings</title>
3637 <mediaobject>
3638 <imageobject>
3639 <imagedata align="center" fileref="images/export-appliance-oci.png"
3640 width="12cm" />
3641 </imageobject>
3642 </mediaobject>
3643 </figure>
3644
3645 <para>
3646 In the <emphasis role="bold">Machine Creation</emphasis>
3647 field, select an option to configure settings for a cloud
3648 instance created when you export to &oci;. The options
3649 enable you to do one of the following:
3650 </para>
3651
3652 <itemizedlist>
3653
3654 <listitem>
3655 <para>
3656 Configure settings for the cloud instance
3657 <emphasis>after</emphasis> you have finished exporting
3658 the VM.
3659 </para>
3660 </listitem>
3661
3662 <listitem>
3663 <para>
3664 Configure settings for the cloud instance
3665 <emphasis>before</emphasis> you start to export the VM.
3666 </para>
3667 </listitem>
3668
3669 <listitem>
3670 <para>
3671 Do not create a cloud instance when you export the VM.
3672 </para>
3673 </listitem>
3674
3675 </itemizedlist>
3676
3677 <para>
3678 Click <emphasis role="bold">Next</emphasis> to make an API
3679 request to the &oci; service and open the
3680 <emphasis role="bold">Virtual System Settings</emphasis>
3681 screen.
3682 </para>
3683 </listitem>
3684
3685 <listitem>
3686 <para>
3687 (Optional) Edit storage settings used for the exported
3688 virtual machine in &oci;. You can change the following
3689 settings:
3690 </para>
3691
3692 <itemizedlist>
3693
3694 <listitem>
3695 <para>
3696 The name of the bucket used to store the exported files.
3697 </para>
3698 </listitem>
3699
3700 <listitem>
3701 <para>
3702 Whether to store the custom image in &oci;.
3703 </para>
3704 </listitem>
3705
3706 <listitem>
3707 <para>
3708 The name for the custom image in &oci;.
3709 </para>
3710 </listitem>
3711
3712 <listitem>
3713 <para>
3714 The launch mode for the custom image.
3715 </para>
3716
3717 <para>
3718 <emphasis role="bold">Paravirtualized</emphasis> mode
3719 gives improved performance and should be suitable for
3720 most &product-name; VMs.
3721 </para>
3722
3723 <para>
3724 <emphasis role="bold">Emulated</emphasis> mode is
3725 suitable for legacy OS images.
3726 </para>
3727 </listitem>
3728
3729 </itemizedlist>
3730
3731 <para>
3732 Click <emphasis role="bold">Export</emphasis> to continue.
3733 </para>
3734 </listitem>
3735
3736 <listitem>
3737 <para>
3738 Depending on the selection in the
3739 <emphasis role="bold">Machine Creation</emphasis> field, the
3740 <emphasis role="bold">Cloud Virtual Machine
3741 Settings</emphasis> screen may be displayed before or after
3742 export. This screen enables you to configure settings for
3743 the cloud instance, such as Shape and Disk Size.
3744 </para>
3745
3746 <para>
3747 Click <emphasis role="bold">Create</emphasis>. The VM is
3748 exported to &oci;.
3749 </para>
3750
3751 <para>
3752 Depending on the <emphasis role="bold">Machine
3753 Creation</emphasis> setting, a cloud instance may be started
3754 after upload to &oci; is completed.
3755 </para>
3756 </listitem>
3757
3758 <listitem>
3759 <para>
3760 Monitor the export process by using the &oci; Console.
3761 </para>
3762 </listitem>
3763
3764 </orderedlist>
3765
3766 <para>
3767 You can also use the <command>VBoxManage export</command>
3768 command to export a VM to &oci;. See
3769 <xref linkend="vboxmanage-export-cloud"/>.
3770 </para>
3771
3772 <sect3 id="cloud-export-oci-prepare-vm">
3773
3774 <title>Preparing a VM for Export to &oci;</title>
3775
3776 <para>
3777 &oci; provides the option to import a custom Linux image.
3778 Before an &product-name; image can be exported to &oci;, the
3779 custom image needs to be prepared to ensure that instances
3780 launched from the custom image can boot correctly and that
3781 network connections will work. This section provides advice on
3782 how to prepare a Linux image for export from &product-name;.
3783 </para>
3784
3785 <para>
3786 The following list shows some tasks to consider when preparing
3787 an Oracle Linux VM for export:
3788 </para>
3789
3790 <itemizedlist>
3791
3792 <listitem>
3793 <para>
3794 <emphasis role="bold">Use DHCP for network
3795 addresses.</emphasis> Configure the VM to use a DHCP
3796 server to allocate network addresses, rather than using a
3797 static IP address. The &oci; instance will then be
3798 allocated an IP address automatically.
3799 </para>
3800 </listitem>
3801
3802 <listitem>
3803 <para>
3804 <emphasis role="bold">Do not specify a MAC
3805 address.</emphasis> The network interface configuration
3806 for the VM must not specify the MAC address.
3807 </para>
3808
3809 <para>
3810 Remove the HWADDR setting from the
3811 <filename>/etc/sysconfig/ifcfg-<replaceable>devicename</replaceable></filename>
3812 network script.
3813 </para>
3814 </listitem>
3815
3816 <listitem>
3817 <para>
3818 <emphasis role="bold">Disable persistent network device
3819 naming rules.</emphasis> This means that the &oci;
3820 instance will use the same network device names as the VM.
3821 </para>
3822
3823 <orderedlist>
3824
3825 <listitem>
3826 <para>
3827 Change the GRUB kernel parameters.
3828 </para>
3829
3830 <para>
3831 Add <literal>net.ifnames=0</literal> and
3832 <literal>biosdevname=0</literal> as kernel parameter
3833 values to the <literal>GRUB_CMDLINE_LINUX</literal>
3834 variable.
3835 </para>
3836 </listitem>
3837
3838 <listitem>
3839 <para>
3840 Update the GRUB configuration.
3841 </para>
3842
3843<screen># grub2-mkconfig -o /boot/grub2/grub.cfg</screen>
3844 </listitem>
3845
3846 <listitem>
3847 <para>
3848 Disable any <literal>udev</literal> rules for network
3849 device naming.
3850 </para>
3851
3852 <para>
3853 For example, if an automated <literal>udev</literal>
3854 rule exists for <literal>net-persistence</literal>:
3855 </para>
3856
3857<screen># cd /etc/udev/rules.d
3858# rm -f 70-persistent-net.rules
3859# ln -s /dev/null /etc/udev/rules.d/70-persistent-net.rules</screen>
3860 </listitem>
3861
3862 </orderedlist>
3863 </listitem>
3864
3865 <listitem>
3866 <para>
3867 <emphasis role="bold">Enable the serial
3868 console.</emphasis> This enables you to troubleshoot the
3869 instance when it is running on &oci;.
3870 </para>
3871
3872 <orderedlist>
3873
3874 <listitem>
3875 <para>
3876 Edit the <filename>/etc/default/grub</filename> file,
3877 as follows:
3878 </para>
3879
3880 <itemizedlist>
3881
3882 <listitem>
3883 <para>
3884 Remove the <literal>resume</literal> setting from
3885 the kernel parameters. This setting slows down
3886 boot time significantly.
3887 </para>
3888 </listitem>
3889
3890 <listitem>
3891 <para>
3892 Replace <literal>GRUB_TERMINAL="gfxterm"</literal>
3893 with <literal>GRUB_TERMINAL="console
3894 serial"</literal>. This configures use of the
3895 serial console instead of a graphical terminal.
3896 </para>
3897 </listitem>
3898
3899 <listitem>
3900 <para>
3901 Add <literal>GRUB_SERIAL_COMMAND="serial --unit=0
3902 --speed=115200"</literal>. This configures the
3903 serial connection.
3904 </para>
3905 </listitem>
3906
3907 <listitem>
3908 <para>
3909 Add <literal>console=tty0
3910 console=ttyS0,115200</literal> to the
3911 <literal>GRUB_CMDLINE_LINUX</literal> variable.
3912 This adds the serial console to the Linux kernel
3913 boot parameters.
3914 </para>
3915 </listitem>
3916
3917 </itemizedlist>
3918 </listitem>
3919
3920 <listitem>
3921 <para>
3922 Regenerate the GRUB configuration.
3923 </para>
3924
3925<screen># grub2-mkconfig -o /boot/grub2/grub.cfg</screen>
3926 </listitem>
3927
3928 <listitem>
3929 <para>
3930 To verify the changes, reboot the machine and run the
3931 <command>dmesg</command> command to look for the
3932 updated kernel parameters.
3933 </para>
3934
3935<screen># dmesg |grep console=ttyS0</screen>
3936 </listitem>
3937
3938 </orderedlist>
3939 </listitem>
3940
3941 <listitem>
3942 <para>
3943 <emphasis role="bold">Enable paravirtualized device
3944 support.</emphasis> You do this by adding the
3945 <literal>virtio</literal> drivers to the
3946 <literal>initrd</literal> for the VM.
3947 </para>
3948
3949 <orderedlist>
3950
3951 <listitem>
3952 <para>
3953 This procedure works only on machines with a Linux
3954 kernel of version 3.4 or later. Check that the VM is
3955 running a supported kernel:
3956 </para>
3957
3958<screen># uname -a</screen>
3959 </listitem>
3960
3961 <listitem>
3962 <para>
3963 Use the <literal>dracut</literal> tool to rebuild
3964 <literal>initrd</literal>. Add the
3965 <literal>qemu</literal> module, as follows:
3966 </para>
3967
3968<screen># dracut –-logfile /var/log/Dracut.log –-force –-add qemu</screen>
3969 </listitem>
3970
3971 <listitem>
3972 <para>
3973 Verify that the <literal>virtio</literal> drivers are
3974 now present in <literal>initrd</literal>.
3975 </para>
3976
3977<screen> # lsinitrd |grep virtio</screen>
3978 </listitem>
3979
3980 </orderedlist>
3981 </listitem>
3982
3983 </itemizedlist>
3984
3985 <para>
3986 For more information about importing a custom Linux image into
3987 &oci;, see also:
3988 </para>
3989
3990 <para>
3991 <ulink url="https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/importingcustomimagelinux.htm" />
3992 </para>
3993
3994 </sect3>
3995
3996 </sect2>
3997
3998 <sect2 id="cloud-import-oci">
3999
4000 <title>Importing an Instance from &oci;</title>
4001
4002 <para>
4003 Perform the following steps to import a cloud instance from
4004 &oci; into &product-name;:
4005 </para>
4006
4007 <orderedlist>
4008
4009 <listitem>
4010 <para>
4011 Select <emphasis role="bold">File</emphasis>,
4012 <emphasis role="bold">Import Appliance</emphasis> to open
4013 the <emphasis role="bold">Import Virtual
4014 Appliance</emphasis> wizard.
4015 </para>
4016
4017 <para>
4018 In the <emphasis role="bold">Source</emphasis> drop-down
4019 list, select <emphasis role="bold">&oci;</emphasis>.
4020 </para>
4021
4022 <para>
4023 In the <emphasis role="bold">Account</emphasis> drop-down
4024 list, select the cloud profile for your &oci; account.
4025 </para>
4026
4027 <para>
4028 The list after the <emphasis role="bold">Account</emphasis>
4029 field shows the profile settings for your cloud account.
4030 </para>
4031
4032 <para>
4033 Choose the required cloud instance from the list in the
4034 <emphasis role="bold">Machines</emphasis> field.
4035 </para>
4036
4037 <para>
4038 Click <emphasis role="bold">Next</emphasis> to make an API
4039 request to the &oci; service and display the
4040 <emphasis role="bold">Appliance Settings</emphasis> screen.
4041 </para>
4042 </listitem>
4043
4044 <listitem>
4045 <para>
4046 (Optional) Edit settings for the new local virtual machine.
4047 </para>
4048
4049 <para>
4050 For example, you can edit the VM name and description.
4051 </para>
4052
4053 <figure id="fig-import-instance-oci">
4054 <title>Import Cloud Instance Screen, Showing Profile Settings and VM Settings</title>
4055 <mediaobject>
4056 <imageobject>
4057 <imagedata align="center" fileref="images/import-instance.png"
4058 width="12cm" />
4059 </imageobject>
4060 </mediaobject>
4061 </figure>
4062
4063 <para>
4064 Click <emphasis role="bold">Import</emphasis> to import the
4065 instance from &oci;.
4066 </para>
4067 </listitem>
4068
4069 <listitem>
4070 <para>
4071 Monitor the import process by using the &oci; Console.
4072 </para>
4073 </listitem>
4074
4075 </orderedlist>
4076
4077 <para>
4078 You can also use the <command>VBoxManage import</command>
4079 command to import an instance from &oci;. See
4080 <xref linkend="vboxmanage-import-cloud"/>.
4081 </para>
4082
4083 <simplesect id="import-instance-sequence">
4084
4085 <title>Importing an Instance: Overview of Events</title>
4086
4087 <para>
4088 The following describes the sequence of events when you import
4089 an instance from &oci;.
4090 </para>
4091
4092 <itemizedlist>
4093
4094 <listitem>
4095 <para>
4096 A custom image is created from the boot volume of the
4097 instance.
4098 </para>
4099 </listitem>
4100
4101 <listitem>
4102 <para>
4103 The custom image is exported to an &oci; object and is
4104 stored using Object Storage in the bucket specified by the
4105 user.
4106 </para>
4107 </listitem>
4108
4109 <listitem>
4110 <para>
4111 The &oci; object is downloaded to the local host. The
4112 object is a TAR archive which contains a boot volume of
4113 the instance in QCOW2 format and a JSON file containing
4114 metadata related to the instance.
4115 </para>
4116 </listitem>
4117
4118 <listitem>
4119 <para>
4120 The boot volume of the instance is extracted from the
4121 archive and a new VMDK image is created by converting the
4122 boot volume into the VMDK format. The VMDK image is
4123 registered with &product-name;.
4124 </para>
4125 </listitem>
4126
4127 <listitem>
4128 <para>
4129 A new VM is created using the VMDK image for the cloud
4130 instance.
4131 </para>
4132
4133 <para>
4134 By default, the new VM is not started after import from
4135 &oci;.
4136 </para>
4137 </listitem>
4138
4139 <listitem>
4140 <para>
4141 The downloaded TAR archive is deleted after a successful
4142 import.
4143 </para>
4144 </listitem>
4145
4146 </itemizedlist>
4147
4148 </simplesect>
4149
4150 </sect2>
4151
4152 <sect2 id="cloud-new-vm">
4153
4154 <title>Creating New Cloud Instances from a Custom Image</title>
4155
4156 <para>
4157 You can use &product-name; to create new instances from a custom
4158 image on your cloud service.
4159 </para>
4160
4161 <para>
4162 <xref linkend="cloud-export-oci"/> describes how to create a
4163 custom image when you are exporting a VM to &oci;. Using a
4164 custom image means that you can quickly create cloud instances
4165 without having to upload your image to the cloud service every
4166 time.
4167 </para>
4168
4169 <para>
4170 Perform the following steps to create a new cloud instance on
4171 &oci;:
4172 </para>
4173
4174 <orderedlist>
4175
4176 <listitem>
4177 <para>
4178 Select <emphasis role="bold">File</emphasis>,
4179 <emphasis role="bold">New Cloud VM</emphasis> to open the
4180 <emphasis role="bold">Create Cloud Virtual
4181 Machine</emphasis> wizard.
4182 </para>
4183 </listitem>
4184
4185 <listitem>
4186 <para>
4187 From the <emphasis role="bold">Destination</emphasis>
4188 drop-down list, select
4189 <emphasis role="bold">&oci;</emphasis>.
4190 </para>
4191
4192 <para>
4193 In the <emphasis role="bold">Account</emphasis> drop-down
4194 list, select the cloud profile for your &oci; account.
4195 </para>
4196
4197 <para>
4198 The list after the <emphasis role="bold">Account</emphasis>
4199 field shows the profile settings for your cloud account.
4200 </para>
4201
4202 <para>
4203 In the <emphasis role="bold">Images</emphasis> list, select
4204 from the custom images available on &oci;.
4205 </para>
4206
4207 <figure id="fig-newcloudvm">
4208 <title>New Cloud VM Wizard, Showing List of Custom Images</title>
4209 <mediaobject>
4210 <imageobject>
4211 <imagedata align="center" fileref="images/newcloudvm.png"
4212 width="12cm" />
4213 </imageobject>
4214 </mediaobject>
4215 </figure>
4216
4217 <para>
4218 Click <emphasis role="bold">Next</emphasis> to make an API
4219 request to the &oci; service and open the
4220 <emphasis role="bold">Cloud Virtual Machine
4221 Settings</emphasis> screen.
4222 </para>
4223 </listitem>
4224
4225 <listitem>
4226 <para>
4227 (Optional) Edit settings used for the new instance on &oci;.
4228 </para>
4229
4230 <para>
4231 For example, you can edit the Disk Size and Shape used for
4232 the VM instance and the networking configuration.
4233 </para>
4234
4235 <para>
4236 Click <emphasis role="bold">Create</emphasis> to create the
4237 new cloud instance.
4238 </para>
4239 </listitem>
4240
4241 <listitem>
4242 <para>
4243 Monitor the instance creation process by using the &oci;
4244 Console.
4245 </para>
4246 </listitem>
4247
4248 </orderedlist>
4249
4250 <para>
4251 You can also use the <command>VBoxManage cloud
4252 instance</command> command to create and manage instances on a
4253 cloud service. See <xref linkend="vboxmanage-cloud"/>.
4254 </para>
4255
4256 </sect2>
4257
4258 <sect2 id="cloud-using-cli">
4259
4260 <title>Using VBoxManage Commands With &oci;</title>
4261
4262 <para>
4263 This section includes some examples of how
4264 <command>VBoxManage</command> commands can be used to integrate
4265 with &oci; and perform common cloud operations.
4266 </para>
4267
4268 <para>
4269 <emphasis role="bold">Creating a Cloud Profile</emphasis>
4270 </para>
4271
4272 <para>
4273 To create a cloud profile called <literal>vbox-oci</literal>:
4274 </para>
4275
4276<screen>VBoxManage cloudprofile --provider "OCI" --profile="vbox-oci" add \
4277--clouduser="ocid1.user.oc1..." --keyfile="/home/username/.oci/oci_api_key.pem" \
4278--tenancy="ocid1.tenancy.oc1..." --compartment="ocid1.compartment.oc1..." --region="us-ashburn-1"
4279</screen>
4280
4281 <para>
4282 The new cloud profile is added to the
4283 <filename>oci_config</filename> file in your &product-name;
4284 global configuration directory. For example, this is
4285 <filename>$HOME/.VirtualBox/oci_config</filename> on a Windows
4286 host.
4287 </para>
4288
4289 <para>
4290 <emphasis role="bold">Listing Cloud Instances</emphasis>
4291 </para>
4292
4293 <para>
4294 To list the instances in your &oci; compartment:
4295 </para>
4296
4297<screen>VBoxManage cloud --provider="OCI" --profile="vbox-oci" list instances
4298</screen>
4299
4300 <para>
4301 <emphasis role="bold">Exporting an &product-name; VM to the
4302 Cloud</emphasis>
4303 </para>
4304
4305 <para>
4306 To export a VM called <literal>myVM</literal> and create a cloud
4307 instance called <literal>myVM_Cloud</literal>:
4308 </para>
4309
4310<screen>VBoxManage export myVM --output OCI:// --cloud 0 --vmname myVM_Cloud \
4311--cloudprofile "vbox-oci" --cloudbucket myBucket \
4312--cloudshape VM.Standard2.1 --clouddomain US-ASHBURN-AD-1 --clouddisksize 50 \
4313--cloudocivcn ocid1.vcn.oc1... --cloudocisubnet ocid1.subnet.oc1... \
4314--cloudkeepobject true --cloudlaunchinstance true --cloudpublicip true
4315 </screen>
4316
4317 <para>
4318 <emphasis role="bold">Importing a Cloud Instance Into
4319 &product-name;</emphasis>
4320 </para>
4321
4322 <para>
4323 To import a cloud instance and create an &product-name; VM
4324 called <literal>oci_Import</literal>:
4325 </para>
4326
4327<screen>VBoxManage import OCI:// --cloud --vmname oci_Import --memory 4000
4328--cpus 3 --ostype FreeBSD_64 --cloudprofile "vbox-oci"
4329--cloudinstanceid ocid1.instance.oc1... --cloudbucket myBucket
4330 </screen>
4331
4332 <para>
4333 <emphasis role="bold">Creating a New Cloud Instance From a
4334 Custom Image</emphasis>
4335 </para>
4336
4337 <para>
4338 To create a new cloud instance from a custom image on &oci;:
4339 </para>
4340
4341<screen>VBoxManage cloud --provider="OCI" --profile="vbox-oci" instance create \
4342--domain-name="oraclecloud.com" --image-id="ocid1.image.oc1..." --display-name="myInstance" \
4343--shape="VM.Standard2.1" --subnet="ocid1.subnet.oc1..."</screen>
4344
4345 <para>
4346 <emphasis role="bold">Terminating a Cloud Instance</emphasis>
4347 </para>
4348
4349 <para>
4350 To terminate an instance in your compartment on &oci;:
4351 </para>
4352
4353<screen>VBoxManage cloud --provider="OCI" --profile="vbox-oci" instance terminate \
4354--id="ocid1.instance.oc1..." </screen>
4355
4356 <para>
4357 For more details about the available commands for cloud
4358 operations, see <xref linkend="vboxmanage-cloud"/>.
4359 </para>
4360
4361 </sect2>
4362
4363 </sect1>
4364
4365 <sect1 id="globalsettings">
4366
4367 <title>Global Settings</title>
4368
4369 <para>
4370 The <emphasis role="bold">Global Settings</emphasis> dialog can be
4371 displayed using the <emphasis role="bold">File</emphasis> menu, by
4372 clicking the <emphasis role="bold">Preferences</emphasis> item.
4373 This dialog offers a selection of settings, most of which apply to
4374 all virtual machines of the current user. The
4375 <emphasis role="bold">Extensions</emphasis> option applies to the
4376 entire system.
4377 </para>
4378
4379 <para>
4380 The following settings are available:
4381 </para>
4382
4383 <itemizedlist>
4384
4385 <listitem>
4386 <para>
4387 <emphasis role="bold">General.</emphasis> Enables the user to
4388 specify the default folder or directory for VM files, and the
4389 VRDP Authentication Library.
4390 </para>
4391 </listitem>
4392
4393 <listitem>
4394 <para>
4395 <emphasis role="bold">Input.</emphasis> Enables the user to
4396 specify the Host key. This is the key that toggles whether the
4397 cursor is in the focus of the VM or the Host OS windows, see
4398 <xref linkend="keyb_mouse_normal"/>. The Host key is also used
4399 to trigger certain VM actions, see
4400 <xref linkend="specialcharacters"/>.
4401 </para>
4402 </listitem>
4403
4404 <listitem>
4405 <para>
4406 <emphasis role="bold">Update.</emphasis> Enables the user to
4407 specify various settings for Automatic Updates.
4408 </para>
4409 </listitem>
4410
4411 <listitem>
4412 <para>
4413 <emphasis role="bold">Language.</emphasis> Enables the user to
4414 specify the GUI language.
4415 </para>
4416 </listitem>
4417
4418 <listitem>
4419 <para>
4420 <emphasis role="bold">Display.</emphasis> Enables the user to
4421 specify the screen resolution, and its width and height. A
4422 default scale factor can be specified for all guest screens.
4423 </para>
4424 </listitem>
4425
4426 <listitem>
4427 <para>
4428 <emphasis role="bold">Network.</emphasis> Enables the user to
4429 configure the details of NAT networks. See
4430 <xref linkend="network_nat_service"/>.
4431 </para>
4432 </listitem>
4433
4434 <listitem>
4435 <para>
4436 <emphasis role="bold">Extensions.</emphasis> Enables the user
4437 to list and manage the installed extension packages.
4438 </para>
4439 </listitem>
4440
4441 <listitem>
4442 <para>
4443 <emphasis role="bold">Proxy.</emphasis> Enables the user to
4444 configure a HTTP Proxy Server.
4445 </para>
4446 </listitem>
4447
4448 </itemizedlist>
4449
4450 </sect1>
4451
4452 <sect1 id="frontends">
4453
4454 <title>Alternative Front-Ends</title>
4455
4456 <para>
4457 As briefly mentioned in <xref linkend="features-overview" />,
4458 &product-name; has a very flexible internal design that enables
4459 you to use multiple interfaces to control the same virtual
4460 machines. For example, you can start a virtual machine with the
4461 VirtualBox Manager window and then stop it from the command line.
4462 With &product-name;'s support for the Remote Desktop Protocol
4463 (RDP), you can even run virtual machines remotely on a headless
4464 server and have all the graphical output redirected over the
4465 network.
4466 </para>
4467
4468 <para>
4469 The following front-ends are shipped in the standard
4470 &product-name; package:
4471 </para>
4472
4473 <itemizedlist>
4474
4475 <listitem>
4476 <para>
4477 <emphasis role="bold">VirtualBox.</emphasis> This is the
4478 VirtualBox Manager, a graphical user interface that uses the
4479 Qt toolkit. This interface is described throughout this
4480 manual. While this is the simplest and easiest front-end to
4481 use, some of the more advanced &product-name; features are not
4482 included.
4483 </para>
4484 </listitem>
4485
4486 <listitem>
4487 <para>
4488 <emphasis role="bold">VBoxManage.</emphasis> A command-line
4489 interface for automated and detailed control of every aspect
4490 of &product-name;. See
4491 <xref
4492 linkend="vboxmanage" />.
4493 </para>
4494 </listitem>
4495
4496 <listitem>
4497 <para>
4498 <emphasis role="bold">VBoxHeadless.</emphasis> A front-end
4499 that produces no visible output on the host at all, but can
4500 act as a RDP server if the VirtualBox Remote Desktop Extension
4501 (VRDE) is installed and enabled for the VM. As opposed to the
4502 other graphical interfaces, the headless front-end requires no
4503 graphics support. This is useful, for example, if you want to
4504 host your virtual machines on a headless Linux server that has
4505 no X Window system installed. See
4506 <xref linkend="vboxheadless" />.
4507 </para>
4508 </listitem>
4509
4510 </itemizedlist>
4511
4512 <para>
4513 If the above front-ends still do not satisfy your particular
4514 needs, it is possible to create yet another front-end to the
4515 complex virtualization engine that is the core of &product-name;,
4516 as the &product-name; core neatly exposes all of its features in a
4517 clean API. See <xref linkend="VirtualBoxAPI" />.
4518 </para>
4519
4520 </sect1>
4521
4522 <sect1 id="soft-keyb">
4523
4524 <title>Soft Keyboard</title>
4525
4526 <para>
4527 &product-name; provides a <emphasis>soft keyboard</emphasis> that
4528 enables you to input keyboard characters on the guest. A soft
4529 keyboard is an on-screen keyboard that can be used as an
4530 alternative to a physical keyboard. See
4531 <xref linkend="soft-keyb-using"/> for details of how to use the
4532 soft keyboard.
4533 </para>
4534
4535 <caution>
4536 <para>
4537 For best results, ensure that the keyboard layout configured on
4538 the guest OS matches the keyboard layout used by the soft
4539 keyboard. &product-name; does not do this automatically.
4540 </para>
4541 </caution>
4542
4543 <figure id="fig-soft-keyb">
4544 <title>Soft Keyboard in a Guest Virtual Machine</title>
4545 <mediaobject>
4546 <imageobject>
4547 <imagedata align="center" fileref="images/softkeybd.png"
4548 width="14cm" />
4549 </imageobject>
4550 </mediaobject>
4551 </figure>
4552
4553 <para>
4554 The soft keyboard can be used in the following scenarios:
4555 </para>
4556
4557 <itemizedlist>
4558
4559 <listitem>
4560 <para>
4561 When the physical keyboard on the host is not the same as the
4562 keyboard layout configured on the guest. For example, if the
4563 guest is configured to use an international keyboard, but the
4564 host keyboard is US English.
4565 </para>
4566 </listitem>
4567
4568 <listitem>
4569 <para>
4570 To send special key combinations to the guest. Note that some
4571 common key combinations are also available in the
4572 <emphasis role="bold">Input</emphasis>,
4573 <emphasis role="bold">Keyboard</emphasis> menu of the guest VM
4574 window. See <xref linkend="specialcharacters"/>.
4575 </para>
4576 </listitem>
4577
4578 <listitem>
4579 <para>
4580 For guests in kiosk mode, where a physical keyboard is not
4581 present.
4582 </para>
4583 </listitem>
4584
4585 <listitem>
4586 <para>
4587 When using nested virtualization, the soft keyboard provides a
4588 method of sending key presses to a guest.
4589 </para>
4590 </listitem>
4591
4592 </itemizedlist>
4593
4594 <para>
4595 By default, the soft keyboard includes some common international
4596 keyboard layouts. You can copy and modify these to meet your own
4597 requirements. See <xref linkend="soft-keyb-custom"/>.
4598 </para>
4599
4600 <sect2 id="soft-keyb-using">
4601
4602 <title>Using the Soft Keyboard</title>
4603
4604 <orderedlist>
4605
4606 <listitem>
4607 <para>
4608 Display the soft keyboard.
4609 </para>
4610
4611 <para>
4612 In the guest VM window, select
4613 <emphasis role="bold">Input</emphasis>,
4614 <emphasis role="bold">Keyboard</emphasis>,
4615 <emphasis role="bold">Soft Keyboard</emphasis>.
4616 </para>
4617 </listitem>
4618
4619 <listitem>
4620 <para>
4621 Select the required keyboard layout.
4622 </para>
4623
4624 <para>
4625 The name of the current keyboard layout is displayed in the
4626 task bar of the soft keyboard window. This is the previous
4627 keyboard layout that was used.
4628 </para>
4629
4630 <para>
4631 Click the <emphasis role="bold">Layout List</emphasis> icon
4632 in the task bar of the soft keyboard window. The
4633 <emphasis role="bold">Layout List</emphasis> window is
4634 displayed.
4635 </para>
4636
4637 <para>
4638 Select the required keyboard layout from the entries in the
4639 <emphasis role="bold">Layout List</emphasis> window.
4640 </para>
4641
4642 <para>
4643 The keyboard display graphic is updated to show the
4644 available input keys.
4645 </para>
4646 </listitem>
4647
4648 <listitem>
4649 <para>
4650 Use the soft keyboard to enter keyboard characters on the
4651 guest.
4652 </para>
4653
4654 <itemizedlist>
4655
4656 <listitem>
4657 <para>
4658 Modifier keys such as Shift, Ctrl, and Alt are available
4659 on the soft keyboard. Click once to select the modifier
4660 key, click twice to lock the modifier key.
4661 </para>
4662
4663 <para>
4664 The <emphasis role="bold">Reset the Keyboard and Release
4665 All Keys</emphasis> icon can be used to release all
4666 pressed modifier keys, both on the host and the guest.
4667 </para>
4668 </listitem>
4669
4670 <listitem>
4671 <para>
4672 To change the look of the soft keyboard, click the
4673 <emphasis role="bold">Settings</emphasis> icon in the
4674 task bar. You can change colors used in the keyboard
4675 graphic, and can hide or show sections of the keyboard,
4676 such as the NumPad or multimedia keys.
4677 </para>
4678 </listitem>
4679
4680 </itemizedlist>
4681 </listitem>
4682
4683 </orderedlist>
4684
4685 </sect2>
4686
4687 <sect2 id="soft-keyb-custom">
4688
4689 <title>Creating a Custom Keyboard Layout</title>
4690
4691 <para>
4692 You can use one of the supplied default keyboard layouts as the
4693 starting point to create a custom keyboard layout.
4694 </para>
4695
4696 <note>
4697 <para>
4698 To permananently save a custom keyboard layout, you must save
4699 it to file. Otherwise, any changes you make are discarded when
4700 you close down the <emphasis role="bold">Soft
4701 Keyboard</emphasis> window.
4702 </para>
4703
4704 <para>
4705 Custom keyboard layouts that you save are stored as an XML
4706 file on the host, in the <filename>keyboardLayouts</filename>
4707 folder in the global configuration data directory. For
4708 example, in
4709 <filename>$HOME/.config/VirtualBox/keyboardLayouts</filename>
4710 on a Linux host.
4711 </para>
4712 </note>
4713
4714 <orderedlist>
4715
4716 <listitem>
4717 <para>
4718 Display the <emphasis role="bold">Layout List</emphasis>.
4719 </para>
4720
4721 <para>
4722 Click the <emphasis role="bold">Layout List</emphasis> icon
4723 in the task bar of the soft keyboard window.
4724 </para>
4725 </listitem>
4726
4727 <listitem>
4728 <para>
4729 Make a copy of an existing keyboard layout.
4730 </para>
4731
4732 <para>
4733 Highlight the required layout and click the
4734 <emphasis role="bold">Copy the Selected Layout</emphasis>
4735 icon.
4736 </para>
4737
4738 <para>
4739 A new layout entry with a name suffix of
4740 <literal>-Copy</literal> is created.
4741 </para>
4742 </listitem>
4743
4744 <listitem>
4745 <para>
4746 Edit the new keyboard layout.
4747 </para>
4748
4749 <para>
4750 Highlight the new layout in the <emphasis role="bold">Layout
4751 List</emphasis> and click the <emphasis role="bold">Edit the
4752 Selected Layout</emphasis> icon.
4753 </para>
4754
4755 <para>
4756 Enter a new name for the layout.
4757 </para>
4758
4759 <para>
4760 Edit keys in the new layout. Click on the key that you want
4761 to edit and enter new key captions in the
4762 <emphasis role="bold">Captions</emphasis> fields.
4763 </para>
4764
4765 <para>
4766 The keyboard graphic is updated with the new captions.
4767 </para>
4768 </listitem>
4769
4770 <listitem>
4771 <para>
4772 (Optional) Save the layout to file. This means that your
4773 custom keyboard layout will be available for future use.
4774 </para>
4775
4776 <para>
4777 Highlight the new layout in the <emphasis role="bold">Layout
4778 List</emphasis> and click the <emphasis role="bold">Save the
4779 Selected Layout into File</emphasis> icon.
4780 </para>
4781
4782 <para>
4783 Any custom layouts that you create can later be removed from
4784 the Layout List, by highlighting and clicking the
4785 <emphasis role="bold">Delete the Selected Layout</emphasis>
4786 icon.
4787 </para>
4788 </listitem>
4789
4790 </orderedlist>
4791
4792 </sect2>
4793
4794 </sect1>
4795
4796 <sect1 id="vm-info">
4797
4798 <title>Configuration Details and Runtime Information of Virtual Machines</title>
4799 <para>
4800 &product-name; GUI offers several possibilities for obtaining
4801 configuration and runtime information of virtual machines.
4802 </para>
4803
4804 <sect2 id="vm-details-tool">
4805 <title>Virtual Machine Details Widget</title>
4806 <para>
4807 The VM details widget is an interactive tool through which
4808 settings of the guest system can be viewed and modified.
4809 </para>
4810 </sect2>
4811 <sect2 id="vm-activity-overview-widget">
4812
4813 <title>Resource Monitor</title>
4814
4815 <para>
4816 The Resource Monitor widget shows several performance metrics
4817 of running virtual machines. This enables users to have a quick
4818 overview of system resources of individual virtual machines and
4819 those of host system. The widget displays several performance
4820 metrics of each running virtual machine. It is possible to
4821 configure the set of metrics to be shown and select a metric
4822 with respect to which the list of virtual machines is sorted.
4823 It is also possible to open the virtual machine's performance
4824 monitor (See <xref linkend="vm-session-information"/>) by activating
4825 To Performance action which is located in the tool bar and
4826 in the context menu.
4827 </para>
4828 <figure id="fig-vm-activity-overview-widget">
4829 <title>Resource Monitor</title>
4830 <mediaobject>
4831 <imageobject>
4832 <imagedata align="center" fileref="images/resourcemonitor.png"
4833 width="14cm" />
4834 </imageobject>
4835 </mediaobject>
4836 </figure>
4837
4838 </sect2>
4839
4840 <sect2 id="vm-session-information">
4841 <title>Session Information Dialog</title>
4842 <para>
4843 The guest VM window includes a multi tabbed dialog which conveys
4844 important configuration and runtime information of the guest
4845 system. The tabs of the dialog are:
4846 </para>
4847
4848 <itemizedlist>
4849 <listitem>
4850 <para>
4851 <emphasis role="bold">Configuration Details</emphasis> tab
4852 displays system configuration of the virtual machine in a
4853 tabular format. The displayed information includes storage
4854 configuration, audio settings, etc.
4855 </para>
4856 </listitem>
4857 <listitem>
4858 <para>
4859 <emphasis role="bold">Runtime Information</emphasis> tab
4860 shows the information that can change between the guest
4861 sessions in tabular format similar to the Configuration
4862 Details tab.
4863 </para>
4864 </listitem>
4865 <listitem>
4866 <para>
4867 <emphasis role="bold">Performance Monitor</emphasis> tab
4868 has several time series charts which monitors guests resource
4869 usage including CPU, RAM, Disk I/O, and Network. Note that
4870 RAM chart requires the guest additions to be running on the guest
4871 system to work. The Performance Monitor is also available from
4872 the machine menu in the manager UI.
4873 </para>
4874 </listitem>
4875 </itemizedlist>
4876 <figure id="fig-vm-performance-monitor">
4877 <title>VM Performance Monitor</title>
4878 <mediaobject>
4879 <imageobject>
4880 <imagedata align="center" fileref="images/vmperformancemonitor.png"
4881 width="14cm" />
4882 </imageobject>
4883 </mediaobject>
4884 </figure>
4885
4886
4887 </sect2>
4888
4889 </sect1>
4890</chapter>
Note: See TracBrowser for help on using the repository browser.

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