{"id":638,"date":"2014-12-16T09:22:53","date_gmt":"2014-12-16T08:22:53","guid":{"rendered":""},"modified":"2018-10-31T22:24:53","modified_gmt":"2018-10-31T21:24:53","slug":"how-setup-auto-start-virtual-machines-within-xenserver-62","status":"publish","type":"post","link":"https:\/\/nil.uniza.sk\/en\/how-setup-auto-start-virtual-machines-within-xenserver-62\/","title":{"rendered":"How to setup auto start for virtual machines within XenServer 6.2"},"content":{"rendered":"<p>\n\tFor XenServer of versions 6.x were removed direct GUI ability to setup auto-start of Virtual Machines after the startup of main XenServer server. This ability have to be setup using CLI (Command line). To do that we have to:<\/p>\n<p>\n\t1) Use ssh client for login into your xen server, and become the root<\/p>\n<p>\n\t2) List your VM machines using the command:<\/p>\n<pre>\r\n&nbsp;xe vm-list<\/pre>\n<p>\n\tin my case the command provides the list of my machines. From the list we mainly need the UUID identity of VM:<\/p>\n<pre>\r\n[root@NetlabXen-2 ~]# xe vm-list\r\nuuid ( RO)           : f7c5d724-689c-395e-cbb2-e73f2cb162fe\r\n     name-label ( RW): BP - Parac - Deb64\r\n    power-state ( RO): halted\r\n\r\n\r\n<span style=\"background-color:#ffffe0;\">uuid ( RO)           : <\/span><span style=\"background-color:#ffff00;\">250fc57a-0892-c85c-fca7-ff2e670a1a35<\/span><span style=\"background-color:#ffffe0;\">\r\n     name-label ( RW): Moravcik-IP\r\n    power-state ( RO): halted<\/span>\r\n\r\n\r\nuuid ( RO)           : cdce7275-8fda-ce17-f065-b8a2b11ab26f\r\n     name-label ( RW): Dancik-IP\r\n    power-state ( RO): halted\r\n\r\n\r\nuuid ( RO)           : affe14ef-ecab-c91f-150c-7c3a81a81fd1\r\n     name-label ( RW): Kamailio Presence\r\n    power-state ( RO): halted\r\n\r\n....\r\n....\r\n\r\n<\/pre>\n<p>\n\tYellow selection marks the machine for which we will activate the auto-startup. To do that the command is applied:<\/p>\n<pre>\r\n xe vm-param-set uuid=<span style=\"background-color:#ffffe0;\">UUID <\/span>other-config:auto_poweron=true\r\n<\/pre>\n<p>\n\twhere we have to replace UUID with reall UUID of selected VM Machine. In my case:<\/p>\n<pre>\r\n<span style=\"background-color:#ffffe0;\"> xe vm-param-set uuid=<\/span><span style=\"background-color:#ffff00;\">250fc57a-0892-c85c-fca7-ff2e670a1a35<\/span><span style=\"background-color:#ffffe0;\"> other-config:auto_poweron=true<\/span>\r\n<\/pre>\n<p>\n\tDone!<\/p>\n<p>\n\twww link: <a href=\"http:\/\/support.citrix.com\/article\/CTX133910\">http:\/\/support.citrix.com\/article\/CTX133910<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\n\tFor XenServer of versions 6.x were removed direct GUI ability to setup auto-start of Virtual Machines after the startup of main XenServer server. This ability have to be setup using CLI (Command line). To do that we have to:<\/p>\n<p>\n\t1) Use ssh client for login into your xen server, and become the root<\/p>\n<p>\n\t2) List your VM machines using the command:<\/p>\n<pre>\r\n&nbsp;xe vm-list<\/pre>\n<p>\n\tin my case the command provides the list of my machines. From the list we mainly need the UUID identity of VM:<\/p>","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[833],"tags":[],"class_list":["post-638","post","type-post","status-publish","format-standard","hentry","category-virtualization-xenserver-en"],"taxonomy_info":{"category":[{"value":833,"label":"XenServer"}]},"featured_image_src_large":false,"author_info":{"display_name":"admin","author_link":"https:\/\/nil.uniza.sk\/en\/author\/admin\/"},"comment_info":3,"category_info":[{"term_id":833,"name":"XenServer","slug":"virtualization-xenserver-en","term_group":0,"term_taxonomy_id":831,"taxonomy":"category","description":"","parent":819,"count":1,"filter":"raw","cat_ID":833,"category_count":1,"category_description":"","cat_name":"XenServer","category_nicename":"virtualization-xenserver-en","category_parent":819}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/comments?post=638"}],"version-history":[{"count":0,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/638\/revisions"}],"wp:attachment":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/media?parent=638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/categories?post=638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/tags?post=638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}