`qm stopall` is removed?

Discussion in 'Proxmox VE: Installation and configuration' started by tincboy, Aug 28, 2012.

  1. tincboy

    tincboy Member

    Joined:
    Apr 13, 2010
    Messages:
    421
    Likes Received:
    2
    I just have installed latest Proxmox-VE "pve-manager/2.1/f32f3f46"
    but it seems `qm stopall` is not a valid command in this version, is it removed? why?
     
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,433
    Likes Received:
    301
    We now have a 'global' startall/stopall, which consider containers and VMs (with start/stop order, ...)

    simply use

    # service pve-manager stop

    instead
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. stra4d

    stra4d Member

    Joined:
    Mar 1, 2012
    Messages:
    60
    Likes Received:
    0
    Does this apply to startall as well? When I try startall on a newly installed 2.2 system I get an unknown command error.

     
  4. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,433
    Likes Received:
    301
    Yes, you can use:

    # service pve-manager start
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. stra4d

    stra4d Member

    Joined:
    Mar 1, 2012
    Messages:
    60
    Likes Received:
    0
    Great thanks!

     
  6. kotakomputer

    kotakomputer Member

    Joined:
    May 14, 2012
    Messages:
    348
    Likes Received:
    5
    # service pve-manager stop

    Above command does SHUTDOWN rather than STOP.
    Is there away to stop all VMs?
     
  7. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,433
    Likes Received:
    301
    Above command first tries to shutdown, then forces a stop if some VM do not shutdown nicely.

    No, I guess you need to write your own script for that.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice