Results 1 to 6 of 6
  1. #1

    [OpenVZ] Command Lines

    Hi guys,

    Could someone please help me with:

    1.) the command line to hard power off a VM that has frozen up
    2.) the command line to boot a VM linking to its config file
    OSHS Ltd
    OSHS Services - DNS Clusters | R1Soft Licenses | Remote Backup Storage | R1Soft CDP Storage | Cheap Dedicated Servers - Enterprise UK Server Colo & Rack Space at Lowest Prices

  2. #2
    Join Date
    Jun 2009
    Have you tried running

    vzctl restart <veid>

    from the Hardware node.
    Ezeelogin -
    The ultimate multiple server administration software.
    *Parallel shell *rm -rf protection *SSH logging*automated password changes*encrypted storage* -Delivering innovative web hosting solutions

  3. #3
    Join Date
    Jul 2009

    I have included a few commands that might help you out.
    vzlist - This lists the VMs on the VM host.
    vzctl enter VMID - Enter a VM node shell, even if SSH is stopped.
    vzctl start VMID - Start a VM.
    vzctl stop VMID - Stop a VM .
    vzctl reboot VMID - Reboot a VM.

    Use this command to execute a command within the VM node, from the VM host.
    Eg : vzctl exec 101 /etc/init.d/sshd start

    Sr. Systems Engineer
    We grow by helping you grow.

  4. #4
    Join Date
    May 2009
    A "vzctl stop/start <veid>", will automatically unmount, mount a virtual container.

    This applies to frozen containers too. I would also suggest you to check the UBC parameters, for any fail counts. This will provide more details on the server down.

    When a VM starts, it automatically loads the /etc/vz/conf/ve_id.conf file to check for the configurations.

    Let me know if you are trying to put your VM in rescue or similar modes.

  5. #5

    Once you restart check cat /proc/user_beancounter under failcnt check which resource is falling short of.

  6. #6

Similar Threads

  1. Replies: 4
    Last Post: 12-10-2008, 05:31 PM
  2. lines at unemployeement lines staggering!!!
    By MMH-Moe in forum Web Hosting Lounge
    Replies: 10
    Last Post: 11-07-2008, 06:26 PM
  3. Replies: 0
    Last Post: 08-31-2008, 12:24 AM
  4. SSH command lines
    By Aboul_YouseF in forum Hosting Security and Technology
    Replies: 7
    Last Post: 02-01-2004, 08:04 AM
  5. How to wrap continuous lines of text > table width into two lines???
    By matt2kjones in forum Programming Discussion
    Replies: 3
    Last Post: 02-25-2003, 06:20 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts