Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
omv6:omv6_plugins:kvm [2023/05/27 13:00] – [Configuring a Virtual Machine] chente | omv6:omv6_plugins:kvm [2024/04/22 04:02] (current) – crashtest | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{indexmenu_n> | + | {{indexmenu_n> |
\\ | \\ | ||
< | < | ||
Line 54: | Line 54: | ||
* The virtualization feature must be enabled in the server BIOS -> Consult your server' | * The virtualization feature must be enabled in the server BIOS -> Consult your server' | ||
* Consider the RAM needs for the guest VMs on your system. | * Consider the RAM needs for the guest VMs on your system. | ||
+ | * A couple of cool beers on hand will be welcome. | ||
---- | ---- | ||
Line 61: | Line 62: | ||
In OMV6's GUI:\\ | In OMV6's GUI:\\ | ||
Under **System** > **Plugins**, | Under **System** > **Plugins**, | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | Depending on the development state of Debian at any given time, you may need to activate backports for the installation of this plugin.< | ||
+ | To do this go to the omv-extras tab in the OMV GUI and click the < | ||
+ | </ | ||
+ | |||
---- | ---- | ||
Line 168: | Line 176: | ||
</ | </ | ||
* ... | * ... | ||
- | * In the **Path** field, search for the folder in the tree (button on the right) and select it. | + | * In the **Path** field, search for the folder in the tree (button on the right) and select it. Disk mount folders are usually in the /srv folder. |
* Press **Add** | * Press **Add** | ||
* Now the pool is created, it only remains to activate it so that KVM can use it. To do it: | * Now the pool is created, it only remains to activate it so that KVM can use it. To do it: | ||
Line 253: | Line 261: | ||
* Now the new bridge network interface is configured, when you click on **Accept the changes** in the upper yellow bar, the previous interface will be deleted and the bridge will be created simultaneously. **Accept the changes** in the top yellow bar. | * Now the new bridge network interface is configured, when you click on **Accept the changes** in the upper yellow bar, the previous interface will be deleted and the bridge will be created simultaneously. **Accept the changes** in the top yellow bar. | ||
* Now the original interface is removed and the new bridge type interface is created and working. The name of the original interface no longer appears in the Device field, now the name of the interface is //br0//. | * Now the original interface is removed and the new bridge type interface is created and working. The name of the original interface no longer appears in the Device field, now the name of the interface is //br0//. | ||
+ | * At this point netplan must make several changes to the network configuration. In some cases this procedure may require a server reboot for the configuration to stabilize. | ||
* This is the network interface that we will select in the plugin if we want a VM to use the //br0// bridge. We don't need to configure anything in the Network section of the plugin. | * This is the network interface that we will select in the plugin if we want a VM to use the //br0// bridge. We don't need to configure anything in the Network section of the plugin. | ||
+ | * To select this network in a new vm, in the vm creation interface go to the Network Section and change the value of the Model field to Bridge, then change the value of the Bridge field to br0. | ||
< | < | ||
Line 271: | Line 281: | ||
===== Configuring a Virtual Machine ===== | ===== Configuring a Virtual Machine ===== | ||
- | |||
- | {{ : | ||
* The first requirement is to have storage and a network interface. If you have not configured them yet, do so by following the steps in the previous point. | * The first requirement is to have storage and a network interface. If you have not configured them yet, do so by following the steps in the previous point. | ||
* Download the ISO of the guest operating system you want to configure and store it in the //isos// folder. | * Download the ISO of the guest operating system you want to configure and store it in the //isos// folder. | ||
+ | {{ : | ||
* To configure a VM we must go in the GUI to **Services > KVM > VMs** and click on the **Add new vm** button from the menu on the top bar. A dialog box for entering the virtual machine configuration parameters will open with the following sections: | * To configure a VM we must go in the GUI to **Services > KVM > VMs** and click on the **Add new vm** button from the menu on the top bar. A dialog box for entering the virtual machine configuration parameters will open with the following sections: | ||
* **Settings**: | * **Settings**: | ||
Line 332: | Line 341: | ||
===== Access methods for viewing the VM ===== | ===== Access methods for viewing the VM ===== | ||
- | (FOTOS 10 11) | + | {{ : |
Once the VM is started, we have different alternatives to access the VM and visualize its operation: | Once the VM is started, we have different alternatives to access the VM and visualize its operation: | ||
Line 370: | Line 379: | ||
=== Preparation === | === Preparation === | ||
- | (FOTOS 12 13)https://fedorapeople.org/groups/ | + | [[https://www.microsoft.com/en-us/software-download/windows11|{{ : |
* Download the Windows 11 ISO. At this moment it can be downloaded on the [[https:// | * Download the Windows 11 ISO. At this moment it can be downloaded on the [[https:// | ||
* Copy the ISO to the //isos// folder we have created for the plugin. | * Copy the ISO to the //isos// folder we have created for the plugin. | ||
+ | [[https:// | ||
* Download virtio drivers ISO for windows. It can be downloaded on the [[https:// | * Download virtio drivers ISO for windows. It can be downloaded on the [[https:// | ||
* Go to **Services > KVM > Pools** and select the //isos// pool. The top buttons will be activated. | * Go to **Services > KVM > Pools** and select the //isos// pool. The top buttons will be activated. | ||
Line 438: | Line 448: | ||
===== Remote connection with virt-manager to KVM ===== | ===== Remote connection with virt-manager to KVM ===== | ||
- | (FOTO 14) | + | {{ : |
* You can connect to KVM from your PC with [[https:// | * You can connect to KVM from your PC with [[https:// | ||
* To achieve this connection follow these steps: | * To achieve this connection follow these steps: | ||
Line 449: | Line 460: | ||
* Click on **Connect**. | * Click on **Connect**. | ||
* Your VMs should now appear on the dashboard. | * Your VMs should now appear on the dashboard. | ||
+ | * You can also use virt-manager through a docker container. In the [[omv6: | ||
< | < |