Stefan de Konink
2007-Nov-17 00:47 UTC
[Xen-devel] XenAPI running ''local'' commands on Dom0
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello, Currently I''m implementing a wrapper around our Xen cluster and some problems we are facing is Live-migration. Our discs are currently provisioned by an OpenSolaris iscsi-target, and therefore should be initiated before a migration is started. I couldn''t find a way in the ''standard'' xen configuration to start a script before restore/create, thus I''m trying to create one. I would like to run a local command on the Dom0 host via the XenAPI, is there already such facilaty, and what is it named? My suggestion would be to put a "exectute_command" in the ''Host'' class, and put the events: "before_create_execute, before_restore_execute, after_migrate_execute, after_shutdown_execute" in the configuration file. Yours Sincerely, Stefan de Konink -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHPjoTYH1+F2Rqwn0RCiJoAJ4iz6KqtbvLiIPLxZMDFHJWiWf6qACfXU4r D07aFofzU8Le/TzwiRB1x7E=28dw -----END PGP SIGNATURE----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel