Displaying 20 results from an estimated 400 matches similar to: "Basic xenstore questions (building a watchdog)"
2005 Sep 10
2
watch event for die domain ?
Hi,
I am writing a small application to watch for xenstore events. I want
to know when a specific domain shutdown or reboot. It is best to watch
it via xenbus interface, but how? Is there any event or node can give
me such an event?
If not, I must periodically scan the domains (using libxc interface)
to detect if a domain dies, but that is not as good as xenbus
approach.
Many thanks.
Hieu
2007 Jan 10
1
xenstore watch for domU shutdown
Hey everyone,
I''m trying to write a simple python program in dom0 that registers a watch on the xenstore to determine when a domU has shutdown. Is there a particular token I should use? Looking through the tools/python/xen/*.py code, I''ve come across the ''control/shutdown'' token... seems promising?
My code is attached below. As is, if fails to call the
2013 Feb 14
5
using @releaseDomain to subscribe for domain destruction
Hello!. How can i use @releaseDomain from dom0 to subscribe for domain
destruction?
I''m try to add watch for @releaseDomain path with token equal of
needed domain id. But when another domain dies, i get domain that i
provide via token to xs_watch.
Is that possible to get id of domain what released from xenstore?
--
Vasiliy Tolstov,
Clodo.ru
e-mail: v.tolstov@selfip.ru
jabber:
2008 May 21
1
[PATCH]Remove XendLogging dependency from xswatch
Hi,
xstransact and xswatch are well designed python interface that can be used by
third party utils rather than only in xend. But the logging approach here binds
xswatch to xend and prevent it from being used by other utils.
This patch removes the dependency on XendLogging from xswatch.
Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
regards,
zhigang
2013 Aug 23
1
yum update after update from 6.3 to 6.4 - problems with epel repository.
Hi All.
I've updated my system from 6.3 to 6.4. In my /etc/yum.repos.depel.repo I
have:
[epel]
name=Extra Packages for Enterprise Linux - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=
http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch
failovermethod=priority
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
2013 Sep 06
2
[PATCH] xen: arm: improve VMID allocation.
The VMID field is 8 bits. Rather than allowing only up to 256 VMs per host
reboot before things start "acting strange" instead maintain a simple bitmap
of used VMIDs and allocate them statically to guests upon creation.
This limits us to 256 concurrent VMs which is a reasonable improvement.
Eventually we will want a proper scheme to allocate VMIDs on context switch.
The existing code
2005 Nov 10
0
Xend crashes when it''s trying to create domU
Hi, every one:
I had problem creating domU on diskless device by
using xen-unstable. Following, please find out
details. BTW, the same configuration works fine on
device with hard disk
(1) Xen, dom0 kernel and dom0 root file system are
loaded/mounted over via eth0
(2) DomU root file system is created in a file-backed
virtual block device(VBD). The file-backed VBD locates
at some directory on
2005 Aug 08
4
[PATCH] Fix TypeError when starting VMX domains
The attached patch fixes this traceback:
Traceback (most recent call last):
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 510, in construct
self.construct_image()
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 574, in
construct_image
self.store_channel)
File "/usr/lib/python/xen/xend/xenstore/xsobj.py", line 310, in
2008 Jul 23
1
Calling LISP programs in R
I have written some programs in Common Lisp and I have been using SAS to pipe
those programs to my lisp compiler in batch mode by using the %xlog and
%xlst SAS commands. I wonder if there is in R a similar way to pipe commands
to LISP so that all my work would be concentrated in R even when I have to
call a LISP program? I have looked at the foreign library but this seems to
adjust data types not
2005 Sep 08
4
Booting FreeBSD diskless in DomU
Using the 2.0.6 demo cd image, I booted the supplied freebsd image and rsync''d
the file system to an NFS server. However I don not seem to be able to
succesfully boot from it the system just hangs here:
xn0: bpf attached
xn0: Ethernet address: aa:00:00:61:1c:d4
lo0: bpf
I have modified /sbin/start_freebsd.sh and /etc/xen/freebsd.py to generate
the following configuration:
xendemo:~#
2009 Dec 07
1
Automon -> Voicemail
Hi all,
What's the best method to send automon call recordings (*1) to the
voicemail box of the Asterisk user?
Do you have to trap hangups, etc, or is there some global variable
that can be set?
Thanks!
S.
2006 Aug 08
11
architecture-specific stuff in xend
Hi Ewan, I''m almost ready to integrate some PPC-specific stuff into
xend, and I was wondering if you had a plan for how that should work.
First example: the device tree data structure we talked about a few
weeks ago. We will need to pass the config data to PPC code, probably in
XendDomainInfo.initDomain(), and then pass the resulting data structure
into libxc''s xc_linux_load()
2004 Oct 28
3
xm save error
Hi,
I tried to issue: xm save VMID FILE, and got the following error:
Error: Error: [Failure instance: Traceback:
twisted.internet.error.ConnectionRefusedError, Connection was refused
by other side: 111: Connection refused.
xm create works fine, xend is running on domain 0, I can log in the VM
through xm console VMID and ssh without problems. I can also stop and
restart the domain.
2004 Jul 23
5
help! error in creating a new domain
Maybe this question is a little stupid, but please help me. I am a newbie
to Xen.
When I tried to create a new domain "domain 1", I followed the Yan-Ching
CHU''s guide on :installing quick file systems for new domains in Xen 1.2".
But when I do "xc_dom_create.py -Dvmid=1", Xen seems to start to boot with
some normal bootup information, but right after several
2009 Feb 04
3
unable to assign ip from config file
Hi,
im using a fedora core 8 domU and fedora core 8 as my dom0 on xen3.1.0-13,
my config file reads:
kernel = "/boot/vmlinuz-2.6.21-2950.fc8xen"
ramdisk="/boot/initrd-2.6.21-2950.fc8xen-no-scsi.img"
memory = 428
name = "fedora1.fc8"
vif = [ ''mac=00:16:3e:00:00:03,ip=192.168.2.105'' ]
dhcp = "off"
netmask = "255.255.255.0"
gateway
2005 Oct 11
8
More on domU not starting
I get the following warning when running xend start, and a similar
warning sometimes when doing xm commands:
/usr/lib/python/xen/xend/XendNode.py:26: RuntimeWarning: Python C API
version mismatch for module xen.lowlevel.xc: This Python has API version
1012, module xen.lowlevel.xc has version 1011.
import xen.lowlevel.xc
/usr/lib/python/xen/xend/xenstore/xstransact.py:10: RuntimeWarning:
2008 Nov 12
5
xm create- exit with panic message
Hi Xen-users,
I am trying to boot of my fist guest domain. The below attached message was
thrown on the screen.
I am not quite sure that the below information is sufficient to root cause
the issue.
Where do i look for additional logs to root cause the issue.
Appreciate any info that you think might be useful.
Thanks,
Karthik
xm create -c guest1.conf vmid=2
Using config file
2006 Jul 25
2
Compile from sources
I''ve compiled xen-3.0.2-2 from sources. I''ve went to the end without
errors. The ./install.sh script have been created the /etc/grub.conf
file as it :
# initrd /boot/initrd-version.img
#boot=/dev/hdc
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5)
root (hd0,0)
kernel
2005 Oct 11
1
callerid validation and expression parser problems on Solaris 10
Greetings to All.
A little background about what I am trying to do, and please excuse the
length of this post.
I am setting up a voicemail (VM) system based on Asterisk. From what I've
heard Vonage uses Asterisk as their VM platform as well. I am running
1.2beta with a MYSQL backend for extensions and VM user info. All the sound
files and vm messages are being stored through an NFS
2004 Sep 14
4
question about network setting for domain1
Hi,all,
I cannot get my network in domain1 work. Here is my configuration:
in dom0:
I have two network cards, the ip addrs are 141.213.10.110 and 192.168.0.4,
respectively. 141.213.10.110 is an external IP and can access internet
directly. The gateway should be 141.213.10.1.
/etc/xen/vfp: the domain1 configuration file, I created domain1 using ''xm
create vmid=1 -f