Tag Info

Hot answers tagged

8

You can't use switch port security on the Cisco since all the VMs will be sharing a physical switch port. And you can't use Linux iptables because the traffic is being bridged, not routed, through the hypervisor machine. But you can emulate switch port security on the hypervisor with Linux ebtables, which is a lesser-known layer 2/3 firewall on the Linux ...


5

This is how I currently do installs of Windows with virtio drivers at install: Create the new VM with a genuine Windows installation ISO image. I cannot guarantee that anything will work if you use a pirated copy of Windows. Choose to customize the machine configuration before install. Select the IDE hard drive, and change its type to VirtIO. Click ...


2

You should not have IP addresses meant for guests assigned to the host. (And you should not be using interface aliases. Those were deprecated many years ago.) Instead, create a bridge, and add enp2s0 to it. Then assign your KVM guests to that bridge and assign their IP addresses in each guest.


2

If you need to backup your vm configuration using virsh you can use the following command virsh dumpxml vmname > vmname.xml If you need to move your vm to other server, you can dump your vm config and trafer the xml, if you are using files as backend storage for your vm you can copy the files to other server using scp or rsync, when you copied the ...


2

If you're writing your own NAT rules for your virtual machines, rather than allowing libvirt to manage them, then the virtual network to which the VMs are connected should be set up as a routed network, not a NAT network. You can fix this with virsh net-edit <network> and change: <forward mode='nat'/> to: <forward mode='route'/> ...


2

First, delete your virtual machine with the command virsh undefine Virtual_Client_RHEL_6-KVM Then, remove the disk file using virsh vol-delete /var/lib/libvirt/images/Virtual_Client_RHEL_6-KVM.qcow2 If you have problem with text-only virsh, please install the virt-manager package to use a graphical client.


2

The packages that you do not want to install on your system are pulled in as recommended package, rather than hard dependencies. You can skip the recommends with the --no-install-recommends option to apt-get.


1

You won't be able to see hardware details from your VM instance. This is a discussion you should have with your provider. If stability is an issue, complain or leave. Look at your contract. If the SLA isn't being met, complain or leave. These businesses thrive on the bet that people don't want to own/maintain hardware. But at hosting-scale, you're ...


1

If disk is partitioned, as you indicated, the steps should be (in that order): shrink filesystem, using OS tools; shrink partition to the size of the filesystem, you may need to delete it and recreate with the same starting sector; shrink image to the size of the partition. The above assumes there's just one partition, if there's more things may be more ...


1

You are proceeding in the wrong order. Please follow these steps: first, BACKUP YOUR DATA (and take a snapshot) use GParted to resize /dev/vda2 first and /dev/vda5 after reboot your virtual machine use pvresize /dev/vda5 and lvresize to resize your physical and logical volumes, respectively. EDIT: how to resize partition using fdisk To resize your ...


1

https://www.redhat.com/archives/libvirt-users/2014-July/msg00001.html As recommendet I tried out: yum install yajl-devel That solved my issue.


1

Working example of using Debian jessie as host and guest operating system. create a VM using virt-install or virt-manager In any case you will get serial console statements added to VM.xml file in guest VM run the following systemctl enable serial-getty@ttyS0.service systemctl start serial-getty@ttyS0.service in guest VM in /etc/default/grub replace ...


1

I have been able to make dnsmasq 'see' the newly added IP-MAC mapping by simply sending a -HUP signal to the dnsmasq process. After that, rebooting the new guest was enough to have the correct IP assigned to it, without the need to restart libvirtd nor the network itself. The official libvirt documentation ...



Only top voted, non community-wiki answers of a minimum length are eligible