{"id":1624,"date":"2019-04-09T19:20:02","date_gmt":"2019-04-09T19:20:02","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=1624"},"modified":"2024-02-26T17:36:00","modified_gmt":"2024-02-26T23:36:00","slug":"xenserver-commands","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/xenserver-commands\/","title":{"rendered":"XenServer Commands"},"content":{"rendered":"<p><strong>List, unplug, or destroy PBD storage repository<\/strong><\/p>\n<pre>xe pbd-list\nxe pbd-unplug uuid=[UUID for VM]\nxe sr-destroy uuid=[UUID for VM]<\/pre>\n<p><strong>List, unplug, or destroy storage repository.<\/strong><\/p>\n<pre>xe sr-list\nxe sr-unplug uuid=[UUID for VM]\nxe sr-destroy uuid=[UUID for VM]<\/pre>\n<p><strong>List VM&#8217;s<\/strong><\/p>\n<pre>xe vm-list<\/pre>\n<p><strong>Shutdown VM<\/strong><\/p>\n<pre id=\"h.p_ID_48\" class=\"zfr3Q\">xe vm-shutdown uuid=[UUID for VM]<\/pre>\n<p><strong>Force shutdown VM<\/strong><\/p>\n<pre>xe vm-shutdown -\u2013force uuid=[UUID for VM]<\/pre>\n<p id=\"h.p_ID_50\" class=\"zfr3Q\"><strong>List Task<\/strong><\/p>\n<pre id=\"h.p_ID_52\" class=\"zfr3Q\">xe task-list<\/pre>\n<p><strong>Cancel Task<\/strong><\/p>\n<pre id=\"h.p_ID_54\" class=\"zfr3Q\">xe task-cancel uuid=[task uuid]<\/pre>\n<p>External Links<\/p>\n<p><a href=\"http:\/\/www.queryadmin.com\/801\/useful-storage-repository-commands-xenserver\/\">http:\/\/www.queryadmin.com\/801\/useful-storage-repository-commands-xenserver\/<\/a><\/p>\n<p><a href=\"https:\/\/www.serveroperations.net\/citrix\/shutdown-a-hung-vm-on-xenserver\">https:\/\/www.serveroperations.net\/citrix\/shutdown-a-hung-vm-on-xenserver<\/a><\/p>\n\n\n<p><a href=\"https:\/\/linuxconfig.org\/how-to-take-and-restore-vm-snapshot-using-command-line-on-xenserver\">https:\/\/linuxconfig.org\/how-to-take-and-restore-vm-snapshot-using-command-line-on-xenserver<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>List, unplug, or destroy PBD storage repository xe pbd-list xe pbd-unplug uuid=[UUID for VM] xe sr-destroy uuid=[UUID for VM] List, unplug, or destroy storage repository. xe sr-list xe sr-unplug uuid=[UUID for VM] xe sr-destroy uuid=[UUID for VM] List VM&#8217;s xe &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/xenserver-commands\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[233,603,604,601,275],"class_list":["post-1624","post","type-post","status-publish","format-standard","hentry","category-xenserver","tag-citrix","tag-pbd","tag-sr","tag-xe","tag-xenserver"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=1624"}],"version-history":[{"count":10,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1624\/revisions"}],"predecessor-version":[{"id":5709,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1624\/revisions\/5709"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=1624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=1624"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=1624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}