Re: [one-users] using iSCSI storage
Hi Michael, See if this thread [1] helps you in any way. Regards, -Tino [1] http://lists.opennebula.org/pipermail/users-opennebula.org/2010-September/002799.html -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Tue, Sep 14, 2010 at 8:20 PM, Michael W. Lucas mwlu...@blackhelicopters.org wrote: Hi, I'm running ON 1.4 on Ubuntu 9, with worker nodes running KVM on Ubuntu 10.04 I'd like to specify an iSCSI target for a VM's storage on a per-VM basis. Is this possible? Is anyone doing anything like this? It seems it should be possible. I see references to using LVM, but my iSCSI targets don't run Linux; only the KVM worker nodes. Thanks, ==ml -- Michael W. Lucas mwlu...@blackhelicopters.org http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ New book available: Network Flow Analysis http://www.networkflowanalysis.com/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] blktap module and image files with holes
Hi Rubén, Qemu provides an utility to create sparse images. I have compared the sparse image generated by the dd command and by the qemu-img command, and although they offer the same functionality, they are not the same: $ dd if=/dev/zero of=sparse-dd.img bs=1 count=1 seek=1073741823 2/dev/null $ qemu-img create -f raw sparse-qemu.img 1G Formatting 'sparse-qemu.img', fmt=raw size=1073741824 $ ls -l sparse-* -rw-r--r-- 1 jmelis jmelis 1073741824 Sep 17 12:07 sparse-dd.img -rw-r--r-- 1 jmelis jmelis 1073741824 Sep 17 12:07 sparse-qemu.img $ du sparse-* 4 sparse-dd.img 0 sparse-qemu.img You could try: exec_and_log ssh $DST_HOST qemu-img create -f raw $DST_PATH $SIZE see if it gives a better result? Make sure you have the qemu utils installed in the worker node. regards, Jaime On Fri, Sep 17, 2010 at 9:22 AM, Ruben Diez rd...@cesga.es wrote: Hi: Recently, we has study a strange issue about the i/o performance in virtual machines created with OpenNebula over xen The symptoms of these i/o related issues was: 1) A massive scp command to the VM report various stalled status and are very slow. 2) dd command of the type dd if=/dev/urandom bs=1M count=500 of=probe.raw fail sometimes (usually after a heavy scp stress), by writing less data that it would do. After a lot of tests, we found this: The problem appears in the disks (usually scratch) created with the '' type = fs '' way in opennebula. When the xen deployment.0 file is created, the blktap module is used (with the xen tap:aio mechanism). OpenNebula creates the scratch disk by using dd for make files with holes. This is very fast, but these archives seems to fail when are used by xen with the blktap module... If in the tm_mkimage.sh file we change the line: exec_and_log ssh $DST_HOST dd if=/dev/zero of=$DST_PATH bs=1 count=1 seek=${SIZE}M by this one: exec_and_log ssh $DST_HOST dd if=/dev/zero of=$DST_PATH bs=1M count=${SIZE} the problems disappears But then the VM deployment is slow, if the scratch disk is large The system is a Centos 5.5. The xen hypervisor version is the standard one with centos 5.5: the 3.0.3, and the kernel is a 2.6.18-194.8.1.el5xen We suppose that this issue is a bug in the blktap module distributed with xen. One possibility is to upgrade the xen version. There are a centos xen repository at http://www.gitco.de/repo/, but it is only the hypervisor. The blktap module seems to be distributed with the xen patched kernel Any of you know about a centos xen-kernel recent version repository?? Are the compilation the only way to upgrade the xen kernel to a recent version??? Regards. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Virtual networking isolation in version 2.0
On Thu, Sep 16, 2010 at 7:21 PM, Cuong Hoang Bui ... After these 4 VMs in runnung state, if I log in to VM belonging to red network, set it to IP belonging to blue network, then it can connect to VMs in blue network? Is it the right way to use network isolation feature? I'm sorry when asking this question due to I dont have enough machines to do this test. No, VMs in red network will not see any blue traffic. You need to configure the ebtables hook or a VLANs in your switch to do this, though Cheers http://www.opennebula.org/documentation:rel2.0:nm -- ** Regards, Cuong Hoang Bui c...@cteklab.net bhcuong2...@gmail.com ** ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Dr. Ruben Santiago Montero Associate Professor (Profesor Titular), Complutense University of Madrid URL: http://dsa-research.org/doku.php?id=people:ruben Weblog: http://blog.dsa-research.org/?author=7 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OCCI: multipart POST request with java-client
Hi, sorry for the late response. After building+installing opennebula directly from the git repository the curl upload now works!!! :-) Thank you for the great support! Marco -Original Message- From: dmamol...@gmail.com [mailto:dmamol...@gmail.com] On Behalf Of Daniel Molina Aranda Sent: Friday, September 10, 2010 2:54 PM To: Strutz, Marco Cc: Tino Vazquez; users@lists.opennebula.org Subject: Re: [one-users] OCCI: multipart POST request with java-client Hi Marco, I think you are not using the last source in which the bug was fixed. You have to switch to the one-2.0 branch. ➜ git clone git://opennebula.org/one.git ➜ git checkout one-2.0 ➜ scons ... Would you mind to check if the problems still persist using this version? Regards On 10 September 2010 13:51, Strutz, Marco marco.str...@fokus.fraunhofer.de wrote: STORAGE href=http://virtualbox.one.de:4567/storage/0 name=testfile_ttyLinux/ -- Daniel Molina, Cloud Technology Engineer/Researcher DSA Research Group: web http://dsa-research.org and blog http://blog.dsa-research.org OpenNebula Open Source Toolkit for Cloud Computing: http://www.OpenNebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org