[ovirt-users] After realizing HA migration, the virtual machine can still get the virtual machine information by using the "vdsm-client host getVMList" instruction on the host before the migration.

Simone Tiraboschi stirabos at redhat.com
Wed Jan 31 23:16:37 UTC 2018


On Wed, Jan 31, 2018 at 12:46 PM, Pym <pym0914 at 163.com> wrote:

> Hi:
>
> The current environment is as follows:
>
> Ovirt-engine version 4.2.0 is the source code compilation and
> installation. Add two hosts, host1 and host2, respectively. At host1, a
> virtual machine is created on vm1, and a vm2 is created on host2 and HA is
> configured.
>
> Operation steps:
>
> Use the shutdown -r command on host1. Vm1 successfully migrated to host2.
> When host1 is restarted, the following situation occurs:
>
> The state of the vm2 will be shown in two images, switching from up and
> pause.
>
> When I perform the "vdsm-client Host getVMList" in host1, I will get the
> information of vm1. When I execute the "vdsm-client Host getVMList" in
> host2, I will get the information of vm1 and vm2.
> When I do "virsh list" in host1, there is no virtual machine information.
> When I execute "virsh list" at host2, I will get information of vm1 and vm2.
>
> How to solve this problem?
>
> Is it the case that vm1 did not remove the information on host1 during the
> migration, or any other reason?
>

Did you also check if your vms always remained up?
In 4.2 we have libvirt-guests service on the hosts which tries to properly
shutdown the running VMs on host shutdown.


>
> Thank you.
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180201/93e1a6a6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 35900 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180201/93e1a6a6/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 34515 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180201/93e1a6a6/attachment-0001.png>


More information about the Users mailing list