[libvirt-users] Libvirt LXC and VCPU?
by Samuel Hassine
Hi,
We are using Openstack and Libvirt/LXC as our virtualization endpoint.
Here is an example of one of our libvirt domain:
http://paste.debian.net/167276/
So we have <vcpu>4</vcpu>.
But the command : root@PAR-SRV-02-MASTER:/etc/libvirt/lxc# virsh
--connect lxc:/// dominfo instance-0000004a
Id: 17495
Name: instance-0000004a
UUID: d600b83f-6d34-4a08-b905-b9daf67ac7f7
OS Type: exe
State: running
CPU(s): 1
CPU time: 25886.4s
Max memory: 4194304 kB
Used memory: 140272 kB
Persistent: yes
Autostart: disable
Managed save: unknown
give only "1" CPU.
Is it normal?
Best regards.
Sam
12 years, 6 months
[libvirt-users] printing domain information
by John Wayne
how do i print the features of a domain from functions that return a domain object?
for instance mydomain = virdomain=libvirt.virConnect.lookupByID(conn,domainid)
so mydomain is virDomainPtr, which is typedef virDomain * virDomainPtr
i am not sure on how to print the domain object features in python, such as name, disk size, etc
12 years, 6 months
[libvirt-users] Submission Deadline Extension
by VHPC 12
we apologize if you receive multiple copies of this CFP
===================================================================
CALL FOR PAPERS
7th Workshop on
Virtualization in High-Performance Cloud Computing
VHPC '12
as part of Euro-Par 2012, Rhodes Island, Greece
===================================================================
Date: August 28, 2012
Workshop URL: http://vhpc.org
SUBMISSION DEADLINE:
June 11, 2012 - Full paper submission (extended)
SCOPE:
Virtualization has become a common abstraction layer in modern
data centers, enabling resource owners to manage complex
infrastructure independently of their applications. Conjointly,
virtualization is becoming a driving technology for a manifold of
industry grade IT services. The cloud concept includes the notion
of a separation between resource owners and users, adding services
such as hosted application frameworks and queueing. Utilizing the
same infrastructure, clouds carry significant potential for use in
high-performance scientific computing. The ability of clouds to provide
for requests and releases of vast computing resources dynamically and
close to the marginal cost of providing the services is unprecedented in
the history of scientific and commercial computing.
Distributed computing concepts that leverage federated resource
access are popular within the grid community, but have not seen
previously desired deployed levels so far. Also, many of the scientific
data centers have not adopted virtualization or cloud concepts yet.
This workshop aims to bring together industrial providers with the
scientific community in order to foster discussion, collaboration
and mutual exchange of knowledge and experience.
The workshop will be one day in length, composed of 20 min
paper presentations, each followed by 10 min discussion sections.
Presentations may be accompanied by interactive demonstrations.
TOPICS
Topics of interest include, but are not limited to:
Higher-level cloud architectures, focusing on issues such as:
- Languages for describing highly-distributed compute jobs
- Workload characterization for VM-based environments
- Optimized communication libraries/protocols in the cloud
- Cross-layer optimization of numeric algorithms on VM infrastructure
- System and process/bytecode VM convergence
- Cloud frameworks and API sets
- Checkpointing/migration of large compute jobs
- Instrumentation interfaces and languages
- VMM performance (auto-)tuning on various load types
- Cloud reliability, fault-tolerance, and security
- Software as a Service (SaaS) architectures
- Research and education use cases
- Virtualization in cloud, cluster and grid environments
- Cross-layer VM optimizations
- Cloud use cases including optimizations
- VM-based cloud performance modelling
- Performance and cost modelling
Lower-level design challenges for Hypervisors, VM-aware I/O devices,
hardware accelerators or filesystems in VM environments, especially:
- Cloud, grid and distributed filesystems
- Hardware for I/O virtualization (storage/network/accelerators)
- Storage and network I/O subsystems in virtualized environments
- Novel software approaches to I/O virtualization
- Paravirtualized I/O subsystems for modified/unmodified guests
- Virtualization-aware cluster interconnects
- Direct device assignment
- NUMA-aware subsystems in virtualized environments
- Hardware Accelerators in virtualization (GPUs/FPGAs)
- Hardware extensions for virtualization
- VMMs/Hypervisors for embedded systems
Data Center management methods, including:
- QoS and and service levels
- VM cloud and cluster distribution algorithms
- VM load-balancing in Clouds
- Hypervisor extensions and tools for cluster and grid computing
- Fault tolerant VM environments
- Virtual machine monitor platforms
- Management, deployment and monitoring of VM-based environments
- Cluster provisioning in the Cloud
PAPER SUBMISSION
Papers submitted to the workshop will be reviewed by at least two
members of the program committee and external reviewers. Submissions
should include abstract, key words, the e-mail address of the
corresponding author, and must not exceed 10 pages, including tables
and figures at a main font size no smaller than 11 point. Submission
of a paper should be regarded as a commitment that, should the paper
be accepted, at least one of the authors will register and attend the
conference to present the work.
Accepted papers will be published in the Springer LNCS series - the
format must be according to the Springer LNCS Style. Initial
submissions are in PDF; authors of accepted papers will be requested
to provide source files.
Format Guidelines: http://www.springer.de/comp/lncs/authors.html
Style template:
ftp://ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs2e.zip
Abstract Submission Link: http://edas.info/newPaper.php?c=11943
IMPORTANT DATES
Rolling abstract submission
June 11, 2012 - Full paper submission (extended)
June 29, 2012 - Acceptance notification
July 20, 2012 - Camera-ready version due
August 28, 2012 - Workshop Date
CHAIR
Michael Alexander (chair), TU Wien, Austria
Gianluigi Zanetti (co-chair), CRS4, Italy
Anastassios Nanos (co-chair), NTUA, Greece
PROGRAM COMMITTEE
Paolo Anedda, CRS4, Italy
Giovanni Busonera, CRS4, Italy
Brad Calder, Microsoft, USA
Roberto Canonico, University of Napoli Federico II, Italy
Tommaso Cucinotta, Alcatel-Lucent Bell Labs, Ireland
Werner Fischer, Thomas-Krenn AG, Germany
William Gardner, University of Guelph, USA
Marcus Hardt, Forschungszentrum Karlsruhe, Germany
Sverre Jarp, CERN, Switzerland
Shantenu Jha, Louisiana State University, USA
Xuxian Jiang, NC State, USA
Nectarios Koziris, National Technical University of Athens, Greece
Simone Leo, CRS4, Italy
Ignacio Llorente, Universidad Complutense de Madrid, Spain
Naoya Maruyama, Tokyo Institute of Technology, Japan
Jean-Marc Menaud, Ecole des Mines de Nantes, France
Dimitrios Nikolopoulos, Foundation for Research&Technology Hellas, Greece
Jose Renato Santos, HP Labs, USA
Walter Schwaiger, TU Wien, Austria
Yoshio Turner, HP Labs, USA
Kurt Tutschku, University of Vienna, Austria
Lizhe Wang, Indiana University, USA
Chao-Tung Yang, Tunghai University, Taiwan
DURATION: Workshop Duration is one day.
GENERAL INFORMATION
The workshop will be held as part of Euro-Par 2012.
Euro-Par 2012: http://europar2012.cti.gr/
12 years, 6 months
[libvirt-users] storage-pools and volumes
by John Wayne
hi,
i am trying to create a domain using libvirt 0.9.4 python api and i can't find any information on how to use the libvirt python api with linux logical volumes
http://libvirt.org/guide/html-single/#Application_Development_Guide-Devic... is TBD
i figured out that i need to use defineXML to create a domain, however for the disk part in the xml, i am not sure if i need to create the LVM first, or just specify the LVM path and libvirt will create the lvm for me and stick the domain on the lvm
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none' io='native'/>
<source dev='/dev/vg001/myhost.blah.com'/>
<target dev='hda' bus='ide'/>
</disk>
/usr/lib64/python2.6/site-packages/libvirt.py has:
ret = libvirtmod.virStorageVolCreateXML(self._o, xmldesc, flags)
if ret is None:raise libvirtError('virStorageVolCreateXML() failed', pool=self)
__tmp = virStorageVol(self, _obj=ret)
return __tmp
however i don't know the xml format for storage vol
thanks
12 years, 6 months
[libvirt-users] maxvcpu
by John Wayne
hi,
i am trying to find out the max vcpus supported for any domain by my hypervisor, however i am having some trouble with the below:
vcpu=5
maxvcpus=libvirt.virConnect.getMaxVcpus(conn,'kqemu')
if maxvcpus <= vcpu:
logging.debug('checkmaxvcpus: max vcpus on hypervisor %i is less than requested vcpu of %i' % (maxvcpus, vcpu))
return 0
else:
return 1
http://libvirt.org/html/libvirt-libvirt.html#virConnectGetMaxVcpus says that i need:
conn:pointer to the hypervisor connection
type:value of the 'type' attribute in the <domain> element
http://libvirt.org/formatdomain.html says that type is of "The allowed values are driver specific, but include "xen", "kvm", "qemu", "lxc" and "kqemu"."
i am using KVM, so i used kqemu, however maxvcpus is always 1, which does not seem right, since i should be able to create a vm with more than 1 vcpu...
12 years, 6 months
[libvirt-users] Libvirt heavy CPU usage
by Samuel Hassine
Hi there,
We are currently using OpenStack with the libvirt driver (libvirt
version: 0.9.11.3) and LXC containers. We are observing a really bad
CPU usage of libvirt_lxc processes:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28828 root 20 0 40852 1376 832 R 104.4 0.0 516:44.27 libvirt_lxc
20560 root 20 0 40852 1372 832 R 98.6 0.0 454:42.48 libvirt_lxc
22419 root 20 0 40852 1376 832 R 98.6 0.0 499:16.98 libvirt_lxc
26238 root 20 0 40852 1376 832 R 98.6 0.0 500:42.94 libvirt_lxc
28307 root 20 0 40852 1376 832 R 92.8 0.0 594:16.96 libvirt_lxc
20408 root 20 0 40852 1376 832 R 69.6 0.0 364:21.02 libvirt_lxc
17495 root 20 0 40852 1372 832 R 63.8 0.0 421:40.78 libvirt_lxc
23725 root 20 0 40852 1376 832 R 46.4 0.0 459:03.75 libvirt_lxc
24710 root 20 0 40852 1368 832 R 40.6 0.0 494:30.45 libvirt_lxc
1350 root 20 0 40852 1372 828 R 34.8 0.0 358:49.72 libvirt_lxc
But theses domains are not really active, they are just "minimal"
virtual engines without any trafic or load.
Is it a "normal" way or there is something wrong?
Thanks for your answer.
Best regards.
Sam
12 years, 6 months
[libvirt-users] free memory on hypervisor
by John Wayne
i am trying to get the free memory on a hypervisor using libvert, with the python api bindings
as per http://libvirt.org/python.html, it should be pretty easy, however the below is failing:
#conn is a connection object
freemem=libvirt.virNode.getFreeMemory(conn)
although this works fine:
software=libvirt.virConnect.getType(conn)
if software == 'QEMU':
logging.debug('hypervisor is type QEMU')
12 years, 6 months
[libvirt-users] communicate with vm
by me,apporc
We need to create many virtual machines and assign an static ip for each of
them.
To do this,
1. we can use one dhcp server to assign ip for them, and bind the MAC to
it's ip. But we got many many machines, so this is not easy to operate for
admins.
2. we can just create the vm and then let the client to config the ip from
within the operating system. But the client don't want to, and sometimes in
fact they should not be authorized to do that.
Are there any way else to do this? I mean is there some API for that we can
use? or just mount the vm image file and change the network configuration
file?
If any API for that, can we change the config while the os in the vm is
running?
Thanks, any help is appreciated.
12 years, 6 months
[libvirt-users] ESX support for virt-install
by Filip Skola
Hi!
I try to integrate ESXi guests to beaker. I'd like to have dynamic installations of guests just like KVM and Xen is done.
I know that virt-install is not currently supported by libvirt, so I'd like to ask, do you plan to add esxdrv support for virt-install? What's current status?
Thank you,
Filip
12 years, 6 months
[libvirt-users] USB passthrough: flexible configuration in XML-file needed
by eGerlach
Hi,
I need a flexible USB passthrough of a USB-device. If the device is turned off
by the current switch (230Volt) the VM should start and not claim that the
USB device is left.
Using:
<devices>
…
<hostdev mode='subsystem' type='usb'>
<source>
<vendor id='0x152a'/>
<product id='0x8180'/>
</source>
</hostdev>
</devices>
</domain>
in libvirt XML-config file the boot process is stopped if the device is switched
off. How can I configure the xml-file to make ich more flexible?
Another possibility would be to passthrough USB-Slot No1 (or No 2, ...) to
the VM. So an arbitrary USB-device that is plugged in to USB-Slot1
would be recognized by the VM. In another forum I got the hint to
start the VM by:
-usb -usbdevice host:0.* -usbdevice host:1.*
to passthrough USB-Slot No1 and No 2. How can I configure that in libvirt
xml-file?
tia
Eckard
12 years, 6 months