OpenVZ Forum


Home » General » Support » Looking for docs for kernel 2.6.9-023stab016.2 and vzctl 3.0.11-1
Looking for docs for kernel 2.6.9-023stab016.2 and vzctl 3.0.11-1 [message #5219] Wed, 16 August 2006 19:27 Go to next message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
Ok, I read the man page for vzctl and I can't seem to find info on how to use the "added VE name support".

Where can I find docs for this? Perhaps I'm overlooking something obvious and if so, I'm sorry.


--
TYL, Scott Dowdle
Belgrade, Montana, USA
Re: Looking for docs for kernel 2.6.9-023stab016.2 and vzctl 3.0.11-1 [message #5222 is a reply to message #5219] Wed, 16 August 2006 20:18 Go to previous message
aistis is currently offline  aistis
Messages: 77
Registered: September 2005
Location: Kaunas, Lithuania
Member

It is added to vzctl (--name) and vzlist (-n parameter) utilities. VE can be reffered by name assigned using vzctl's --name parameter. /etc/vz/names directory contains the name refferences in format name.conf

examples:

  • set VE name: vzctl set <VPSID> --name <NAME> --save
  • enter VE by name: vzctl enter <NAME>
  • list all VEs with name field: vzlist -a -n


From a brief look - there is no way to unset the name with vzctl, only by deleting the corresponding file in /etc/vz/names.

Hope this helps





Aistis Zenkevicius
http://static.openvz.org/userbars/openvz-user.png

[Updated on: Wed, 16 August 2006 20:20]

Report message to a moderator

Previous Topic: Question about /vz/private/10000n directories?
Next Topic: vzctl 3.0.11 and CPUS parameter
Goto Forum:
  


Current Time: Fri Nov 08 09:15:59 GMT 2024

Total time taken to generate the page: 0.04137 seconds