Hey, list -- Recently we had to reboot some of our dom0''s. We were confused after doing so to discover that some of the resident domU''s had not actually rebooted. Some of the domU''s still had very long uptimes (weeks/months), despite the dom0 having an uptime of just minutes. Apparently, when the "shutdown -r now" command was issued, the dom0 was able to power off before the domU''s were all shut down. I''m wondering whether there''s an easy to way to ensure that after a dom0 is rebooted, all resident domU''s are brought up clean. Based on my reading, it looks like the "on_poweroff" and similar commands only apply to a controlled shutdown of the domU, not to a shutdown of the dom0, so that doesn''t help much. Xen version is 3.0.3, running on CentOS 5.6. Any help is appreciated! - Ian -- Ian Marlier | Systems Engineer Brightcove, Inc. One Cambridge Center, 12th Floor, Cambridge, MA 02142 imarlier@brightcove.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Hey, list -- > > Recently we had to reboot some of our dom0''s. We were confused afterdoing so> to discover that some of the resident domU''s had not actuallyrebooted. Some> of the domU''s still had very long uptimes (weeks/months), despite thedom0> having an uptime of just minutes. > > Apparently, when the "shutdown -r now" command was issued, the dom0was able> to power off before the domU''s were all shut down. > > I''m wondering whether there''s an easy to way to ensure that after adom0 is> rebooted, all resident domU''s are brought up clean. Based on myreading, it> looks like the "on_poweroff" and similar commands only apply to acontrolled> shutdown of the domU, not to a shutdown of the dom0, so that doesn''thelp> much. > > Xen version is 3.0.3, running on CentOS 5.6. Any help is appreciated! >3.0.3 is ancient so I''m not sure how much of the applies, but /etc/sysconfig/xendomains contains a bunch of variables to tell xend what to do in such situations. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
That''s it! Never knew that file existed, and somehow my Google skillz failed me. Thanks, James! - Ian On Mon, Jul 18, 2011 at 7:12 PM, James Harper <james.harper@bendigoit.com.au> wrote:> > Hey, list -- > > > > Recently we had to reboot some of our dom0''s. We were confused after > doing so > > to discover that some of the resident domU''s had not actually > rebooted. Some > > of the domU''s still had very long uptimes (weeks/months), despite the > dom0 > > having an uptime of just minutes. > > > > Apparently, when the "shutdown -r now" command was issued, the dom0 > was able > > to power off before the domU''s were all shut down. > > > > I''m wondering whether there''s an easy to way to ensure that after a > dom0 is > > rebooted, all resident domU''s are brought up clean. Based on my > reading, it > > looks like the "on_poweroff" and similar commands only apply to a > controlled > > shutdown of the domU, not to a shutdown of the dom0, so that doesn''t > help > > much. > > > > Xen version is 3.0.3, running on CentOS 5.6. Any help is appreciated! > > > > 3.0.3 is ancient so I''m not sure how much of the applies, but > /etc/sysconfig/xendomains contains a bunch of variables to tell xend > what to do in such situations. > > James > >-- Ian Marlier | Systems Engineer Brightcove, Inc. One Cambridge Center, 12th Floor, Cambridge, MA 02142 imarlier@brightcove.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users