Announcement Announcement Module
No announcement yet.
OpenVZ Commands Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • OpenVZ Commands

    OpenVZ is an operating system-level virtualization technology based on the Linux kernal and operating system. OpenVZ allows a physical server to run multiple isolated operating system instances , called containers, virtual private servers(VPSs), or virtual environments(VEs). OpenVZ is similar to FreeBSD jails and Solaris Containers. CTID representing the ID of a container.

    * Command to start a VPS

    #vzctl start CTID

    * Command to list the running VPSs in a node


    *Command to stop a VPS

    #vzctl stop CTID

    *Command to view the status of a VPS

    #vzctl status CTID

    *Command to enter a VPS

    #vzctl enter CTID

    *Command to list running and stopped VPSs in a node

    #vzlist -a

    *Command to list all the running VPS in the node


    *Command to Set hostname for a Server

    #vzctl set CTID --hostname New_hostname --save

    *Command to add new IP to VPS

    #vzctl set CTID --ipadd xx.xx.xx.xx --save

    *Command to delete IP from VPS

    #vzctl set CTID --ipdel xx.xx.xx.xx --save

    *Command to reset root password of a VPS

    #vzctl set CTID --userpasswd root:new_password --save

    *Command to show resources used by a VPS

    #vzcalc -v

    *command to check CPU usage by OpenVZ


    *command to check CPU usage per VPS

    #vzcpucheck -v

    *Command to delete a container

    #vzctl destroy CTID

    *Command for Suspending a container

    #vzctl suspend CTID

    *Command to check the status of the quota info


    *Commands for linking container files with application templates

    #vzpkg link

    *Monitoring commands