[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] Cleanly shutdown server

Following up from this, if I use a 'halt -p' the system halts but does not power down. It spews a lot of blktap errors to the dom0 local console *after* it stops the dom0 daemons and prints "will now halt".

The upshot is the system isn't powering off and I suspect it's not pullung down Xen cleanly either.



On Fri, 28 Nov 2014 16:52ÂOlivier Lambert <lambert.olivier@xxxxxxxxx> wrote:
If you have SSH/console access to the Dom0 of XenServer itself, "halt"
is enough, no need to use "xe" (if the host in alone, i.e not in a
pool. In this case, I think using "xe" is better).

On Fri, Nov 28, 2014 at 5:26 PM, Mark Benson <md.benson@xxxxxxxxx> wrote:
> On Fri, 28 Nov 2014 16:18 Olivier Lambert <lambert.olivier@xxxxxxxxx> wrote:
> If I'm right, you could do it by logging on the server (SSH or access
> it directly), and type "halt". It should shutdown the VMs gracefully
> then stop itself. You could also automate this stuff with a CRON job
> in the XenServer, or also send the command with "xo-cli" ("xo-cli
> host.stop id=<id of your host>") from any machine using Xen Orchestra.
> I use xapi (hence posting here), does that still hold true with xapi?
> I don't use XenOrchestra so xo-cli is not available. Is there an xe command
> or set of commands to do it?
> --
> Mark Benson
Xen-api mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.