Displaying 20 results from an estimated 3000 matches similar to: "Sanlock gives up lock when VM is paused"
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
2017 Nov 08
2
Does libvirt-sanlock support network disk?
Hello,
As we know, libvirt sanlock support file type storage. I wonder *if it
supports network storage.*
I tried *iSCSI*, but found it didn't generate any resource file:
Version: *qemu-2.10 libvirt-3.9 sanlock-3.5*
1. Set configuration:
qemu.conf:
*lock_manager = "sanlock"*
qemu-sanlock.conf:
*auto_disk_leases = 1disk_lease_dir = "/var/lib/libvirt/sanlock"host_id =
2013 Jan 29
0
CentOS-announce Digest, Vol 95, Issue 10
Send CentOS-announce mailing list submissions to
centos-announce at centos.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-request at centos.org
You can reach the person managing the list at
centos-announce-owner at centos.org
When
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
2006 Apr 06
1
pause / unpausequeuemember
Hi,
I wanted to use the same extensions for Pausing and UnPausing queue members.
Is that a variable that is set up with the agent status (on call, available, not logged, paused) so that I could use it to make some logic in this extension?
exten => 111,1,Set(AGENTEPARADESLOGAR=${$[AGENTBYCALLERID_${CALLERIDNUM}]})
exten => 111,2,PauseQueueMember(|Agent/${AGENTEPARADESLOGAR})
exten =>
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
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 May 03
1
sanlockd, virtlock and GFS2
Hi,
I'm trying to put in place a KVM cluster (using clvm and gfs2), but I'm
running into some issues with either sanlock or virtlockd. All virtual
machines are handled via the cluster (in /etc/cluser/cluster.conf) but I
want some kind of locking to be in place as extra security measurement.
Sanlock
=======
At first I tried sanlock, but it seems if one node goes down
unexpectedly,
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
2019 Nov 22
1
Re: [PATCH nbdkit v2 02/10] python: Add various constants to the API.
On Fri, Nov 22, 2019 at 10:52 PM Richard W.M. Jones <rjones@redhat.com> wrote:
>
> On Fri, Nov 22, 2019 at 10:05:15PM +0200, Nir Soffer wrote:
> > 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
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:
2011 Nov 30
0
need help with sanlock plugin
Hi
I am working with libvirt on ubuntu.
I would like have sanlock feature with ubuntu.
Can you please guide me on how to.
--
Thanks and Regards,
Upendra.M
*As a leading developer of IT infrastructure software solutions, Hexagrid
developed the first cloud
computing<http://www.hexagrid.com/d/vxdatacenter.html>platform that
directly aligns with the real-world IT delivery models of
both
2017 Nov 08
0
Re: Does libvirt-sanlock support network disk?
On Wed, Nov 08, 2017 at 02:42:35PM +0800, Han Han wrote:
> Hello,
> As we know, libvirt sanlock support file type storage. I wonder *if it
> supports network storage.*
> I tried *iSCSI*, but found it didn't generate any resource file:
Correct, the code currently ignores locking for any non-local
disk.
Regards,
Daniel
--
|: https://berrange.com -o-
2012 Feb 23
2
lockmanager for use with clvm
Hi,
i am setting up a cluster of kvm hypervisors managed with libvirt.
The storage pool is on iscsi with clvm. To prevent that a vm is
started on more than one hypervisor, I want to use a lockmanager
with libvirt.
I could only find sanlock as lockmanager, but AFSIK sanlock will not
work in my setup as I don't have a shared filesystem. I have dlm running
for clvm. Are there lockmanager
2014 Nov 20
2
Libvirt Live Migration
I'm trying to implement a virtualization API. I was testing migration with
libvirt I got some problems.
When I use the following command :
*virsh migrate --live --persistent --copy-storage-all vm-clone1
qemu+ssh://server_ip/system*
the migration works fine but in the destination host the migrated vm is
paused and I can't unpause it and I need to reboot the vm to be able use it
in the
2020 Aug 10
1
Re: [PATCH nbdkit] file: Implement cache=none and fadvise=normal|random|sequential.
On Sat, Aug 08, 2020 at 02:14:22AM +0300, Nir Soffer wrote:
> On Fri, Aug 7, 2020 at 5:36 PM Richard W.M. Jones <rjones@redhat.com> wrote:
> >
> > On Fri, Aug 07, 2020 at 05:29:24PM +0300, Nir Soffer wrote:
> > > On Fri, Aug 7, 2020 at 5:07 PM Richard W.M. Jones <rjones@redhat.com> wrote:
> > > > These ones?
> > > >
2011 May 05
1
Why is PQMSTATUS empty?
Hey all!
I'm trying to do a bit of logic here so that a user only has to dial one
code to pause/unpause in a queue (e.g. *0 will (un)pause depending on the
users's state). My logic looks fine to me but every time ${PQMSTATUS} shows
up empty.
Here's the extensions.conf part....
exten => *0,1,NoOp(${PQMSTATUS})
exten => *0,n,Macro(user-callerid,SKIPTTL,)
exten =>
2012 Dec 05
0
CentOS-announce Digest, Vol 94, Issue 2
Send CentOS-announce mailing list submissions to
centos-announce at centos.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-request at centos.org
You can reach the person managing the list at
centos-announce-owner at centos.org
When