Artur Linhart - Linux communication
2008-Sep-04 08:12 UTC
[Xen-users] 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 on_xend_start = ''start'' on_xend_stop = ''shutdown'' if works well with the linux domains, the domain is shut down on xend stop and started with xend start. Also if specifying on_xend_stop = ''suspend'' 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 on_xend_start = ''start'' on_xend_stop = ''suspend'' then the domain is not resumed, I have tried also on_xend_start = ''resume'' on_xend_stop = ''suspend'' (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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users