similar to: How to open virtual machine console using python libvirt.

Displaying 20 results from an estimated 2000 matches similar to: "How to open virtual machine console using python libvirt."

2019 Mar 04
1
How do I close a console connection?
I'm working on (re-) implementing serial console support in virtualbmc [1], and one of the issues I'm hitting right now is that after establishing a console connection via... self._stream = self._conn.newStream(libvirt.VIR_STREAM_NONBLOCK) self._domain.openConsole(None, self._stream, 0) ...I can't figure out how to close the console. Subsequent calls to openConsole fail
2014 May 23
1
How i can calculate cpu utilization percentage for domain running under a host using libvirt API.
  Hi, How i can calculate cpu utilization percentage for domain running under a host using libvirt API. Which function can i use for calulating cpu percentage? Thanks and Regards, Deepak S ------------------------- Message sent via Atmail Open - http://atmail.org/
2014 May 23
0
How i can calculate cpu utilization percentage for host using python libvirt API.
  Hi, How i can calculate cpu utilization percentage for host using python libvirt API. Which function can i use for calulating cpu percentage of host and Virtual Machines? 1)Host cpu utilization  ====================  I tried getCPUStats() function,it gives the following output.Is there any way to calculate cpu percentage from the following output?  Is there any other function availabe for
2011 Jan 03
2
Finally upgrading from v1.0.15 to v1.2.16 -- advice please
It's long over due, but now I finally plan on upgrading from v1.0.15 to v1.2.16 on our servers. Would appreciate any comments! We have 7 servers, all running of the same GPFS filesystem. Both maildirs and indexes are stored here. We use dovecot for POP/IMAP and deliver. Currently we're using mysql as authentication source, but want to move to using ldap instead. Can we upgrade one server
2008 Mar 11
2
Who's wrong, atmail or dovecot?
We recently switched to atmail, as well as dovecot. I noticed in atmail the size of the mailboxes was always reported as 0kb. So, I did some debugging, and it boiled down to the fact that the regular expression used by dovecot expected UID before SIZE, but Dovecot returned SIZE before UID. No biggy, I changed the regex, but I was curious if there was a standard. Here's the imap query
2007 Nov 02
3
atmail & centos
hi friends, i'm researching to see if i can run my own email server on centos. i'm looking at qmail & centos, but the problem that i have is it doesn't have the web interface that can similar with outlook. our users don't like squirrelmail, or NOCC, or horde interfaces) however, i found atmail.com and it seems to have what i'm looking for b/c it's kindda
2008 Nov 29
2
Loginname - mapping
Hi! I have a server with a few thousand mailboxes (for a few hundred domains) on it. The usernames are following several naming conventions: username_domain domain_username username_domain.tld username-domain domain.username The reason for this chaos is that the accounts were set up on different mailservers, some imail, some linux, some with virtualmin and some manually and
2012 Sep 04
0
[PATCH] console: Close stdin, stdout, stderr on ldlinux.c32 unload
From: Matt Fleming <matt.fleming at intel.com> The location of __file_info[] and ansicon_counter are split between the core and ldlinux.c32. We can end up calling __ansicon_close (from fp->oop->close) in the process of reloading ldlinux.c32, and while ansicon_counter is set to its initialised data value of 0 when reloading ldlinux.c32, the core is never reloaded, and so __file_info[]
2011 Dec 29
1
dsync / separator / namespace config-problem
Guess I don't quite get namespaces, but we have the following namespace configured: $ doveconf namespace namespace { hidden = no inbox = yes list = yes location = prefix = INBOX. separator = subscriptions = yes type = private } But when I try running dsync it complains: $ sudo -u atmail dsync -u janfrode at tanso.net mirror mdbox:/tmp/janfrodeboks
2007 Jul 11
0
postfix pipe to deliver, null_sender.
Hello, I just noticed a problem on our servers .. If I send myself a bounce, like this: | [en at mailserver ~]$ telnet localhost 25 | Trying 127.0.0.1... | Connected to localhost.localdomain (127.0.0.1). | Escape character is '^]'. | 220 mailserver ESMTP Postfix | helo foo | 250 mailserver | mail from: <> | 250 2.1.0 Ok | rcpt to: my at mail.address.tld | 250 2.1.5 Ok | data | 354
2008 Aug 25
1
virt-install error: "virDomainLookupByName() failed got unknown HTTP error code 400"
Hi there, I've been happily installing VMs in CentOS 5.2's Xen implementation using virt-manager. However, my latest attempt to use the install wizard in virt-manager failed when I got to the networking screen. The 'forward' button was unresponsive, and I was unable to proceed. I checked the virt-manager logs, and saw this appearing immediately after I tried to proceed:
2012 Feb 01
2
Doubts about dsync, mdbox, SIS
I've been running continous dsync backups of our Maildirs for a few weeks now, with the destination dsync server using mdbox and SIS. The idea was that the destination server would act as a warm copy of all our active users data. The active servers are using Maildir, and has: $ df -h /usr/local/atmail/users/ Filesystem Size Used Avail Use% Mounted on /dev/atmailusers
2011 Dec 05
2
Strange quota problem
I have a strange problems with quota on v2.0.14. We have an ldap user directory, and all users should have a mailQuota defined there. My problem is that some users gets the quota enforced, while others don't, and "doveadm user" doesn't seem to agree with "doveadm quota ge gett" Ref: $ doveadm user janfrode at example.net userdb: janfrode at example.net home
2010 Dec 13
1
libvirt printing to stderr
I'm writing an app and using the Python bindings for libvirt. Everything is fine but, in some cases I need to call lookupByName(). There are a lot of times when the name will not exist, I trap the exception, however I still get this message printed to stderr: libvir: QEMU error : Domain not found: no domain with matching name 'foo' Is there any way to turn this off? This is a
2017 Aug 07
1
Avoiding console prints by Libvirt Qemu python APIs
Hi, I am trying to check if a domain exists by using the libvirt python API *"lookupbyname()*". If the domain does not exist, it prints an error message on the console saying "*Domain not found*". I need the errors or logs only in syslog. I have tried redirecting stderr and stdout. But, it doesn't have any effect. I have also tried playing around with the libvirt logging
2011 Sep 13
2
Dovecot and Lustre FS
Hello, Right now, I'm using Exim and a customized version of an old?(10 years old)?Atmail POP3 server written in Perl, with ~10000 mailboxes located on a?Lustre file system.?So far so good. Though, I plan to migrate from Atmail to Dovecot, to provide our customers with IMAP support. Has anyone any experience with Dovecot on Lustre FS ? Thanks Christian ?
2002 Sep 10
0
Encrpted Password problem
i tried with the option encrpted password= yes , security = user in my smb.conf file.. but when i did following on my root prompt #killall -HUP xinetd #service smb restart #smbclient -L localhost so i get the problem session setup failed: ERRSRV - ERRbadpw (bad password name/password pair in a Tree Connect or Session Setup are invalid.) i'm not gettin why this is coming. i create the
2015 Mar 12
0
[PATCH] pmu/gk20a: PMU boot support.
I guess Alexandre will help you prepare this for upstream inclusion, but just want to make sure that my main point makes it across -- this is a 3K line patch. Please try to split it up into patches that add no more than 300 lines at a time, preferably fewer (but this isn't always possible). Ideally each patch should introduce one conceptual unit. Of course different people might draw the line
2016 Apr 17
2
stream finish throws exception via python API
Hi, The following snippet works fine e.g. receiving the data but when calling stream.finish() we get the following error: stream = con.newStream() vol.download(stream, 0, 0, 0) buf = stream.recv(1024) stream.finish() libvirt: I/O Stream Utils error : internal error: I/O helper exited abnormally Traceback (most recent call last): File "./helpers/kvm2ovirt", line 149, in <module>
2013 Dec 26
2
how to use openConsole and openGraphics
hi,all 1.how to use openConsole and openGraphics? 2.what is the theory of that? thanks