{"id":31370,"date":"2023-03-02T09:21:50","date_gmt":"2023-03-02T09:21:50","guid":{"rendered":"https:\/\/1-grid.com\/knowledge\/?post_type=ht_kb&#038;p=31370"},"modified":"2023-03-14T06:22:15","modified_gmt":"2023-03-14T06:22:15","slug":"kvm-migration","status":"publish","type":"ht_kb","link":"https:\/\/1grid.co.za\/knowledge\/kvm-migration\/","title":{"rendered":"KVM Migration instructions"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"has-black-color has-text-color\">This article provides you with some instructions to ensure your server migration is successful&nbsp;<\/p>\n<\/blockquote>\n\n\n\n<p class=\"has-black-color has-text-color\">Please follow the below instructions to ensure the server migration is successful:<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">It is important to ensure you have at least 350MB or more free space available for the migration on the root mount &#8220;\/&#8221; and \u201c\/\u201d or 100MB free on your boot mount &#8220;\/boot&#8221;<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Also ensure you have the following installed: <strong>qemu-guest-agent<\/strong>, <strong>qemu-kvm<\/strong>, as well as <strong>libvirt&nbsp;<\/strong>on these VMs before attempting the migration.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">If you are running one of the following EOL OS versions, please take note of the required packages that need to be installed prior to the migration date:&nbsp;<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\"><strong>EOL OS versions <\/strong><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">1. Ubuntu 14  <\/p>\n\n\n\n<p class=\"has-black-color has-text-color\"><strong>OR<\/strong>  <\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">2. Centos 6<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\"><strong>See steps below on how to install these packages<\/strong>:<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">1.1)  <strong>UBUNTU 14:<\/strong><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">SSH to the server and run the following commands:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>apt-get update &amp;&amp; apt-get upgrade<\/li>\n\n\n\n<li>apt-get install qemu-guest-agent<\/li>\n\n\n\n<li>apt-get install qemu-kvm<\/li>\n\n\n\n<li>apt-get install qemu*<\/li>\n\n\n\n<li>apt-get install libvirt*<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">1.2)  <strong>CENTOS 6<\/strong>: <\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">SSH to the server and run the following commands:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Yum update \u2013y<\/li>\n\n\n\n<li>Yum install qemu-guest-agent<\/li>\n\n\n\n<li>Yum install qemu-kvm<\/li>\n\n\n\n<li>Yum install libvirt<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">2. You will need to reboot the machine once you have completed steps 1.1 or 1.2<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">3. Once the machine is back online will you need to verify that the Virtio driver is present, you can confirm this by running the command below:<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">grep -i virtio \/boot\/config-$(uname -r)<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">3.1) Please check to see you have an output similar to this:<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_BLK_MQ_VIRTIO=y<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_CAIF_VIRTIO=m<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_CRYPTO_DEV_VIRTIO=m<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_DRM_VIRTIO_GPU=m<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_HW_RANDOM_VIRTIO=m<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_NET_9P_VIRTIO=m<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_RPMSG_VIRTIO=m<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_SCSI_VIRTIO=m<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_VIRTIO=y<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_VIRTIO_BALLOON=y<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_VIRTIO_BLK=m<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_VIRTIO_BLK_SCSI=y<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_VIRTIO_CONSOLE=y<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_VIRTIO_INPUT=m<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_VIRTIO_MMIO=y<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_VIRTIO_NET=m<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_VIRTIO_PCI=y<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_VIRTIO_PCI_LEGACY=y<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_VIRTIO_VSOCKETS=m<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">CONFIG_VIRTIO_VSOCKETS_COMMON=m<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">3.2) Next, please confirm If the values of the parameters <strong>CONFIG_VIRTIO_BLK<\/strong> and <strong>CONFIG_VIRTIO_NET<\/strong> is <strong>y or m<\/strong> ( <strong>y<\/strong> = the virtio driver is included &amp; <strong>m<\/strong> = the virtio driver is in the temp file system).<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">4. Once the above has been completed 1-grid will be able to migrate these VMs to KVM.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article provides you with some instructions to ensure your server migration is successful&nbsp; Please follow the below instructions to ensure the server migration is successful: It is important to ensure you have at least 350MB or more free space available for the migration on the root mount &#8220;\/&#8221; and&#8230;<\/p>\n","protected":false},"author":21,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[1178],"ht-kb-tag":[212,1386,480,1388,1385,629,1387],"class_list":["post-31370","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-servers","ht_kb_tag-complete","ht_kb_tag-ensure","ht_kb_tag-how-to","ht_kb_tag-instruction","ht_kb_tag-kvm","ht_kb_tag-migration","ht_kb_tag-successful"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>KVM Migration instructions - 1-grid Knowledge Base<\/title>\n<meta name=\"description\" content=\"This article provides you with some instructions to ensure your server migration is successful\u00a0KVM Migration instructions\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/1grid.co.za\/knowledge\/kvm-migration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KVM Migration instructions - 1-grid Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"This article provides you with some instructions to ensure your server migration is successful\u00a0KVM Migration instructions\" \/>\n<meta property=\"og:url\" content=\"https:\/\/1grid.co.za\/knowledge\/kvm-migration\/\" \/>\n<meta property=\"og:site_name\" content=\"1-grid Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/1grid.co.za\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-14T06:22:15+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@1grid_hosting\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/kvm-migration\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/kvm-migration\/\",\"name\":\"KVM Migration instructions - 1-grid Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\"},\"datePublished\":\"2023-03-02T09:21:50+00:00\",\"dateModified\":\"2023-03-14T06:22:15+00:00\",\"description\":\"This article provides you with some instructions to ensure your server migration is successful\u00a0KVM Migration instructions\",\"breadcrumb\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/kvm-migration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/1grid.co.za\/knowledge\/kvm-migration\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/kvm-migration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/1grid.co.za\/knowledge\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KVM Migration instructions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"contentUrl\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"width\":100,\"height\":100,\"caption\":\"1-Grid Domain Hosting Knowledge Base\"},\"image\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/1grid.co.za\/\",\"https:\/\/twitter.com\/1grid_hosting\",\"https:\/\/www.instagram.com\/1grid_hosting\/\",\"https:\/\/za.linkedin.com\/company\/1-grid\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"KVM Migration instructions - 1-grid Knowledge Base","description":"This article provides you with some instructions to ensure your server migration is successful\u00a0KVM Migration instructions","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:\/\/1grid.co.za\/knowledge\/kvm-migration\/","og_locale":"en_US","og_type":"article","og_title":"KVM Migration instructions - 1-grid Knowledge Base","og_description":"This article provides you with some instructions to ensure your server migration is successful\u00a0KVM Migration instructions","og_url":"https:\/\/1grid.co.za\/knowledge\/kvm-migration\/","og_site_name":"1-grid Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/1grid.co.za\/","article_modified_time":"2023-03-14T06:22:15+00:00","twitter_card":"summary_large_image","twitter_site":"@1grid_hosting","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/1grid.co.za\/knowledge\/kvm-migration\/","url":"https:\/\/1grid.co.za\/knowledge\/kvm-migration\/","name":"KVM Migration instructions - 1-grid Knowledge Base","isPartOf":{"@id":"https:\/\/1grid.co.za\/knowledge\/#website"},"datePublished":"2023-03-02T09:21:50+00:00","dateModified":"2023-03-14T06:22:15+00:00","description":"This article provides you with some instructions to ensure your server migration is successful\u00a0KVM Migration instructions","breadcrumb":{"@id":"https:\/\/1grid.co.za\/knowledge\/kvm-migration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/1grid.co.za\/knowledge\/kvm-migration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/1grid.co.za\/knowledge\/kvm-migration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/1grid.co.za\/knowledge\/"},{"@type":"ListItem","position":2,"name":"KVM Migration instructions"}]},{"@type":"WebSite","@id":"https:\/\/1grid.co.za\/knowledge\/#website","url":"https:\/\/1grid.co.za\/knowledge\/","name":"1-Grid Domain Hosting Knowledge Base","description":"","publisher":{"@id":"https:\/\/1grid.co.za\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/1grid.co.za\/knowledge\/#organization","name":"1-Grid Domain Hosting Knowledge Base","url":"https:\/\/1grid.co.za\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","contentUrl":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","width":100,"height":100,"caption":"1-Grid Domain Hosting Knowledge Base"},"image":{"@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/1grid.co.za\/","https:\/\/twitter.com\/1grid_hosting","https:\/\/www.instagram.com\/1grid_hosting\/","https:\/\/za.linkedin.com\/company\/1-grid"]}]}},"_links":{"self":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/31370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/comments?post=31370"}],"version-history":[{"count":2,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/31370\/revisions"}],"predecessor-version":[{"id":31373,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/31370\/revisions\/31373"}],"wp:attachment":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/media?parent=31370"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-category?post=31370"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-tag?post=31370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}