{"id":26,"date":"2013-01-09T13:55:37","date_gmt":"2013-01-09T19:55:37","guid":{"rendered":"http:\/\/gimpland.org\/now\/?p=26"},"modified":"2018-01-03T16:01:40","modified_gmt":"2018-01-03T22:01:40","slug":"citrix-xenserver-how-to-force-shutdown-virtual-machines","status":"publish","type":"post","link":"https:\/\/gimpland.org\/now\/2013\/01\/citrix-xenserver-how-to-force-shutdown-virtual-machines\/","title":{"rendered":"Citrix XenServer How to Force Shutdown Virtual Machines"},"content":{"rendered":"<p>Sometimes you just can&#8217;t get a VM to shutdown, it maybe an issue with XenTools or sun spots. Here is a list of commands that will help you get that damn thing shutdown.<\/p>\n<ol>\n<li>Disable High\u00a0Availability\u00a0(HA) so you don&#8217;t run into issues<\/li>\n<li>Log into the Xenserver host that is running your VM with issues via ssh or\u00a0console\u00a0via XenCenter<\/li>\n<li>Run the following command to list VMs and their UUIDs<br \/>\n<code>xe vm-list<\/code><\/li>\n<li>First you can try just the normal shutdown command with force<br \/>\n<code>xe vm-shutdown uuid=&lt;UUID from step 3&gt; force=true<\/code><\/li>\n<li>If that just hangs, use CONTROL+C to kill it off and try to reset the power state. \u00a0The force is required on this command<br \/>\n<code>xe\u00a0vm-reset-powerstate\u00a0\u00a0uuid=&lt;UUID from step 3&gt; force=true<\/code><\/li>\n<li>If the VM is still not shutdown, we may need to destroy the domain<\/li>\n<li>Run this command to get the domain id of the VM. \u00a0It is the number in the first row of output<br \/>\n<code>list_domains<\/code><\/li>\n<li>Now run this command using the domain ID from the output of step 7<br \/>\nBefore XenServer 7.x:<br \/>\n<code>\/opt\/xensource\/debug\/xenops destroy_domain -domid &lt;DOMID from step 7&gt;<\/code><br \/>\nXenServer 7.x and greater:<br \/>\n<code>xl destroy\u00a0&lt;DOMID from step 7&gt;<\/code><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes you just can&#8217;t get a VM to shutdown, it maybe an issue with XenTools or sun spots. Here is a list of commands that will help you get that damn thing shutdown. Disable High\u00a0Availability\u00a0(HA) so you don&#8217;t run into issues Log into the Xenserver host that is running your VM with issues via ssh &hellip; <a href=\"https:\/\/gimpland.org\/now\/2013\/01\/citrix-xenserver-how-to-force-shutdown-virtual-machines\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Citrix XenServer How to Force Shutdown Virtual Machines&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[14],"tags":[15,17,19,18,16],"class_list":["post-26","post","type-post","status-publish","format-standard","hentry","category-virtualization","tag-citrix","tag-cli","tag-howto","tag-virtualization-2","tag-xenserver"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Citrix XenServer How to Force Shutdown Virtual Machines<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gimpland.org\/now\/2013\/01\/citrix-xenserver-how-to-force-shutdown-virtual-machines\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Citrix XenServer How to Force Shutdown Virtual Machines\" \/>\n<meta property=\"og:description\" content=\"Sometimes you just can&#8217;t get a VM to shutdown, it maybe an issue with XenTools or sun spots. Here is a list of commands that will help you get that damn thing shutdown. Disable High\u00a0Availability\u00a0(HA) so you don&#8217;t run into issues Log into the Xenserver host that is running your VM with issues via ssh &hellip; Continue reading &quot;Citrix XenServer How to Force Shutdown Virtual Machines&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gimpland.org\/now\/2013\/01\/citrix-xenserver-how-to-force-shutdown-virtual-machines\/\" \/>\n<meta property=\"og:site_name\" content=\"gimpland.org\" \/>\n<meta property=\"article:published_time\" content=\"2013-01-09T19:55:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-03T22:01:40+00:00\" \/>\n<meta name=\"author\" content=\"imp7\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"imp7\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/2013\\\/01\\\/citrix-xenserver-how-to-force-shutdown-virtual-machines\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/2013\\\/01\\\/citrix-xenserver-how-to-force-shutdown-virtual-machines\\\/\"},\"author\":{\"name\":\"imp7\",\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/#\\\/schema\\\/person\\\/5a73603e0ec30511d5b90534c76679fb\"},\"headline\":\"Citrix XenServer How to Force Shutdown Virtual Machines\",\"datePublished\":\"2013-01-09T19:55:37+00:00\",\"dateModified\":\"2018-01-03T22:01:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/2013\\\/01\\\/citrix-xenserver-how-to-force-shutdown-virtual-machines\\\/\"},\"wordCount\":170,\"commentCount\":8,\"keywords\":[\"citrix\",\"cli\",\"howto\",\"virtualization\",\"xenserver\"],\"articleSection\":[\"Virtualization\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/gimpland.org\\\/now\\\/2013\\\/01\\\/citrix-xenserver-how-to-force-shutdown-virtual-machines\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/2013\\\/01\\\/citrix-xenserver-how-to-force-shutdown-virtual-machines\\\/\",\"url\":\"https:\\\/\\\/gimpland.org\\\/now\\\/2013\\\/01\\\/citrix-xenserver-how-to-force-shutdown-virtual-machines\\\/\",\"name\":\"Citrix XenServer How to Force Shutdown Virtual Machines\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/#website\"},\"datePublished\":\"2013-01-09T19:55:37+00:00\",\"dateModified\":\"2018-01-03T22:01:40+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/#\\\/schema\\\/person\\\/5a73603e0ec30511d5b90534c76679fb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gimpland.org\\\/now\\\/2013\\\/01\\\/citrix-xenserver-how-to-force-shutdown-virtual-machines\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/#website\",\"url\":\"https:\\\/\\\/gimpland.org\\\/now\\\/\",\"name\":\"gimpland.org\",\"description\":\"Donate by bitcoin: 12E1LyKb9Wwzw3iy6V4oWpHDXkTRC6UHJ9\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gimpland.org\\\/now\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/#\\\/schema\\\/person\\\/5a73603e0ec30511d5b90534c76679fb\",\"name\":\"imp7\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d0544d7ec7cea4e1a78e16ae627707fdc0a3f9d32087dd9a87038b079316ac2d?s=96&d=identicon&r=x\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d0544d7ec7cea4e1a78e16ae627707fdc0a3f9d32087dd9a87038b079316ac2d?s=96&d=identicon&r=x\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d0544d7ec7cea4e1a78e16ae627707fdc0a3f9d32087dd9a87038b079316ac2d?s=96&d=identicon&r=x\",\"caption\":\"imp7\"},\"url\":\"https:\\\/\\\/gimpland.org\\\/now\\\/author\\\/imp7\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Citrix XenServer How to Force Shutdown Virtual Machines","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gimpland.org\/now\/2013\/01\/citrix-xenserver-how-to-force-shutdown-virtual-machines\/","og_locale":"en_US","og_type":"article","og_title":"Citrix XenServer How to Force Shutdown Virtual Machines","og_description":"Sometimes you just can&#8217;t get a VM to shutdown, it maybe an issue with XenTools or sun spots. Here is a list of commands that will help you get that damn thing shutdown. Disable High\u00a0Availability\u00a0(HA) so you don&#8217;t run into issues Log into the Xenserver host that is running your VM with issues via ssh &hellip; Continue reading \"Citrix XenServer How to Force Shutdown Virtual Machines\"","og_url":"https:\/\/gimpland.org\/now\/2013\/01\/citrix-xenserver-how-to-force-shutdown-virtual-machines\/","og_site_name":"gimpland.org","article_published_time":"2013-01-09T19:55:37+00:00","article_modified_time":"2018-01-03T22:01:40+00:00","author":"imp7","twitter_misc":{"Written by":"imp7","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/gimpland.org\/now\/2013\/01\/citrix-xenserver-how-to-force-shutdown-virtual-machines\/#article","isPartOf":{"@id":"https:\/\/gimpland.org\/now\/2013\/01\/citrix-xenserver-how-to-force-shutdown-virtual-machines\/"},"author":{"name":"imp7","@id":"https:\/\/gimpland.org\/now\/#\/schema\/person\/5a73603e0ec30511d5b90534c76679fb"},"headline":"Citrix XenServer How to Force Shutdown Virtual Machines","datePublished":"2013-01-09T19:55:37+00:00","dateModified":"2018-01-03T22:01:40+00:00","mainEntityOfPage":{"@id":"https:\/\/gimpland.org\/now\/2013\/01\/citrix-xenserver-how-to-force-shutdown-virtual-machines\/"},"wordCount":170,"commentCount":8,"keywords":["citrix","cli","howto","virtualization","xenserver"],"articleSection":["Virtualization"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/gimpland.org\/now\/2013\/01\/citrix-xenserver-how-to-force-shutdown-virtual-machines\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/gimpland.org\/now\/2013\/01\/citrix-xenserver-how-to-force-shutdown-virtual-machines\/","url":"https:\/\/gimpland.org\/now\/2013\/01\/citrix-xenserver-how-to-force-shutdown-virtual-machines\/","name":"Citrix XenServer How to Force Shutdown Virtual Machines","isPartOf":{"@id":"https:\/\/gimpland.org\/now\/#website"},"datePublished":"2013-01-09T19:55:37+00:00","dateModified":"2018-01-03T22:01:40+00:00","author":{"@id":"https:\/\/gimpland.org\/now\/#\/schema\/person\/5a73603e0ec30511d5b90534c76679fb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gimpland.org\/now\/2013\/01\/citrix-xenserver-how-to-force-shutdown-virtual-machines\/"]}]},{"@type":"WebSite","@id":"https:\/\/gimpland.org\/now\/#website","url":"https:\/\/gimpland.org\/now\/","name":"gimpland.org","description":"Donate by bitcoin: 12E1LyKb9Wwzw3iy6V4oWpHDXkTRC6UHJ9","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gimpland.org\/now\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/gimpland.org\/now\/#\/schema\/person\/5a73603e0ec30511d5b90534c76679fb","name":"imp7","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d0544d7ec7cea4e1a78e16ae627707fdc0a3f9d32087dd9a87038b079316ac2d?s=96&d=identicon&r=x","url":"https:\/\/secure.gravatar.com\/avatar\/d0544d7ec7cea4e1a78e16ae627707fdc0a3f9d32087dd9a87038b079316ac2d?s=96&d=identicon&r=x","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d0544d7ec7cea4e1a78e16ae627707fdc0a3f9d32087dd9a87038b079316ac2d?s=96&d=identicon&r=x","caption":"imp7"},"url":"https:\/\/gimpland.org\/now\/author\/imp7\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4dqkb-q","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/posts\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":13,"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/posts\/26\/revisions"}],"predecessor-version":[{"id":299,"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/posts\/26\/revisions\/299"}],"wp:attachment":[{"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/media?parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/categories?post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/tags?post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}