{"id":3539,"date":"2024-01-08T10:15:20","date_gmt":"2024-01-08T16:15:20","guid":{"rendered":"https:\/\/lab.rapternet.us\/?p=3539"},"modified":"2024-01-06T15:16:22","modified_gmt":"2024-01-06T21:16:22","slug":"migrating-proxmox-servers","status":"publish","type":"post","link":"https:\/\/lab.rapternet.us\/?p=3539","title":{"rendered":"Migrating Proxmox Servers"},"content":{"rendered":"\n<p>I&#8217;ve had a proxmox server for a few years that has been a workhorse for me, however it&#8217;s getting to be that time to replace it with newer more power efficient hardware. The process is relatively straight forward assuming you don&#8217;t have any problems with hardware failure during the process.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>My plan has a few more steps than it would have if I were using 100% new hardware, but I installed a new SSD in my old server semi recently and don&#8217;t want to replace that, so I plan on moving that SSD from the old server to the new server during the transition.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"771\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2023\/12\/pxl_20231130_1450268954566332212835244750-1024x771.jpg\" alt=\"\" class=\"wp-image-3573\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2023\/12\/pxl_20231130_1450268954566332212835244750-1024x771.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2023\/12\/pxl_20231130_1450268954566332212835244750-300x226.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2023\/12\/pxl_20231130_1450268954566332212835244750-768x578.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2023\/12\/pxl_20231130_1450268954566332212835244750-1536x1157.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2023\/12\/pxl_20231130_1450268954566332212835244750.jpg 2000w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Mini replacement pc<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Plan<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install proxmox on the second server<\/li>\n\n\n\n<li>Get it setup with the PBS server<\/li>\n\n\n\n<li>Backup all vms on first server and shut it down<\/li>\n\n\n\n<li>Pull vm disk from first server, install in second server<\/li>\n\n\n\n<li>Mount disk, move all the data to a backup folder, configure proxmox with the disk<\/li>\n\n\n\n<li>Restore backups to the second server<\/li>\n\n\n\n<li>Remove the backup folder if everything is good<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Kinks in the Plan<\/h2>\n\n\n\n<p>The first kink was due to the network adapter in the new PC and the Linux kernel. There&#8217;s a bug in the Proxmox 8.0 Linux kernel that doesn&#8217;t play nicely with ASPM and RealTek network adapters. The adapter would take 1-5 days to start throwing the errors, and after it started, only a reboot would fix it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"771\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2024\/01\/pxl_20231127_1350440708091510228337659705-1024x771.jpg\" alt=\"\" class=\"wp-image-3597\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2024\/01\/pxl_20231127_1350440708091510228337659705-1024x771.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2024\/01\/pxl_20231127_1350440708091510228337659705-300x226.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2024\/01\/pxl_20231127_1350440708091510228337659705-768x578.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2024\/01\/pxl_20231127_1350440708091510228337659705-1536x1157.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2024\/01\/pxl_20231127_1350440708091510228337659705.jpg 2000w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Fun Network Driver Errors <\/figcaption><\/figure>\n\n\n\n<p>There were some solutions online like loading a new kernel version or adding some boot flags. The boot flags didn&#8217;t work for me and I was unwilling to try getting a different kernel running other than what was the default in the repos. I did end up finding the aspm mode in the UEFI and disabled it to get the network adapter working again.<\/p>\n\n\n\n<p>The next kink came in luckily after I fixed the network adapter, and this one was the old server having its motherboard fail, never to boot again.<\/p>\n\n\n\n<p>That mostly just accelerated my plans, I put the SSD into the new server, got it mounted and configured in proxmox and started restoring VMs to it. It took a few hours of minimal interaction and I had all my virtual machines fault humming along in the new server, and as a bonus, my office was 5\u00b0F cooler.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"771\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2024\/01\/pxl_20240105_1839347572359181375228359956-1024x771.jpg\" alt=\"\" class=\"wp-image-3598\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2024\/01\/pxl_20240105_1839347572359181375228359956-1024x771.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2024\/01\/pxl_20240105_1839347572359181375228359956-300x226.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2024\/01\/pxl_20240105_1839347572359181375228359956-768x578.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2024\/01\/pxl_20240105_1839347572359181375228359956-1536x1157.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2024\/01\/pxl_20240105_1839347572359181375228359956.jpg 2000w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Dell Mini PC Racked Up<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve had a proxmox server for a few years that has been a workhorse for me, however it&#8217;s getting to be that time to replace it with newer more power efficient hardware. The process is relatively straight forward assuming you don&#8217;t have any problems with hardware failure during the process.<\/p>\n","protected":false},"author":1,"featured_media":3598,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[38,26],"class_list":["post-3539","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","tag-hardware","tag-proxmox"],"_links":{"self":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/3539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3539"}],"version-history":[{"count":5,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/3539\/revisions"}],"predecessor-version":[{"id":3600,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/3539\/revisions\/3600"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/media\/3598"}],"wp:attachment":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}