Displaying 20 results from an estimated 1000 matches similar to: "Does libvirt-sanlock support network disk?"
2012 Feb 22
1
[libvirt] a question about sanlock
Hi Daniel,
I got a question about lock manager, if I enable 'sanlock' in qemu.conf and
uncomment 'auto_disk_leases = 1' in qemu-sanlock.conf then restart libvirtd
service, libvirtd will be dead, I know I should also uncomment 'host_id = 1'
in qemu-sanlock.conf, because I enable 'auto_disk_leases'. The question is
the libvirtd must die due to a error users
2012 Mar 13
2
libvirt with sanlock
Hello,
I configured libvirtd with the sanlock lock manager plugin:
# rpm -qa | egrep "libvirt-0|sanlock-[01]"
libvirt-lock-sanlock-0.9.4-23.el6_2.4.x86_64
sanlock-1.8-2.el6.x86_64
libvirt-0.9.4-23.el6_2.4.x86_64
# egrep -v "^#|^$" /etc/libvirt/qemu-sanlock.conf
auto_disk_leases = 1
disk_lease_dir = "/var/lib/libvirt/sanlock"
host_id = 4
# mount | grep sanlock
2016 Mar 30
0
Re: VM crash and lock manager
[moderator note: .pngs were stripped to avoid overwhelming the mail
server and list recipients with 1M of data]
-------- Forwarded Message --------
Date: Wed, 30 Mar 2016 11:25:09 +0200
Message-ID:
<20160330112509.Horde.0Oad-ZfkzdZnouXf-VkEmw1@webmailperso.univ-brest.fr>
From: villeneu@kassis.univ-brest.fr
To: Franky Van Liedekerke <liedekef@telenet.be>
Cc: libvirt-users@redhat.com
2012 Apr 08
0
NFS + sanlock problems
Hello list,
In short: I am experiencing a problem where trying to start a VM which
is allready running on a different libvirt host. Starting it fails,
thanks to sanlock, but the disk dies on the original hypervisor and the
vms filesystem is rendered read-only.
Long version:
i have the following setup:
Two machines (H1 and H2) using CentOS 6.2 with the packages:
2012 May 08
1
release open_disk error
Hello,
I wonder what the "open error -1" / "release open_disk error" messages in sanlock.log actually mean.
I saw these messages in the log on a KVM host that rebooted, and after running "/usr/sbin/virt-sanlock-cleanup" on that host.
The resources where disks from 2 guests running on another KVM host.
So in fact the disks are still in use, bot got cleaned up by
2019 Oct 23
2
Re: Reg: Adding "edu" device using XML file
Hello Han,
Thanks for the response. The XML option with qemu:commandline works if the
device is added during the VM creation. But I would like to hot-plug the
device to the running VM. I can add the device using the command line
<virsh qemu-monitor-command --hmp VM-Name device_add edu,id=edu0>
But I would like to add the device using the XML file, like <virsh
attach-device VM-Name
2019 Nov 07
2
Where can I find the slirp-helper?
For the libvirt 5.8 release, I find that there is a new comment in
qemu.conf:
#slirp_helper = "/usr/bin/slirp-helper"
It indicates that there is a slirp-helper to help setup slirp network. But
I cannot
find it even after I built the latest qemu(v4.1.0-1378-g98b2e3c9ab) and
libvirt
(v5.9.0-rc1-2-g73f91d659b).
Could you please tell me where I can find that helper program?
Thanks
--
2013 Jan 31
1
Sanlock gives up lock when VM is paused
Hello,
I'm using libvirt and sanlock on qemu-kvm guests. Each guest has it's
own Logical Volume for it's root filesystem. Sanlock is configured and
working and prevents me from starting the same VM twice on multiple
nodes and corrupting it's root filesystem. Each VM's domain XML resides
on 2 servers that share the LVM volume group over fiber channel.
In testing, I noticed
2019 Dec 28
0
Re: Locking without virtlockd (nor sanlock)?
Il 28-12-2019 01:39 Gionatan Danti ha scritto:
> Hi list,
> I would like to ask a clarification about how locking works. My test
> system is CentOS 7.7 with libvirt-4.5.0-23.el7_7.1.x86_64
>
> Is was understanding that, by default, libvirt does not use any locks.
> From here [1]: "The out of the box configuration, however, currently
> uses the nop lock manager
2019 Dec 28
3
Locking without virtlockd (nor sanlock)?
Hi list,
I would like to ask a clarification about how locking works. My test
system is CentOS 7.7 with libvirt-4.5.0-23.el7_7.1.x86_64
Is was understanding that, by default, libvirt does not use any locks.
From here [1]: "The out of the box configuration, however, currently
uses the nop lock manager plugin". As "lock_manager" is commented in my
qemu.conf file, I was
2020 Jan 03
2
Re: Locking without virtlockd (nor sanlock)?
On Sat, Dec 28, 2019 at 02:36:27PM +0100, Gionatan Danti wrote:
> Il 28-12-2019 01:39 Gionatan Danti ha scritto:
> > Hi list,
> > I would like to ask a clarification about how locking works. My test
> > system is CentOS 7.7 with libvirt-4.5.0-23.el7_7.1.x86_64
> >
> > Is was understanding that, by default, libvirt does not use any locks.
> > From here [1]:
2016 Mar 29
1
VM crash and lock manager
2018 Apr 10
1
Re: Fail to compile libvirt with address sanitizer by clang-7
On 04/10/2018 05:22 AM, Han Han wrote:
> Hi,
> I tried to compile libvirt with address sanitizer(
> https://github.com/google/sanitizers/wiki/AddressSanitizer) to discover
> memory errors. But fails when make.
> Code version:
> $ git describe
> v4.2.0-92-g3f204e4de
>
> Compile tools:
> automake 1:1.15.1-3 all [installed]
> clang-7 1:7~svn323616-1 amd64
2019 Nov 21
2
Fail to build upstream libvirt on rhel8
Hello,
A compilation failure happened when I tried building libvirt latest code on
rhel8
Version:
gcc-8.3.1-4.5.el8.x86_64
libvirt v5.9.0-352-g5e939cea89
Steps:
1. Clone libvirt source code
2. Create build dir, and run autogen.sh
# cd libvirt
# mkdir build && cd build
# ../autogen.sh --build=x86_64-redhat-linux-gnu
--host=x86_64-redhat-linux-gnu --program-prefix=
2019 Oct 22
2
Reg: Adding "edu" device using XML file
Hi Team,
I am exploring "edu" device in QEMU to add my own custom device. I am able
to add the device using the command line. Would it be possible to add the
device using XML file through libvirt?
--
Regards,
Bharath
2016 Mar 31
0
CEBA-2016:0541 CentOS 7 sanlock BugFix Update
CentOS Errata and Bugfix Advisory 2016:0541
Upstream details at : https://rhn.redhat.com/errata/RHBA-2016-0541.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
x86_64:
96a4bc7ef0285522786a39d02c0b427656aaa71e1abb779a75c65c2e1c600748 fence-sanlock-3.2.4-2.el7_2.x86_64.rpm
2013 Mar 09
0
Sanlock disk leases on drbd/gfs2 volume
Hi all,
I have a 2 node cluster that consists of the following:
* 1 drbd/gfs2 partition that holds VM images and XML
* Sanlock configured with the disk lease directory on the same drbd/gfs
partition
Everything is working well, aside from one small issue I ran into. When
testing fencing, on one particular test GFS began replaying the journal
for the remaining node, and in the middle of it
2019 Nov 22
2
Re: [PATCH nbdkit v2 02/10] python: Add various constants to the API.
On Fri, Nov 22, 2019 at 9:54 PM Richard W.M. Jones <rjones@redhat.com> wrote:
>
> These are accessible from the plugin by:
>
> import nbdkit
>
> if flags & nbdkit.FLAG_MAY_TRIM:
> &c.
Nice way to expose the flags!
> Many (all?) of these are not yet useful for plugins, some will never
> be useful, but they only consume a tiny bit of memory and
2012 Sep 06
1
How to properly test watchdog?
CentOS 6
Hi all,
I am working on setting up sanlock + watchdog on a 2 node KVM pair.
Sanlock is working beautifully and is preventing access to the VM disks
by more than one process as it should across both boxes. I am attempting
to test failure scenarios involving watchdog, but I am having a hard
time getting it to actually reset the server.
I am running wdmd with -D so I can see the
2004 Mar 31
3
help with the usage of "randomForest"
Dear all,
Can anybody give me some hint on the following error msg I got with using
randomForest?
I have two-class classification problem. The data file "sample" is:
----------------------------------------------------------
udomain.edu udomain.hcs hpclass
1 1.0000 1 not
2 NA 2 not
3 NA 0.8 not
4 NA 0.2 hp
5 NA 0.9 hp
------------------------------------------------------------
The