[libvirt] Virtual serial logging server?

Dear all, please excuse the almost-OT question, I see various possibilities in quemu-kvm and libvirt for sending virtual serial port data to files, sockets, pipes, etc on the host. In particular, the TCP socket seems interesting. Can you suggest a server application to receive all such TCP connections and log serial data for many virtual machines at once? In particular I would be interested in something with quotas, i.e. something that deletes old lines from the logs of a certain VM when the filesystem space occupied by the serial logs of such VM gets over a certain amount of space. So that the log space for other VMs is not starved in case one of them loops. Thank you R.

On Sun, Nov 6, 2011 at 23:21, Reeted <reeted@shiftmail.org> wrote:
Can you suggest a server application to receive all such TCP connections and log serial data for many virtual machines at once?
In particular I would be interested in something with quotas, i.e. something that deletes old lines from the logs of a certain VM when the filesystem space occupied by the serial logs of such VM gets over a certain amount of space. So that the log space for other VMs is not starved in case one of them loops.
Are you referring something like remote system logging i.e using rsyslog combined with logrotate? or something more sophisticated than that? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Hi, 2011/11/6 Reeted <reeted@shiftmail.org>:
Dear all, please excuse the almost-OT question,
I see various possibilities in quemu-kvm and libvirt for sending virtual serial port data to files, sockets, pipes, etc on the host. In particular, the TCP socket seems interesting.
Can you suggest a server application to receive all such TCP connections and log serial data for many virtual machines at once?
In particular I would be interested in something with quotas, i.e. something that deletes old lines from the logs of a certain VM when the filesystem space occupied by the serial logs of such VM gets over a certain amount of space. So that the log space for other VMs is not starved in case one of them loops.
May be you could build something around conserver: http://www.conserver.com Bests

On Wed, Nov 09, 2011 at 04:15:57PM +0100, Jérémie Tarot wrote:
Hi,
2011/11/6 Reeted <reeted@shiftmail.org>:
Dear all, please excuse the almost-OT question,
I see various possibilities in quemu-kvm and libvirt for sending virtual serial port data to files, sockets, pipes, etc on the host. In particular, the TCP socket seems interesting.
Can you suggest a server application to receive all such TCP connections and log serial data for many virtual machines at once?
In particular I would be interested in something with quotas, i.e. something that deletes old lines from the logs of a certain VM when the filesystem space occupied by the serial logs of such VM gets over a certain amount of space. So that the log space for other VMs is not starved in case one of them loops.
May be you could build something around conserver: http://www.conserver.com
I've done a PoC implementation of conserver, and it works nicely. Dave
participants (4)
-
Dave Allan
-
Jérémie Tarot
-
Mulyadi Santosa
-
Reeted