Hi All,

We confirmed the connection of libvirt of Esx(vmware) on RHEL6.3.

When we are connected to Esxi, different results are provided like RHEL5.

[root@rh63-1 ~]# virsh -c esx://[email protected]/?no_verify=1 destroy sr2
Enter root's password for 192.168.133.1: 
error: Failed to destroy domain sr2
error: Requested operation is not valid: Domain is not powered on


Because the following result is provided, the patch which Mr.Matsuo contributed 
becomes useful in Esx.

[root@rh63-1 ~]# virsh -c esx://[email protected]/?no_verify=1 dominfo sr1
Enter root's password for 192.168.133.2: 
Id:             68
Name:           sr1
UUID:           423b6068-2b19-b80d-0ef2-0c64e3ee25b3
OS Type:        hvm
State:          running 
CPU(s):         2
Max memory:     2097152 kB
Used memory:    2097152 kB
Persistent:     yes
Autostart:      disable
Managed save:   unknown

[root@rh63-1 ~]# virsh -c esx://[email protected]/?no_verify=1 dominfo sr2
Enter root's password for 192.168.133.1: 
Id:             -
Name:           sr2
UUID:           423b9c27-cded-5616-b5c9-f04f4215b663
OS Type:        hvm
State:          shut off
CPU(s):         2
Max memory:     2097152 kB
Used memory:    2097152 kB
Persistent:     yes
Autostart:      disable
Managed save:   unknown


Best Regards,
Hideo Yamauchi.

--- On Fri, 2012/6/1, Takatoshi MATSUO <[email protected]> wrote:

> Hi
> 
> I found that fencing of libvirt plugin is failed on Xen(RHEL5),
> because virsh's outputs are different.
> 
> KVM on RHEL6
> -----------------------------
> # virsh destroy host1
> error: Failed to destroy domain host1
> error: Requested operation is not valid: domain is not running
> -----------------------------
> 
> Xen on RHEL5
> -----------------------------
> # virsh destroy host1
> error: Failed to destroy domain host1
> error: invalid argument in Domain host1 isn't running.
> -----------------------------
> 
> I attached a patch.
> 
> Regards,
> Takatoshi MATSUO
> 
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to