Product SiteDocumentation Site

3.5. Установка Windows XP Server 2008 в качестве полностью виртуализированного гостя

В этой секции рассматривается установка полностью виртуализированной системы Windows Server 2008.
Процедура 3.4. Установка Windows Server 2008 с помощью virt-manager
  1. Open virt-manager

    Start virt-manager. Launch the Virtual Machine Manager application from the Applications menu and System Tools submenu. Alternatively, run the virt-manager command as root.
  2. Select the hypervisor

    Select the hypervisor. If installed, select Xen or KVM. For this example, select KVM. Note that presently KVM is named qemu.
    После этого кнопка создания новой виртуальной машины станет доступна.
  3. Start the new virtual machine wizard

    Pressing the New button starts the virtual machine creation wizard.
    Press Forward to continue.
  4. Name the virtual machine

    Введите имя для виртуализированного гостя. Обратите внимание, что имя не может содержать пробелы и знаки пунктуации.
    Нажмите Далее.
  5. Choose a virtualization method

    На этом этапе можно выбрать тип виртуализации. При этом в качестве гипервизора необходимо указать тот гипервизор, который был выбран в пункте 2. В этом примере будет снова выбран KVM.
    Нажмите Далее.
  6. Select the installation method

    Для любых версий Windows надо выбрать локальный установочный носитель.
    PXE можно выбрать, если есть сервер PXE, специально настроенный для выполнения сетевой установки Windows. В этом руководстве сетевая установка Windows не рассматривается.
    В выпадающем списке Тип ОС выберите Windows, а в качестве самой системы укажите Microsoft Windows 2008.
    Нажмите Далее.
  7. Locate installation media

    Вы можете указать путь к ISO-образу или устройству чтения дисков. В приведенном примере будет указан путь к образу установочного компакт-диска Windows Server 2008.
    1. Press the Browse button.
    2. Выберите файл ISO.
      Нажмите Открыть для подтверждения выбора.
    3. Выбранный файл будет служить источником установки.
      Нажмите Далее.

    Image files and SELinux

    Для хранения ISO-файлов и образов хранилищ рекомендуется использовать каталог /var/lib/libvirt/images/, так как другие каталоги могут требовать дополнительной настройки SELinux (см. Раздел 7.1, «Виртуализация и SELinux»).
  8. Storage setup

    Можно выбрать физическое блочное устройство или файловый образ. Образы должны храниться в каталоге /var/lib/libvirt/images/. Убедитесь, что виртуализированному гостю предоставлено достаточно пространства.
    Намжите Далее.
  9. Network setup

    Select either Virtual network or Shared physical device.
    The virtual network option uses Network Address Translation (NAT) to share the default network device with the virtualized guest. Use the virtual network option for wireless networks.
    The shared physical device option uses a network bond to give the virtualized guest full access to a network device.
    Press Forward to continue.
  10. Memory and CPU allocation

    The Allocate memory and CPU window displays. Choose appropriate values for the virtualized CPUs and RAM allocation. These values affect the host's and guest's performance.
    Virtualized guests require sufficient physical memory (RAM) to run efficiently and effectively. Choose a memory value which suits your guest operating system and application requirements. Windows Server 2008. Remember, guests use physical RAM. Running too many guests or leaving insufficient memory for the host system results in significant usage of virtual memory and swapping. Virtual memory is significantly slower causing degraded system performance and responsiveness. Ensure to allocate sufficient memory for all guests and the host to operate effectively.
    Assign sufficient virtual CPUs for the virtualized guest. If the guest runs a multithreaded application assign the number of virtualized CPUs it requires to run most efficiently. Do not assign more virtual CPUs than there are physical processors (or hyper-threads) available on the host system. It is possible to over allocate virtual processors, however, over allocating has a significant, negative affect on guest and host performance due to processor context switching overheads.
    Press Forward to continue.
  11. Verify and start guest installation

    В следующем окне проверьте настройки.
    Нажмите Продолжить.
  12. Установка Windows

    Дождитесь завершения процесса установки Windows Server 2008. Сам процесс здесь не рассматривается, его описание можно найти в документации Microsoft.