Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7EDD810530 for ; Wed, 15 Oct 2014 13:48:34 +0000 (UTC) Received: (qmail 16474 invoked by uid 500); 15 Oct 2014 13:48:34 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 16440 invoked by uid 500); 15 Oct 2014 13:48:34 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 16421 invoked by uid 500); 15 Oct 2014 13:48:34 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 16418 invoked by uid 99); 15 Oct 2014 13:48:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2014 13:48:34 +0000 Date: Wed, 15 Oct 2014 13:48:34 +0000 (UTC) From: "Malcolm Crossley (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-7527) XenServer heartbeat-script: make it reboot faster (when fencing) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-7527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14172370#comment-14172370 ] Malcolm Crossley commented on CLOUDSTACK-7527: ---------------------------------------------- Can you at least sync the disks before echoing "b" to /proc/sysrq-trigger You can do this with a echo s > /proc/sysrq-trigger Also if you want to capture some state of the host you could trigger a crash instead which will run the Xenserver crashdump analyser. This will result in kernel dmesg ring and Xen dmesg ring being preserved. To trigger a crash: echo c > proc/sysrq-trigger I would not trigger a crashdump by default because it won't be clear that Cloudstack initiated the crash. > XenServer heartbeat-script: make it reboot faster (when fencing) > ---------------------------------------------------------------- > > Key: CLOUDSTACK-7527 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7527 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: XenServer > Affects Versions: 4.3.0, 4.4.0 > Reporter: Remi Bergsma > Assignee: Daan Hoogland > Priority: Minor > > xenheartbeat.sh: > I've seen the 'reboot' command hang, even though it has the force option specified (last line of the script). Wouldn't it be better to invoke it like this: > echo b > /proc/sysrq-trigger > Tested it, starts boot sequence immediately. -- This message was sent by Atlassian JIRA (v6.3.4#6332)