Re: [ovirt-devel] Question about node migrations and hooks

2014-05-10 Thread Sven Kieske
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10.05.2014 13:49, richard.seg...@marisec.ca wrote:
 1.  Is there a way to make hooks so that they apply to all
 instances and templates? rather than setting one at a time?

In short: yes
vdsm basically executes all scripts in the hooking folders.
as long as these scripts don't contain any logic for filtering
out certain vms based on some criteria, the script gets applied
to every vm (e.g. you put your script in the before_vm_start folder).

HTH

Sven
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQGcBAEBAgAGBQJTblhzAAoJEAq0kGAWDrqletML/idp4vwLa0fOnxk2lkDHpaUc
MX2HWHvmlQ7V7Xud9mNg59uoxmTCLFm3y/kh6f4/Q0eFtMSayqSPM+noVx/NoLNk
o4MoZvb4j51tW40LEticR8lGiOoK+Ko5Zl0TG/IQMpvNt72qYc0ylHrkL8cu+LlY
pTOCAZEBPbph0fDgQcw5ZawdTlCKOEKOk7oxEOaClQwteHuhZ6pRYV+YN0bBO587
r84wQgeE6wKYB/kkxc08EcKds4N4cOA7rkXsZy5i45zh5fsL/NQkMVRt2zwHqOja
G/YP5sYwgq4i97OCiNm1oZjmtL3TGXPmQqgdb7R02fppm31drpcpRgH4tARIaKdd
sE0ZeB1977f6XzUU5ZzIVJRc4Mc98byv+85NOmuzxnMAEzDEj+jT5aQ6QDF2KrF5
rs5WQMUMbCfTi2VtkJWyFn0VhWL8LEUR9wECkSf3DOtI5z47xnCIWWpzXNg1kUCX
uYog6oEX2opmFhaxv8UWlaizYnznnP0KkRTNlqQ4tA==
=odnF
-END PGP SIGNATURE-
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel


Re: [ovirt-devel] Question about node migrations and hooks

2014-05-10 Thread Itamar Heim

On 05/10/2014 02:49 PM, richard.seg...@marisec.ca wrote:

Good morning,

I have two questions.

1.  Is there a way to make hooks so that they apply to all instances and 
templates? rather than setting one at a time?


sven already replied.



2.  I believe I already have the answer to this,  however I just want to be 
sure that there isn't a better way. I have a ovirt node that basically uses NFS 
for everything (data and ISOs), and it is slow as heck to get an instance to 
build.  I'm using a 100MB switch, I have a feeling that this needs to be 
upgraded...  Software wise though, is there anything I can do to speed up 
template deployments to that node?


100 Mbps switch?
the template is streamed to the node as needed. are you creating thinly 
provisioned VMs or full clones of the template?


___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel