WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Redirecting DomU console into a file?

To: Amos Shapira <amos.shapira@xxxxxxxxx>
Subject: Re: [Xen-users] Redirecting DomU console into a file?
From: Igor Chubin <igor@xxxxxxx>
Date: Sat, 28 Jun 2008 20:10:43 +0300
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 28 Jun 2008 10:08:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9c2cca270806261811w3fbf87c5gfec5eda33db698c2@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <9c2cca270806261811w3fbf87c5gfec5eda33db698c2@xxxxxxxxxxxxxx>
Reply-to: Igor Chubin <igor@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Fr, Jun 27, 2008 at 11:11:36 +1000, Amos Shapira wrote:
> Hello,
> 
> My environment: CentOS 5 (recently upgraded to 5.2), Xen 3.0.3 but
> CentOS 5.2 release notes mentions an upgrade to 3.2 so this is also
> relevant.
> 
> Our automatic provisioning script requires a reboot of the DomU and
> I'd like to automatically capture the output of the console into a
> file.
> 

Where is the file must be created?
In the domain 0, as far as I can judge
(otherwise, how can it be created 
before root fs of the domU is mounted?)

If in dom0, you can try to use
script command (run before xm console) 
or socat (play with /dev/pts redirection).


> Is there a way to do this? I suspect it might be doable based on the
> same mechanism which supposed serial consoles, but so far I couldn't
> find it.
> 
> Thanks,
> 
> --Amos
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
WBR, i.m.chubin


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>