XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Start VM based on powerstate

    Scheduled Pinned Locked Moved Xen Orchestra
    2 Posts 2 Posters 221 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      wahla
      last edited by

      Hi,
      Our XenApp Servers does restart every night. Sometimes the VMs are offline at the morining. Is there a possibility to start all VMs with powerstate haltet?

      AtaxyaNetworkA 1 Reply Last reply Reply Quote 0
      • AtaxyaNetworkA Offline
        AtaxyaNetwork Ambassador @wahla
        last edited by

        @wahla Hello !

        In XO you can search "power_state:halted", select all VMs, and start

        If you want to do it automatically, I think you can script it with xe, but the best way is to understand why VM are shutting down or doesn't restart 🙂

        1 Reply Last reply Reply Quote 0
        • First post
          Last post