Discussion:
[Users] ovz 7 VM bootstrap install OS and VNC
jehan procaccia TEM-TSP
2018-09-05 16:26:48 UTC
Permalink
Hello

I connot find a way to install the OS on a newly created VM on a host 
Virtuozzo Linux release 7.5

I've followed the doc on how to create VM:
https://docs.openvz.org/openvz_users_guide.webhelp/_creating_virtual_machines.html
(still not clear to me which one from docs.openvz.org docs.virtuozzo.com
to follow ...) 

prlctl create myMV
prlctl installtools myVM
prlctl set myVM --device-set net0 --ipadd 192.168.1.68/24
prlctl set myVM --nameserver 192.168.1.1
prlctl set myVM --gw 192.168.1.1

then regarding

https://docs.virtuozzo.com/virtuozzo_7_users_guide/advanced-tasks/enabling-vnc-access-to-virtual-machines-and-containers.html

i've created a VNC acces + password

prlctl set myVM --vnc-mode manual --vnc-port 5901 --vnc-passwd myVMpass

added the VM net0 interface to the correct network/vlan on my host
virtuozzo 7

prlctl set myVM --device-set net0 --network vlan1
# brctl show
br1 8000.1866dabdc8b6 yes em2.1
vme001c426ab342

then started it (prlctl start myVM)

# prlctl list
UUID STATUS IP_ADDR T NAME
{aab70e2d-3e9b-49bc-b473-07c3b2f7104e} running 192.168.1.68 VM myVM

until now everything seems fine

exept  I cannot connect to the VM via VNC nor I can ping it .

How can I install the OS on it from here ? did I missed something ?

with KVM I used to start a virt-manager on the host to do that , is it
possible to install virt-manager or it will break virtuozzo ?

Thanks .
Denis Silakov
2018-09-06 13:41:41 UTC
Permalink
Hi, see inline.
Post by jehan procaccia TEM-TSP
# prlctl list
UUID STATUS IP_ADDR T NAME
{aab70e2d-3e9b-49bc-b473-07c3b2f7104e} running 192.168.1.68 VM myVM
until now everything seems fine
exept I cannot connect to the VM via VNC nor I can ping it .
Which IP do you use when connecting by VNC? It should be IP of the host,
not VM.
Post by jehan procaccia TEM-TSP
How can I install the OS on it from here ? did I missed something ?
with KVM I used to start a virt-manager on the host to do that , is it
possible to install virt-manager or it will break virtuozzo ?
Should be possible:

https://help.virtuozzo.com/customer/en/portal/articles/2518267
--
Regards,

Denis Silakov | Sr. Software Architect, Virtuozzo Linux Team Lead
Otradnaya street 2B/9, “Otradnoye” Business Center | Moscow | Russia
Phone: +7 916-222-9437 | ***@virtuozzo.com
Skype: denis.silakov

Virtuozzo.com
Jehan Procaccia
2018-09-06 16:53:53 UTC
Permalink
Hello

indeed , you are right, that is the IP address of the host not the one
of the VM ! now I can remote connect to my new VM with VNC (vinagre)
using the host IP address , thanks .

but still it boot on CD then PXE , then fails with no boot device ...

Fortunaltly the
https://help.virtuozzo.com/customer/en/portal/articles/2518267 helped me
to plug a virt-manager from a linux centos7 to my virtuozzo7 host (those
packahe apparently not copatible with the virtuozzo 7 host itself)
so I could from virt-manager add a CD graphically to myVM and point it
to and ISO boot image of the OS I want to install
then I finnaly got a OS on that VM , but I wonder
1) if the usage of virt-manager to add a CD or configure memory, cpu etc
...would break the native prlct/virtuozzo cli equivalant commands ?
2) if there is a simpler way to install an OS on a VM without all that
complication to run virt-manager , how to add a CD pointing to an OS ISO
from command line ?

thanks .
Post by Denis Silakov
Hi, see inline.
Post by jehan procaccia TEM-TSP
# prlctl list
UUID STATUS IP_ADDR T NAME
{aab70e2d-3e9b-49bc-b473-07c3b2f7104e} running 192.168.1.68 VM myVM
until now everything seems fine
exept  I cannot connect to the VM via VNC nor I can ping it .
Which IP do you use when connecting by VNC? It should be IP of the
host, not VM.
Post by jehan procaccia TEM-TSP
How can I install the OS on it from here ? did I missed something ?
with KVM I used to start a virt-manager on the host to do that , is
it possible to install virt-manager or it will break virtuozzo ?
https://help.virtuozzo.com/customer/en/portal/articles/2518267
--
Regards,
Denis Silakov | Sr. Software Architect, Virtuozzo Linux Team Lead
Otradnaya street 2B/9, “Otradnoye” Business Center | Moscow | Russia
Skype: denis.silakov
Virtuozzo.com
_______________________________________________
Users mailing list
https://lists.openvz.org/mailman/listinfo/users
José Manuel Giner
2018-09-06 18:17:38 UTC
Permalink
prlctl create CTID --vmtype vm --distribution win-7
prlctl set CTID --device-set cdrom0 --connect --enable --image
/vz/iso/win7.iso

El jue., 6 sept. 2018 a las 20:11, Jehan Procaccia (<
Hello
indeed , you are right, that is the IP address of the host not the one of
the VM ! now I can remote connect to my new VM with VNC (vinagre) using the
host IP address , thanks .
but still it boot on CD then PXE , then fails with no boot device ...
Fortunaltly the
https://help.virtuozzo.com/customer/en/portal/articles/2518267 helped me
to plug a virt-manager from a linux centos7 to my virtuozzo7 host (those
packahe apparently not copatible with the virtuozzo 7 host itself)
so I could from virt-manager add a CD graphically to myVM and point it to
and ISO boot image of the OS I want to install
then I finnaly got a OS on that VM , but I wonder
1) if the usage of virt-manager to add a CD or configure memory, cpu etc
...would break the native prlct/virtuozzo cli equivalant commands ?
2) if there is a simpler way to install an OS on a VM without all that
complication to run virt-manager , how to add a CD pointing to an OS ISO
from command line ?
thanks .
Hi, see inline.
# prlctl list
UUID STATUS IP_ADDR T NAME
{aab70e2d-3e9b-49bc-b473-07c3b2f7104e} running 192.168.1.68 VM myVM
until now everything seems fine
exept I cannot connect to the VM via VNC nor I can ping it .
Which IP do you use when connecting by VNC? It should be IP of the host,
not VM.
How can I install the OS on it from here ? did I missed something ?
with KVM I used to start a virt-manager on the host to do that , is it
possible to install virt-manager or it will break virtuozzo ?
https://help.virtuozzo.com/customer/en/portal/articles/2518267
--
Regards,
Denis Silakov | Sr. Software Architect, Virtuozzo Linux Team Lead
Otradnaya street 2B/9, “Otradnoye” Business Center | Moscow | Russia
Skype: denis.silakov
Virtuozzo.com
_______________________________________________
_______________________________________________
Users mailing list
https://lists.openvz.org/mailman/listinfo/users
--
José Manuel Giner
Loading...