Displaying 20 results from an estimated 2000 matches similar to: "what does "virsh destroy" really ?"
2020 Oct 07
2
Is it possible that "virsh destroy" does not stop a domain ?
Hi,
Is it possible that "virsh destroy" does not stop a domain ?
I'm asking because i have some domains running in a two-node HA-Cluster (pacemaker).
And sometimes one node get fenced (killed) because it couldn't stop a domain.
That's very ugly.
This is also the reason why i asked before what "virsh destroy" really does ?
IIRC a kill -9 can't terminate a
2020 Oct 07
0
Re: Is it possible that "virsh destroy" does not stop a domain ?
Bernd, another option would be a mismatch between the message that "virsh
destroy" issues and the message that force_stop() in the pacemaker agent
expects to receive. Pacemaker is trying to determine the success or
failure of the destroy based on the concatenation of the text of the exit
code and the text output by virsh; if either of those have changed between
virsh versions, and
2020 Sep 20
1
can't define domain - error: cannot open /dev/null: Operation not permitted
Hi,
i have a two-node cluster running on SLES 12 with pacemaker.
The cluster refused to start the domains on one node.
So i took some of the domains out of the cluster and tried to start it manually.
This is what happened:
virsh # define /mnt/share/vm_documents-oo.xml
error: Failed to define domain from /mnt/share/vm_documents-oo.xml
error: cannot open /dev/null: Operation not permitted
Same
2020 Feb 14
3
can hotplug vcpus to running Windows 10 guest, but not unplug
Hi,
i'm playing a bit around with vcpus.
My guest is Windows 10 1903.
This is the excerpt from the config:
...
<vcpu placement='static' current='2'>4</vcpu>
<vcpus>
<vcpu id='0' enabled='yes' hotpluggable='no'/>
<vcpu id='1' enabled='yes' hotpluggable='yes'/>
<vcpu id='2'
2020 Mar 04
1
Virtio-disk with driver from Microsoft from 2006 ?
Hi,
i wanted to benchmark a windows guest, compare standard driver and virtio driver.
I installed the domain first with an IDE disk.
I followed https://pve.proxmox.com/wiki/Paravirtualized_Block_Drivers_for_Windows to install the virtIO driver.
In the device manager my VirtIO disk is recognized as a VirtIO SCSI disk from RedHat which seems ok for me.
But the driver is, following the device
2020 Sep 21
0
Fwd: can't define domain - error: cannot open /dev/null: Operation not permitted
> Von: "Lentes, Bernd" <bernd.lentes@helmholtz-muenchen.de>
> Datum: 21. September 2020 um 18:38:48 MESZ
> An: Martin Kletzander <mkletzan@redhat.com>
> Betreff: Aw: can't define domain - error: cannot open /dev/null: Operation not permitted
>
> Hi Martin,
>
> after configuring the logging and a restart of the service the problem dissapeared
2020 Oct 06
0
time in domain very unstable
Hi,
i have a domain (SLES 10 SP4) running with KVM.
Time is very wrong when booting unless ntp synchronizes.
What can i do ?
Bernd
--
Bernd Lentes
Systemadministration
Institute for Metabolism and Cell Death (MCD)
Building 25 - office 122
HelmholtzZentrum München
bernd.lentes@helmholtz-muenchen.de
phone: +49 89 3187 1241
phone: +49 89 3187 3827
fax: +49 89 3187 2294
2020 Feb 11
2
problems with understanding of the memory parameters in the xml file
Hi guys,
despite reading hours and hours in the internet i'm still struggling with
"memory", "currentmemory" and "maxMemory".
Maybe you can help me to sort it out.
My idea is that a guest has an initial value of memory (which "memory" seems to be) when booting.
We have some Windows 10 guests which calculate some stuff and i would like to increase
2020 Mar 06
0
changing memory size with virsh setmem - results only visible in domain, not on host
Hi,
i have a Linux domain (Ubuntu 14.04) where we like to be able to change the amount of usable memory.
We have a balloon device and statistics are switched in 5 sec. rhythm.
The domain shows very quickly changes (following top) when we change the memory size with setmem, but the host does not show changes in the use
of memory for the respective domain.
Is that expected behavior ?
Host is SLES
2020 Feb 07
2
does the guest have a snapshot ?
Hi,
i'm cuurently a bit confused if a guest does have a valid snapshot or not.
This is the xml:
...
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/libvirt/images/crispor_1604/crispor_1604.sn'/>
<backingStore type='file' index='1'>
<format
2020 Feb 12
0
Re: problems with understanding of the memory parameters in the xml file
On Tue, Feb 11, 2020 at 18:48:43 +0100, Lentes, Bernd wrote:
> Hi guys,
Hi Bernd,
>
> despite reading hours and hours in the internet i'm still struggling with
> "memory", "currentmemory" and "maxMemory".
to briefly summarize what those three knobs do:
1) memory - this is the initial memory size for a VM. qemu grants this
amount of memory to the
2020 Oct 06
2
Re: what does "virsh destroy" really ?
On Mon, Oct 05, 2020 at 07:12:34PM -0400, Digimer wrote:
>On 2020-10-05 6:04 p.m., Lentes, Bernd wrote:
>> Hi,
>>
>> what does "virsh destroy" with the domain ? Send a kill -9 to the process ?
>>
>> Bernd
>>
>
>It forces the guest off, like pulling the power on a hardware machine.
>Not sure of the exact mechanism behind the scenes. It does
2018 Oct 15
3
snapshots with virsh in a pacemaker cluster
Hi,
i have a two node cluster with virtual guests as resources.
I'd like to snapshot the guests once in the night and thought i had a procedure.
But i realize that things in a cluster are a bit more complicated than expected :-))
I will shutdown the guests to have a clean snapshot.
I can shutdown the guests via pacemaker.
But then arises the first problem:
When i issue a "virsh
2019 May 15
1
domain still running although snapshot-file is deleted !?!
Hi,
i have a strange situation:
A domain is still running where domblklist points to a snapshot file and also dumpxml says the current drive is that snapshot file.
But the file has been deleted hours ago. And the domain is still running. I can login via ssh, the database and the webserver are still running,
domain is performant.
How can that be ?
Also lsof shows that the file is deleted:
2012 Sep 11
1
problem starting virt-manager
Hi,
i try to run virt-manager on a SLES 11 SP1 box. I'm using kernel 2.6.32.12 and virt-manager 0.9.4-106.1.x86_64 .
The system is a 64bit box.
Here is the output:
=========================
pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/virt_manager/sles_11_sp1 # virt-manager &
[1] 9659
pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/virt_manager/sles_11_sp1 #
2019 May 13
2
domains paused without any obvious reason
Hi,
i have a two node HA-Cluster with several domains as resources.
Currently it's running in test mode.
Some domains (all on the same host) stopped running, virsh list shows them as "paused".
All stopped at the same time (11th of may, 7:00 am), my monitoring system began to yell.
I don't have any clue why this happened.
virsh domblkerror says for all the domains (5) "no
2018 Mar 09
2
snapshot with libvirt tools or with lvm tools ?
Hi,
i asked already a time ago about snapshots. I have some guests, each resides in a raw file, placed on an ext3 fs which is on top of a logical volume, for each guest a dedicated lv.
The raw is not a "must have", if there are obvious reasons i can convert them to a qcow2.
What i want is a consistent backup of each guest taken overnight. If possible i won't have downtime.
I can use
2014 Oct 28
3
wrong time in guest logs
Hi,
i have several vm's running on KVM hosts. Recently i found out that the time in the log-files of the guests (/var/log/libvirt/qemu/xxx.log) is wrong. The time on the guest itself is right, just the time in the log-files is one hour back. Windows and linux vm's are affected. Also on another host the same. Changing the clock offset does not have any influence, still the wrong time in
2018 Feb 13
3
snapshot of a raw file - how to revert ?
Hi,
i have the following system:
pc59093:~ # cat /etc/os-release
NAME="SLES"
VERSION="11.4"
VERSION_ID="11.4"
PRETTY_NAME="SUSE Linux Enterprise Server 11 SP4"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:11:4"
pc59093:~ # uname -a
Linux pc59093 3.0.101-84-default #1 SMP Tue Oct 18 10:32:51 UTC 2016 (15251d6) x86_64
2018 Mar 14
2
rsync of a reflink from OCFS2
Hi,
i have some virtual machines running on logical volumes formatted with OCFS2. I'd like to snapshot the running guests
to backup them easily afterwards. The files of the guests are big (100 - 300GB), but the content changes only slowly.
So i thought that rsync would be a great benefit because it justs transfers the difference between the current file and
the one backuped one day before. I