OpenVZ Forum

Home » General » Support » using virsh instead of prlctl
using virsh instead of prlctl [message #53762] Fri, 29 October 2021 14:31 Go to next message
freakout is currently offline  freakout
Messages: 2
Registered: August 2014
Location: Germany
Junior Member
i tried to use virsh in place of prlctl as supposed by the deprecation messages of prlctl. But virsh does not see all virtual machines/containers - how to fix?

[root@sugar ~]# prlctl list
UUID                                    STATUS       IP_ADDR         T  NAME
{543306a2-13f5-43e4-a6ce-2a235dd162f2}  running    CT bon
{0cb5ef24-0619-432c-8ae7-c1441de38d82}  running   CT cal
{26fdfe18-0437-4249-b7b8-ff2e0d0f19c3}  running   CT jim
{2d46b4c1-896f-4464-afe7-a276f593e60e}  running   CT joe
{aeb9425d-1a56-42c9-9ff9-3c0843f900b1}  running    CT kep
{7fe94c43-4ece-4cc3-bf48-93b4ff46111d}  running   CT man
{db99f884-30e8-41f6-a917-af5c452d362a}  running   CT old
{da693adf-56a8-46ac-bb9e-456a8013047d}  running      -               VM pig
{b73a903e-d433-4d78-9f87-a8b07f6b6d0a}  running   CT sam
{a6717049-2400-4cca-ba79-3963f354fc21}  running      -               VM sca
{aaccedb2-5ac2-4513-954a-0e8233d43f42}  running   CT top
{d6a41a21-a980-442d-90df-4eb3d1dd1a86}  running      -               VM tro
{c6ac1ec3-e1f7-4fab-8a7c-d9558cc50f51}  running   CT van

[root@sugar ~]# virsh list
 Id   Name   State
 94   pig    running
 95   sca    running
 96   tro    running
Re: using virsh instead of prlctl [message #53763 is a reply to message #53762] Sun, 31 October 2021 00:00 Go to previous messageGo to next message
devnull is currently offline  devnull
Messages: 20
Registered: May 2012
Junior Member

Same "problem" here (but since no one was "harmed", this is not - yet - an issue).

It there a way to properly "register" CT "inside" Virsh?

Any hint would be useful.

Good night!
Re: using virsh instead of prlctl [message #53764 is a reply to message #53762] Wed, 10 November 2021 01:44 Go to previous message
wsap is currently offline  wsap
Messages: 56
Registered: March 2018
Location: Halifax, NS
It looks to me like Virtuozzo is planning on abandoning their original goal of replacing vzctl with prlctl for *everything* and instead will be supporting:

- virsh for VMs
- vzctl for CTs

So basically just stick with vzctl for containers and all should be well. Seems like a good option to me anyway as few panels and providers actually made the switch from vzctl to prlctl for containers and this will help clearly define the line between VMs and containers nicely. It will very likely even make it easier for control panels to implement VMs and CTs on the same node.
Previous Topic: OpenVZ 8 / virtuozzo linux 8
Next Topic: Failed to get VM config
Goto Forum:

Current Time: Sat Jan 28 14:17:28 GMT 2023

Total time taken to generate the page: 0.00844 seconds