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

[Xen-users] making automated console screenshots

  • To: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Florian Heigl <florian.heigl@xxxxxxxxx>
  • Date: Thu, 21 Apr 2011 13:06:21 +0200
  • Delivery-date: Thu, 21 Apr 2011 04:07:28 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dDInEYQw+kWjgQ8f6T2i/gN7qp7lSVeaoS/Zl0W0BfZpjFyzvfx9bjIWwjpuC6v9Wj HnPwMxB0WWKkzLiKqgUtW5c6OVs0VBTUdkRA6W6mEv2DbJwfub5zNHTnw3mjeQN6qFCW snyGS6ZKYL2nsrzZqI8QYZkTrdrR9ljxiAkHw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


has one of you implemented something that records the current VNC
console view periodically?

I'm thinking of the following setup:

- find out how to make a vnc session from cli that just snips one
picture and logs off
- do that every minute
- set linux systems to have the panic=60 commandline option
- if a VM goes to crashed or shutdown state, stop saving new pictures,
archive the last 5
and then when the box comes up again, they'll still be available for
debugging purposes.

This way I could have a console snap right next to the Xen VM
management (I used GPLHost DTC) for this.
It would help people to see the last console screens even after a VM
crashed, and ease up "searching for the right system" or anything
might want to do with it.

I had first thought about using netconsole to send the console
messages to a syslog server, but the screenshots pretty much win with
any end user.

Well, has anyone done stuff like this yet or is interested in working
on it with me?


the purpose of libvirt is to provide an abstraction layer hiding all
xen features added since 2006 until they were finally understood and
copied by the kvm devs.

Xen-users mailing list



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