[ovirt-users] change disk size using a thin provision based template
Hello, I am making some tests and this time I want to reduce the disk size before create a new vm (in the new vm window ) test: 1) click on new VM 2) select template (centos6.5 , 6GB, 500GB HD , 2 cores) 3) resource allocation : select preallocated disk 4) change disk size it is not possible ! Why I can not change disk size ? I know it is based on template who had already defined (500GB), but this template in fact has only 4GB of actual size in thin provisioning allocation policy . thanks tamer ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] how to remove VM and Hosts ?
hello what is the correct procedure to remove VMs and Hosts? I know the right way is to remove VMs first then remove your Host, but I generate 20 VMs, just for testing, and I want to remove either the host who hosts this VMs Environment: 3 servers: srv-01 = engine , vdsm srv-02 = vdsm , spm, lots of VMs srv-03 = vdsm , lots of VMs I removed 2 hosts of my ovirt-engine steps: 1) select host and put on maintenance 2) stop all VMs 3) remove host But in VM tab I can see all VMs and can not remove . steps 1) select VM and click on remove Are you sure you want to remove the following items? - pvm0203-2 Remove Disk(s) 2) click ok Operation Canceled Error while executing action: pvm0203-2: Cannot remove VM. VM is attached to a VM-Pool. What really happens here? Where is this files located to remove manually? thanks thanks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] how to remove VM and Hosts ?
I reinstalled the hosts step: 1) create new host I selected srv-02 2) host created 1) create new host I selected srv-03 2) host created and noticed two things : 1) I tried now, to remove the remaining VMs , but the error was the same : Cannot remove VM. VM is attached to a VM-Pool. 2) I can run theses VMs . That is, I can remove the host and reinsert again without VM problems. 2.1) And another detail: these VMs are thin/dependent. All others VMs that I was able to remove was the type clone/independent. What happens with this thin type provisioning? On Tue, May 6, 2014 at 1:42 PM, Tamer Lima tamer.amer...@gmail.com wrote: hello what is the correct procedure to remove VMs and Hosts? I know the right way is to remove VMs first then remove your Host, but I generate 20 VMs, just for testing, and I want to remove either the host who hosts this VMs Environment: 3 servers: srv-01 = engine , vdsm srv-02 = vdsm , spm, lots of VMs srv-03 = vdsm , lots of VMs I removed 2 hosts of my ovirt-engine steps: 1) select host and put on maintenance 2) stop all VMs 3) remove host But in VM tab I can see all VMs and can not remove . steps 1) select VM and click on remove Are you sure you want to remove the following items? - pvm0203-2 Remove Disk(s) 2) click ok Operation Canceled Error while executing action: pvm0203-2: Cannot remove VM. VM is attached to a VM-Pool. What really happens here? Where is this files located to remove manually? thanks thanks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] how to remove VM and Hosts ?
Problem solved: The VMs are related to POOL To remove these VMs 1) on tab POOLS : detach each VM from pool 2) remove pool (when I choose to detach all VMs from the pool this will remove the pool itself) When I do this , on the VM tab the icons of VMs changes from Pool Icon to Server Icon Then, on VM tab I select desired VM and click on remove. Now it works. finally: all VMs removed. now I can remove the Hosts On Tue, May 6, 2014 at 2:59 PM, Tamer Lima tamer.amer...@gmail.com wrote: I reinstalled the hosts step: 1) create new host I selected srv-02 2) host created 1) create new host I selected srv-03 2) host created and noticed two things : 1) I tried now, to remove the remaining VMs , but the error was the same : Cannot remove VM. VM is attached to a VM-Pool. 2) I can run theses VMs . That is, I can remove the host and reinsert again without VM problems. 2.1) And another detail: these VMs are thin/dependent. All others VMs that I was able to remove was the type clone/independent. What happens with this thin type provisioning? On Tue, May 6, 2014 at 1:42 PM, Tamer Lima tamer.amer...@gmail.comwrote: hello what is the correct procedure to remove VMs and Hosts? I know the right way is to remove VMs first then remove your Host, but I generate 20 VMs, just for testing, and I want to remove either the host who hosts this VMs Environment: 3 servers: srv-01 = engine , vdsm srv-02 = vdsm , spm, lots of VMs srv-03 = vdsm , lots of VMs I removed 2 hosts of my ovirt-engine steps: 1) select host and put on maintenance 2) stop all VMs 3) remove host But in VM tab I can see all VMs and can not remove . steps 1) select VM and click on remove Are you sure you want to remove the following items? - pvm0203-2 Remove Disk(s) 2) click ok Operation Canceled Error while executing action: pvm0203-2: Cannot remove VM. VM is attached to a VM-Pool. What really happens here? Where is this files located to remove manually? thanks thanks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] does SPM can run over ovirt-engine host ?
] (DefaultQuartzScheduler_Worker-99) Polling and updating Async Tasks: 1 tasks, 1 tasks to poll now 2014-04-24 13:17:59,566 INFO [org.ovirt.engine.core.bll.SPMAsyncTask] (DefaultQuartzScheduler_Worker-99) SPMAsyncTask::PollTask: Polling task e8726bad-05ff-4f89-a127-146a3f8bceb2 (Parent Command AddVmFromTemplate, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) returned status running. 2014-04-24 13:17:59,567 INFO [org.ovirt.engine.core.bll.AsyncTaskManager] (DefaultQuartzScheduler_Worker-99) Finished polling Tasks, will poll again in 10 seconds. 2014-04-24 13:17:59,653 INFO [org.ovirt.engine.core.bll.network.vm.ReorderVmNicsCommand] (ajp--127.0.0.1-8702-5) [601e9dcb] Running command: ReorderVmNicsCommand internal: false. Entities affected : ID: 8a94d957-621e-4cd6-b94d-64a0572cb759 Type: VM 2014-04-24 13:18:11,746 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-82) [1bb7dfd0] Correlation ID: null, Call Stack: null, Custom Event ID: -1, *Message: Used Network resources of host srv-0202 [96%] exceeded defined threshold [95%].* 2014-04-24 13:18:22,578 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-60) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message:* Used Network resources of host srv-0203 [98%] exceeded defined threshold [95%].* 2014-04-24 13:19:54,926 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (org.ovirt.thread.pool-6-thread-28) starting processDomainRecovery for domain 6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d:ISO_DOMAIN 2014-04-24 13:19:54,929 WARN [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (org.ovirt.thread.pool-6-thread-28) Storage domain 6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d:ISO_*DOMAIN is not visible to one or more hosts. Since the domains type is ISO, hosts status will not be changed to non-operational* 2014-04-24 13:19:57,802 WARN [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (org.ovirt.thread.pool-6-thread-36) domain 6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d:ISO_DOMAIN in problem. vds: srv-0202 ^C Os homens não são prisioneiros do destino, mas de suas próprias mentes Franklin Roosevelt __ Tamer Américo (61) 8411-3491 Mestre em Engenharia Elétrica Cientista da Computação On Thu, Apr 24, 2014 at 3:27 AM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tamer Lima tamer.amer...@gmail.com To: users@ovirt.org Sent: Monday, April 14, 2014 5:13:12 PM Subject: [ovirt-users] does SPM can run over ovirt-engine host ? Hello, When I create virtual machine from a template (centos6.5, 2 cores, 8GB mem, 500GB hd) this process takes almost 2 hours. I click on New VM button and just select the template and click ok. engine.log show me high network consumption (98%) between engine-server host and SPM host. Could you share that piece of log which indicates the 98% consumption is beween the engine server to the SPM host (vs the SPM node to the storage server) ? I tried to make my engine-server host a spm host too, but without sucess. Does SPM can run over on the same ovirt-engine machine ? Am I make something wrong? Or create VM from template is really slow ? my servers : srv-0202 = ovirt-engine , vdsm srv-0203 = spm , vdsm srv-0204 = vdsm These servers are dell blades connected on a 100GB switch. thanks This is what I know about SPM: http://www.ovirt.org/Storage_-_oVirt_workshop_November_2011 = Storage Pool Manager (SPM) A role assigned to one host in a data center granting it sole authority over: * Creation, deletion, an dmanipulation of virtula disk images, snapshots and templates * Templates: you can create on VM as a golden image and provision to multiple VMs (QCOW layers) * Allocation of storage for sparse block devices (on SAN) * Thin provisinoing (see below) * Single metadata writer: * SPM lease mechanism (Chockler and Malkhi 2004, Light-Weight Leases for Storage-Cnntric Coordination) * Storage-centric mailbox * This role can be migrated to any host in data center ___ 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] does SPM can run over ovirt-engine host ?
I created link with an image showing network consumption between engine and spm. http://pt-br.tinypic.com/r/dzi80i/8 http://tinypic.com/view.php?pic=dzi80is=8#.U1lEKfldVyN This forum has an image site/blog preference ? thanks below is the log of spm-lock.log [root@srv-0203 vdsm]# tail -f spm-lock.log [2014-03-06 18:21:21] Protecting spm lock for vdsm pid 2992 [2014-03-06 18:21:21] Trying to acquire lease - sdUUID=6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d lease_file=/rhev/data-center/mnt/srv-0202.lttd.br:_var_lib_exports_iso/6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d/dom_md/leases id=1 lease_time_ms=5000 io_op_to_ms=1000 [2014-03-06 18:21:34] Lease acquired sdUUID=6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d id=1 lease_path=/rhev/data-center/mnt/srv-0202.ltd.br:_var_lib_exports_iso/6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d/dom_md/leases, TS=1394140892739675 [2014-03-06 18:21:34] *Protecting spm lock for vdsm *pid 2992 [2014-03-06 18:21:34] Started renewal process (pid=17519) for sdUUID=6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d id=1 lease_path=/rhev/data-center/mnt/srv-0202.lttd.unb.br: _var_lib_exports_iso/6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d/dom_md/leases [2014-03-06 18:21:34] Stopping lease for pool: 6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d pgrps: -17519 User defined signal 1 [2014-03-06 18:21:34] releasing lease sdUUID=6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d id=1 lease_path=/rhev/data-center/mnt/srv-0202.lttd.br: _var_lib_exports_iso/6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d/dom_md/leases On Thu, Apr 24, 2014 at 1:51 PM, Tamer Lima tamer.amer...@gmail.com wrote: Hi, this is the piece of code of engine.log at serv-0202 (engine server) the spm was defined on serv-0203 log from serv-0202 (engine server): 2014-04-24 13:18:11,746 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-82) [1bb7dfd0] Correlation ID: null, Call Stack: null, Custom Event ID: -1, *Message: Used Network resources of host srv-0202 [96%] exceeded defined threshold [95%].* 2014-04-24 13:18:22,578 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-60) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message:* Used Network resources of host srv-0203 [98%] exceeded defined threshold [95%].* below is the log before the vm creation procedure. The log starts on the moment I press to create a new virtual machine: (The procedure of creation VM takes more than 1 hour. I executed tcpdump command on srv-0203 (SPM), even creating using thinning provisioning , I collected 500Gb of traffic between serv-0202 and serv-0203. When finally a VM is created there is no real disk allocation from ovirt, only my tcpdump log file. I do not know why this traffic exists) log from serv-0202 (engine server): 2014-04-24 13:11:36,241 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-20) [1a138258] Correlation ID: 1a138258, Call Stack: null, Custom Event ID: -1, Message: Invalid status on Data Center Default. Setting status to Non Responsive. 2014-04-24 13:11:36,255 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-20) [1a138258] hostFromVds::selectedVds - srv-0202, spmStatus Free, storage pool Default 2014-04-24 13:11:36,258 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-20) [1a138258] starting spm on vds srv-0202, storage pool Default, prevId -1, LVER -1 2014-04-24 13:11:36,259 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] (DefaultQuartzScheduler_Worker-20) [1a138258] START, SpmStartVDSCommand(HostName = srv-0202, HostId = fbdf0655-6560-4e12-a95a-875592f62cb5, storagePoolId = 5849b030-626e-47cb-ad90-3ce782d831b3, prevId=-1, prevLVER=-1, storagePoolFormatType=V3, recoveryMode=Manual, SCSIFencing=false), log id: 778a334c 2014-04-24 13:11:36,310 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] (DefaultQuartzScheduler_Worker-20) [1a138258] spmStart polling started: taskId = 198c7765-38cb-42e7-9349-93ca43be7066 2014-04-24 13:11:37,315 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetTaskStatusVDSCommand] (DefaultQuartzScheduler_Worker-20) [1a138258] Failed in HSMGetTaskStatusVDS method 2014-04-24 13:11:37,316 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] (DefaultQuartzScheduler_Worker-20) [1a138258] spmStart polling ended: taskId = 198c7765-38cb-42e7-9349-93ca43be7066 task status = finished 2014-04-24 13:11:37,316 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] (DefaultQuartzScheduler_Worker-20) [1a138258] Start SPM Task failed - result: cleanSuccess, message: VDSGenericException: VDSErrorException: Failed to HSMGetTaskStatusVDS, error = Storage domain does not exist, code = 358 2014-04-24 13:11:37,363 INFO
Re: [ovirt-users] does SPM can run over ovirt-engine host ?
one more information from engine.log it is an another thing that confused me about the strange traffic during VM creation: the virtual machine was created using : volumeFormat = RAW, preallocate = Sparse. On table 4.1 , chapter 4 of red hat enterprise , admin guide documentation this combination has a file whose initial size is close to zero and has no formatting (NFS format RAW and Type Sparse) 2014-04-24 13:17:59,371 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.CopyImageVDSCommand] (ajp--127.0.0.1-8702-9) [48e79aaf] START, *CopyImageVDSCommand( * storagePoolId = 5849b030-626e-47cb-ad90-3ce782d831b3, ignoreFailoverLimit = false, storageDomainId = 3410b593-dbd0-4ab8-9a21-3e3c51fe8e90, imageGroupId = c8e52f2a-5384-41ee-af77-7ee37bf54355, imageId = 5c642d47-4f03-4a81-8a10-067b98e068f4, dstImageGroupId = 5a09cae5-c7a1-466d-9b69-ff8ad739d71c, vmId = 1f08d35a-adf0-4734-9ce6-1431406096ba, dstImageId = 2d82ce92-96f1-482c-b8fe-c21d9dfb23e6, imageDescription = , dstStorageDomainId = 3410b593-dbd0-4ab8-9a21-3e3c51fe8e90, copyVolumeType = LeafVol, *volumeFormat = RAW, preallocate = Sparse, *postZero = false, force = false), log id: 4a480fe7 On Thu, Apr 24, 2014 at 2:04 PM, Tamer Lima tamer.amer...@gmail.com wrote: I created link with an image showing network consumption between engine and spm. http://pt-br.tinypic.com/r/dzi80i/8 http://tinypic.com/view.php?pic=dzi80is=8#.U1lEKfldVyN This forum has an image site/blog preference ? thanks below is the log of spm-lock.log [root@srv-0203 vdsm]# tail -f spm-lock.log [2014-03-06 18:21:21] Protecting spm lock for vdsm pid 2992 [2014-03-06 18:21:21] Trying to acquire lease - sdUUID=6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d lease_file=/rhev/data-center/mnt/srv-0202.lttd.br:_var_lib_exports_iso/6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d/dom_md/leases id=1 lease_time_ms=5000 io_op_to_ms=1000 [2014-03-06 18:21:34] Lease acquired sdUUID=6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d id=1 lease_path=/rhev/data-center/mnt/srv-0202.ltd.br:_var_lib_exports_iso/6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d/dom_md/leases, TS=1394140892739675 [2014-03-06 18:21:34] *Protecting spm lock for vdsm *pid 2992 [2014-03-06 18:21:34] Started renewal process (pid=17519) for sdUUID=6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d id=1 lease_path=/rhev/data-center/mnt/srv-0202.lttd.unb.br: _var_lib_exports_iso/6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d/dom_md/leases [2014-03-06 18:21:34] Stopping lease for pool: 6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d pgrps: -17519 User defined signal 1 [2014-03-06 18:21:34] releasing lease sdUUID=6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d id=1 lease_path=/rhev/data-center/mnt/srv-0202.lttd.br: _var_lib_exports_iso/6c6178c6-f7cf-4f2c-b8f9-73cf8f18bb4d/dom_md/leases On Thu, Apr 24, 2014 at 1:51 PM, Tamer Lima tamer.amer...@gmail.comwrote: Hi, this is the piece of code of engine.log at serv-0202 (engine server) the spm was defined on serv-0203 log from serv-0202 (engine server): 2014-04-24 13:18:11,746 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-82) [1bb7dfd0] Correlation ID: null, Call Stack: null, Custom Event ID: -1, *Message: Used Network resources of host srv-0202 [96%] exceeded defined threshold [95%].* 2014-04-24 13:18:22,578 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-60) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message:* Used Network resources of host srv-0203 [98%] exceeded defined threshold [95%].* below is the log before the vm creation procedure. The log starts on the moment I press to create a new virtual machine: (The procedure of creation VM takes more than 1 hour. I executed tcpdump command on srv-0203 (SPM), even creating using thinning provisioning , I collected 500Gb of traffic between serv-0202 and serv-0203. When finally a VM is created there is no real disk allocation from ovirt, only my tcpdump log file. I do not know why this traffic exists) log from serv-0202 (engine server): 2014-04-24 13:11:36,241 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-20) [1a138258] Correlation ID: 1a138258, Call Stack: null, Custom Event ID: -1, Message: Invalid status on Data Center Default. Setting status to Non Responsive. 2014-04-24 13:11:36,255 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-20) [1a138258] hostFromVds::selectedVds - srv-0202, spmStatus Free, storage pool Default 2014-04-24 13:11:36,258 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-20) [1a138258] starting spm on vds srv-0202, storage pool Default, prevId -1, LVER -1 2014-04-24 13:11:36,259 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] (DefaultQuartzScheduler_Worker-20) [1a138258] START
Re: [ovirt-users] difference between thin/depentend and clone/dependent vm virtual machine
hello, thanks for reply my storage is NFS v3, defined on host 01. My DATA-DOMAIN and ISO-DOMAIN are hosted on host 01; my SPM is located on host 03, I dont remember why. I tried to migrate SPM to host 01 but is not possible. All creation of virtual machine starts on server 01 ( On Wed, Apr 23, 2014 at 5:19 AM, Dafna Ron d...@redhat.com wrote: I think that you are mixing up a lot of different things and to be honest I am not sure what configuration you have and what exactly you are trying to do. so lets try to simplify it? what type of storage are you working on? which host is the spm? On 04/22/2014 07:36 PM, Tamer Lima wrote: hello, I am in trouble I have 3 servers dedicated to test OVIRT: 01- engine + vdsm (8 cpus, 32GB ram , 2TB HD) 02 - vdsm (8 cpus, 32GB ram , 2TB HD) 03 - vdsm (8 cpus, 32GB ram , 2TB HD) I want to create cloned virtual machines but in my configuration I can only save virtual machines on server 01; my configuration refers a DATA DOMAIN on server 01 All my virtual machines are : 2 cpu , 6 GB ram , 500gb HD and were created like CLONE My server 01 is the data domain and all new virtual machine is created, via NFS, on server 01 , who has 2TB maximum capacity ( the same size of partition /sda3 = 2TB) how can I save each virtual machine on a desired vdsm server ? What I want is : server 01 - engine + vdsm : 03 virtual machines running and hosted phisicaly on this host server 02 - vdsm : 04 virtual machines running and hosted phisicaly on this host server 03 - vdsm : 04 virtual machines running and hosted phisicaly on this host but I have this : server 01 - engine + vdsm : 03 virtual machines running and hosted phisicaly on this host server 02 - vdsm : 01 virtual machines running on this server BUT hosted phisicaly on server 01 server 03 - vdsm : none, because my DATA DOMAIN IS FULL (2TB ) How to solve this problem ? is it possible create one DATA DOMAIN for each VDSM host ? I think this is the solution but I do not know how to point VMs to be saved on specific data domain. thanks On Fri, Apr 18, 2014 at 4:48 AM, Michal Skrivanek michal.skriva...@redhat.com mailto:michal.skriva...@redhat.com wrote: On Apr 17, 2014, at 16:43 , Tamer Lima tamer.amer...@gmail.com mailto:tamer.amer...@gmail.com wrote: hi, thanks for reply I am investigating what is and how thin virtualization works Do you know if HADOOP is indicated to work under thin environment ? On Hadoop I will put large workloads and this thin virtualization utilizes more resources than exists (shareable environment) that is, if I have a real physical necessity of 500gb for each hadoop host and my Thin Virtualization has 2TB on NFS, I can have only 4 virtual machines (500GB each), or less. For this case I believe clone virtual machine is the right choice. But in my environment it takes 1h30m to build one cloned virtual machine. if you plan to overcommit then go with thin. The drawback is that if you of course hit the physical limit the VMs will run out of space... if you plan to allocate 500GB each, consume all of it, never plan to grow then go with the clone….yes, it's going to take time to write all that stuff. With thin you need to do the same amount of writes, but gradually over time while you're allocating it it hope it helps Thanks, michal Am I correct ? On Thu, Apr 17, 2014 at 7:33 AM, Michal Skrivanek michal.skriva...@redhat.com mailto:michal.skriva...@redhat.com wrote: On Apr 16, 2014, at 16:41 , Tamer Lima tamer.amer...@gmail.com mailto:tamer.amer...@gmail.com wrote: Hello, I created VMs by two ways : 1) on tab virtual machines new vm template (centos_65_64bits) 1.1 configuration : I do not select stateless checkbox 1.2 this process takes a 1h30 to create each machine. 2) on tab pools new vm template (centos_65_64bits) 2.1 default configuration : stateless 2.2 Here I created 3 virtual machines at once 2.3 this process takes only one minute On the tab virtual machines I can see all virtual machines. Pooled machines have different icon image and description is different too: machines generated from tab VM are described as clone/dependent - clone is a phisical copy? machines generated from tab POOL are described as thin/independent - thin is a just a reference to template vm ? what is phisical? any configuration file? yeah, sort of. just google thin provisioning in general:) In practice, what is the difference between these machines ? http://www.ovirt.org
Re: [ovirt-users] does SPM can run over ovirt-engine host ?
Hi , Yair yes, I dont want to re-install ovirt I'm not sure if allInone could be fix this problem. allinone install vdsm on the same ovirt-engine host. Well, I already have this : ovirt-engine, vdsm on the same host: srv-0202 My storage domains(data and iso) are hosted on srv-0202 I believe my solution is create one engine per server. Three independent engines managing only local virtual machines. On Mon, Apr 14, 2014 at 10:07 PM, Yair Zaslavsky yzasl...@redhat.comwrote: Hi Tamer, Are you familiar with the all in one feature? http://www.ovirt.org/Feature/AllInOne I'm not sure if this can help you now, as you probably don't want to re-install ovirt, right? - Original Message - From: Tamer Lima tamer.amer...@gmail.com To: users@ovirt.org Sent: Monday, April 14, 2014 5:13:12 PM Subject: [ovirt-users] does SPM can run over ovirt-engine host ? Hello, When I create virtual machine from a template (centos6.5, 2 cores, 8GB mem, 500GB hd) this process takes almost 2 hours. I click on New VM button and just select the template and click ok. engine.log show me high network consumption (98%) between engine-server host and SPM host. I tried to make my engine-server host a spm host too, but without sucess. Does SPM can run over on the same ovirt-engine machine ? Am I make something wrong? Or create VM from template is really slow ? my servers : srv-0202 = ovirt-engine , vdsm srv-0203 = spm , vdsm srv-0204 = vdsm These servers are dell blades connected on a 100GB switch. thanks This is what I know about SPM: http://www.ovirt.org/Storage_-_oVirt_workshop_November_2011 = Storage Pool Manager (SPM) A role assigned to one host in a data center granting it sole authority over: - Creation, deletion, an dmanipulation of virtula disk images, snapshots and templates - Templates: you can create on VM as a golden image and provision to multiple VMs (QCOW layers) - Allocation of storage for sparse block devices (on SAN) - Thin provisinoing (see below) - Single metadata writer: - SPM lease mechanism (Chockler and Malkhi 2004, Light-Weight Leases for Storage-Cnntric Coordination) - Storage-centric mailbox - This role can be migrated to any host in data center ___ 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] difference between thin/depentend and clone/dependent vm virtual machine
hello, I am in trouble I have 3 servers dedicated to test OVIRT: 01- engine + vdsm (8 cpus, 32GB ram , 2TB HD) 02 - vdsm (8 cpus, 32GB ram , 2TB HD) 03 - vdsm (8 cpus, 32GB ram , 2TB HD) I want to create cloned virtual machines but in my configuration I can only save virtual machines on server 01; my configuration refers a DATA DOMAIN on server 01 All my virtual machines are : 2 cpu , 6 GB ram , 500gb HD and were created like CLONE My server 01 is the data domain and all new virtual machine is created, via NFS, on server 01 , who has 2TB maximum capacity ( the same size of partition /sda3 = 2TB) how can I save each virtual machine on a desired vdsm server ? What I want is : server 01 - engine + vdsm :03 virtual machines running and hosted phisicaly on this host server 02 - vdsm :04 virtual machines running and hosted phisicaly on this host server 03 - vdsm :04 virtual machines running and hosted phisicaly on this host but I have this : server 01 - engine + vdsm :03 virtual machines running and hosted phisicaly on this host server 02 - vdsm :01 virtual machines running on this server BUT hosted phisicaly on server 01 server 03 - vdsm :none, because my DATA DOMAIN IS FULL (2TB ) How to solve this problem ? is it possible create one DATA DOMAIN for each VDSM host ? I think this is the solution but I do not know how to point VMs to be saved on specific data domain. thanks On Fri, Apr 18, 2014 at 4:48 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 17, 2014, at 16:43 , Tamer Lima tamer.amer...@gmail.com wrote: hi, thanks for reply I am investigating what is and how thin virtualization works Do you know if HADOOP is indicated to work under thin environment ? On Hadoop I will put large workloads and this thin virtualization utilizes more resources than exists (shareable environment) that is, if I have a real physical necessity of 500gb for each hadoop host and my Thin Virtualization has 2TB on NFS, I can have only 4 virtual machines (500GB each), or less. For this case I believe clone virtual machine is the right choice. But in my environment it takes 1h30m to build one cloned virtual machine. if you plan to overcommit then go with thin. The drawback is that if you of course hit the physical limit the VMs will run out of space... if you plan to allocate 500GB each, consume all of it, never plan to grow then go with the clone….yes, it's going to take time to write all that stuff. With thin you need to do the same amount of writes, but gradually over time while you're allocating it it hope it helps Thanks, michal Am I correct ? On Thu, Apr 17, 2014 at 7:33 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 16, 2014, at 16:41 , Tamer Lima tamer.amer...@gmail.com wrote: Hello, I created VMs by two ways : 1) on tab virtual machines new vm template (centos_65_64bits) 1.1 configuration : I do not select stateless checkbox 1.2 this process takes a 1h30 to create each machine. 2) on tab pools new vm template (centos_65_64bits) 2.1 default configuration : stateless 2.2 Here I created 3 virtual machines at once 2.3 this process takes only one minute On the tab virtual machines I can see all virtual machines. Pooled machines have different icon image and description is different too: machines generated from tab VM are described as clone/dependent - clone is a phisical copy? machines generated from tab POOL are described as thin/independent - thin is a just a reference to template vm ? what is phisical? any configuration file? yeah, sort of. just google thin provisioning in general:) In practice, what is the difference between these machines ? http://www.ovirt.org/Features/PrestartedVm Today there are 2 types of Vm pools: • Manual - the Vm is supposed to be manually returned to the pool. In practice, this is not really entirely supported. • Automatic - once the user shuts down the Vm - it returns to the pool (stateless). all vm created from pool are stateless ? the automatic pool, yes Thanks, michal thanks ___ 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] difference between thin/depentend and clone/dependent vm virtual machine
hi, thanks for reply I am investigating what is and how thin virtualization works Do you know if HADOOP is indicated to work under thin environment ? On Hadoop I will put large workloads and this thin virtualization utilizes more resources than exists (shareable environment) that is, if I have a real physical necessity of 500gb for each hadoop host and my Thin Virtualization has 2TB on NFS, I can have only 4 virtual machines (500GB each), or less. For this case I believe clone virtual machine is the right choice. But in my environment it takes 1h30m to build one cloned virtual machine. Am I correct ? On Thu, Apr 17, 2014 at 7:33 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Apr 16, 2014, at 16:41 , Tamer Lima tamer.amer...@gmail.com wrote: Hello, I created VMs by two ways : 1) on tab virtual machines new vm template (centos_65_64bits) 1.1 configuration : I do not select stateless checkbox 1.2 this process takes a 1h30 to create each machine. 2) on tab pools new vm template (centos_65_64bits) 2.1 default configuration : stateless 2.2 Here I created 3 virtual machines at once 2.3 this process takes only one minute On the tab virtual machines I can see all virtual machines. Pooled machines have different icon image and description is different too: machines generated from tab VM are described as clone/dependent - clone is a phisical copy? machines generated from tab POOL are described as thin/independent - thin is a just a reference to template vm ? what is phisical? any configuration file? yeah, sort of. just google thin provisioning in general:) In practice, what is the difference between these machines ? http://www.ovirt.org/Features/PrestartedVm Today there are 2 types of Vm pools: • Manual - the Vm is supposed to be manually returned to the pool. In practice, this is not really entirely supported. • Automatic - once the user shuts down the Vm - it returns to the pool (stateless). all vm created from pool are stateless ? the automatic pool, yes Thanks, michal thanks ___ 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
[ovirt-users] difference between thin/depentend and clone/dependent vm virtual machine
Hello, I created VMs by two ways : 1) on tab virtual machines new vm template (centos_65_64bits) 1.1 configuration : I do not select stateless checkbox 1.2 this process takes a 1h30 to create each machine. 2) on tab pools new vm template (centos_65_64bits) 2.1 default configuration : stateless 2.2 Here I created 3 virtual machines at once 2.3 this process takes only one minute On the tab virtual machines I can see all virtual machines. Pooled machines have different icon image and description is different too: machines generated from tab VM are described as clone/dependent - clone is a phisical copy? machines generated from tab POOL are described as thin/independent - thin is a just a reference to template vm ? what is phisical? any configuration file? In practice, what is the difference between these machines ? http://www.ovirt.org/Features/PrestartedVm Today there are 2 types of Vm pools: 1. Manual - the Vm is supposed to be manually returned to the pool. In practice, this is not really entirely supported. 2. Automatic - once the user shuts down the Vm - it returns to the pool (stateless). all vm created from pool are stateless ? thanks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] does SPM can run over ovirt-engine host ?
Hello, When I create virtual machine from a template (centos6.5, 2 cores, 8GB mem, 500GB hd) this process takes almost 2 hours. I click on New VM button and just select the template and click ok. engine.log show me high network consumption (98%) between engine-server host and SPM host. I tried to make my engine-server host a spm host too, but without sucess. Does SPM can run over on the same ovirt-engine machine ? Am I make something wrong? Or create VM from template is really slow ? my servers : srv-0202 = ovirt-engine , vdsm srv-0203 = spm , vdsm srv-0204 = vdsm These servers are dell blades connected on a 100GB switch. thanks This is what I know about SPM: http://www.ovirt.org/Storage_-_oVirt_workshop_November_2011 = Storage Pool Manager (SPM) A role assigned to one host in a data center granting it sole authority over: - Creation, deletion, an dmanipulation of virtula disk images, snapshots and templates - Templates: you can create on VM as a golden image and provision to multiple VMs (QCOW layers) - Allocation of storage for sparse block devices (on SAN) - Thin provisinoing (see below) - Single metadata writer: - SPM lease mechanism (Chockler and Malkhi 2004, Light-Weight Leases for Storage-Cnntric Coordination) - Storage-centric mailbox - This role can be migrated to any host in data center ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] compatibility relationship between datacenter, ovirt and cluster
ok, Itamar, thanks. now I can understand how the things work. but I have a question based on the fact that I have ovirt-engine on version 3.4 and DC and Cluster both are configured on version 3.3 : - This means that I have available features on version 3.4 , but these features just will work when I update DC and Cluster to version 3.4 ? (this is what I understand, following Dafna Ron response) so, to really obtain the benefits of the new version (3.4) I need to run the commands (yum update ovirt-engine-setup, engine-setup) and also increase the version of compatibility within the datacenter, cluster and host to the version 3.4 - and what I have if only update ovirt-engine to version 3.4 and not update dc, cluster neither hosts. I realized changes on ovirt web admin interface, improvements on icons and maybe new fields. On Fri, Apr 11, 2014 at 9:56 AM, Itamar Heim ih...@redhat.com wrote: On 04/10/2014 10:50 PM, Tamer Lima wrote: Hi, yesterday my ovirt was 3.3 my datacenter and cluster (compatibility version) was aligned with ovirt 3.3 today my ovirt is now 3.4. and my datacenter and cluster (compatibility version) remains 3.3 (with the option enabled to change for 3.4) browsing the ovirt admin page I see 2 occurrences of ovirt version: datacenter tab = 3.3 cluster tab =3.3 I would like to understand what means all these versions, the same version for a lot of important things, and how my ovirt works/behaves using different versions. all my doubts together : What means datacenter in version 3.3(or lower version) when ovirt is 3.4 ? what means cluster in version 3.3 when ovirt is 3.4? what means change the compatibility version for datacenter? what means change the compatibility version for cluster? Gianluca replied with links for specific features. I'll reply on the general concept: - a host can be upgraded to a specific 3.x version. it can be in any 3.y cluster which is = 3.x once the host is upgraded, 3.x host-level features can be used - a cluster can be upgraded to 3.x once all active hosts in it are at least with 3.x. once the cluster is upgraded, 3.x cluster-level features can be used - a data cetner can be upgaeded to 3.x once all clusters in it are at least with 3.x once the DC is upgraded, 3.x DC-level features can be used i don't think we have it clearly documented per feture if it is host level, cluster level or DC level. when in doubt, ask... ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] compatibility relationship between datacenter, ovirt and cluster
Hi, yesterday my ovirt was 3.3 my datacenter and cluster (compatibility version) was aligned with ovirt 3.3 today my ovirt is now 3.4. and my datacenter and cluster (compatibility version) remains 3.3 (with the option enabled to change for 3.4) browsing the ovirt admin page I see 2 occurrences of ovirt version: datacenter tab = 3.3 cluster tab =3.3 I would like to understand what means all these versions, the same version for a lot of important things, and how my ovirt works/behaves using different versions. all my doubts together : What means datacenter in version 3.3(or lower version) when ovirt is 3.4 ? what means cluster in version 3.3 when ovirt is 3.4? what means change the compatibility version for datacenter? what means change the compatibility version for cluster? thanks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] off topic = newbie with bugzilla, gerrit and ovirt VDSM 4.14
Hi, I have a problem with an automatic yum vdsm upgrade (4.13 to 4.14) on ovirt 3.3 : Host x.x.x.x is installed with VDSM version (4.14) and cannot join cluster Default which is compatible with VDSM versions [4.13,4.9,4.11,4.12,4.10]. I am searching the solution and one of them (from bz Bug 1083008 ) points to gerrit site(http://gerrit.ovirt.org/#/c/23456/) I do not have any experience in solving bugs, neither bz, gerrit, github How to initialize in this world and solve the ovirt problem ? another thing : does downgrade or remove vdms package excludes the installed virtual machines ? I know about ovirt 3.4 is the new release, but I want to learn how to solve some bugs when new releases is not launched; (off course I am afraid to upgrade to ovirt 3.4 too :) ) Tamer ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] necessity to run yum update ovirt-engine-setup to update ovirt 3.4
hello, upgrade from ovirt 3.3 to 3.4 following the steps on ovirt.org/OVirt_3.4_Release_Notes I tried update from yum, without success yum update {ovirt-engine-setup, ovirt-engine , ovirt-release and ovirt-release-el6 } Then I tried the following command and it worked fine: engine-setup Now my ovirt works fine, my cluster is running virtual machines on compatibility mode 3.3 although ovirt is now 3.4 Then I ask : What is the necessity to execute *yum update ovirt-engine-setup* if when I execute only *engine-setup* this script search for updates ? Failed command list execution For each command *yum update {ovirt-engine-setup, ovirt-engine , ovirt-release and ovirt-release-el6 }* the result was the same : Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security, versionlock Loading mirror speeds from cached hostfile * base: mirror.globo.com * epel: mirror.globo.com * extras: mirror.globo.com * ovirt-epel: mirror.globo.com * updates: mirror.globo.com Setting up Update Process *No Packages marked for Update* My ovirt.repo contains 3.4 : [root@srv-0202 yum.repos.d]# more ovirt.repo [ovirt-stable] name=Latest oVirt Releases baseurl=http://ovirt.org/releases/stable/rpm/EL/$releasever/ enabled=1 skip_if_unavailable=1 gpgcheck=0 # Latest oVirt 3.4 releases [ovirt-3.4-stable] name=Latest oVirt 3.4.z Releases baseurl=http://ovirt.org/releases/3.4/rpm/EL/$releasever/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [ovirt-3.4-prerelease] name=Latest oVirt 3.4 Pre Releases (Beta to Release Candidate) baseurl=http://resources.ovirt.org/releases/3.4_pre/rpm/EL/$releasever/ enabled=0 skip_if_unavailable=1 gpgcheck=0 # Latest oVirt 3.3 releases [ovirt-3.3-stable] name=Latest oVirt 3.3.z Releases baseurl=http://resources.ovirt.org/releases/3.3/rpm/EL/$releasever/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [ovirt-3.3-prerelease] name=Latest oVirt 3.3.z Pre Releases (Beta to Release Candidate) baseurl=http://resources.ovirt.org/releases/3.3_pre/rpm/EL/$releasever/ enabled=0 skip_if_unavailable=1 gpgcheck=0 # Note: for nightly builds see ovirt-nightly.repo Running engine-setup [root@srv-0202 ~]# engine-setup [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-aio.conf', '/etc/ovirt-engine-setup.conf.d/10-pa ckaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-aio.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20140409114215.log Version: otopi-1.2.0 (otopi-1.2.0-1.el6) [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Stage: Environment customization --== PRODUCT OPTIONS ==-- --== PACKAGES ==-- *[ INFO ] Checking for product updates...* * Setup has found updates for some packages, do you wish to update them now? (Yes, No) [Yes]: yes* [ INFO ] Checking for an update for Setup... --== NETWORK CONFIGURATION ==-- Setup can automatically configure the firewall on this system. Note: automatic configuration of the firewall may overwrite current settings. Do you want Setup to configure the firewall? (Yes, No) [Yes]: no --== DATABASE CONFIGURATION ==-- --== OVIRT ENGINE CONFIGURATION ==-- Skipping storing options as database already prepared --== PKI CONFIGURATION ==-- PKI is already configured --== APACHE CONFIGURATION ==-- --== SYSTEM CONFIGURATION ==-- --== MISC CONFIGURATION ==-- --== END OF CONFIGURATION ==-- [ INFO ] Stage: Setup validation During execution engine service will be stopped (OK, Cancel) [OK]: [ INFO ] Cleaning stale zombie tasks --== CONFIGURATION PREVIEW ==-- Engine database name: engine Engine database secured connection : False Engine database host: localhost Engine database user name : engine Engine database host name validation: False Engine database port: 5432 NFS setup : True Firewall manager: iptables Update Firewall : False Configure WebSocket Proxy : True Host FQDN : srv-0202.ltitd.br NFS mount point : /var/lib/exports/iso Set application as default page : True Configure Apache SSL: True Upgrade packages: True Please confirm installation settings (OK, Cancel) [OK]: [ INFO ] Cleaning async tasks and compensations [ INFO ] Checking the Engine database