Re: [ovirt-users] Real time network usages and IO usages of VM
On 08/29/2014 07:08 AM, Shanil S wrote: Hi All, Is there any api methods to get the real time network usages and IO usages os of each vm ? I tried it by using api/vms/$id/statistics but its not getting the network and IO usages. Is it possible to get these details using the api calls ? -- Regards Shanil Did you try with vms/{vm:id}/nics/{nic:id}/statistics? Note that currently we have the following statistics available there: data.current.rx Receive data rate data.current.tx Transmit data rate errors.total.rx Total transmit errors errors.total.tx Total transmit errors I guess that this isn't what you are looking for, but we don't have anything else at the moment. For disk IO you should take a look at vms/{vm:id}/disks/{disk:id}/statistics. The collection of statistics available there is the following: data.current.read Read data rate data.current.write Write data rate disk.read.latency Read latency disk.write.latency Write latency disk.flush.latency Flush latency Does this cover your needs? If it doesn't I'd suggest that you open a RFE to request adding additional statistics. Meanwhile you will have to use other mechanisms to find the statistics that you need. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Unable to assign profile to the nic
On 08/29/2014 05:21 AM, Shanil S wrote: Hi Juan, I have attached the screenshot of the ovirt panel after creating the nic's with the above code, Please check it. May it be that you are using version 3.3.0? The RESTAPI support for vNIC profiles was added in 3.3.1. On Thu, Aug 28, 2014 at 3:23 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 08/28/2014 10:31 AM, Shanil S wrote: Hi All, I am unable to assign the profile using the ovirt api code, the following xml code is used for creating the nic nic interfacevirtio/interface nameeth0/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic Could you please check if anything wrong with it ? There is nothing severely wrong with that XML, it should work. What specific problems are you having? Does the API return an error? Anything in the logs? Note also that the boot_protocol, ip, and on_boot elements will just be ignored. These elements are used only for host NICs, not for VM NICs. If you want to change the IP configuration of the OS of the VM then you have to use whatever mechanisms that OS provides. The RESTAPI can help you in these regards only if you combine it with Cloud-init or Sysprep. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] VM second netowork not Comeup
On 08/29/2014 05:30 AM, Shanil S wrote: Hi Dan, Please ignore the previous screenshot and check this. -- Regards Shanil On Fri, Aug 29, 2014 at 8:49 AM, Shanil S xielessha...@gmail.com mailto:xielessha...@gmail.com wrote: Hi Dan, I have attached the screenshot of the console, please check it. -- Regards Shanil On Thu, Aug 28, 2014 at 4:46 PM, Dan Kenigsberg dan...@redhat.com mailto:dan...@redhat.com wrote: On Thu, Aug 28, 2014 at 01:50:22PM +0530, Shanil S wrote: Hi Aill, We are creating two nics using the api, but it seems the second network is not come up and the first one is working. The following xml is used to for the nic creation nic interfacevirtio/interface nameeth0/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic nic interfacevirtio/interface nameeth1/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='037d806f-d76b-4da3-84b6-ac7a5087f836' / /nic When i checked the configuration file (/etc/sysconfig/network-scripts/ifcfg-eth1) after creating...i find it seems the ONBOOT=no.eventhough we set it true from the api. Is this a bug ? I do not know what on_boot means in oVirt API, but it certainly is not passed to Vdsm or the guest, and as such cannot control what's in the guest's /etc/sysconfig/network-scripts/ifcfg-eth1. The guest may have ifcfg files, it may run NetworkManager, or it may be Ubunto or Windows. oVirt is responsible to exposing a (virtual) NIC to the guest, but does not interfere with its configuration. Dan The on_boot parameter that you pass when creating the NIC is completely ignored, like all the other IP configuration parameters. But looking at your screenshot it looks like you are already using cloud-init to solve this. Are you using those nic.../nic XML documents as part of larger request to create a VM? In that case we need to check the complete XML document in order to see if there is something wrong. Can you share it? -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Unable to assign profile to the nic
Hi Juan, We are using the using the Ovirt 3.4.3 version. -- Regards Shanil On Fri, Aug 29, 2014 at 1:56 PM, Juan Hernandez jhern...@redhat.com wrote: On 08/29/2014 05:21 AM, Shanil S wrote: Hi Juan, I have attached the screenshot of the ovirt panel after creating the nic's with the above code, Please check it. May it be that you are using version 3.3.0? The RESTAPI support for vNIC profiles was added in 3.3.1. On Thu, Aug 28, 2014 at 3:23 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 08/28/2014 10:31 AM, Shanil S wrote: Hi All, I am unable to assign the profile using the ovirt api code, the following xml code is used for creating the nic nic interfacevirtio/interface nameeth0/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic Could you please check if anything wrong with it ? There is nothing severely wrong with that XML, it should work. What specific problems are you having? Does the API return an error? Anything in the logs? Note also that the boot_protocol, ip, and on_boot elements will just be ignored. These elements are used only for host NICs, not for VM NICs. If you want to change the IP configuration of the OS of the VM then you have to use whatever mechanisms that OS provides. The RESTAPI can help you in these regards only if you combine it with Cloud-init or Sysprep. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] VM second netowork not Comeup
Hi Juan, These are the xml details which i used for the vm start function, please check it action vm os boot dev='cdrom'/ /os initialization cloud_init users user user_nameroot/user_name password/password /user /users network_configuration nics nic interfacevirtio/interface nameeth0/name boot_protocolstatic/boot_protocol mac address='xx:xx:xx:xx:xx:xx'/ network ip address='xx.xx.xx.xx' netmask='255.255.255.0' gateway='xx.xx.xx.xx'/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic nic interfacevirtio/interface nameeth1/name mac address='xx:xx:xx:xx:xx:xx'/ network ip address='xx.xx.xx.xx' netmask='255.255.255.0' gateway=''/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic /nics dns servers host address8.8.8.8/address /host /servers /dns /network_configuration /cloud_init /initialization /vm /action -- Regards Shanil On Fri, Aug 29, 2014 at 2:15 PM, Juan Hernandez jhern...@redhat.com wrote: On 08/29/2014 05:30 AM, Shanil S wrote: Hi Dan, Please ignore the previous screenshot and check this. -- Regards Shanil On Fri, Aug 29, 2014 at 8:49 AM, Shanil S xielessha...@gmail.com mailto:xielessha...@gmail.com wrote: Hi Dan, I have attached the screenshot of the console, please check it. -- Regards Shanil On Thu, Aug 28, 2014 at 4:46 PM, Dan Kenigsberg dan...@redhat.com mailto:dan...@redhat.com wrote: On Thu, Aug 28, 2014 at 01:50:22PM +0530, Shanil S wrote: Hi Aill, We are creating two nics using the api, but it seems the second network is not come up and the first one is working. The following xml is used to for the nic creation nic interfacevirtio/interface nameeth0/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic nic interfacevirtio/interface nameeth1/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network on_boottrue/on_boot vnic_profile id='037d806f-d76b-4da3-84b6-ac7a5087f836' / /nic When i checked the configuration file (/etc/sysconfig/network-scripts/ifcfg-eth1) after creating...i find it seems the ONBOOT=no.eventhough we set it true from the api. Is this a bug ? I do not know what on_boot means in oVirt API, but it certainly is not passed to Vdsm or the guest, and as such cannot control what's in the guest's /etc/sysconfig/network-scripts/ifcfg-eth1. The guest may have ifcfg files, it may run NetworkManager, or it may be Ubunto or Windows. oVirt is responsible to exposing a (virtual)
[ovirt-users] Guest reboot feature using REST API
Hi All, It is found that there is a function like guest reboot ( http://www.ovirt.org/Features/Guest_Reboot ) Is there any rest api function for doing this guest reboot ? currently i found only one function for reboot (/api/vms/id/reboot). We are currently using the Ovirt 3.4.3 version -- Regards Shanil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Guest reboot feature using REST API
On 08/29/2014 12:09 PM, Shanil S wrote: Hi All, It is found that there is a function like guest reboot ( http://www.ovirt.org/Features/Guest_Reboot ) Is there any rest api function for doing this guest reboot ? currently i found only one function for reboot (/api/vms/id/reboot). We are currently using the Ovirt 3.4.3 version Yes: #!/bin/sh -ex url=https://ovirt.example.com/ovirt-engine/api; user=admin@internal password=** curl \ --insecure \ --request POST \ --header Accept: application/xml \ --header Content-Type: application/xml \ --user ${user}:${password} \ --data action/ \ ${url}/vms/dc7076ee-9ae7-4a14-bec6-7936f76b4375/reboot -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Guest reboot feature using REST API
Hi Juan, This is the normal reboot of the vm, right ? -- Regards Shanil On Fri, Aug 29, 2014 at 4:03 PM, Juan Hernandez jhern...@redhat.com wrote: On 08/29/2014 12:09 PM, Shanil S wrote: Hi All, It is found that there is a function like guest reboot ( http://www.ovirt.org/Features/Guest_Reboot ) Is there any rest api function for doing this guest reboot ? currently i found only one function for reboot (/api/vms/id/reboot). We are currently using the Ovirt 3.4.3 version Yes: #!/bin/sh -ex url=https://ovirt.example.com/ovirt-engine/api; user=admin@internal password=** curl \ --insecure \ --request POST \ --header Accept: application/xml \ --header Content-Type: application/xml \ --user ${user}:${password} \ --data action/ \ ${url}/vms/dc7076ee-9ae7-4a14-bec6-7936f76b4375/reboot -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] VM second netowork not Comeup
On 08/29/2014 12:02 PM, Shanil S wrote: Hi Juan, These are the xml details which i used for the vm start function, please check it Ok, this explains this problem and the other problem that you are having with assigning profile. It is important to understand that there are two sets of parameters associated to a network interface: 1. Those that define the virtual hardware configuration, like the model, interface, MAC and profile. Those are assigned when you create or update the NIC. For example: #!/bin/sh -x url=https://ovirt.example.com/ovirt-engine/api; user=admin@internal password=** curl \ --verbose \ --insecure \ --request POST \ --header Accept: application/xml \ --header Content-Type: application/xml \ --user ${user}:${password} \ --data nic interfacevirtio/interface namenic1/name mac address='00:1a:4a:16:01:53'/ vnic_profile id='8d69b87d-a6df-4912-adb7-d498c2fdc8e3'/ /nic \ ${url}/vms/b848fc2e-5df2-4754-ae7c-98a20c0e373d/nics If you include in a request like this any IP information, like boot protocol, address, etc, it will be just silently ignored. 2. Those that define the software device configuration. These are managed by the guest OS, and you can set them using cloud-init, as you are doing. But you can't change the hardware configuration with cloud-init, that is why your vnic_profile element is ignored. See some more comments below: action vm os boot dev='cdrom'/ /os initialization cloud_init users user user_nameroot/user_name password/password /user /users network_configuration nics nic interfacevirtio/interface This ^ line is ignored by cloud-init. nameeth0/name boot_protocolstatic/boot_protocol mac address='xx:xx:xx:xx:xx:xx'/ This ^ line is ignored by cloud-init. network ip address='xx.xx.xx.xx' netmask='255.255.255.0' gateway='xx.xx.xx.xx'/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / This ^ line is ignored by cloud-init. The vnic_profile is only used when creating the NIC. /nic nic interfacevirtio/interface This ^ line is ignored by cloud-init. nameeth1/name You should add boot_protocolstatic/boot_protocol here, like in eth0. mac address='xx:xx:xx:xx:xx:xx'/ This ^ line is ignored by cloud-init. network ip address='xx.xx.xx.xx' netmask='255.255.255.0' gateway=''/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / This ^ line is ignored by cloud-init. The vnic_profile is only used when creating the NIC. /nic /nics dns servers host address8.8.8.8/address /host /servers /dns /network_configuration /cloud_init /initialization /vm /action -- Regards Shanil On Fri, Aug 29, 2014 at 2:15 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 08/29/2014 05:30 AM, Shanil S wrote: Hi Dan, Please ignore the previous screenshot and check this. -- Regards Shanil On Fri, Aug 29, 2014 at 8:49 AM, Shanil S xielessha...@gmail.com mailto:xielessha...@gmail.com mailto:xielessha...@gmail.com mailto:xielessha...@gmail.com wrote: Hi Dan, I have attached the screenshot of the console, please check it. -- Regards Shanil On
Re: [ovirt-users] Guest reboot feature using REST API
On Friday, August 29, 2014 04:12:01 PM Shanil S wrote: Hi Juan, This is the normal reboot of the vm, right ? Yes, you also need to have the guest agent installed on the guest for this to work properly. On 08/29/2014 12:09 PM, Shanil S wrote: Hi All, It is found that there is a function like guest reboot ( http://www.ovirt.org/Features/Guest_Reboot ) Is there any rest api function for doing this guest reboot ? currently i found only one function for reboot (/api/vms/id/reboot). We are currently using the Ovirt 3.4.3 version Yes: #!/bin/sh -ex url=https://ovirt.example.com/ovirt-engine/api; user=admin@internal password=** curl \ --insecure \ --request POST \ --header Accept: application/xml \ --header Content-Type: application/xml \ --user ${user}:${password} \ --data action/ \ ${url}/vms/dc7076ee-9ae7-4a14-bec6-7936f76b4375/reboot -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Import Windows VHD disk to oVirt virtio-scsi dsik in Admin portl
Hi. Anyone have any idea how to do it. Normally I did it this way that: - Convert VHD format IMG: Example: qemu-img convert -f vpc -O raw VHD_WinSrvRAS2012.vhd /usr/local/VHD_WinSrvRAS2012.img -p - I was copying the file RAW disk: Example: dd if=VHD_WinSrvRAS2012.img of=/usr/local/virtuos/99a241af-2a65-468b-8df2- fa52c430ed5e/images/15f65c23-319e-4b9b-8313-14261886f7cd/4ffd8834-b99d-46d7-990b-a73c3e66a30e But when I run the machine there is a problem with the detection of the disk operating system. I was wondering is there a way to tell him to add drivers for virtio-scsi interface. But i do not know how to do it? -- G.Sz. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Functionalities of GlusterFS (vs VMFS)
Thank you for these links... I will read the documents... David. P.S. : if you have experience with GlusterFS, with or without oVirt, that interests me too and feel free to contact me directly... Le Thu, 28 Aug 2014 13:08:58 -0400 (AMT), Robson Kobayashi - TRE/MS robson.kobaya...@tre-ms.jus.br a écrit : Just to complete the answer, Red Hat Buys Inktank (CEPH). http://techcrunch.com/2014/04/30/red-hat-buys-ceph-provider-inktank-for-175m-in-cash-to-beef-up-its-cloud-storage-offerings/ http://www.zdnet.com/red-hat-releases-inktank-ceph-enterprise-1-2-731694/ !- Robson Massaki Kobayashi !- - Mensagem original - De: Sven Kieske s.kie...@mittwald.de Para: users@ovirt.org Enviadas: Quinta-feira, 28 de Agosto de 2014 5:18:12 Assunto: Re: [ovirt-users] Functionalities of GlusterFS (vs VMFS) Some quick searching reveals this for performance: https://indico.cern.ch/event/214784/session/6/contribution/332/material/slides/0.pdf there also was a performance comparison done by some ceph people between ceph and gluster on their blog, you should easily find it. HTH ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Import Windows VHD disk to oVirt virtio-scsi dsik in Admin portl
Hello, I think there is no direct way. Since I need this feature also, I did setup open stack glance and added it as external provider to oVirt. [1] Thus, 1. Convert the image (to qcow2 IIRC) 2. upload it to glance with the cli tools 3. create a template or virtual machine form the glance image in oVirt [1] http://www.ovirt.org/Features/Glance_Integration -- Daniel Helgenberger m box bewegtbild GmbH P: +49/30/2408781-22 F: +49/30/2408781-10 ACKERSTR. 19 D-10115 BERLIN www.m-box.de www.monkeymen.tv Am 29.08.2014 um 14:26 schrieb Grzegorz Szypa grzegorz.sz...@gmail.com: Hi. Anyone have any idea how to do it. Normally I did it this way that: - Convert VHD format IMG: Example: qemu-img convert -f vpc -O raw VHD_WinSrvRAS2012.vhd /usr/local/VHD_WinSrvRAS2012.img -p - I was copying the file RAW disk: Example: dd if=VHD_WinSrvRAS2012.img of=/usr/local/virtuos/99a241af-2a65-468b-8df2- fa52c430ed5e/images/15f65c23-319e-4b9b-8313-14261886f7cd/4ffd8834-b99d-46d7-990b-a73c3e66a30e But when I run the machine there is a problem with the detection of the disk operating system. I was wondering is there a way to tell him to add drivers for virtio-scsi interface. But i do not know how to do it? -- G.Sz. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users smime.p7s Description: S/MIME cryptographic signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Import Windows VHD disk to oVirt virtio-scsi dsik in Admin portl
I think I found a simpler solution. To my an earlier method just add this function: - Change the type of virtual disk on IDE - Start the machine and install the drivers virtio-SCIs - Closing machine - Change the type of virtual disk to virtio-SCSI - Now works 2014-08-29 14:49 GMT+02:00 Daniel Helgenberger daniel.helgenber...@m-box.de : Hello, I think there is no direct way. Since I need this feature also, I did setup open stack glance and added it as external provider to oVirt. [1] Thus, 1. Convert the image (to qcow2 IIRC) 2. upload it to glance with the cli tools 3. create a template or virtual machine form the glance image in oVirt [1] http://www.ovirt.org/Features/Glance_Integration -- Daniel Helgenberger m box bewegtbild GmbH P: +49/30/2408781-22 F: +49/30/2408781-10 ACKERSTR. 19 D-10115 BERLIN www.m-box.de www.monkeymen.tv Am 29.08.2014 um 14:26 schrieb Grzegorz Szypa grzegorz.sz...@gmail.com : Hi. Anyone have any idea how to do it. Normally I did it this way that: - Convert VHD format IMG: Example: qemu-img convert -f vpc -O raw VHD_WinSrvRAS2012.vhd /usr/local/VHD_WinSrvRAS2012.img -p - I was copying the file RAW disk: Example: dd if=VHD_WinSrvRAS2012.img of=/usr/local/virtuos/99a241af-2a65-468b-8df2- fa52c430ed5e/images/15f65c23-319e-4b9b-8313-14261886f7cd/4ffd8834-b99d-46d7-990b-a73c3e66a30e But when I run the machine there is a problem with the detection of the disk operating system. I was wondering is there a way to tell him to add drivers for virtio-scsi interface. But i do not know how to do it? -- G.Sz. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- G.Sz. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt/gluster storage questions for 2-3 node datacenter
Paul, Thanks for the response. You mention that the issue is orphaned files during updates when one node is down. However I am less concerned about adding and removing files because the file server will be predominately VM disks so the file structure is fairly static. Those VM files will be quite active however - will gluster be able to keep track of partial updates to a large file when one out of two bricks are down? Right now I am leaning towards using SSD for host local disk - single brick gluster volumes intended for VMs which are node specific and then 3 way replicas for the higher availability zones which tend to be more read oriented. I presume that read-only access only needs to get data from one of the 3 replicas so that should be reasonably performant. Thanks, David On Thu, Aug 28, 2014 at 6:13 PM, Paul Robert Marino prmari...@gmail.com wrote: I'll try to answer some of these. 1) its not a serious problem persay the issue is if one node goes down and you delete a file while the second node is down it will be restored when the second node comes back which may cause orphaned files where as if you use 3 servers they will use quorum to figure out what needs to be restored or deleted. Further more your read and write performance may suffer especially in comparison to having 1 replica of the file with stripping. 2) see answer 1 and just create the volume with 1 replica and only include the URI for bricks on two of the hosts when you create it. 3) I think so but have never tried it you just have to define it as a local storage domain. 4) well that's a philosophical question. You can theory have two hosted engines on separate VMs on two separate physical boxes but if for any reason they both go down you will be living in interesting times (as in the Chinese curse) 5) YES! And have more than one. -- Sent from my HP Pre3 -- On Aug 28, 2014 9:39 AM, David King da...@rexden.us wrote: Hi, I am currently testing oVirt 3.4.3 + gluster 3.5.2 for use in my relatively small home office environment on a single host. I have 2 Intel hosts with SSD and magnetic disk and one AMD host with only magnetic disk. I have been trying to figure out the best way to configure my environment given my previous attempt with oVirt 3.3 encountered storage issues. I will be hosting two types of VMs - VMs that can be tied to a particular system (such as 3 node FreeIPA domain or some test VMs), and VMs which could migrate between systems for improved uptime. The processor issue seems straightforward. Have a single datacenter with two clusters - one for the Intel systems and one for the AMD systems. Put VMs which need to live migrate on the Intel cluster. If necessary VMs can be manually switched between the Intel and AMD cluster with a downtime. The Gluster side of the storage seems less clear. The bulk of the gluster with oVirt issues I experienced and have seen on the list seem to be two node setups with 2 bricks in the Gluster volume. So here are my questions: 1) Should I avoid 2 brick Gluster volumes? 2) What is the risk in having the SSD volumes with only 2 bricks given that there would be 3 gluster servers? How should I configure them? 3) Is there a way to use local storage for a host locked VM other than creating a gluster volume with one brick? 4) Should I avoid using the hosted engine configuration? I do have an external VMware ESXi system to host the engine for now but would like to phase it out eventually. 5) If I do the hosted engine should I make the underlying gluster volume 3 brick replicated? Thanks in advance for any help you can provide. -David ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Need to import a template in OVA format
I have a template designed for VMware VMs, in OVA format. Is there a way I can import this template to oVirt, in order to create an oVirt VM from it? virt-v2v seems designed to import VMs, not templates, and it whines about no storage devices in the Guest (when using -i ova -o rhev -os NFS_PATH_TO_EXPORT_DOMAIN). Thanks, Bob P.S. If of interest, the OVA tarball contains foo.ovf, foo.mf, and system.vmdk. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt/gluster storage questions for 2-3 node datacenter
On 08/29/2014 07:34 PM, David King wrote: Paul, Thanks for the response. You mention that the issue is orphaned files during updates when one node is down. However I am less concerned about adding and removing files because the file server will be predominately VM disks so the file structure is fairly static. Those VM files will be quite active however - will gluster be able to keep track of partial updates to a large file when one out of two bricks are down? Yes, gluster only updates regions of the file that need to be synchronized during self-healing. More details on this synchronization can be found in the self-healing section of afr's design document [1]. Right now I am leaning towards using SSD for host local disk - single brick gluster volumes intended for VMs which are node specific and then 3 way replicas for the higher availability zones which tend to be more read oriented. I presume that read-only access only needs to get data from one of the 3 replicas so that should be reasonably performant. Yes, read operations are directed to only one of the replicas. Regards, Vijay [1] https://github.com/gluster/glusterfs/blob/master/doc/features/afr-v1.md ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt/gluster storage questions for 2-3 node datacenter
On Fri, Aug 29, 2014 at 12:25 PM, Vijay Bellur vbel...@redhat.com wrote: On 08/29/2014 07:34 PM, David King wrote: Paul, Thanks for the response. You mention that the issue is orphaned files during updates when one node is down. However I am less concerned about adding and removing files because the file server will be predominately VM disks so the file structure is fairly static. Those VM files will be quite active however - will gluster be able to keep track of partial updates to a large file when one out of two bricks are down? Yes, gluster only updates regions of the file that need to be synchronized during self-healing. More details on this synchronization can be found in the self-healing section of afr's design document [1]. Right now I am leaning towards using SSD for host local disk - single brick gluster volumes intended for VMs which are node specific and then I wouldn't use single brick gluster volumes for local disk you don't need it and it will actually make it more complicated with no real benefits. 3 way replicas for the higher availability zones which tend to be more read oriented. I presume that read-only access only needs to get data from one of the 3 replicas so that should be reasonably performant. Yes, read operations are directed to only one of the replicas. Regards, Vijay [1] https://github.com/gluster/glusterfs/blob/master/doc/features/afr-v1.md ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt/gluster storage questions for 2-3 node datacenter
Hi Paul, I would prefer to do a direct mount for local disk. However I am not certain how to configure a single system with both local storage and bluster replicated storage. - The “Configure Local Storage” option for Hosts wants to make a datacenter and cluster for the system. I presume that’s because oVirt wants to be able to mount the storage on all hosts in a datacenter. - Configuring a POSIX storage domain with local disk does not work as oVirt wants to mount the disk on all systems in the datacenter. I suppose my third option would be to put these systems as libvirt VMs and not manage them with oVirt. This is fairly reasonable as I use Foreman for provisioning except that I will need to figure out how to make them co-exist. Has anyone tried this? Am I missing other options for local non-replicated disk? Thanks, David -- David King On August 29, 2014 at 3:01:49 PM, Paul Robert Marino (prmari...@gmail.com) wrote: On Fri, Aug 29, 2014 at 12:25 PM, Vijay Bellur vbel...@redhat.com wrote: On 08/29/2014 07:34 PM, David King wrote: Paul, Thanks for the response. You mention that the issue is orphaned files during updates when one node is down. However I am less concerned about adding and removing files because the file server will be predominately VM disks so the file structure is fairly static. Those VM files will be quite active however - will gluster be able to keep track of partial updates to a large file when one out of two bricks are down? Yes, gluster only updates regions of the file that need to be synchronized during self-healing. More details on this synchronization can be found in the self-healing section of afr's design document [1]. Right now I am leaning towards using SSD for host local disk - single brick gluster volumes intended for VMs which are node specific and then I wouldn't use single brick gluster volumes for local disk you don't need it and it will actually make it more complicated with no real benefits. 3 way replicas for the higher availability zones which tend to be more read oriented. I presume that read-only access only needs to get data from one of the 3 replicas so that should be reasonably performant. Yes, read operations are directed to only one of the replicas. Regards, Vijay [1] https://github.com/gluster/glusterfs/blob/master/doc/features/afr-v1.md ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users