Hello,
I have looked into the XendDomain.py and there in the method
„autostart_domains“ is really no handling of the automatical resume
of the xen domains, which have been suspended on xend stop. Is there any other
way how to simply make it? I think, this would be a usefull feature to have it,
if the „on_xend_end“ already supports the „suspend“
option. It looks the implementation of such a function could be relatively
easy...
With best regards
Artur
From: Artur Linhart - Linux communication [mailto:AL.LINUX@xxxxxxxxxxx]
Sent: Thursday, September 04, 2008 10:12 AM
To: 'xen-users@xxxxxxxxxxxxxxxxxxx'
Subject: How to simply automaticall resume suspended Xend managed
domains on Xend start in Xen 3.2.1
Hello,
I try to configure the automatic suspension of some domains by the end of Xend
(especially older hvm domains with windows which cannot react on the shutdown
signal). If I write into the domain configuration file the lines
if works well with the linux domains, the domain is shut
down on xend stop and started with xend start.
Also if specifying
works well now (the snapshot did not work till I did not applied the patch
mentioned in
http://xen.markmail.org/search/?q=xend+suspend+problems#query:xend%20suspend%20problems+page:1+mid:6bnxrk4eoonnyuyy+state:results
- before the snapshot has not been created correctly) – the memory
snapshot is created in some instance’s subdirectory of the directory /var/lib/xend/domains after
xend is stopped like by explicite call of xm suspend command.
Is there any way how to resume such a suspended domain on
xend start?
If
specifying
then the domain is not resumed, I have tried also
(resume is not documented if starting xm create
--help_config, but I have tried it) – but also without success... is
there some way how to bring xend to the resume of the suspended domains
automatically, or do I have to write my own scripts for it?
With regards,
Archie