Dmitry, 
i'm happy the meet you again.

On 2017-05-31 19:31, Dmitry Konstantinov wrote:
> Здравствуйте вам,
> 
> Я тут в дому затеял небольшую реорганизацию, в частности
> хотел kvm пощупать, и тут увидел ваше письмо. Решил совместить
> полезное с приятным. Обнаружилась уж не знаю, как назвать,
> bug или же feature.
> 
> Делаю так
> prlctl create another_test -d linux --vmtype vm
> prlctl set another_test  --vnc-mode manual --vnc-port 5902 --vnc-passwd 
> 1q2w3e4r
> 
> потом так
> [root@ovz7 cdim]# prlctl start another_test
> Starting the VM...
> The VM has been successfully started.
> [root@ovz7 cdim]# prlctl list another_test
> UUID                                    STATUS       IP_ADDR         T  NAME
> {2696f924-01bc-4344-a12c-e7f4eb772752}  running      -               VM 
> another_test
> 
> собственно вопрос - теперь делаем так
> 
> [root@ovz7 cdim]# time prlctl stop another_test
> Stopping the VM...
> The VM has been successfully stopped.
> 
> real    2m1.118s
> user    0m0.108s
> sys     0m0.030s
> [root@ovz7 cdim]#
> 
> это нормально - вот эти 2 минуты? выглядит, как будто чего-то ждут,
> и после 120 секунд переходят к решительным мерам.

most likely new VM was not booted, and waits on bootloader (guest os is not set 
yet)
prlctl stop generates ACPI event, to make gracefull guest Os shutdown,
and waits for finish of Guest os shutdown procedure.

It it does not help it forces hard shutdown.

man prlctl

       stop <ve_id|ve_name> [--kill]
           Stop  the  specified virtual environment. You can use the --kill 
option to
           forcibly stop the VE.


> теперь так - не знаю, влияет как-то или нет -
> [root@ovz7 cdim]# prlctl set another_test  --device-del cdrom0
> Remove the cdrom0 device.
> 
> The VM has been successfully configured.
> [root@ovz7 cdim]# prlctl set another_test --device-add cdrom --iface ide --
> image /vz/cdim/livedvd-amd64-multilib-20160704.iso
> Creating cdrom0 (+) ide:0 image='/vz/cdim/livedvd-amd64-multilib-20160704.iso'
> 
> Created cdrom0 (+) ide:0 image='/vz/cdim/livedvd-amd64-multilib-20160704.iso'
> 
> 
> The VM has been successfully configured.
> [root@ovz7 cdim]# prlctl set another_test --device-bootorder "hdd0 cdrom0"
> 
> The VM has been successfully configured.
> [root@ovz7 cdim]#
> 
> снова старт, в vnc смотрю, как оно грузится, и потом говорю в vm 'halt -p' -
> останавливается секунд за 5 (это gentoo с openrc), и prlctl list говорит 
> stopped. Это всё очень подозрительно, и если оно так будет мои планируемые
> полторы vm останавливать, то могучий ups может сдохнуть раньше,
> чем закончится процесс.
> 
> С уважением,
> dear OpenVZ user.

:)

Thank you,
        Vasily Averin

> On Tuesday, May 30, 2017 11:46:32 AM EDT Vasily Averin wrote:
>> Dear OpenVZ users,
>>
>> could you please share your feedback on Vz7?
>>
>> How do you perceive Virtuozzo VMs vs others (Oracle or KVM VMs) ?
>>
>> How do you perceive Virtuozzo Containers vs others (Oracle containers,
>> Docker containers, etc) ? Thank you,
>>      Vasily Averin
>> _______________________________________________
>> Users mailing list
>> Users@openvz.org
>> https://lists.openvz.org/mailman/listinfo/users
> 
> 
> _______________________________________________
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 
_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users

Reply via email to