Displaying 20 results from an estimated 20000 matches similar to: "How to find the current database?"
2014 Jun 06
1
Re: Libvirt Python Bindings - Remote Connection using openAuth.
Martin,
What do you mean by libvirt credentials...?
-Sijo
On Fri, Jun 6, 2014 at 1:57 PM, Martin Kletzander <mkletzan@redhat.com>
wrote:
> On Fri, Jun 06, 2014 at 01:06:55PM +0530, Sijo Jose wrote:
>
>> Hi,
>> I am using libvirt with python binding, and I want to connect to a remote
>> host.
>> I was able to connect after making ssh certificate, but It
2014 Mar 06
2
Re: [libvirt] Python-libvirt in a virtual environment.
@Michel
using virtualenv we can create an isolated environment in the system.
Just go through - http://docs.python-guide.org/en/latest/dev/virtualenvs/
@Eric
I'm using Ubuntu, and I was able to install and use libvirt using sudo
apt-get install python-libvirt but its not available in tg2 virtual
environment.
Moreover if you try to install in the virtualenv using the sudo apt-get
install
2014 May 30
2
Libvrt Migrate an Offline VM
Hi,
Is it possible to migrate an Offline VM using libvirt API ?
Regards
Sijo Jose
2014 Mar 12
2
libvirtError: this function is not supported by the connection driver: virInterfaceDefineXML
Hi,
Could anyone help I'm getting the following error when I tried to add a new
network interface.
DETAILS
Connection
---------------------------
import libvirt
conn = libvirt.open('qemu:///system')
Interface XML
----------------------
<interface type="bridge" name="br0">
<start mode="onboot"/>
<mtu size="1500"/>
2008 Dec 26
2
Video gallery in rails
Dear all,
Iam in process of creating video gallery like youtube, please suggesst
plugins i should install and best suits fro my application.
My requirements are
1) Huge file uploading to upload videos
2) creating thumbnails on videos uploaded
3) Listing thumbnails of all videos in video gallery folder.
4) Onclicking thumbnails video should be played
Please suggest a way to proceed
2014 May 22
3
Host OS, Storage Info
Hi,
Is there any way to get host OS information and host Storage in formations
using libvirt API...?
Rgds
-Sijo
2009 Aug 05
2
MySQL noob question: Where can I find the database when I create one?
See my screenshot of the command here.
http://a.imagehost.org/0843/mysqladmin.png
When I type the following:
mysqladmin create <database_name> --user=root --password=xxxxxxxx
Is my command executed simply by pressing "Enter" after the command?
Am I missing some syntax?
If the command has been executed , what directory can I find this
database?
How does this relate to MySQL
2014 Jun 13
1
Re: Status of Host machine.
Hi Michal,
virConnectOpen is for connecting to a host right..?
I want to check the host status, whether the connection to the host is
active or not..
for that purpose we have to use virConnectIsAlive()
I'm using libvirt python bindings,
here is the function defnintion.
def isAlive(self):
"""Determine if the connection to the hypervisor is still alive
A
2014 Jun 06
2
Libvirt Python Bindings - Remote Connection using openAuth.
Hi,
I am using libvirt with python binding, and I want to connect to a remote
host.
I was able to connect after making ssh certificate, but It is not
applicable for my project.
So I want to use openAuth() method, but I could not succeed connecting to a
remote host using it.
Here is my code
------------------------
import libvirt
USER = "root"
PASS = "mypasswd"
def
2004 Jun 23
1
cdr_mysql compilation error
I am trying to compile current cvs asterisk-addons for mysql cdr but I
get the following error. Iam running mysql 4.0.20 and cvs v1 stable
version of asterisk.
cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/local/mysql/include -c
-o cdr_addon_mysql.o cdr_addon_mysql.c
cdr_addon_mysql.c:50: warning: parameter names (without types) in
function declaration
cdr_addon_mysql.c:50: warning: data
2014 Jun 03
1
Re: LIbvirt Python Snapshot -Domain Crashing
Martin,
Actually domain doesn't crash, but it state got changed to pause, till the
snapshot action got complete.
Its a time consuming process.
so here is my requirement.
I want to take snapshot of a Running Domain on every 3 hours,( at a later
point of time It should be possible to revert to the actual domain state
when I took the snapshot), I'm using libvirt APIs python bindings,
there
2014 Jun 03
2
LIbvirt Python Snapshot -Domain Crashing
Hi,
I'm using libvirt(1.0.0) with python, for managing virtual machines..
but while taking multiple snapshot domain is crashing...
Snapshot XML
-------------------------
<domainsnapshot>
<name>snp1</name>
<creationTime></creationTime>
<description>Description</description>
<state></state>
<domain>
2014 Jun 11
2
Status of Host machine.
Hi,
Using libvirt how can we check the status of a remote/local host machine..
isAlive() method is giving true even if the internet connection is broken OR
libvirt demon in the remote machine is being stopped.
so isAlive() does not seems to be handy,
Is there some other way to get the status of remote host..?
Thanks
-Sijo
2014 Mar 05
2
Python-libvirt in a virtual environment.
Hi,
Could you guide me to install libvirt in a virtual environment..?
OR
How python-libvirt could be used within a virtual environment after
installing it, in the system.
Regards
Sijo
2014 Jul 09
2
Disk and Network Statistics for a Specific Interval
Hi,
virDomainInterfaceStats - This function returns network interface stats for
interfaces attached to the domain.
virDomainBlockStats- This function returns block device (disk) stats for
block devices attached to the domain.
Based on which time interval these function returns values.
Is it cumulative from the vms uptime..?
OR average ...?
How can I get the average statistics of Disk and
2009 Oct 22
19
undefined method `stringify_keys!' for "":String
i have an error
undefined method `stringify_keys!'' for "":String
my view is given below
<%= form_tag :action => ''resolve_create'', :resolve => @resolve %>
<p>resolution:<br />
<%= text_area ''resolve'',''content'', :cols => 40, :rows => 12 %></p>
<%= submit_tag
2019 Oct 12
2
PANDOC
Hola,
parece que el problema está relacionado con la versión de Pandoc. La última
da problemas, según parece:
https://github.com/boxuancui/DataExplorer/issues/119
DataExplorer failed on the iris and mtcars data.frames on 3 of 4 computers
today. It took hours, but the problem seems related to newer versions of
Pandoc. Only Pandoc 2.6 works with DataExplorer. It will fail with newer
versions 2.7
2009 Aug 06
13
Redirect after login
Hi,
I''m new to Ruby/RoR so please bare with me!
I''m trying to adapt a ruby setup where someone logs in to a bonjour
service via a web browser. I have the login screen which asks for host
and password. There is only one user per host and i can log in fine.
It''s suppose to redirect me to /list in my browser but
doesn''t. Once i''ve entered the correct
2009 Nov 12
9
uninitialized constant XML::Document
Hi All,
I have installed "libxml-ruby" gem on my ruby instllation. while trying
to create xml document with ruby progam in Rad Rails am getting error
like "uninitialized constant XML::Document (NameError)"
do i need to config any thing else in environment.rb file
Thanks in advance
Chinna.
--
Posted via http://www.ruby-forum.com/.
2009 Aug 06
6
initializers
I created a "config/initializers/tasks.rb"
In it I have the following is all:
logger.info("Running tasks")
However nothing is logged or run. Am I missing something?
--
Posted via http://www.ruby-forum.com/.