Re: [ovirt-users] Mask the CPU model
On 27 Jun 2014, at 06:06, Punit Dambiwal wrote: Hi, I don't want to faking a CPU model.my main concern is to create the homogeneous environment,so the guest can be migrate between hosts with diffrent CPU (If i can change the CPU model with the custom name). Then you just want to set the CPU model in Cluster…that's it Thanks, michal On Thu, Jun 26, 2014 at 7:48 PM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Jun 26, 2014, at 13:42 , Sven Kieske s.kie...@mittwald.de wrote: Am 26.06.2014 13:28, schrieb Michal Skrivanek: On Jun 26, 2014, at 13:18 , Dan Kenigsberg dan...@redhat.com wrote: On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote: Am 25.06.2014 11:43, schrieb Punit Dambiwal: Hi Sven, Please let me know which VDSM hook can be used for the same,is there any hook available for the same... ?? I don't know any hook that does this, it should be relatively simple, though. Maybe someone else can assist, CC'ing Dan: Do you know of a hook that manipulates the emulated CPU model? Within the Vdsm code tree, only faqemu does that (and it only drops, causing qemu to do its best). You can build on top of faqemu to set to your favorite guest cpu. However, I think that Engine was once capable of setting a specific cpuType - is it still possible without hacking its DB, Arik? I'm not sure what do you actually mean hide what from whom? the guest sees particular CPU, there's nothing like Virtual xyz, it either sees flags matching e.g. Nehalem or not. You can select different CPU at the cluster level if you wish, and that's what the guest will see, regardless what your host has faqemu is changing the configured CPU type to fully emulated CPU…I don't think you meant that... I guess he refers to the cpu_model mentioned here: http://docs.openstack.org/trunk/config-reference/content/list-of-compute-config-options.html yes, that's what we have at cluster level and there is an RFE for per-VM level But I still do not see the benefit of faking a certain cpu model. there is no faking, it is always real for the guest. so yes, you can make it look(and actually perform) less capable so you can migrate across heterogenous hosts; or make it less capable just if you wish so, but that's it. Thanks, michal -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Mask the CPU model
Just put the CPU Model in the Cluster in ovirt. You can't put any host in a cluster which doesn't comply to it's cpu model, thus allowing migration within that cluster. HTH Am 27.06.2014 06:06, schrieb Punit Dambiwal: Hi, I don't want to faking a CPU model.my main concern is to create the homogeneous environment,so the guest can be migrate between hosts with diffrent CPU (If i can change the CPU model with the custom name). -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Mask the CPU model
Hi All, Noif i set the CPU model in the cluster is intel nehalam...then the cluster doesn't allow me to add sendy bridge CPU hosts What about if i will use the Intel CPU with AMD CPU (Mix Match)?? On Fri, Jun 27, 2014 at 3:05 PM, Sven Kieske s.kie...@mittwald.de wrote: Just put the CPU Model in the Cluster in ovirt. You can't put any host in a cluster which doesn't comply to it's cpu model, thus allowing migration within that cluster. HTH Am 27.06.2014 06:06, schrieb Punit Dambiwal: Hi, I don't want to faking a CPU model.my main concern is to create the homogeneous environment,so the guest can be migrate between hosts with diffrent CPU (If i can change the CPU model with the custom name). -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Mask the CPU model
On 27 Jun 2014, at 11:10, Punit Dambiwal wrote: Hi All, Noif i set the CPU model in the cluster is intel nehalam...then the cluster doesn't allow me to add sendy bridge CPU hosts…. what do you mean, it doesn't allow you to add a host with a real physical SandyBridge CPU? that would be a bug What about if i will use the Intel CPU with AMD CPU (Mix Match)?? AMD CPU models are not a subset of Intel models, so it won't work. (how do you expect this to work in real environment?) On Fri, Jun 27, 2014 at 3:05 PM, Sven Kieske s.kie...@mittwald.de wrote: Just put the CPU Model in the Cluster in ovirt. You can't put any host in a cluster which doesn't comply to it's cpu model, thus allowing migration within that cluster. HTH Am 27.06.2014 06:06, schrieb Punit Dambiwal: Hi, I don't want to faking a CPU model.my main concern is to create the homogeneous environment,so the guest can be migrate between hosts with diffrent CPU (If i can change the CPU model with the custom name). -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Mask the CPU model
Hi Michal, That means if i have the nehalam CPU Hypervisior...still i can create cluster with sendybridgeand can join this cluster with nehalam based hypervisior ?? On Fri, Jun 27, 2014 at 5:54 PM, Michal Skrivanek michal.skriva...@redhat.com wrote: On 27 Jun 2014, at 11:10, Punit Dambiwal wrote: Hi All, Noif i set the CPU model in the cluster is intel nehalam...then the cluster doesn't allow me to add sendy bridge CPU hosts…. what do you mean, it doesn't allow you to add a host with a real physical SandyBridge CPU? that would be a bug What about if i will use the Intel CPU with AMD CPU (Mix Match)?? AMD CPU models are not a subset of Intel models, so it won't work. (how do you expect this to work in real environment?) On Fri, Jun 27, 2014 at 3:05 PM, Sven Kieske s.kie...@mittwald.de wrote: Just put the CPU Model in the Cluster in ovirt. You can't put any host in a cluster which doesn't comply to it's cpu model, thus allowing migration within that cluster. HTH Am 27.06.2014 06:06, schrieb Punit Dambiwal: Hi, I don't want to faking a CPU model.my main concern is to create the homogeneous environment,so the guest can be migrate between hosts with diffrent CPU (If i can change the CPU model with the custom name). -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Mask the CPU model
On 27 Jun 2014, at 12:00, Punit Dambiwal wrote: Hi Michal, That means if i have the nehalam CPU Hypervisior...still i can create cluster with sendybridgeand can join this cluster with nehalam based hypervisior ?? yes, exactly Thanks, michal On Fri, Jun 27, 2014 at 5:54 PM, Michal Skrivanek michal.skriva...@redhat.com wrote: On 27 Jun 2014, at 11:10, Punit Dambiwal wrote: Hi All, Noif i set the CPU model in the cluster is intel nehalam...then the cluster doesn't allow me to add sendy bridge CPU hosts…. what do you mean, it doesn't allow you to add a host with a real physical SandyBridge CPU? that would be a bug What about if i will use the Intel CPU with AMD CPU (Mix Match)?? AMD CPU models are not a subset of Intel models, so it won't work. (how do you expect this to work in real environment?) On Fri, Jun 27, 2014 at 3:05 PM, Sven Kieske s.kie...@mittwald.de wrote: Just put the CPU Model in the Cluster in ovirt. You can't put any host in a cluster which doesn't comply to it's cpu model, thus allowing migration within that cluster. HTH Am 27.06.2014 06:06, schrieb Punit Dambiwal: Hi, I don't want to faking a CPU model.my main concern is to create the homogeneous environment,so the guest can be migrate between hosts with diffrent CPU (If i can change the CPU model with the custom name). -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Mask the CPU model
On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote: Am 25.06.2014 11:43, schrieb Punit Dambiwal: Hi Sven, Please let me know which VDSM hook can be used for the same,is there any hook available for the same... ?? I don't know any hook that does this, it should be relatively simple, though. Maybe someone else can assist, CC'ing Dan: Do you know of a hook that manipulates the emulated CPU model? Within the Vdsm code tree, only faqemu does that (and it only drops, causing qemu to do its best). You can build on top of faqemu to set to your favorite guest cpu. However, I think that Engine was once capable of setting a specific cpuType - is it still possible without hacking its DB, Arik? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Mask the CPU model
On Jun 26, 2014, at 13:18 , Dan Kenigsberg dan...@redhat.com wrote: On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote: Am 25.06.2014 11:43, schrieb Punit Dambiwal: Hi Sven, Please let me know which VDSM hook can be used for the same,is there any hook available for the same... ?? I don't know any hook that does this, it should be relatively simple, though. Maybe someone else can assist, CC'ing Dan: Do you know of a hook that manipulates the emulated CPU model? Within the Vdsm code tree, only faqemu does that (and it only drops, causing qemu to do its best). You can build on top of faqemu to set to your favorite guest cpu. However, I think that Engine was once capable of setting a specific cpuType - is it still possible without hacking its DB, Arik? I'm not sure what do you actually mean hide what from whom? the guest sees particular CPU, there's nothing like Virtual xyz, it either sees flags matching e.g. Nehalem or not. You can select different CPU at the cluster level if you wish, and that's what the guest will see, regardless what your host has faqemu is changing the configured CPU type to fully emulated CPU…I don't think you meant that... Thanks, michal ___ 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] Mask the CPU model
Am 26.06.2014 13:28, schrieb Michal Skrivanek: On Jun 26, 2014, at 13:18 , Dan Kenigsberg dan...@redhat.com wrote: On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote: Am 25.06.2014 11:43, schrieb Punit Dambiwal: Hi Sven, Please let me know which VDSM hook can be used for the same,is there any hook available for the same... ?? I don't know any hook that does this, it should be relatively simple, though. Maybe someone else can assist, CC'ing Dan: Do you know of a hook that manipulates the emulated CPU model? Within the Vdsm code tree, only faqemu does that (and it only drops, causing qemu to do its best). You can build on top of faqemu to set to your favorite guest cpu. However, I think that Engine was once capable of setting a specific cpuType - is it still possible without hacking its DB, Arik? I'm not sure what do you actually mean hide what from whom? the guest sees particular CPU, there's nothing like Virtual xyz, it either sees flags matching e.g. Nehalem or not. You can select different CPU at the cluster level if you wish, and that's what the guest will see, regardless what your host has faqemu is changing the configured CPU type to fully emulated CPU…I don't think you meant that... I guess he refers to the cpu_model mentioned here: http://docs.openstack.org/trunk/config-reference/content/list-of-compute-config-options.html But I still do not see the benefit of faking a certain cpu model. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Mask the CPU model
On Jun 26, 2014, at 13:42 , Sven Kieske s.kie...@mittwald.de wrote: Am 26.06.2014 13:28, schrieb Michal Skrivanek: On Jun 26, 2014, at 13:18 , Dan Kenigsberg dan...@redhat.com wrote: On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote: Am 25.06.2014 11:43, schrieb Punit Dambiwal: Hi Sven, Please let me know which VDSM hook can be used for the same,is there any hook available for the same... ?? I don't know any hook that does this, it should be relatively simple, though. Maybe someone else can assist, CC'ing Dan: Do you know of a hook that manipulates the emulated CPU model? Within the Vdsm code tree, only faqemu does that (and it only drops, causing qemu to do its best). You can build on top of faqemu to set to your favorite guest cpu. However, I think that Engine was once capable of setting a specific cpuType - is it still possible without hacking its DB, Arik? I'm not sure what do you actually mean hide what from whom? the guest sees particular CPU, there's nothing like Virtual xyz, it either sees flags matching e.g. Nehalem or not. You can select different CPU at the cluster level if you wish, and that's what the guest will see, regardless what your host has faqemu is changing the configured CPU type to fully emulated CPU…I don't think you meant that... I guess he refers to the cpu_model mentioned here: http://docs.openstack.org/trunk/config-reference/content/list-of-compute-config-options.html yes, that's what we have at cluster level and there is an RFE for per-VM level But I still do not see the benefit of faking a certain cpu model. there is no faking, it is always real for the guest. so yes, you can make it look(and actually perform) less capable so you can migrate across heterogenous hosts; or make it less capable just if you wish so, but that's it. Thanks, michal -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Mask the CPU model
Hi, I don't want to faking a CPU model.my main concern is to create the homogeneous environment,so the guest can be migrate between hosts with diffrent CPU (If i can change the CPU model with the custom name). On Thu, Jun 26, 2014 at 7:48 PM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Jun 26, 2014, at 13:42 , Sven Kieske s.kie...@mittwald.de wrote: Am 26.06.2014 13:28, schrieb Michal Skrivanek: On Jun 26, 2014, at 13:18 , Dan Kenigsberg dan...@redhat.com wrote: On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote: Am 25.06.2014 11:43, schrieb Punit Dambiwal: Hi Sven, Please let me know which VDSM hook can be used for the same,is there any hook available for the same... ?? I don't know any hook that does this, it should be relatively simple, though. Maybe someone else can assist, CC'ing Dan: Do you know of a hook that manipulates the emulated CPU model? Within the Vdsm code tree, only faqemu does that (and it only drops, causing qemu to do its best). You can build on top of faqemu to set to your favorite guest cpu. However, I think that Engine was once capable of setting a specific cpuType - is it still possible without hacking its DB, Arik? I'm not sure what do you actually mean hide what from whom? the guest sees particular CPU, there's nothing like Virtual xyz, it either sees flags matching e.g. Nehalem or not. You can select different CPU at the cluster level if you wish, and that's what the guest will see, regardless what your host has faqemu is changing the configured CPU type to fully emulated CPU…I don't think you meant that... I guess he refers to the cpu_model mentioned here: http://docs.openstack.org/trunk/config-reference/content/list-of-compute-config-options.html yes, that's what we have at cluster level and there is an RFE for per-VM level But I still do not see the benefit of faking a certain cpu model. there is no faking, it is always real for the guest. so yes, you can make it look(and actually perform) less capable so you can migrate across heterogenous hosts; or make it less capable just if you wish so, but that's it. Thanks, michal -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Mask the CPU model
Am 25.06.2014 04:46, schrieb Punit Dambiwal: Hi, Can i mask the CPU in Ovirt as we can do in the openstack /cloudstack...actually i don't want users to know the actual CPU modeli want it to modify actual CPU model with custom defined CPU like Virtual CPU instead of Nehalam/Sendybridge in the guest VM. Currently this would just be possible via a custom vdsm hook which alters the libvirt xml before the vm powers up. ovirt uses the cpu models which are provided by libvirt. HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Mask the CPU model
Hi Sven, Please let me know which VDSM hook can be used for the same,is there any hook available for the same... ?? Thanks, Punit On Wed, Jun 25, 2014 at 3:10 PM, Sven Kieske s.kie...@mittwald.de wrote: Am 25.06.2014 04:46, schrieb Punit Dambiwal: Hi, Can i mask the CPU in Ovirt as we can do in the openstack /cloudstack...actually i don't want users to know the actual CPU modeli want it to modify actual CPU model with custom defined CPU like Virtual CPU instead of Nehalam/Sendybridge in the guest VM. Currently this would just be possible via a custom vdsm hook which alters the libvirt xml before the vm powers up. ovirt uses the cpu models which are provided by libvirt. HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ 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] Mask the CPU model
Am 25.06.2014 11:43, schrieb Punit Dambiwal: Hi Sven, Please let me know which VDSM hook can be used for the same,is there any hook available for the same... ?? I don't know any hook that does this, it should be relatively simple, though. Maybe someone else can assist, CC'ing Dan: Do you know of a hook that manipulates the emulated CPU model? -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Mask the CPU model
Hi, Can i mask the CPU in Ovirt as we can do in the openstack /cloudstack...actually i don't want users to know the actual CPU modeli want it to modify actual CPU model with custom defined CPU like Virtual CPU instead of Nehalam/Sendybridge in the guest VM. Thanks, Punit ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users