|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] run a script before creating domain
I seem to be living in constant fear of starting the same domain on more
than one machine at once. As a way of preventing this, I'd like to be
able to have a script execute as part of an 'xm create' that runs before
doing any of the actual domain creation.
At the moment, all I'd do is do a 'ping' to see if the domain is up and
running. Not foolproof but would save me >99% of the time. In a cluster
environment there should be a way to determine remotely if a domain is
running.
Ideally, there would be a 'dom_check_exists' script automatically run
(if it exists) which could be implemented in a cluster environment, but
for now, where is a good place to hook into this?
Thanks
James
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] run a script before creating domain,
James Harper <=
|
|
|
|
|