Displaying 20 results from an estimated 5000 matches similar to: "Using virsh to connect to ESX"
2013 Aug 01
2
Libvirt not getting connected to ESX server
Hi,
I was trying to connect to ESX server using libvirt's virsh console but I
am getting the following error:
*virsh# connect esx://172.16.73.14*
*Enter username for 172.16.73.14 [root]: root*
*Enter root's password for 172.16.73.14:*
*error: Failed to connect to the hypervisor*
*error: internal error curl_easy_perform() returned an error: Peer
certificate cannot be authenticated with
2013 Aug 03
1
Re: Libvirt not getting connected to ESX server
Thanks a ton for the reply Matthias. I tried your suggestion but now I got
one more message saying:
*virsh # connect esx://172.16.73.14/?no_verify=1*
*Enter username for 172.16.73.14 [root]: root*
*Enter root's password for 172.16.73.14: *
*error: Failed to connect to the hypervisor*
*error: internal error: curl_easy_perform() returned an error: Unsupported
protocol (1) : Protocol https not
2013 May 15
1
connect to esx: Could not find HostSystem with name '(null)'
Hi all,
I am trying to connect to esx vi libvirt 0.10.2.
virsh # connect esx://hostname?no_verify=1&auto_answer=1
error: Failed to connect to the hypervisor
error: internal error Could not find HostSystem with name '(null)'
could you give me a hint, what could be a reason for that problem
in a debug log of libvirt I see:
14447: debug : virAuthGetConfigFilePath:77 : Checking for
2015 Apr 01
6
ESX VM from scratch
I want to create a virtual machine from scratch in ESX but I can't figure
out how to create the disks - the vmdk files. Any hints on how that can be
done or even if it's possible at all ?
Thanks
2010 Jul 16
1
ESX - How to create a new domain
Hi,
I've been trying to figure out how to create a new domain(create a new
virtual machine) using the ESX driver.
The documentation at http://libvirt.org/drvesx.html says:
To define a new domain the driver converts the domain XML into a VMware VMX
file and uploads it to a datastore known to the ESX server. Because multiple
datastores may be known to an ESX server the driver needs to decide
2018 Nov 29
2
Re: Libvirt api for esx
On Wed, Nov 28, 2018 at 10:24:55PM +0530, ROHIT SINGH wrote:
>Hi Martin,
>
>Could you please point me to any example codes in python present for esx?
>Suppose, I have to power off and power on esx virtual machine, can i get
>this code somewhere on python to develop some understanding.
>
https://www.mail-archive.com/libvir-list@redhat.com/msg17903.html
>Actually, I am not
2015 May 21
2
libvirt and VMWare Workstation Shared Server mode (of GSX history)
Hi everyone,
I searched previous postings and I couldn't find a definitive answer on
this..
I run a small lab of RHEL/Centos Based servers on which there's VMWare
Workstation running on a non-standard port but still manageable by tools
like VMrun (and the Fusion of Workstation GUI, of course).
I'm trying to use virsh with this setup and getting the following error
from both
2010 Mar 09
2
ESX support
Just curious but how long has ESX support been in libvirt?
Also I noticed this error when accessing one of my windows vms:
error: internal error Expecting VMX entry 'scsi0.virtualDev' to be
'buslogic' or 'lsilogic' but found 'lsisas1068'
Not sure whether this is an enhancement, defect, or not supported at this time.
Thanks.
-Jon
2018 Dec 05
2
Re: Libvirt api for esx
Hi Martin,
Could you please help me with below issue, I am not sure what’s wrong here.
Please find below code and error snippet.
Thanks for help.
Code Snippet: -
from __future__ import print_function
import sys
import libvirt
SASL_USER = <username>
SASL_PASS = <password>
def request_cred(credentials, user_data):
for credential in credentials:
if credential[0] ==
2018 Dec 06
2
Re: Libvirt api for esx
Thanks Martin for help. I will give it a shot.
Regards
Rohit Singh
On Thu, 6 Dec 2018 at 2:55 PM, Martin Kletzander <mkletzan@redhat.com>
wrote:
> On Wed, Dec 05, 2018 at 09:44:17PM +0530, ROHIT SINGH wrote:
> >Hi Martin,
> >
> >Could you please help me with below issue, I am not sure what’s wrong
> here.
> >Please find below code and error snippet.
> >
2010 Nov 03
2
ESX(i) implemented functions
Dear All,
I would like to know what functions and classes are implemented in the
ESX(i) driver ? i am trying to use virsh to retrieve some simple information
such as vcpuinfo domain, but it is not working, so I would like to know what
functions are implemented in libvirt ESX(i) driver. Also i checked the
http://libvirt.org/drvesx.html and nothing is mentioned there.
Thank You,
Regards,
Sherif
2018 Nov 28
2
Re: Libvirt api for esx
Thanks, I'll check it out.
On Wed, 28 Nov 2018 at 9:31 PM, Martin Kletzander <mkletzan@redhat.com>
wrote:
> On Mon, Nov 26, 2018 at 04:11:20PM +0530, ROHIT SINGH wrote:
> >Hi,
> >
> >I am doing poc for using libvirt api for implementation of esx in python.
> >
> >I tried researching through module but did not find a way how it works for
> >esx.
2018 Nov 26
2
Libvirt api for esx
Hi,
I am doing poc for using libvirt api for implementation of esx in python.
I tried researching through module but did not find a way how it works for
esx.
Any help on how to proceed specifically for esx would be of great help.
Please let me know as soon as possible, lagging on deliverables.
Thanks for help!!
Regards
Rohit Singh
2012 Feb 20
1
the probelm in using libvirt to connect esx server
hi,
I am a new user of libvirt ,i really appreciate libvirt?and want to use it in my work.I want to use it to conncet to a ESXi server.when I try to connect to the server ,I use the command :virsh -c esx://name at exmaple.com,And I get an
1.error :error: internal error curl_easy_perform() returned an error: Couldn't connect to server (7) : couldn't connect to host
so I think maybe
2011 Aug 23
1
libvirt ruby binding with vmware
Hi,
I've been trying to use the ruby libvirt binding with vmware esx on F15,
however it doesnt seems to work, I get:
Libvirt::ConnectionError: Call to virConnectOpen failed: Cannot access CA
certificate '/etc/pki/CA/cacert.pem': No such file or directory
I've using the same uri with virsh and it works.
it seems like somehow the no_verify is not passed, or we are back to old
2018 Dec 12
1
Re: Libvirt api for esx
On Wed, Dec 12, 2018 at 03:03:41PM +0530, ROHIT SINGH wrote:
>Thanks Martin, It’s working now.
>Could you please help me with role of xml in libvirt api and what if I
>don’t want use of xml in my code.
>Please let me know.
>
Libvirt uses XML for most of the APIs. Depends what you need to do you can
transform it with xmltodict or use some higher level API. I'm not sure I can
2013 Aug 15
6
Error while adding volume through virsh
Hi,
I was trying to add volume...I got one xml snippet and I modified it
according to my node configuration:
< volume>
<name>testNode/cluster.vmdk </name>
<allocation>0 </allocation>
<capacity unit='G'>2<capacity>
</volume>
Now when I executed "virsh vol-create datastore1 /local/new_volume.xml" one
error message came saying:
2010 Sep 17
3
access VMX config on esxi with virsh
Hi,
Is virsh able to access the VMX config of a virtual machine running on a
esxi host?
I would like to take backups of my virtual machine configs and the
doku section
"Converting from VMware VMX config to domain XML config"
(http://libvirt.org/drvesx.html) comes close to this - but does not tell how
to get access to the vmx file. I would prefer a solution where ssh access to
the
2013 Jul 11
1
Cluster discovery using Libvert
Hello,
I'm beginner user of Libvert. I want to find out the nodes (ESX servers) in
cluster. I'm using following way but unable to get results. I'm not sure
whether I'm using correct command or not. Please help me to achieve the
expected result.
=========================================================
Virsh # connect esx://192.168.10.1/DatacenterC2/Cluster2?no_verify=1
2010 Mar 04
1
ESX access using libvirt
Hello,
I am trying to access an ESXi host using libvirt but it seems that it
requires netcat to be running on the ESX server.
My ESX 4 does not have this installed and I am wondering if this is
required or is there some other way to get this working?
Thanks,
Jon