{"id":11822,"date":"2019-03-17T13:08:13","date_gmt":"2019-03-17T13:08:13","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=11822"},"modified":"2019-03-17T13:08:13","modified_gmt":"2019-03-17T13:08:13","slug":"installing-and-configuring-citrix-xenserver-6-5-7","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/17\/installing-and-configuring-citrix-xenserver-6-5-7\/","title":{"rendered":"Installing and Configuring Citrix Xenserver 6.5 &#038; 7"},"content":{"rendered":"<p>As computing devices quickly surpass the requirements of operating systems, it has increasingly become more efficient for organizations to invest\/migrate to virtualized systems. Operating system virtualization technologies aren\u2019t anything new but over the last several years they have become more and more popular as data centers look to provide more functionality in the same or less amounts of physical space. By simply leveraging un-used resources on powerful servers\/workstations companies can effectively run multiple logical servers on one or several physical servers.<\/p>\n<div id=\"attachment_15000\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Installation-Guide.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15000\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Installation-Guide-620x297.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Installation-Guide-620x297.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Installation-Guide.jpg 720w\" alt=\"XenServer Installation Guide in Linux\" width=\"620\" height=\"297\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Installation and Configuration Guide \u2013 Part 1<\/p>\n<\/div>\n<p>Citrix offers such a solution, known as\u00a0<strong>XenServer<\/strong>, which utilizes the popular\u00a0<strong>Linux Xen hypervisor<\/strong>. The Xen hypervisor is referred to as a \u201c<strong>bare-metal hypervisor<\/strong>\u201d meaning that it is installed to the physical server and acts as a resource manager for all of the virtualized server instances that will be run on top of Xen.<\/p>\n<p>This contrasts to systems such as\u00a0<a href=\"https:\/\/www.tecmint.com\/install-virtualbox-on-redhat-centos-fedora\/\" target=\"_blank\" rel=\"noopener\">Virtualbox<\/a>\u00a0which require a Linux\/Mac\/Windows operating system to be installed and then virtual machines created within the Virtualbox application. This type of hypervisor is generally referred to as a hosted hypervisor. Both types of hypervisors have their place and benefits but this particular article is going to look at the bare-metal hypervisor in XenServer.<\/p>\n<p>In this 5-article\u00a0<strong>Citrix Xenserver<\/strong>\u00a0series, we will going to cover the following topics:<\/p>\n<div id=\"exam_announcement\"><b>Part 1<\/b>:\u00a0<b>Installation and Configuring XenServer 6.5<\/b><\/div>\n<div id=\"exam_announcement\"><b>Part 2<\/b>:\u00a0<a href=\"https:\/\/www.tecmint.com\/install-xenserver-patches-in-linux\/\" target=\"_blank\" rel=\"noopener\">Installing XenServer 6.5 Patches with Local Media and Remotely<\/a><\/div>\n<div id=\"exam_announcement\"><b>Part 3<\/b>:\u00a0<a href=\"https:\/\/www.tecmint.com\/xenserver-network-lacp-bond-vlan-and-bonding-configuration\/\" target=\"_blank\" rel=\"noopener\">XenServer Network (LACP Bond, VLAN and Bonding) Configuration<\/a><\/div>\n<div id=\"exam_announcement\"><b>Part 4<\/b>:\u00a0<a href=\"https:\/\/www.tecmint.com\/xenserver-create-and-add-storage-repository\/\" target=\"_blank\" rel=\"noopener\">How to Create and Add Citrix XenServer Storage Repositories<\/a><\/div>\n<div id=\"exam_announcement\"><b>Part 5<\/b>:\u00a0<a href=\"https:\/\/www.tecmint.com\/create-and-install-guest-virtual-machines-in-xenserver\/\" target=\"_blank\" rel=\"noopener\">How to Create and Install Guest Virtual Machines in XenServer<\/a><\/div>\n<div id=\"exam_announcement\"><b>Part 6<\/b>:\u00a0<a href=\"https:\/\/www.tecmint.com\/xenserver-physical-to-virtual-migration\/\" target=\"_blank\" rel=\"noopener\">XenServer Physical to Virtual Migration<\/a><\/div>\n<div id=\"exam_announcement\"><b>Part 7<\/b>:\u00a0<a href=\"https:\/\/www.tecmint.com\/manage-xenserver-with-xencenter-and-xen-orchestra\/\" target=\"_blank\" rel=\"noopener\">Managing XenServer with a XenCenter and Xen Orchestra Web Interfaces<\/a><\/div>\n<p><b>Update*:<\/b>\u00a0<b>In May 2016, Citrix released the new version of the XenServer 7 platform.<\/b><\/p>\n<div id=\"exam_announcement\"><b>Part 1<\/b>:\u00a0<a href=\"https:\/\/www.tecmint.com\/installation-of-xenserver-7-upgrade-xenserver-6-5-to-7\/\" target=\"_blank\" rel=\"noopener\">Fresh Installation of XenServer 7<\/a><\/div>\n<div id=\"exam_announcement\"><b>Part 2<\/b>:\u00a0<a href=\"https:\/\/www.tecmint.com\/xenserver-7-pool-upgrade-cli-xencenter\/\" target=\"_blank\" rel=\"noopener\">XenServer 7 \u2013 Pool Upgrade<\/a><\/div>\n<div>\n<article class=\"post-14973 post type-post status-publish format-standard has-post-thumbnail hentry category-virtualization category-xenserver tag-citrix tag-xenserver\">\n<div class=\"post-inner group\">\n<div class=\"entry share\">\n<div class=\"entry-inner\">\n<p>This first article will walk through the process of installing and configuring\u00a0<strong>Citrix XenServer<\/strong>. Future additions to this article will walk through adding virtual machine storage repositories, XenServer pooling, creating virtual machines on the XenServer, as well as managing XenServers with XenCenter and Xen Orchestra as discussed above series.<\/p>\n<h4>System Requirements<\/h4>\n<ol>\n<li>XenServer 6.5 ISO :\u00a0<a href=\"http:\/\/xenserver.org\/open-source-virtualization-download.html\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/xenserver.org\/open-source-virtualization-download.html<\/a><\/li>\n<li>Server capable of virtualization\n<ol>\n<li>Hardware Compatibility List is here:\u00a0<a href=\"http:\/\/hcl.xenserver.org\/\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/hcl.xenserver.org\/<\/a><\/li>\n<li>Many systems will work even if not listed but results may vary, use at your own risk.<\/li>\n<\/ol>\n<\/li>\n<li>Minimum 2GB ram; 4GB or more recommended to run virtual machines<\/li>\n<li>Mimimum 1 64bit 1.5GHz cpu; 2GHz or more and multiple CPUs are suggested<\/li>\n<li>Harddrive space of at least 16GB; more required if virtual machines will be saved locally<\/li>\n<li>At least a 100mbps network card; multiple gigabit suggested<\/li>\n<\/ol>\n<h4>Test System Configuration<\/h4>\n<ol>\n<li>1 IBM X3850\n<ol>\n<li>4 hexcore 2.66 GHz CPUs<\/li>\n<li>64gb ram<\/li>\n<li>4 gigabit NIC cards<\/li>\n<li>4 300GB SAS drives (overkill but it was all that was available)<\/li>\n<\/ol>\n<\/li>\n<li>24TB Dell PE5500E for storage of the virtual machine disks (Not necessary if enough local space exists on the XenServer)<\/li>\n<\/ol>\n<p>All in all this server is primed to be a stellar\u00a0<strong>XenServer<\/strong>\u00a0so let\u2019s begin the installation process.<\/p>\n<h3>Installation of Citrix Xenserver 6.5 Guide<\/h3>\n<p><strong>1.<\/strong>\u00a0The first step in the installation is to download the\u00a0<strong>XenServer ISO<\/strong>\u00a0file. This can easily be accomplished by visiting the link above or using the \u2018<strong>wget<\/strong>\u2018 utility on a Linux system.<\/p>\n<pre># wget -c http:\/\/downloadns.citrix.com.edgesuite.net\/10175\/XenServer-6.5.0-xenserver.org-install-cd.iso\r\n<\/pre>\n<p>Now burn the ISO to a CD or using \u2018<strong>dd<\/strong>\u2018 to copy the ISO to a flash drive.<\/p>\n<pre># dd if=XenServer-6.5.0-xenserver.org-install-cd.iso of=&lt;\/path\/to\/usb\/drive&gt;\r\n<\/pre>\n<p><strong>2.<\/strong>\u00a0Now place the media into the system that\u00a0<strong>XenServer<\/strong>\u00a0will be installed and boot to that media. Upon successful boot the user should be greeted by the wonderful\u00a0<strong>Citrix XenServer<\/strong>\u00a0boot splash.<\/p>\n<div id=\"attachment_14977\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Boot-Menu.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14977\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Boot-Menu-603x450.jpg\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Boot-Menu-603x450.jpg 603w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Boot-Menu-1024x764.jpg 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Boot-Menu.jpg 1025w\" alt=\"XenServer Boot Menu\" width=\"603\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Boot Menu<\/p>\n<\/div>\n<p><strong>3.<\/strong>\u00a0At this point simply press\u00a0<strong>enter<\/strong>\u00a0to begin the booting process. This will boot the user into the XenServer installer. The first screen will ask the user to provide a\u00a0<strong>language<\/strong>\u00a0selection.<\/p>\n<div id=\"attachment_14978\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Installation-Language.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14978\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Installation-Language-602x450.jpg\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Installation-Language-602x450.jpg 602w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Installation-Language-1024x766.jpg 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Installation-Language.jpg 1028w\" alt=\"Select XenServer Installation Language\" width=\"602\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select XenServer Installation Language<\/p>\n<\/div>\n<p><strong>4.<\/strong>\u00a0The next screen asks the user to confirm the reason for booting to this media as well as provide the option to load extra hardware drivers if needed. In this particular case, it is to install XenServer to the machine so it is safe to click \u201c<strong>OK<\/strong>\u201d.<\/p>\n<div id=\"attachment_14979\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Load-Device-Driver.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14979\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Load-Device-Driver-601x450.jpg\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Load-Device-Driver-601x450.jpg 601w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Load-Device-Driver-1024x767.jpg 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Load-Device-Driver.jpg 1026w\" alt=\"Load XenServer Device Driver\" width=\"601\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Load XenServer Device Driver<\/p>\n<\/div>\n<p><strong>5.<\/strong>\u00a0The next prompt is the obligatory\u00a0<strong>EULA<\/strong>\u00a0(End User License Agreement). Feel free to read the whole thing, as your supposed to anyways right, otherwise using the keyboard arrows move the cursor over to the \u201c<strong>Accept EULA<\/strong>\u201d button and hit enter.<\/p>\n<div id=\"attachment_14980\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Accept-License-Agreement.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14980\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Accept-License-Agreement-600x450.jpg\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Accept-License-Agreement-600x450.jpg 600w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Accept-License-Agreement.jpg 1023w\" alt=\"Accept License Agreement\" width=\"600\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Accept License Agreement<\/p>\n<\/div>\n<p><strong>6.<\/strong>\u00a0The next screen requests the installation device. In this example the\u00a0<strong>RAID<\/strong>\u00a0setup on the server is where XenServer will be installed.<\/p>\n<p>The\u00a0<strong>RAID<\/strong>\u00a0system is reflected as \u201c<strong>sda \u2013 556 GB [IBM ServeRAID-MR10k]<\/strong>\u201d For this guide, thin provisioning is not necessary. Make sure the the asterisk\u00a0<strong>( * )<\/strong>\u00a0character is next to the hard drive selection to install XenServer and tab to the \u201c<strong>OK<\/strong>\u201d button.<\/p>\n<div id=\"attachment_14981\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Virtual-Machine-Storage.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14981\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Virtual-Machine-Storage-601x450.jpg\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Virtual-Machine-Storage-601x450.jpg 601w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Virtual-Machine-Storage-1024x767.jpg 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Virtual-Machine-Storage.jpg 1025w\" alt=\"Select XenServer Virtual Machine Storage\" width=\"601\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select XenServer Virtual Machine Storage<\/p>\n<\/div>\n<p><strong>7.<\/strong>\u00a0The next screen will prompt the user for the location of the installation files. Since the installer was boot locally with a CD\/DVD\/USB, make sure to select the \u201c<strong>Local Media<\/strong>\u201d option.<\/p>\n<div id=\"attachment_14982\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Installation-Source.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14982\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Installation-Source-600x450.jpg\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Installation-Source-600x450.jpg 600w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Installation-Source-1024x768.jpg 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-XenServer-Installation-Source.jpg 1026w\" alt=\"Select XenServer Installation Source\" width=\"600\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select XenServer Installation Source<\/p>\n<\/div>\n<p><strong>8.<\/strong>\u00a0The next step allows for the installation of\u00a0<strong>Supplemental Packs<\/strong>\u00a0(SP) at the time of install. For this guide, none of the supplemental packs available will be installed at this point but will be covered later once XenServer is up and running.<\/p>\n<div id=\"attachment_14983\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-Supplemental-Packs.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14983\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-Supplemental-Packs-601x450.jpg\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-Supplemental-Packs-601x450.jpg 601w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-Supplemental-Packs-1024x767.jpg 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Select-Supplemental-Packs.jpg 1026w\" alt=\"Select Supplemental Packs\" width=\"601\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Supplemental Packs<\/p>\n<\/div>\n<p><strong>9.<\/strong>\u00a0The next screen will ask if the user wishes to verify that the installer media is not corrupt. Generally this is a good idea but is a personal choice. All in all the verification on this test server took about 3 minutes from a CD.<\/p>\n<div id=\"attachment_14984\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Verify-XenServer-Installation-Media.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14984\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Verify-XenServer-Installation-Media-599x450.jpg\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Verify-XenServer-Installation-Media-599x450.jpg 599w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Verify-XenServer-Installation-Media.jpg 1022w\" alt=\"Verify XenServer Installation Media\" width=\"599\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Verify XenServer Installation Media<\/p>\n<\/div>\n<div id=\"attachment_14986\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Checking-Base-Pack.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14986\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Checking-Base-Pack-602x450.jpg\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Checking-Base-Pack-602x450.jpg 602w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Checking-Base-Pack.jpg 1024w\" alt=\"Checking Base Pack\" width=\"602\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Checking Base Pack<\/p>\n<\/div>\n<div id=\"attachment_14985\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Verification-Sucessful.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14985\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Verification-Sucessful-597x450.jpg\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Verification-Sucessful-597x450.jpg 597w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Verification-Sucessful.jpg 1020w\" alt=\"Verification Successful\" width=\"597\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Verification Successful<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/article>\n<div class=\"wp-pagenavi\" role=\"navigation\">\n<p><strong>10.<\/strong>\u00a0Once the verification is completed, if selected during install, the XenServer installer will ask the user to setup some system information.<\/p>\n<p>The first prompt will be to set the root user\u2019s password. Now, since XenServer will be the underlying system to potentially several important virtualized servers, it is imperative that the password be secured as well as sufficiently complex!<\/p>\n<p><strong>Important<\/strong>: Do not forget this password either as there will not be any other users on the system once the installer finishes!<\/p>\n<div id=\"attachment_14987\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-XenServer-Root-Password.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14987\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-XenServer-Root-Password-600x450.jpg\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-XenServer-Root-Password-600x450.jpg 600w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-XenServer-Root-Password.jpg 1022w\" alt=\"Set XenServer Root Password\" width=\"600\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Set XenServer Root Password<\/p>\n<\/div>\n<p><strong>11.<\/strong>\u00a0The next screen will ask the user to chose a management interface. The number of interfaces that shows up will vary from system to system and the management interface doesn\u2019t have to be a separate interface. A separate interface can be used to secure administrative access to the hypervisor itself.<\/p>\n<div id=\"attachment_14988\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-XenServer-Network.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14988\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-XenServer-Network-599x450.jpg\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-XenServer-Network-599x450.jpg 599w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Configure-XenServer-Network.jpg 1022w\" alt=\"Configure XenServer Network\" width=\"599\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Configure XenServer Network<\/p>\n<p><strong>12.<\/strong>\u00a0Once the management interface is selected, the system will prompt for how to obtain an IP address for the management interface. This step will obviously vary from site to site as well.<\/p>\n<div id=\"attachment_14989\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-XenServer-IP-Address.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14989\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-XenServer-IP-Address-597x450.jpg\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-XenServer-IP-Address-597x450.jpg 597w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-XenServer-IP-Address.jpg 1021w\" alt=\"Set XenServer IP Address\" width=\"597\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Set XenServer IP Address<\/p>\n<\/div>\n<p><strong>13.<\/strong>\u00a0After determining the IP address information for the XenServer, the system will ask for a\u00a0<strong>hostname<\/strong>\u00a0to be set as well as\u00a0<strong>DNS<\/strong>\u00a0server configuration.<\/p>\n<div id=\"attachment_14990\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Hostname-and-DNS-Configuration.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14990\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Hostname-and-DNS-Configuration-601x450.jpg\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Hostname-and-DNS-Configuration-601x450.jpg 601w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Hostname-and-DNS-Configuration.jpg 1022w\" alt=\"Hostname and DNS Configuration\" width=\"601\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Hostname and DNS Configuration<\/p>\n<\/div>\n<p><strong>14.<\/strong>\u00a0The next three screens will go through the steps of setting up time zones as well as the method for keeping track of time. Generally,\u00a0<strong>Network Time Protocol<\/strong>\u00a0is suggested for\u00a0<a href=\"https:\/\/www.tecmint.com\/install-ntp-server-in-centos\/\" target=\"_blank\" rel=\"noopener\">keeping system time synchronized<\/a>\u00a0on systems but again this will vary from location to location.<\/p>\n<p>If a network time server isn\u2019t available or the XenServer doesn\u2019t have access to the Internet time servers, the installer will allow for manual time setting.<\/p>\n<div id=\"attachment_14991\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-Time-Zone.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14991\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-Time-Zone-601x450.jpg\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-Time-Zone-601x450.jpg 601w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-Time-Zone-1024x767.jpg 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-Time-Zone.jpg 1026w\" alt=\"Set Time Zone\" width=\"601\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Set Time Zone<\/p>\n<\/div>\n<div id=\"attachment_14993\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-Time-Using-NTP.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14993\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-Time-Using-NTP-599x450.jpg\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-Time-Using-NTP-599x450.jpg 599w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Set-Time-Using-NTP.jpg 1023w\" alt=\"Set Time Using NTP\" width=\"599\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Set Time Using NTP<\/p>\n<\/div>\n<div id=\"attachment_14992\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Add-NTP-Servers.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14992\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Add-NTP-Servers-605x450.jpg\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Add-NTP-Servers-605x450.jpg 605w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Add-NTP-Servers-1024x762.jpg 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Add-NTP-Servers.jpg 1029w\" alt=\"Add NTP Servers\" width=\"605\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Add NTP Servers<\/p>\n<\/div>\n<p><strong>15.<\/strong>\u00a0At this point all of the initial configuration parameters will be complete and the XenServer installer will be ready to begin the installation of the hypervisor.<\/p>\n<p><strong>WARNING<\/strong>\u00a0\u2013 Continuing at this point\u00a0<strong>WILL ERASE ALL DATA<\/strong>\u00a0on the target disks!<\/p>\n<div id=\"attachment_14994\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Confirm-Installation-Drive.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14994\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Confirm-Installation-Drive-598x450.jpg\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Confirm-Installation-Drive-598x450.jpg 598w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Confirm-Installation-Drive-1024x770.jpg 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Confirm-Installation-Drive.jpg 1025w\" alt=\"Confirm XenServer Installation Drive\" width=\"598\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Confirm XenServer Installation Drive<\/p>\n<\/div>\n<p><strong>16.<\/strong>\u00a0The installation will take some time but a progress bar will be displayed. Once the installer is done, it will prompt the user to restart the system to boot to the newly installed hypervisor (be sure to remove the XenServer installation disk upon reboot).<\/p>\n<div id=\"attachment_14995\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Preparing-XenServer-Installation.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14995\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Preparing-XenServer-Installation-601x450.jpg\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Preparing-XenServer-Installation-601x450.jpg 601w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Preparing-XenServer-Installation.jpg 1023w\" alt=\"Preparing XenServer Installation\" width=\"601\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Preparing XenServer Installation<\/p>\n<\/div>\n<div id=\"attachment_14996\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Installation-Complete.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14996\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Installation-Complete-599x450.jpg\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Installation-Complete-599x450.jpg 599w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Installation-Complete.jpg 1024w\" alt=\"XenServer Installation Complete\" width=\"599\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Installation Complete<\/p>\n<\/div>\n<p><strong>17.<\/strong>\u00a0Upon removing the installation media and rebooting the system, the user should be presented with the\u00a0<strong>Citrix XenServer<\/strong>\u00a0splash page. Allow the system to continue booting.<\/p>\n<div id=\"attachment_14997\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Citrix-XenServer-Booting.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14997\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Citrix-XenServer-Booting-598x450.jpg\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Citrix-XenServer-Booting-598x450.jpg 598w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Citrix-XenServer-Booting.jpg 1024w\" alt=\"Citrix XenServer Booting\" width=\"598\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Citrix XenServer Booting<\/p>\n<\/div>\n<p><strong>18.<\/strong>\u00a0Once the booting has completed, the system will present the\u00a0<strong>XenServer control<\/strong>\u00a0page.<\/p>\n<div id=\"attachment_14998\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Configuration-Page.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14998\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Configuration-Page-602x450.jpg\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Configuration-Page-602x450.jpg 602w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/XenServer-Configuration-Page.jpg 1020w\" alt=\"XenServer Configuration Page\" width=\"602\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Configuration Page<\/p>\n<\/div>\n<p>Congratulations!\u00a0<strong>XenServer<\/strong>\u00a0was successfully installed and is now ready to have any hotfixes\/supplemental packs applied, storage repositories designated, and ultimately virtual machines created. The next step in this series will address the methods available to patch a XenServer system with patches from Citrix.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<h1 class=\"post-title\">Installing XenServer 6.5 Patches with Local Media and Remotely \u2013 Part 2<\/h1>\n<p>Patching a\u00a0<strong>XenServer<\/strong>\u00a0install is a crucial task to ensure security updates are applied to vulnerable XenServer installs. While in theory the hypervisor is secure from the virtual machines it supports, there are still some potential issues that could happen and Citrix, as well as the rest of the open source community, do their best to provide code updates for these vulnerabilities as they are discovered.<\/p>\n<div id=\"attachment_15388\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Install-XenServer-Patch.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15388\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Install-XenServer-Patch-620x297.jpeg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Install-XenServer-Patch-620x297.jpeg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Install-XenServer-Patch.jpeg 720w\" alt=\"Install XenServer Patches in Linux\" width=\"620\" height=\"297\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Install XenServer Patches in Linux \u2013 Part 2<\/p>\n<\/div>\n<p>That being said, these updates aren\u2019t applied automatically by default and require administrator interaction. Patches also aren\u2019t always security issues. Many times patches will provide increased functionality to the virtual machines hosted on the XenServer. Applying these updates is typically very easy and straight forward and can be done remotely or with local media (local to the\u00a0<strong>XenServer<\/strong>).<\/p>\n<p>While this article is going to walk through applying patches to one XenServer, it is important to note that in the event that multiple pooled XenServers need updated, tools exist to allow the pool master to push the updates out to all of the other XenServers in the pool!<\/p>\n<p>Let\u2019s begin the process of updating a single XenServer by means of local media. Local in this instance means that the administrator has put the update files onto a CD\/DVD\/USB or similar device and will physically connect this media to the XenServer needing updated.<\/p>\n<p>The first step in this whole process is to obtain the patches. Publicly available patches can be obtained from the following URL:<\/p>\n<ol>\n<li><a href=\"http:\/\/support.citrix.com\/article\/CTX138115\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/support.citrix.com\/article\/CTX138115<\/a><\/li>\n<\/ol>\n<p>This guide is going to walk through installing the\u00a0<strong>XenServer 6.5 SP1<\/strong>\u00a0patch both using local media as well as remotely sending the update files to the server and then updating remotely.<\/p>\n<p>The patch files are located here:\u00a0<a href=\"http:\/\/support.citrix.com\/article\/CTX142355\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/support.citrix.com\/article\/CTX142355<\/a><\/p>\n<p>This supplemental pack contains a lot of the patches already put out for\u00a0<strong>XenServer 6.5<\/strong>. It is important to note Citrix\u2019s notes about any patch as many patches require other patches be installed\u00a0<strong>BEFORE!<\/strong>\u00a0The only prerequisite for this patch is that\u00a0<a href=\"https:\/\/www.tecmint.com\/citrix-xenserver-installation-and-network-configuration-in-linux\/\" target=\"_blank\" rel=\"noopener\">XenServer 6.5 be installed<\/a>\u00a0(which should be covered already).<\/p>\n<p>The file can be downloaded via\u00a0<strong>http<\/strong>\u00a0or via the<strong>\u00a0wget<\/strong>\u00a0tool.<\/p>\n<pre># wget -c http:\/\/downloadns.citrix.com.edgesuite.net\/10340\/XS65ESP1.zip\r\n<\/pre>\n<h3>Installing Patches with Local Media<\/h3>\n<p>Once the file is downloaded, the contents of the zip file need to be extracted. This can be accomplished with gui tools or via the command line using the \u2018<strong>unzip<\/strong>\u2018 tool.<\/p>\n<pre># unzip XS65ESP1.zip\r\n<\/pre>\n<p>Upon successful completion, two files should now exist in the current working directory. The one of importance will be the file with the extension \u2018<strong>.xsupdate<\/strong>\u2018.<\/p>\n<div id=\"attachment_15372\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Unpack-Xen-Patch-Update.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-15372\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Unpack-Xen-Patch-Update.jpg\" alt=\"Unpack Xen Patch Update\" width=\"473\" height=\"76\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Unpack Xen Patch Update<\/p>\n<\/div>\n<p>Now the file \u2018<strong>XS54ESP1.xsupdate<\/strong>\u2018 needs to be copied to the installation media. Once the file has been transferred to the media, connect the media to the XenServer in need of the patch.<\/p>\n<p>At this point a monitor and keyboard connected to the server will be needed to complete the update process. Upon connecting a monitor to the XenServer, the XenServer control panel page should be visible. Scroll down to the \u2018<strong>Local Command Shell<\/strong>\u2018 selection and hit enter.<\/p>\n<div id=\"attachment_15373\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Xen-Server-Local-Command-Shell.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15373\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Xen-Server-Local-Command-Shell-523x450.jpg\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Xen-Server-Local-Command-Shell-523x450.jpg 523w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Xen-Server-Local-Command-Shell-1024x882.jpg 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Xen-Server-Local-Command-Shell.jpg 1028w\" alt=\"Xen Server Local Command Shell\" width=\"523\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Xen Server Local Command Shell<\/p>\n<\/div>\n<p>This will prompt the user for the XenServer root user password and upon successfully entering that password, the user will be in a command prompt within the XenServer. At this point, the local media will need to be mounted to be accessible to XenServer. In order to do this, the name of the block device needs to be determined using the \u2018<strong>fdisk<\/strong>\u2018 utility.<\/p>\n<pre># fdisk -l\r\n<\/pre>\n<div id=\"attachment_15374\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Find-Media-Disk.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15374\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Find-Media-Disk-620x341.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Find-Media-Disk-620x341.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Find-Media-Disk-1024x563.jpg 1024w\" alt=\"Find Media Disk\" width=\"620\" height=\"341\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Find Media Disk<\/p>\n<\/div>\n<p>From this output the device name of the USB device plugged into the XenServer can be determined as \u2018<strong>\/dev\/sdb1<\/strong>\u2018 and this is what will need to be mounted in order to access the update file. Mounting this device can be accomplished using the \u2018<strong>mount<\/strong>\u2018 utility.<\/p>\n<pre># mount \/dev\/sdb1 \/mnt\r\n<\/pre>\n<div id=\"attachment_15375\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Mount-Device.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-15375\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Mount-Device.jpg\" alt=\"Mount Device\" width=\"529\" height=\"19\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Mount Device<\/p>\n<\/div>\n<p>Assuming that the system didn\u2019t throw out any errors, the USB device should now be mounted to the \u2018<strong>\/mnt<\/strong>\u2018 directory. Change to this directory and make sure that the update file is indeed showing up in this directory.<\/p>\n<pre># cd \/mnt\r\n# ls\r\n<\/pre>\n<div id=\"attachment_15376\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-Mounted-Device.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15376\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-Mounted-Device-620x40.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-Mounted-Device-620x40.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-Mounted-Device.jpg 816w\" alt=\"Check Mounted Device\" width=\"620\" height=\"40\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check Mounted Device<\/p>\n<\/div>\n<p>At this point, the update file is accessible to the server and ready to be installed using the \u2018<strong>xe<\/strong>\u2018 command. The first thing to do is prepare the patch file and obtain the\u00a0<strong>UUID<\/strong>\u00a0of the patch file with the \u2018<strong>xe patch-upload<\/strong>\u2018 command. This step is important and must be done!<\/p>\n<pre># xe patch-upload file-name=XS65ESP1.xsupdate\r\n<\/pre>\n<div id=\"attachment_15377\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Prepare-XenServer-Patch-File.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15377\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Prepare-XenServer-Patch-File-620x32.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Prepare-XenServer-Patch-File-620x32.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Prepare-XenServer-Patch-File.jpg 879w\" alt=\"Prepare XenServer Patch File\" width=\"620\" height=\"32\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Prepare XenServer Patch File<\/p>\n<\/div>\n<p>The box in red above is the output from the above command and will be needed when ready to actually install the patch to the XenServer system. Now the\u00a0<strong>UUID<\/strong>\u00a0of the XenServer itself is needed and can be determined again by passing arguments to the \u2018<strong>xe<\/strong>\u2018 command.<\/p>\n<pre># xe host-list\r\n<\/pre>\n<div id=\"attachment_15378\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-XenServer-UUID.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15378\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-XenServer-UUID-620x50.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-XenServer-UUID-620x50.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-XenServer-UUID.jpg 896w\" alt=\"Check XenServer UUID\" width=\"620\" height=\"50\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check XenServer UUID<\/p>\n<\/div>\n<p>Again the box in red is the\u00a0<strong>UUID<\/strong>\u00a0value that will be needed in order to apply the patch to this particular XenServer. At this point all of the necessary commands have been run and the UUID\u2019s determine.<\/p>\n<p>Once more using the \u2018<strong>xe<\/strong>\u2018 command with different arguments, XenServer will be instructed to install the supplemental pack to this local system.<\/p>\n<pre># xe patch-apply uuid=7f2e4a3a-4098-4a71-84ff-b0ba919723c7 host-uuid=be0eeb41-7f50-447d-8561-343edde9fad2\r\n<\/pre>\n<div id=\"attachment_15379\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Install-Supplimentary-Patch.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15379\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Install-Supplimentary-Patch-620x25.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Install-Supplimentary-Patch-620x25.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Install-Supplimentary-Patch.jpg 1012w\" alt=\"Apply Patch to XenServer\" width=\"620\" height=\"25\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Apply Patch to XenServer<\/p>\n<\/div>\n<p>At this point, the system will begin installing the update but will show nothing more than a flashing cursor until the process is completed. Once the system returns to a command prompt, the system can be checked to confirm that the patch was indeed installed again using the \u2018xe\u2019 command with different arguments.<\/p>\n<pre># xe patch-list | grep -i sp1\r\n<\/pre>\n<p>This command will list all patches applied and then pipe that output into\u00a0<strong>grep<\/strong>\u00a0which will search for the string \u2018<strong>sp1<\/strong>\u2018 regardless of case. If nothing is returned, then the patch likely did not install successfully.<\/p>\n<div id=\"attachment_15380\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-XenServer-Installed-Patches.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15380\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-XenServer-Installed-Patches-620x32.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-XenServer-Installed-Patches-620x32.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-XenServer-Installed-Patches.jpg 1020w\" alt=\"List XenServer Installed Patches\" width=\"620\" height=\"32\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">List XenServer Installed Patches<\/p>\n<\/div>\n<p>If the command returns output similar to the above screen-shot, then the supplemental pack was installed successfully!<\/p>\n<h3>Installing Patches Remotely<\/h3>\n<p>In the event that the administrator doesn\u2019t have physical access to the XenServer or has the option to install patches remotely, the following steps will walk through patching the system remotely.<\/p>\n<p>The first steps for installing the patches remotely is downloading the patch files from Citrix. The file can be downloaded via\u00a0<strong>http<\/strong>\u00a0or via the\u00a0<strong>wget<\/strong>\u00a0tool.<\/p>\n<pre># wget -c http:\/\/downloadns.citrix.com.edgesuite.net\/10340\/XS65ESP1.zip\r\n<\/pre>\n<p>Now the update zip file needs to be transferred to the XenServer system. The entire zip file can be transferred or the contents of the zip can be extracted and then only the file ending in \u2018<strong>.xsupdate<\/strong>\u2018 can be transferred.<\/p>\n<p>This can easily be accomplished through the use of the secure copy tool, \u2018<a href=\"https:\/\/www.tecmint.com\/scp-commands-examples\/\" target=\"_blank\" rel=\"noopener\">scp<\/a>\u2018. This will assume that the XenServer still has\u00a0<strong>SSH<\/strong>\u00a0enabled and that the user has the ability to SSH into the system.<\/p>\n<pre># scp XS65ESP1.xsupdate root@server_ip:\/root\/<\/pre>\n<p>The above command will transfer the file \u2018<strong>XS65ESP1.xsupdate<\/strong>\u2018 to the system indicated by \u2018<strong>server_ip<\/strong>\u2018 and place the file in the directory \u2018<strong>\/root<\/strong>\u2018.<\/p>\n<div id=\"attachment_15381\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Upload-Xen-Patch-to-XenServer.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15381\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Upload-Xen-Patch-to-XenServer-620x35.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Upload-Xen-Patch-to-XenServer-620x35.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Upload-Xen-Patch-to-XenServer.jpg 929w\" alt=\"Upload Patch to XenServer\" width=\"620\" height=\"35\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Upload Patch to XenServer<\/p>\n<\/div>\n<p>The transfer appears to have been successful and the rest of the process will require a command shell to the XenServer via SSH.<\/p>\n<pre># ssh root@server_ip\r\n<\/pre>\n<p>This will log into the XenServer and place the user in root\u2019s home directory. From the previous\u00a0<strong>scp<\/strong>\u00a0command, root\u2019s home directory is the place where the file should have been transferred. Using the \u2018<strong>ls<\/strong>\u2018 command, confirm that the patch files are indeed on the system.<\/p>\n<pre># ls -l\r\n<\/pre>\n<div id=\"attachment_15382\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Confirm-Xen-Patches.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-15382\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Confirm-Xen-Patches.jpg\" alt=\"Confirm Xen Patches\" width=\"533\" height=\"68\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Confirm Xen Patches<\/p>\n<\/div>\n<p>The output above shows that the\u00a0<strong>xsupdate<\/strong>\u00a0file is indeed in root\u2019s home directory and confirms the the\u00a0<strong>scp<\/strong>command earlier was successful. Now a series of \u2018<strong>xe<\/strong>\u2018 commands are needed to prepare this patch for installation.<\/p>\n<p>The first \u2018<strong>xe<\/strong>\u2018 command will return the\u00a0<strong>UUID<\/strong>\u00a0of the patch file to be installed.<\/p>\n<pre># xe patch-upload file-name=XS65ESP1.xsupdate\r\n<\/pre>\n<div id=\"attachment_15383\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Confirm-Patch-UUID.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-15383\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Confirm-Patch-UUID.jpg\" alt=\"Confirm Patch UUID\" width=\"534\" height=\"33\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Confirm Patch UUID<\/p>\n<\/div>\n<p>The string of numbers in red indicate the\u00a0<strong>UUID<\/strong>\u00a0of the patch file to be installed and will become important in a few steps.<br \/>\nThe next process is to again use the \u2018<strong>xe<\/strong>\u2018 utility to determine the\u00a0<strong>UUID<\/strong>\u00a0of the\u00a0<strong>XenServer<\/strong>\u00a0on which this patch will be applied.<\/p>\n<pre># xe host-list\r\n<\/pre>\n<div id=\"attachment_15384\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Find-XenServer-UUID.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-15384\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Find-XenServer-UUID.jpg\" alt=\"Find XenServer UUID\" width=\"534\" height=\"75\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Find XenServer UUID<\/p>\n<\/div>\n<p>Again the\u00a0<strong>UUID<\/strong>\u00a0in red will be needed to specify which\u00a0<strong>XenServer<\/strong>\u00a0instance to apply this particular patch. Now that all of the UUID\u2019s are available, it is time to apply the patch to the system with the use of the \u2018<strong>xe<\/strong>\u2018 utility.<\/p>\n<pre># xe patch-apply uuid=7f2e4a3a-4098-4a71-84ff-b0ba919723c7 host-uuid=84174331-b35b-42c8-9698-eee7167708f2\r\n<\/pre>\n<div id=\"attachment_15385\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Apply-Patch-to-XenServer.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15385\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Apply-Patch-to-XenServer-620x14.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Apply-Patch-to-XenServer-620x14.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Apply-Patch-to-XenServer.jpg 1009w\" alt=\"Apply Patch to XenServer\" width=\"620\" height=\"14\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Apply Patch to XenServer<\/p>\n<\/div>\n<p>At this point, the prompt will display nothing but a flashing cursor until the patch installs. Once the prompt returns, confirmation of the patch installation can be determined by another \u2018<strong>xe<\/strong>\u2018 command.<\/p>\n<pre># xe patch-list | grep -i sp1\r\n<\/pre>\n<div id=\"attachment_15386\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-Installed-Xen-Patches.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15386\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-Installed-Xen-Patches-620x45.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-Installed-Xen-Patches-620x45.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/08\/Check-Installed-Xen-Patches.jpg 743w\" alt=\"Check Installed Xen Patches\" width=\"620\" height=\"45\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check Installed Xen Patches<\/p>\n<\/div>\n<p>If the above command doesn\u2019t produce any output, there may have been an issuing installing the patch. Otherwise, the output above indicates that the patch was successfully applied to this particular system!<\/p>\n<p>If you have made it to this point of the article, hopefully\u00a0<strong>XenServer 6.5<\/strong>\u00a0is running and completely patched with\u00a0<strong>SP1<\/strong>.<\/p>\n<p>In the not too distant future there will be more articles covering setting up XenServer storage repositories, networking, creating virtual machines, managing XenServer with a web interface known as Xen Orchestra, and managing XenServer with the approved Citrix application known as XenCenter.<\/p>\n<h1 class=\"post-title\">XenServer Network (LACP Bond, VLAN and Bonding) Configuration \u2013 Part 3<\/h1>\n<p>In the third part of this series, the configuration of networking in\u00a0<strong>XenServer<\/strong>\u00a0will be discussed. Networking in XenServer is often a little difficult to grasp at first but is actually quite simple. The first task before configuration is to step back and understand all of the new terminology used by XenServer in reference to networking.<\/p>\n<div id=\"attachment_16241\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Network-Configuration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-16241\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Network-Configuration.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Network-Configuration.png 719w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Network-Configuration-620x294.png 620w\" alt=\"XenServer Network Configuration\" width=\"620\" height=\"294\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Network Configuration \u2013 Part 3<\/p>\n<\/div>\n<p><strong>Read Also<\/strong>:<\/p>\n<p><i class=\"fa fa-check\"><\/i>\u00a0<a href=\"https:\/\/www.tecmint.com\/citrix-xenserver-installation-and-network-configuration-in-linux\/\" target=\"_blank\" rel=\"noopener\">Installing and Configuring XenServer \u2013 Part 1<\/a><\/p>\n<p><i class=\"fa fa-check\"><\/i>\u00a0<a href=\"https:\/\/www.tecmint.com\/install-xenserver-patches-in-linux\/\" target=\"_blank\" rel=\"noopener\">Installing XenServer Important Patches \u2013 Part 2<\/a><\/p>\n<p><strong>XenServer<\/strong>, as a virtualization platform, introduces virtual interfaces for the guests that have to be mapped to physical interfaces or networks on the actual physical network that the XenServer itself is connected. This mapping is what often leads to confusion. So let\u2019s take a look at these new terms and how they allow guests to interact with the actual physical network that is connected to the XenServer.<\/p>\n<p>XenServer introduces three new terms when it comes to networking. The first of which is generally the easiest to understand as it is simply a variant of the traditional\u00a0<strong>Network Interface Card<\/strong>\u00a0(<strong>NIC<\/strong>). In XenServer, the actual physical NICs of a system are often referenced as Physical Interfaces or its acronym of \u2018<strong>PIF<\/strong>\u2018.<\/p>\n<p>The second term that XenServer will use is what is known as a\u00a0<strong>Virtual Interface<\/strong>\u00a0or more commonly its acronym of \u2018<strong>VIF<\/strong>\u2018. These Virtual Interfaces represent the Network Interface Cards that will be attached to the guests (virtual machines) running on the XenServer.<\/p>\n<p>The third term that is often used when talking about XenServer networking is the\u00a0<strong>Xen Bridge<\/strong>\u00a0whose acronym will vary but typically will be represented as \u2018<strong>xenbr0<\/strong>\u2018. These bridges are created at the time of the XenServer install and one is created per each PIF (Physical Interface) that is found during the installation. These bridges are used to allow VIF (Virtual Interfaces) to communicate through PIF (Physical Interfaces).<\/p>\n<p>Now that the terminology is out of the way, there are some special caveats when working with virtual interfaces. Since the virtual interfaces will be used to connect guests to networks, it is important to understand what is needed from these interfaces. One caveat that will cause individuals lots of grief is when a guest needs connectivity to two real networks from a XenServer.<\/p>\n<p>In order to accomplish this task the virtual machine (<strong>guest<\/strong>) will need to have\u00a0<strong>2 VIFs<\/strong>\u00a0(virtual interfaces) connected to it so that each can be on the appropriate network. This will require some manipulation of the guest\u2019s routing table as well to ensure that guests communicate out the proper interfaces.<\/p>\n<p>Another caveat with virtual interfaces is that each one needs its own\u00a0<strong>Media Access Control<\/strong>\u00a0address or MAC address. XenServer can automatically assign a randomly generated MAC address or an administrator can manually assign them as well.<\/p>\n<p>The last couple of paragraphs have greatly condensed a lot of the networking concepts within XenServer. Sometimes reading isn\u2019t nearly as easy to comprehend as seeing drawings or actually configuring.<\/p>\n<p>Below is a diagram that attempts to cover the concepts introduced before the actual configuration of XenServer networking.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Networking.png\"><img decoding=\"async\" class=\"size-medium wp-image-16101\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Networking.png\" sizes=\"(max-width: 758px) 100vw, 758px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Networking.png 758w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Networking-398x450.png 398w\" alt=\"XenServer Networking Diagram\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p><strong>Figure 1<\/strong>\u00a0introduces the major terms involved in XenServer networking. Now that the terminology is out of the way, it is time to begin configuring the physical interfaces to allow the XenServer host and guests connectivity.<\/p>\n<p><strong>XenServer<\/strong>\u00a0typically requires an interface for management traffic and an interface for guest traffic, however, this guide will be showing how to setup bonds for redundancy as well as link aggregation.<\/p>\n<p>As a result this guide will assume the following about the physical wiring of the XenServer host:<\/p>\n<ol>\n<li>The server has four total PIFs (Physical Interfaces).<\/li>\n<li>The first two PIF interfaces are wired to a switch and will be aggregated via LACP (guide will cover this on the XenServer side but LACP requires the switch side be configured as well).<\/li>\n<li>The remaining two PIF interfaces are wired to a switch and are on the same network and will be used for management traffic as well as storage traffic.<\/li>\n<li>Remaining PIF interfaces will be setup in an active\/failover setup.<\/li>\n<\/ol>\n<p><strong>Figure 2<\/strong>\u00a0to below details out the wiring for this particular XenServer. Realize that there are many ways to setup XenServer networking. The configuration is dependent upon the organization and the role of the XenServer. The solution here was chosen as it allows for some common configurations on a XenServer to be discussed.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Network-Physical.png\"><img decoding=\"async\" class=\"size-medium wp-image-16105\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Network-Physical.png\" sizes=\"(max-width: 834px) 100vw, 834px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Network-Physical.png 834w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Network-Physical-150x150.png 150w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Network-Physical-451x450.png 451w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Network-Physical-160x160.png 160w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenServer-Network-Physical-320x320.png 320w\" alt=\"XenServer Network Physical\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p>Now that all of the conceptualization is complete, let\u2019s begin the actual configuration process.<\/p>\n<p>This guide assumes that all configuration will be done using the\u00a0<strong>XenServer CLI<\/strong>. Normally the management interface is configured during XenServer installation but this guide will assume that nothing is configured other than XenServer being installed.<\/p>\n<p>The first task is to obtain the information about the physical interfaces on this particular XenServer. This is accomplished with a utility known as \u2018<strong>xe<\/strong>\u2018.<\/p>\n<pre># xe pif-list\r\n<\/pre>\n<p>This will return most of the crucial information needed to configure these network interfaces. The most important parts from this output include the traditional Linux name for the interfaces (<strong>eth0<\/strong>,\u00a0<strong>eth1<\/strong>, etc) and the\u00a0<strong>UUID<\/strong>\u00a0of each of those interfaces.<\/p>\n<p>The configurations done will require the\u00a0<strong>UUID<\/strong>\u00a0of the interface rather than the name so it is important to understand how the two are mapped logically in XenServer.<\/p>\n<div id=\"attachment_16106\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XE-PIF-List.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-16106\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XE-PIF-List-620x366.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XE-PIF-List-620x366.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XE-PIF-List.jpg 802w\" alt=\"XenServer Physical Network Interfaces List\" width=\"620\" height=\"366\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Physical Network Interfaces List<\/p>\n<\/div>\n<p>A special note of caution, it isn\u2019t out of the realm of possibilities for XenServer to initialize\u00a0<strong>PIF<\/strong>\u00a0interfaces in an odd order or an order that makes pool network settings break.<\/p>\n<p>In the event that XenServer initializes a\u00a0<strong>PIF<\/strong>\u00a0with an incorrect \u2018<strong>eth<\/strong>\u2018 identifier, there is a utility that will allow for renaming of the interfaces built into XenServer. The utility is \u2018<strong>interface-rename<\/strong>\u2018 and it has seen its fair amount of use by the author.<\/p>\n<p>Now that a list of PIFs is available, the configuration of the appropriate networks to the appropriate interfaces can take place. For this server the PIF configuration will be as follows:<\/p>\n<ol>\n<li><strong>eth0 and eth1<\/strong>: Configured into an\u00a0<strong>LACP<\/strong>\u00a0bond connected to a trunk. These interfaces will be used later for guest traffic.<\/li>\n<li><strong>eth2 and eth3<\/strong>: Configured into an Active\/Passive fail-over for Management and iSCSI traffic. These interfaces are connected to access ports on the switch.<\/li>\n<\/ol>\n<h3>Step 2: Creating a LACP Network Bond<\/h3>\n<p>Let\u2019s begin by making the\u00a0<strong>LACP<\/strong>\u00a0bond connection first.\u00a0<strong>In order to do this, the switch MUST be configured for LACP!<\/strong>\u00a0This will not work if the switch isn\u2019t setup for LACP as well. Again the \u2018<strong>xe<\/strong>\u2018 command will be used to configure these PIFs. The first step is to create the bonded network.<\/p>\n<pre># xe network-create name-label=\u201d<strong>Tecmint-LACP-Bond<\/strong>\u201d\r\n<\/pre>\n<p>This command will create a new XenServer network called\u00a0<strong>Tecmint-LACP-Bond<\/strong>. Once this command is issued, a\u00a0<strong>UUID<\/strong>\u00a0for this network will be displayed in the terminal. Keep this UUID as it will be needed when adding the PIFs to the bond.<\/p>\n<div id=\"attachment_16107\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Network-UUID.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16107\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Network-UUID.png\" alt=\"Create XenServer Network LACP Bond\" width=\"540\" height=\"36\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Create XenServer Network LACP Bond<\/p>\n<\/div>\n<p>In the event that the\u00a0<strong>UUID<\/strong>\u00a0wasn\u2019t written down or is forgotten, it can always be recovered using the following\u00a0<strong>xe<\/strong>command.<\/p>\n<pre># xe network-list name-label=\"<strong>Tecmint-LACP-Bond<\/strong>\"\r\n<\/pre>\n<p>This will return the network\u2019s information and specifically the UUID necessary for adding PIFs to the network.<\/p>\n<div id=\"attachment_16108\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XE-Net-UUID.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16108\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XE-Net-UUID.png\" alt=\"Check XenServer Network UUID\" width=\"554\" height=\"93\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check XenServer Network UUID<\/p>\n<\/div>\n<p>Now the proper\u00a0<strong>PIFs<\/strong>\u00a0need to be added to the network. The physical wiring for this server connects\u00a0<strong>eth0<\/strong>\u00a0and\u00a0<strong>eth1<\/strong>\u00a0to a switch that is configured with LACP.<\/p>\n<pre># xe bond-create mode=lacp network-uuid=fc5a79cd-a90e-c6a2-a0ff-2bf235cf7a81 pif-uuids=f6dc2f62-24b1-419f-0d61-02365848ffb0,a398d6c8-341d-3846-b0ca-226cafe4a6b8 \r\n<\/pre>\n<p>This is a busy command; let\u2019s take a look at what is happening. \u201c<code>xe bond-create mode=lacp<\/code>\u201d indicates to the XenServer that a bond is being created and the mode will be LACP.<\/p>\n<p>The \u201c<code>network-uuid=<\/code>\u201d indicates the UUID of the network that was created on the XenServer earlier.<\/p>\n<p>The \u201c<code>pif-uuids=<\/code>\u201d is a comma separated list of the UUIDs for each of the PIFs that are to be apart of the LACP bond. If this command is successful, it will reply with the UUID of the newly created network bond.<\/p>\n<div id=\"attachment_16109\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Xe-Bond-create.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-16109\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Xe-Bond-create-620x26.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Xe-Bond-create-620x26.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Xe-Bond-create-1024x42.png 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Xe-Bond-create.png 1424w\" alt=\"XenServer Network Bond UUID\" width=\"620\" height=\"26\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Network Bond UUID<\/p>\n<\/div>\n<p>As with all system administration tasks, it is always a good idea to confirm that changes are recognized by the system.<\/p>\n<pre># xe bond-list\r\n<\/pre>\n<div id=\"attachment_16110\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Bond-List.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-16110\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Bond-List-620x83.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Bond-List-620x83.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Bond-List.png 773w\" alt=\"List XenServer Bond Nework Information\" width=\"620\" height=\"83\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">List XenServer Bond Nework Information<\/p>\n<\/div>\n<p>From this output it is clear that the XenServer indeed has created the bond and attached the two\u00a0<strong>PIFs<\/strong>\u00a0that were indicated on the command line.<\/p>\n<h3>Step 3: Creating a XenServer Network VLAN<\/h3>\n<p>At this point the\u00a0<strong>LACP<\/strong>\u00a0bond is ready to be used. Since this particular LACP bond is a trunk, it will be important to create tagged external networks so that traffic will have the proper VLAN tag.<\/p>\n<p>Let\u2019s visit this process now. The first step is to create a new network for this particular VLAN. This is the same as what was done to create the bond in the first place.<\/p>\n<pre># xe network-create name-label=VLAN10 name-description=\"<strong>Tecmint test VLAN 10<\/strong>\"\r\n<\/pre>\n<p>As with all of the other\u00a0<strong>xe<\/strong>\u00a0commands, this one when successful, will output the\u00a0<strong>UUID<\/strong>\u00a0of the newly created network. Keep this handy as it will be needed soon.<\/p>\n<div id=\"attachment_16113\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Xe-External-Net.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-16113\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Xe-External-Net-620x30.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Xe-External-Net-620x30.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Xe-External-Net.png 749w\" alt=\"Create XenServer VLAN Network\" width=\"620\" height=\"30\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Create XenServer VLAN Network<\/p>\n<\/div>\n<p>The next step is to determine the\u00a0<strong>UUID<\/strong>\u00a0of the\u00a0<strong>PIF<\/strong>\u00a0that this\u00a0<strong>VLAN<\/strong>\u00a0network will use. In this example, the\u00a0<strong>LACP<\/strong>bond from the previous steps will be used to support VLANs. Using\u00a0<strong>xe<\/strong>, the UUID of the bond interface can be determined.<\/p>\n<pre># xe pif-list network-name-label=\"<strong>Tecmint-LACP-Bond<\/strong>\"\r\n<\/pre>\n<p><center>This will return the\u00a0<strong>UUID<\/strong>\u00a0of the\u00a0<strong>bond0<\/strong>\u00a0interface. This UUID will be necessary for the VLAN network so that the tagged traffic knows what interface to exit the XenServer.<\/center><\/p>\n<div id=\"attachment_16114\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Xe-Vlan-PIF-uuid.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16114\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Xe-Vlan-PIF-uuid.png\" alt=\"List XenServer VLAN Network UUID\" width=\"552\" height=\"133\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">List XenServer VLAN Network UUID<\/p>\n<\/div>\n<p>From this point all the necessary information is available to build the\u00a0<strong>xe<\/strong>\u00a0command to create a VLAN tagged network.<\/p>\n<pre># xe vlan-create network-uuid=cfe987f0-b37c-dbd7-39be-36e7bfd94cef pif-uuid=ca9a221c-d77f-a118-a274-badd85624fd3 vlan=10\r\n<\/pre>\n<div id=\"attachment_16115\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Vlan-Network.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-16115\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Vlan-Network-620x21.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Vlan-Network-620x21.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Vlan-Network-1024x35.png 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Vlan-Network.png 1102w\" alt=\"Create XenServer VLAN Tagged Network\" width=\"620\" height=\"21\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Create XenServer VLAN Tagged Network<\/p>\n<\/div>\n<p>The\u00a0<strong>UUID<\/strong>\u00a0returned here indicates the host that this new VLAN network was created on and isn\u2019t actually needed for any further steps. As with all steps, it is always a good idea to confirm that the changes were applied.<\/p>\n<p>To confirm the new VLAN network:<\/p>\n<pre># xe vlan-list tag=10\r\n<\/pre>\n<p>This will return the information for the\u00a0<strong>VLAN 10<\/strong>\u00a0network just created as well as the associated PIFs.<\/p>\n<div id=\"attachment_16116\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Xe-Vlan-confirm.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16116\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Xe-Vlan-confirm.png\" alt=\"Check XenServer VLAN Network Information\" width=\"513\" height=\"110\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check XenServer VLAN Network Information<\/p>\n<\/div>\n<p>This XenServer now has a\u00a0<strong>LACP<\/strong>\u00a0bonded network as well as one network that is ready to tag traffic for a\u00a0<strong>VLAN 10<\/strong>. This\u00a0<strong>VLAN 10<\/strong>\u00a0network can be added to a\u00a0<strong>VIF<\/strong>\u00a0(virtual interface) on a guest to allow guest traffic to be tagged by the virtual switch and sent across the trunk setup between the switch and the XenServer.<\/p>\n<h3>Step 4: XenServer Active\/Passive Network Bonding<\/h3>\n<p>Now let\u2019s take a look at storage and management traffic. This server currently only has two\u00a0<strong>PIFs<\/strong>\u00a0left for use and as such there are two options for how to proceed.<\/p>\n<p>Each of the remaining PIFs could be used for one type of traffic or the two PIFs could be bonded together in an active\/passive fail-over with both management and storage traffic going across the same set of PIFs (please note that according to Citrix, the management interface doesn\u2019t support load balancing).<\/p>\n<p>This process will be completed in a similar fashion to the\u00a0<strong>LACP<\/strong>\u00a0bond previously. The first step is to create the network for this bond.<\/p>\n<pre># xe network-create name-label=\"<strong>Management\/Storage Bond<\/strong>\"\r\n# xe network-list name-label=\"<strong>Management\/Storage Bond<\/strong>\"\r\n<\/pre>\n<div id=\"attachment_16117\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Manage-net.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16117\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Manage-net.png\" alt=\"Create XenServer Active\/Passive Bonding\" width=\"595\" height=\"42\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Create XenServer Active\/Passive Bonding<\/p>\n<\/div>\n<div id=\"attachment_16118\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Manage-net-confirm.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16118\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/Manage-net-confirm.png\" alt=\"Confirm XenServer Active\/Passive Bonding\" width=\"582\" height=\"89\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Confirm XenServer Active\/Passive Bonding<\/p>\n<\/div>\n<p>Again don\u2019t forget to keep track of the\u00a0<strong>UUID<\/strong>\u00a0as it will be needed to attach\u00a0<strong>PIFs<\/strong>\u00a0to the bond network that is about to be created. The next step is to actually create the bond and in order to do this, the UUID for the other two PIFs will need to be determined.<\/p>\n<pre># xe pif-list device=eth2 \r\n# xe pif-list device=eth3\r\n# xe bond-create mode=active-backup network-uuid=<strong>&lt;network_UUID&gt;<\/strong> pif-uuids=<strong>&lt;PIF_UUIDs&gt;<\/strong><\/pre>\n<p>Be sure to substitute the proper information from the prior commands for the\u00a0<strong>UUIDs<\/strong>\u00a0in the last command. At this point the system will return the UUID of the bond that was created.<\/p>\n<div id=\"attachment_16119\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/xe-manage-bond.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-16119\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/xe-manage-bond-620x254.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/xe-manage-bond-620x254.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/xe-manage-bond-1024x419.jpg 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/xe-manage-bond.jpg 1040w\" alt=\"Create XenServer Network Bond\" width=\"620\" height=\"254\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Create XenServer Network Bond<\/p>\n<\/div>\n<p>Then the creation of the bond can be confirmed with another\u00a0<strong>xe<\/strong>\u00a0command.<\/p>\n<pre># xe bond-list \r\n<\/pre>\n<div id=\"attachment_16120\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/xe-manage-bond-confirm.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-16120\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/xe-manage-bond-confirm-620x141.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/xe-manage-bond-confirm-620x141.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/xe-manage-bond-confirm.png 755w\" alt=\"Confirm XenServer Network Bond UUID's\" width=\"620\" height=\"141\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Confirm XenServer Network Bond UUID\u2019s<\/p>\n<\/div>\n<p>From the output here, the\u00a0<strong>UUIDs<\/strong>\u00a0of the bonds can be compared. Notice that the second UUID matches the UUID returned from the bond-create command in the above photo.<\/p>\n<p>At this point the\u00a0<strong>4 PIF<\/strong>\u00a0interfaces on this XenServer are members of\u00a0<strong>bonds<\/strong>. One of the\u00a0<strong>bonds<\/strong>\u00a0is a trunk and has\u00a0<strong>one VLAN<\/strong>\u00a0tag network ready to be sent across this trunk bond. The other bond is an\u00a0<strong>active\/passive bond<\/strong>\u00a0that is used for network storage as well as management of the XenServer itself.<\/p>\n<p>For illustrative purposes, once these networks have been created, they can also be verified within\u00a0<strong>Citrix\u2019s XenCenter<\/strong>\u00a0application rather than the command line. This guide has used the CLI for these tasks as XenCenter is not installable on Linux.<\/p>\n<div id=\"attachment_16121\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenCenter-confirm.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-16121\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenCenter-confirm-620x175.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenCenter-confirm-620x175.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/10\/XenCenter-confirm.png 790w\" alt=\"Verify XenServer Network Configuration\" width=\"620\" height=\"175\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Verify XenServer Network Configuration<\/p>\n<\/div>\n<p>This concludes this brief introduction to networking in XenServer. The next article in this series will begin working with XenServer storage solutions.<\/p>\n<p>In the fourth article of this\u00a0<a href=\"https:\/\/www.tecmint.com\/citrix-xenserver-installation-and-network-configuration-in-linux\/\" target=\"_blank\" rel=\"noopener\">XenServer series<\/a>, storage solutions will be discussed. Much like networking, storage solutions in XenServer are often difficult to grasp at first. Before beginning any configuration, the new terminology and concepts involved in XenServer storage should be discussed.<\/p>\n<div id=\"attachment_17041\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/11\/Add-Xenserver-Storage-Repository.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17041\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/11\/Add-Xenserver-Storage-Repository.png\" alt=\"Add Xenserver Storage Repository\" width=\"720\" height=\"345\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Add Xenserver Storage Repository \u2013 Part 4<\/p>\n<\/div>\n<p><strong>XenServer<\/strong>\u00a0introduces several new terms to the traditional storage terminology list. While understanding the concepts are always important when working with any IT system, storage isn\u2019t nearly as crucial as the prior article covering networking concepts. However, this article will still take the time to explain and attempt to clarify these storage concepts.<\/p>\n<p>The first thing to remember with XenServer storage is that we have storage for the actual XenServer host and then we also have storage for the guest or virtual machines that will run on the XenServer host. Conceptually this is simple to grasp but managing it can be a daunting task if the administrator is unfamiliar with the purposes of each of the storage aspects.<\/p>\n<p>The first term is known as\u00a0<strong>\u2018SR\u2019<\/strong>\u00a0or\u00a0<strong>Storage Repository<\/strong>. This is arguably the most important term in XenServer storage as it represents the physical medium to which virtual machine disks will be stored and retrieved. Storage repositories can be any of several different types of storage systems including, local storage attached physically to the XenServer host, iSCSI\/Fibre Channel LUN,\u00a0<a href=\"https:\/\/www.tecmint.com\/setting-up-nfs-server-with-kerberos-based-authentication\/\" target=\"_blank\" rel=\"noopener\">NFS Network File Shares<\/a>, or storage on a Dell\/NetApp storage appliance.<\/p>\n<p>Storage repositories can be shared or dedicated and can support numerous useful features such as fast cloning, sparse allocation (storage provisioned as the virtual machine needs it), and re-sizable virtual disk images (more on these later).<\/p>\n<p>Storage repositories, SR, are logically connected to a XenServer host with what is known as a\u00a0<strong>Physical Block Device<\/strong>, more commonly referenced as\u00a0<strong>\u2018PBD\u2019<\/strong>. The\u00a0<strong>PBD<\/strong>\u00a0is simply a reference to a storage location. These PBD objects can be \u201cplugged\u201d into a XenServer host to allow that host to read\/write information to that storage repository.<\/p>\n<p>The purpose of Storage repositories is primarily to store the virtual machine\u00a0<strong>Virtual Disk Image<\/strong>\u00a0(VDI) files. VDI files are spots on a SR that have been allocated to hold operating system and other files for virtual machine running on the XenServer host. VDI files can be any of several different types. The type is determine by the type of storage repository.<\/p>\n<p>Common VDI types in XenServer are Logical Volumes (LV) managed by Logical Volume Manager, Virtual Hard Disk (VHD), or they can be Logical Unit Numbers (LUN) on a Dell or NetApp storage device.\u00a0<strong>Note<\/strong>: This article will be using LUNs on a Dell storage device.<\/p>\n<p>These VDI files are connected to virtual machines logically through an object known as a\u00a0<strong>Virtual Block Device<\/strong>, commonly referenced as\u00a0<strong>\u2018VBD\u2019<\/strong>. These VBD objects can be attached to virtual guests which then allows the guest machine to access the data stored in that particular VDI on a respective SR.<\/p>\n<p>Much like networking in XenServer, reading about storage is one thing but being able to see the relationship amongst each of these items often solidifies the concepts. The common diagrams used to represent XenServer storage concepts often confuses newer people as the diagrams are often read in a linear fashion. Below is one such image borrowed from Citrix.<\/p>\n<div id=\"attachment_17037\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/11\/Citrix-XenServer-Storage-Concepts.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17037\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/11\/Citrix-XenServer-Storage-Concepts.png\" alt=\"Citrix XenServer Storage Concepts\" width=\"664\" height=\"374\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Citrix XenServer Storage Concepts<\/p>\n<\/div>\n<p>Many individuals read this linearly from left to right thinking that each part is a separate physical device. This isn\u2019t the case and often leads to much confusion about how XenServer storage works. The graphic below attempts to explain the concepts in a less linear but more pragmatic manner.<\/p>\n<div id=\"attachment_17038\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/11\/XenServer-Storage-Works.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17038\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/11\/XenServer-Storage-Works.png\" alt=\"XenServer Storage Works\" width=\"816\" height=\"1056\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Storage Works<\/p>\n<\/div>\n<p>Hopefully the above graphic doesn\u2019t further confuse individuals about XenServer storage. The second image is an attempt to show the logical connections (<strong>PBD<\/strong>\u00a0and\u00a0<strong>VBD<\/strong>) that are used to connect XenServers and guests to remote storage over one actual network connection.<\/p>\n<p>With the conceptualization out of the way; the configuration can begin. Recalling from the first article in this series, this guide is using a Dell PS5500E iSCSI storage device for the storage of the virtual machine (guests) disks. This guide will not be walking through configuration of the Dell iSCSI device.<\/p>\n<h4>System Configuration:<\/h4>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/citrix-xenserver-installation-and-network-configuration-in-linux\/\" target=\"_blank\" rel=\"noopener\">XenServer 6.5 installed and patched<\/a>\u00a0(Part 1 of series)<\/li>\n<li>Dell PS5500E iSCSI device (other iSCSI devices can be used just substitute environment information where needed).<\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/xenserver-network-lacp-bond-vlan-and-bonding-configuration\/\" target=\"_blank\" rel=\"noopener\">XenServer network interfaces configured<\/a>\u00a0(Part 3 of series).<\/li>\n<li>iSCSI device and XenServer can logically see each other (via ping utility).<\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/setup-samba-file-sharing-for-linux-windows-clients\/\" target=\"_blank\" rel=\"noopener\">CIFS (SAMBA) Server running<\/a>\u00a0and hosting a share of CD ISO files (not required but very useful).<\/li>\n<\/ol>\n<h3>Citrix XenServer Storage Repository Creation<\/h3>\n<p>This first process will go through the steps to create a\u00a0<a href=\"https:\/\/www.tecmint.com\/create-centralized-secure-storage-using-iscsi-targetin-linux\/\" target=\"_blank\" rel=\"noopener\">software iSCSI initiator<\/a>\u00a0from the XenServer host to the Dell PS5500E.<\/p>\n<p>This particular\u00a0<strong>LUN<\/strong>\u00a0uses\u00a0<strong>Challenge-Handshake Authentication Protocol<\/strong>\u00a0(<strong>CHAP<\/strong>) to restrict access to the iSCSI volume to certain authorized parties.<\/p>\n<p>To create the storage repository, a traditional\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command will occur. The proper iSCSI information needs to be obtained before creating the Storage Repository.<\/p>\n<p>Passing the\u00a0<strong>\u2018sr-probe\u2019<\/strong>\u00a0parameter to the\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0utility will instruct the XenServer to query a storage device for the iSCSI IQN (iSCSI Qualified Name).<\/p>\n<p>The first command will look intense at first but it\u2019s not as bad as it looks.<\/p>\n<pre># xe sr-probe type=lvmoiscsi device-config:target=X.X.X.X device-config:chapuser=\"tecmint\" device-config:chappassword=\"tecmint_chap\"\r\n<\/pre>\n<p>This first command is needed to gather the\u00a0<strong>SCSI IQN<\/strong>\u00a0for the Storage repository configuration. Before moving on, let\u2019s take a look at all the parts of this command.<\/p>\n<ol>\n<li><strong>sr-probe<\/strong>\u00a0\u2013 Used to query the iSCSI device for information about the volume created for this XenServer host.<\/li>\n<li><strong>type=<\/strong>\u00a0Used to tell the XenServer the storage repository type. This will vary depending on what system is being used. Due to the usage of the Dell PS5500, lvm over iSCSI is used in this command. Be sure to modify to fit the storage device type.<\/li>\n<li><strong>device-config:target=<\/strong>\u00a0Used to tell the XenServer what iSCSI device to query by IP address.<\/li>\n<li><strong>device-config:chapuser=<\/strong>\u00a0This is used to authenticate to the iSCSI device. In this example an iSCSI volume has been created previously for the user \u201c<strong>tecmint<\/strong>\u201d. By sending the user-name and password in this command, the iSCSI device will respond back with the necessary information to finish creating the storage repository.<\/li>\n<li><strong>device-config:chappassword=<\/strong>\u00a0This is the password for the above CHAP user-name.<\/li>\n<\/ol>\n<p>Once the command is entered and submitted, the XenServer will attempt to log into the iSCSI device and will return some information needed in order to actually add this iSCSI device as a Storage Repository.<\/p>\n<p>Below is what the test system returned from this command.<\/p>\n<pre>Error code: SR_BACKEND_FAILURE_96\r\nError parameters: , The SCSIid parameter is missing or incorrect , &lt;?xml version\"1.0\" ?&gt;\r\n&lt;iscsi-target-iqns&gt;\r\n        &lt;TGT&gt;\r\n                 &lt;Index&gt;\r\n                              0\r\n                 &lt;\/Index&gt;\r\n                 &lt;IPAddress&gt;\r\n                 &lt;\/IPAddress&gt;\r\n                 <strong>&lt;TargetIQN&gt;\r\n                              iqn.2001-05.com.equallogic:0-8a096-0d9a4ab02-46600020343560ef-xenct-xen2\r\n                 &lt;\/TargetIQN&gt;<\/strong>\r\n        &lt;\/TGT&gt;\r\n        &lt;TGT&gt;\r\n                 &lt;Index&gt;\r\n                 \r\n                 &lt;\/Index&gt;\r\n                 &lt;IPAddress&gt;\r\n\r\n                 &lt;\/IPAddress&gt;\r\n                 &lt;TargetIQN&gt;\r\n\r\n                 &lt;\/TargetIQN&gt;\r\n        &lt;\/TGT&gt;\r\n&lt;\/iscsi-target-iqns&gt;\r\n<\/pre>\n<p>The highlighted piece here is known as the\u00a0<strong>iSCSI IQN<\/strong>. This is very important and is needed to determine the\u00a0<strong>SCSIid<\/strong>\u00a0for the storage repository. With this new information, the prior command can be modified to obtain the\u00a0<strong>SCSIid<\/strong>.<\/p>\n<pre># xe sr-probe type=lvmoiscsi device-config:target=X.X.X.X device-config:targetIQN=iqn.2001-05.com.equallogic:0-8a0906-0d9a4ab02-46600020343560ef-xenct-xen2 device-config:chapuser=\"tecmint\" device-config:chappassword=\"tecmint_chap\"\r\n<\/pre>\n<p>The only thing added to the command is the\u00a0<strong>targetIQN<\/strong>\u00a0stanza. By issuing this new command, the system will respond with the last piece of information needed to create an iSCSI Storage Repository. That last piece of information is the SCSI id.<\/p>\n<pre>Error code: SR_BACKEND_FAILURE_107\r\nError parameters: , The SCSIid parameter is missing or incorrect , &lt;?xml version\"1.0\" ?&gt;\r\n&lt;iscsi-target&gt;\r\n        &lt;LUN&gt;\r\n                 &lt;vendor&gt;\r\n                        EQLOGIC\r\n                 &lt;\/vendor&gt;\r\n                 &lt;serial&gt;\r\n                 &lt;\/serial&gt;\r\n                 &lt;LUNid&gt;\r\n                         0\r\n                 &lt;\/LUNid&gt;\r\n                 &lt;size&gt;\r\n                         107379425280\r\n                 &lt;\/size&gt;\r\n                 <strong>&lt;SCSIid&gt;\r\n                         36090a028b04a9a0def60353420006046\r\n                 &lt;\/SCSIid&gt;<\/strong>\r\n        &lt;\/LUN&gt;\r\n&lt;\/iscsi-target&gt;\r\n<\/pre>\n<p>From this point, all the necessary pieces to create an iSCSI Storage Repository are available and it is time to issue the command to add this SR to this particular XenServer. Creating the Storage Repository from the combined information is done as follows:<\/p>\n<pre># xe sr-create name-label=\"Tecmint iSCSI Storage\" type=lvmoiscsi content-type=user device-config:target=X.X.X.X device-config:port=3260 device-config:targetIQN=iqn.2001-05.com.equallogic:0-8a0906-0d9a4ab02-46600020343560ef-xenct-xen2 device-config:chapuser=\"tecmint\" device-config:chappassword=\"tecmint_chap\" <strong>device-config:SCSIid=36090a028b04a9a0def60353420006046<\/strong>\r\n<\/pre>\n<p>If all goes well the system will connect to the iSCSI device and then return the\u00a0<strong>UUID<\/strong>\u00a0of the newly added Storage Repository.<\/p>\n<pre>bea6caa4-ecab-8509-33a4-2cda2599fb75\r\n<\/pre>\n<p>The\u00a0<strong>UUID<\/strong>\u00a0output is a great sign! As with all system administration tasks, it is always a good idea to confirm that the command was successful. This can be accomplished with another\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command.<\/p>\n<pre># xe sr-list name-label=\"Tecmint iSCSI Storage\"\r\n<\/pre>\n<h5>Sample Output<\/h5>\n<pre>uuid ( RO)                 : bea6caa4-ecab-8509-33a4-2cda2599fb75\r\n          name-label ( RW) : Tecmint iSCSI Storage\r\n    name-description ( RW) :\r\n                host ( RO) : xenct-xen2\r\n                type ( RO) : lvmoiscsi\r\n        content-type ( RO) : user\r\n<\/pre>\n<p>From the\u00a0<strong>CLI<\/strong>\u00a0output this XenServer has successfully connected to the Dell iSCSI device and is ready to store guest VDI files.<\/p>\n<h3>ISO Storage Repository Creation<\/h3>\n<p>The next series of steps walks through the process of creating an ISO library. ISO files are typically images of compact disk (CD) installation media.<\/p>\n<p>By having a special storage repository created for these ISO files, the installation of new guests can be done very quickly. When an administrator wishes to create a new guest, they can simply select one of the ISO files that exist in this ISO library rather than having to put a CD physically in a XenServer in the pool.<\/p>\n<p>This part of the guide will assume that the user has a working\u00a0<strong>SAMBA<\/strong>\u00a0server. If a SAMBA server isn\u2019t setup please feel free to read this article about how to complete this task in Red Hat\/Fedora (I will have a Debian SAMBA server guide in the future):<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/setup-samba-file-sharing-for-linux-windows-clients\/\" target=\"_blank\" rel=\"noopener\">Setup Samba Server for File Sharing<\/a><\/li>\n<\/ol>\n<p>The first step is to gather the necessary credentials and configuration information for the\u00a0<strong>SAMBA ISO<\/strong>\u00a0library. Once the username, password, and connectivity information are available a simple\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command variant can be used to connect the SAMBA library to the XenServer.<\/p>\n<pre># xe-mount-iso-sr \/\/&lt;servername&gt;\/ISO -o username=&lt;user&gt;,password=&lt;password&gt;\r\n<\/pre>\n<p>This command won\u2019t output anything to the screen unless it fails. To confirm that it did indeed mount the SAMBA ISO share, issue another\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command:<\/p>\n<pre># xe sr-list\r\n<\/pre>\n<h5>Sample Output<\/h5>\n<pre>uuid ( RO)                 : 1fd75a51-10ee-41b9-9614-263edb3f40d6\r\n          name-label ( RW) : Remote ISO Library on: \/\/                  \/ISO\r\n    name-description ( RW) :\r\n                host ( RO) : xenct-xen2\r\n                type ( RO) : iso\r\n        content-type ( RO) : iso\r\n<\/pre>\n<p>This XenServer host is now configured with both an\u00a0<strong>iSCSI Storage Repository<\/strong>\u00a0as well as a\u00a0<strong>CIFS ISO library<\/strong>\u00a0to store installation media for virtual machines (guests).<\/p>\n<p>The next steps will be the creation of virtual machines and connecting those systems to the proper networks from the earlier networking article.<\/p>\n<h1 class=\"post-title\">How to Create and Install Guest Virtual Machines in XenServer \u2013 Part 5<\/h1>\n<p>Continuing to move forward with the\u00a0<a href=\"https:\/\/www.tecmint.com\/citrix-xenserver-installation-and-network-configuration-in-linux\/\" target=\"_blank\" rel=\"noopener\">XenServer series<\/a>, this article will approach the creation of the actual guests themselves (often called virtual machines).<\/p>\n<div id=\"attachment_17451\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/XenServer-Create-and-Install-Guest-Virtual-Machines.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17451\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/XenServer-Create-and-Install-Guest-Virtual-Machines.png\" alt=\"Create and Install Guest Virtual Machines in XenServer\" width=\"718\" height=\"342\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Create and Install Guest Virtual Machines in XenServer<\/p>\n<\/div>\n<p>This article will assume all the previous articles covering networking, patching, and storage have been completed. Thankfully, no more new terminology really needs to be discussed and the creation of the guests can begin!<\/p>\n<h4>System Review<\/h4>\n<p>At this point, a lot has been configured on this XenServer host. This will serve as a quick review about what has been configured and which article the topic was discussed.<\/p>\n<ol>\n<li>XenServer 6.5 was installed to the server\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/citrix-xenserver-installation-and-network-configuration-in-linux\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.tecmint.com\/citrix-xenserver-installation-and-network-configuration-in-linux\/<\/a><\/li>\n<\/ol>\n<\/li>\n<li>All XenServer 6.5 patches have been applied\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/install-xenserver-patches-in-linux\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.tecmint.com\/install-xenserver-patches-in-linux\/<\/a><\/li>\n<\/ol>\n<\/li>\n<li>Network interface teaming and VLANs were created\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/xenserver-network-lacp-bond-vlan-and-bonding-configuration\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.tecmint.com\/xenserver-network-lacp-bond-vlan-and-bonding-configuration\/<\/a><\/li>\n<\/ol>\n<\/li>\n<li>iSCSI and ISO storage repositories were created to hold operating system installation files and the virtual harddisks used by the guests\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/xenserver-create-and-add-storage-repository\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.tecmint.com\/xenserver-create-and-add-storage-repository\/<\/a><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h3>Creation of Virtual Guests in XenServer<\/h3>\n<p>This portion of the guide will be relying on ISO installers to actually boot the newly created guest machine and install an operating system. Be sure to review the fourth article for information on creating an ISO repository.<\/p>\n<p>XenServer comes with a series of templates that can be used to quickly provision a virtual guest. These templates provide common options for the chosen operating system. Options include things such as hard drive space, CPU architecture, and amount of ram available among other options.<\/p>\n<p>These options can be manually modified later but for now a simple template will be used to illustrate their usage. To obtain the list of available templates, the traditional\u00a0<code>'xe'<\/code>\u00a0command can be passed different arguments to prompt the system to return the templates available.<\/p>\n<pre># xe template-list\r\n<\/pre>\n<p>This command is likely to return a lot of output. To make the output easier to read, it is suggested that the output be piped into\u00a0<strong>\u2018less\u2019<\/strong>\u00a0as follows:<\/p>\n<pre># xe template-list | less\r\n<\/pre>\n<p>This will allow for easier parsing of the available templates to locate the necessary\u00a0<strong>UUID<\/strong>\u00a0information. This article is going to be working with\u00a0<strong>Debian 8 Jessie<\/strong>\u00a0but will require the use of the older\u00a0<strong>Debian 7 Wheezy<\/strong>template until\u00a0<strong>Citrix<\/strong>\u00a0releases the new template.<\/p>\n<p>Selecting\u00a0<strong>Debian 7<\/strong>\u00a0won\u2019t affect anything in the operation of the actual operating system. (The screen shot below used the\u00a0<strong>UUID<\/strong>\u00a0in the command to trim out some of the normal output).<\/p>\n<div id=\"attachment_17432\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/template-list.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17432\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/template-list.png\" alt=\"Check XenServer Template List\" width=\"843\" height=\"135\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check XenServer Template List<\/p>\n<\/div>\n<pre># xe sr-list name-label=\u201dTecmint iSCSI Storage\u201d\r\n<\/pre>\n<div id=\"attachment_17433\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Sr-list.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17433\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Sr-list.png\" alt=\"List XenServer Storage Label Name\" width=\"561\" height=\"150\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">List XenServer Storage Label Name<\/p>\n<\/div>\n<p>With this UUID, all of the initial information to setup this guest has been obtained. As with almost everything in XenServer, another\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command will be used to provision the new guest.<\/p>\n<pre># xe vm-install template=\u201dDebian Wheezy 7.0 (64-bit)\u201d new-name-label=\"TecmintVM\" sr-uuid=bea6caa4-ecab-8509-33a4-2cda2599fb75\r\n<\/pre>\n<div id=\"attachment_17434\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Template-creation.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17434\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Template-creation.png\" alt=\"XenServer Guest Template Creation\" width=\"786\" height=\"78\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Guest Template Creation<\/p>\n<\/div>\n<p>The highlighted\u00a0<strong>UUID<\/strong>\u00a0is the\u00a0<strong>UUID<\/strong>\u00a0of the newly provisioned guest. There are a couple of house keeping steps that can potentially make things easier in the future. The first is to provide a name-label to the newly created VDI and the second is modifying any of the default hardware specifications provisioned by the template.<\/p>\n<p>To see why it would be important to name the VDI, take a look at what the system will automatically assign to the VDI when provisioned using the following\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0commands:<\/p>\n<pre># xe vbd-list vm-name-label=TecmintVM \u2013 Used to get the VDI UUID\r\n# xe vdi-list vbd-uuids=2eac0d98-485a-7c22-216c-caa920b10ea9    [Used to show naming issue]\r\n<\/pre>\n<div id=\"attachment_17435\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/VDI-name-issue.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17435\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/VDI-name-issue.png\" alt=\"Check XenServer VDI Name and UUID\" width=\"672\" height=\"310\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check XenServer VDI Name and UUID<\/p>\n<\/div>\n<p>Another option available is to gather both pieces of information is the following command:<\/p>\n<pre># xe vm-disk-list vm=TecmintVM\r\n<\/pre>\n<div id=\"attachment_17436\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/vm-disk-list.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17436\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/vm-disk-list.png\" alt=\"List Virtual Machine Disk Information\" width=\"523\" height=\"220\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">List Virtual Machine Disk Information<\/p>\n<\/div>\n<p>The part in yellow is the concern. To many people this issue is minor but for house keeping purposes a more descriptive name is desired to keep track of the purpose of this particular VDI. To rename this particular VDI, the UUID in the above output is needed and another\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command needs to be created.<\/p>\n<pre># xe vdi-param-set uuid=90611915-fb7e-485b-a0a8-31c84a59b9d8 name-label=\"TecmintVM Disk 0 VDI\"\r\n# xe vm-disk-list vm=TecmintVM\r\n<\/pre>\n<div id=\"attachment_17437\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/VDI-Name-Label.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17437\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/VDI-Name-Label.png\" alt=\"Rename VDI Name Label\" width=\"775\" height=\"269\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Rename VDI Name Label<\/p>\n<\/div>\n<p>This may seem trivial to set but from experience, this has prevented a serious issue when detaching a storage repository from one XenServer and attempting to attach it to another XenServer. This particular scenario, a metadata backup of all the guest information failed to be restore-able on the new XenServer and thankfully by naming the VDI on each of the guests, proper mapping of the guest to its VDI was able to be done simply by the name-label.<\/p>\n<p>The next house keeping step for this article is to provide this particular guest with more resources. As provisioned this guest will only have about\u00a0<strong>256 MiB<\/strong>\u00a0(Mebibytes) worth of memory. Most guests this isn\u2019t enough so it is beneficial to know how to increase a guest\u2019s available memory. As with anything in XenServer this can be accomplished with\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0commands.<\/p>\n<pre># xe vm-param-list uuid=6eab5bdd-c277-e55d-0363-dcfd186c8e8e | grep -i memory\r\n<\/pre>\n<div id=\"attachment_17438\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Memory-List.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17438\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Memory-List.png\" alt=\"Check XenServer Guest Memory List\" width=\"1058\" height=\"155\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check XenServer Guest Memory List<\/p>\n<\/div>\n<p>The box in green above indicates that the most memory that this particular guest could ever have is about\u00a0<strong>256 MiB<\/strong>. For testing purposes this would be okay but for any sort of heavy use system, this would prove to be insufficient.<\/p>\n<p>To modify this value to give the guest access to more RAM, a simple\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command can be issued with the guest powered off. In this example, the amount of ram to be given to this machine will be represented in bytes but will equal\u00a0<strong>2 Gibibytes<\/strong>\u00a0worth of ram.<\/p>\n<pre># xe vm-memory-limits-set dynamic-max=2147483648 dynamic-min=2147483648 static-max=2147483648 static-min=2147483648 name-label=TecmintVM\r\n<\/pre>\n<p><strong>Notice<\/strong>\u00a0that this will reserve two GiB of ram for this guest all the time.<\/p>\n<div id=\"attachment_17439\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/xe-memory.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17439\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/xe-memory.png\" alt=\"Increase XenServer Guest Memory Limit\" width=\"1095\" height=\"189\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Increase XenServer Guest Memory Limit<\/p>\n<\/div>\n<p>Now this particular guest is ready to have an operating system installed. From the previous article about\u00a0<a href=\"https:\/\/www.tecmint.com\/xenserver-create-and-add-storage-repository\/\" target=\"_blank\" rel=\"noopener\">Storage Repositories<\/a>, a Samba share was added to this XenServer to store ISO installer files. This can be confirmed with the following\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command:<\/p>\n<pre># xe sr-list name-label=Remote\\ ISO\\ Library\\ on:\\ \/\/&lt;servername&gt;\/ISO\r\n<\/pre>\n<div id=\"attachment_17440\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/xe-sr-list.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17440\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/xe-sr-list.png\" alt=\"List XenServer Samba Share Directory\" width=\"705\" height=\"133\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">List XenServer Samba Share Directory<\/p>\n<\/div>\n<p>Be sure to replace\u00a0<code>&lt;servername&gt;<\/code>\u00a0with the name of the proper Samba server for the environment in which this configuration is taking place. Once the XenServer is confirmed to see the ISO storage repository, a virtual CD-ROM needs to be added to the guest in order to boot the ISO file. This guide will assume that the\u00a0<strong>Debian Net Installer ISO<\/strong>\u00a0exists on the ISO storage repository.<\/p>\n<pre># xe cd-list | grep debian\r\n<\/pre>\n<div id=\"attachment_17441\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/xe-cd-list.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17441\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/xe-cd-list.png\" alt=\"Check Guest ISO in XenServer ISO Storage\" width=\"340\" height=\"36\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check Guest ISO in XenServer ISO Storage<\/p>\n<\/div>\n<pre># xe vm-cd-add vm=TecmintVM cd-name=debian-8-netinst.iso device=3\r\n# xe vbd-list vm-name-label=TecmintVM userdevice=3\r\n<\/pre>\n<div id=\"attachment_17442\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Cd-add.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17442\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Cd-add.png\" alt=\"Add Guest ISO to XenServer \" width=\"692\" height=\"172\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Add Guest ISO to XenServer<\/p>\n<\/div>\n<p>The above commands first list out the name for the\u00a0<strong>Debian ISO<\/strong>. The next command will add a virtual\u00a0<strong>CD-ROM<\/strong>device to the\u00a0<strong>TecmintVM<\/strong>\u00a0guest and assigns it the device ID of\u00a0<strong>3<\/strong>.<\/p>\n<p>The third command is used to determine the\u00a0<strong>UUID<\/strong>\u00a0for the newly added CD-ROM to continue setting up the device to boot the Debian ISO.<\/p>\n<p>The next step is to make the CD-ROM bootable as well as instruct the guest to install an operating system from the CD-ROM.<\/p>\n<pre># xe vbd-param-set uuid=3836851f-928e-599f-dc3b-3d8d8879dd18 bootable=true\r\n# xe vm-param-set uuid=6eab5bdd-c277-e55d-0363-dcfd186c8e8e other-config:install-repository=cdrom\r\n<\/pre>\n<p>The first command above sets the\u00a0<strong>CD-ROM<\/strong>\u00a0to be bootable by using its UUID highlighted in green in the above screen-shot. The second command instructs the guest to use the CD-ROM as the method for installing the operating system. The\u00a0<strong>UUID<\/strong>\u00a0for the\u00a0<strong>Tecmint<\/strong>\u00a0guest is highlight in the above screen-shot in yellow.<\/p>\n<div id=\"attachment_17443\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Bootable-CD.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17443\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Bootable-CD.png\" alt=\"Install Guest Operating System in XenServer\" width=\"909\" height=\"50\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Install Guest Operating System in XenServer<\/p>\n<\/div>\n<p>The last step in setting up the guest is to attach a\u00a0<strong>virtual network interface<\/strong>\u00a0(<strong>VIF<\/strong>). This is especially important for this install method since the\u00a0<strong>Debian Network<\/strong>\u00a0installer is being used and will need to pull packages from the Debian repositories.<\/p>\n<p>Looking back at the\u00a0<a href=\"https:\/\/www.tecmint.com\/xenserver-network-lacp-bond-vlan-and-bonding-configuration\/\" target=\"_blank\" rel=\"noopener\">XenServer networking<\/a>\u00a0article, a special\u00a0<strong>VLAN<\/strong>\u00a0was already created for this guest and it was\u00a0<strong>VLAN 10<\/strong>. Using\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0the necessary network interface can be created and assigned to this guest.<\/p>\n<pre># xe network-list name-description=\"Tecmint test VLAN 10\"\r\n# xe vif-create vm-uuid=6eab5bdd-c277-e55d-0363-dcfd186c8e8e network-uuid=cfe987f0-b37c-dbd7-39be-36e7bfd94cef device=0\r\n<\/pre>\n<p>The first command is used to obtain the\u00a0<strong>UUID<\/strong>\u00a0of the network created for this guest. The next command is used to create a network adapter for the guest and attach the network adapter to the proper network.<\/p>\n<div id=\"attachment_17444\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/VIF-create.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17444\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/VIF-create.png\" alt=\"Add Network Adapter to XenServer Guest OS\" width=\"1079\" height=\"153\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Add Network Adapter to XenServer Guest OS<\/p>\n<\/div>\n<p><strong>Congrats!<\/strong>\u00a0At this point, the virtual machine is ready to boot and install! To start the guest, issue the following\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command.<\/p>\n<pre># xe vm-start name-label=TecmintVM\r\n<\/pre>\n<p>If the terminal doesn\u2019t produce any errors, then the guest started successfully. Proper starting of the guest can be confirmed with the following\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command:<\/p>\n<pre># xe vm-list name-label=TecmintVM\r\n<\/pre>\n<div id=\"attachment_17445\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Running-VM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17445\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Running-VM.png\" alt=\"Check XenServer Guest OS Running Status\" width=\"502\" height=\"104\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check XenServer Guest OS Running Status<\/p>\n<\/div>\n<p>Now the big question. How to access the installer? This is a valid question. Citrix\u2019s approved method is to use\u00a0<strong>XenCenter<\/strong>. The issue here is that\u00a0<strong>XenCenter<\/strong>\u00a0doesn\u2019t run on Linux! So a workaround exists so that users don\u2019t have to create a special Windows station simply to access the console of a running guest.<\/p>\n<p>This process involves creating an\u00a0<strong>SSH<\/strong>\u00a0tunnel from the Linux computer to the XenServer host and then port forwarding a\u00a0<strong>VNC<\/strong>\u00a0connection through that tunnel. It is very clever and works wonderfully but this method does assume that the user can access the XenServer over SSH.<\/p>\n<p>The first step is to determine the guest\u2019s domain number on the XenServer. This is done through the use of several different commands.<\/p>\n<pre># xe vm-list params=dom-id name-label=TecmintVM\r\n# xenstore-read \/local\/domain\/1\/console\/vnc-port\r\n<\/pre>\n<p>The order of these commands is important! The first command will return a number that is needed for the second command.<\/p>\n<div id=\"attachment_17446\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Xenstore.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17446\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/Xenstore.png\" alt=\"Find Out XenServer Domain Name Number\" width=\"520\" height=\"106\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Find Out XenServer Domain Name Number<\/p>\n<\/div>\n<p>The output from both commands is important. The first output states the\u00a0<strong>domain ID<\/strong>\u00a0that the guest is running in;\u00a0<code>1<\/code>\u00a0in this case. The next command requires that number in order to determine the\u00a0<strong>VNC port<\/strong>\u00a0for the guest console session. The output from this command provides the VNC port that can be used to connect to the video out of this particular guest.<\/p>\n<p>With the above information obtained, it is time to switch to a Linux station and connect to the XenServer to view the console session of this guest. To do this, an SSH tunnel will be created and port forwarding will be setup to direct a local VNC connection through the SSH tunnel. This connection will be done from a\u00a0<strong>Linux Mint 17.2<\/strong>workstation but should be similar for other distributions.<\/p>\n<p>The first step is to ensure that\u00a0<strong>OpenSSH client<\/strong>\u00a0and\u00a0<strong>xtightnvcviewer<\/strong>\u00a0are installed on the Linux host. In Linux Mint this can be accomplished with the following command:<\/p>\n<pre>$ sudo apt-get install openssh-client xtightvncviewer\r\n<\/pre>\n<p>This command will install the necessary utilities. The next step is to create an SSH tunnel to the XenServer host and setup port forwarding to the VNC port determine earlier on the XenServer host\u00a0<strong>(5902)<\/strong>.<\/p>\n<pre># ssh -L &lt;any_port&gt;:localhost:&lt;VM_Port_Above&gt; root@&lt;server&gt; -N\r\n# ssh -L 5902:localhost:5902 root@&lt;servername&gt; -N\r\n<\/pre>\n<p>The\u00a0<strong>\u2018-L\u2019<\/strong>\u00a0option tells ssh to port forward. The first port can be any port above\u00a0<strong>1024<\/strong>\u00a0that isn\u2019t in use on the Linux Mint machine. The\u00a0<strong>\u2018localhost:5902\u2019<\/strong>\u00a0indicates that the traffic should be forwarded to the remote localhost port\u00a0<strong>5902<\/strong>\u00a0in this case that is the XenServer VNC port of the\u00a0<strong>TecmintVM<\/strong>.<\/p>\n<p>The\u00a0<strong>\u2018root@&lt;server&gt;\u2019<\/strong>\u00a0is the login credentials to SSH into the XenServer host. Finally the\u00a0<strong>\u2018-N\u2019<\/strong>\u00a0tells SSH to simply open a port forwarding connection. Using\u00a0<a href=\"https:\/\/www.tecmint.com\/10-lsof-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener\">\u2018lsof\u2019 command<\/a>\u00a0the tunnel can be viewed in the output.<\/p>\n<pre>$ sudo lsof -i | grep 5902\r\n<\/pre>\n<div id=\"attachment_17447\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/SSH-tunnel.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17447\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/SSH-tunnel.png\" alt=\"Check Port Number Listening \" width=\"666\" height=\"40\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check Port Number Listening<\/p>\n<\/div>\n<p>Here the tunnel is setup and listening for connections. Now it is time to open a VNC connection to the guest on the XenServer. The utility installed is\u00a0<strong>\u2018xvncviewer\u2019<\/strong>\u00a0and the ssh connection to forward traffic to the XenServer is listening on\u00a0<strong>\u2018localhost:5902\u2019<\/strong>\u00a0so the appropriate command can be built.<\/p>\n<pre>$ xvncviewer localhost:5902\r\n<\/pre>\n<div id=\"attachment_17448\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/VNC-Xen-connection.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17448\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/12\/VNC-Xen-connection.png\" alt=\"Connect XenServer Over VNC Connection\" width=\"744\" height=\"705\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Connect XenServer Over VNC Connection<\/p>\n<\/div>\n<p>Voila! There is the\u00a0<strong>TecmintVM<\/strong>\u00a0console session running the\u00a0<strong>Debian Network Installer<\/strong>\u00a0waiting for the installation process to begin. At this point, the installation proceeds just like any other Debian installation.<\/p>\n<p>Up to this point, everything with XenServer has been done via command line interface (CLI). While many Linux users enjoy the CLI, there are utilities that exist to simplify the process of managing XenServer hosts and pools. The next article in this series will cover the installation of those tools for users who wish to use graphical systems rather than CLI.<\/p>\n<h1 class=\"post-title\">XenServer Physical to Virtual Migration \u2013 Part 6<\/h1>\n<p>Moving forward with a bit of a value add article and still tying into the previous article about\u00a0<a href=\"https:\/\/www.tecmint.com\/create-and-install-guest-virtual-machines-in-xenserver\/\" target=\"_blank\" rel=\"noopener\">guest creation in XenServer<\/a>, this article will approach the concept of\u00a0<strong>Physical to Virtual<\/strong>\u00a0(P2V) migration within a XenServer environment.<\/p>\n<p>The process of moving a physical server to a virtual server is sadly poorly documented in XenServer. In the past there have been tools that did the work for the administrator but as of\u00a0<strong>XenServer 6.5<\/strong>\u00a0those tools appear to no longer be apart of the XenServer installer.<\/p>\n<div id=\"attachment_18861\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/XenServer-Physical-to-Virtual-Migration.png\" rel=\"attachment wp-att-18861\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18861\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/XenServer-Physical-to-Virtual-Migration.png\" alt=\"XenServer Physical to Virtual Migration\" width=\"717\" height=\"342\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Physical to Virtual Migration \u2013 Part 6<\/p>\n<\/div>\n<p>This article will go through the process of taking a disk image with a utility known as\u00a0<strong>Clonezilla<\/strong>, a fantastic open source project for disk\/partition imaging. The image of this server will be stored to a\u00a0<a href=\"https:\/\/www.tecmint.com\/mount-filesystem-in-linux\/\" target=\"_blank\" rel=\"noopener\">Samba server on the network<\/a>\u00a0and then a new virtual guest will be created on the XenServer system.<\/p>\n<p>This new guest will obviously not have an operating system and will be setup to PXE boot to Clonezilla so that the image can be pulled from the Samba server and placed on a newly created virtual hard disk (VDI).<\/p>\n<h4>System Requirements<\/h4>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/citrix-xenserver-installation-and-network-configuration-in-linux\/\" target=\"_blank\" rel=\"noopener\">XenServer 6.5<\/a><\/li>\n<li>Clonezilla Live \u2013 Imaging software<\/li>\n<li>PXE boot server with Clonezilla PXE bootable \u2013\u00a0<a href=\"http:\/\/clonezilla.org\/livepxe.php\" target=\"_blank\" rel=\"noopener\">http:\/\/clonezilla.org\/livepxe.php<\/a><\/li>\n<li>Samba Server \u2013 Enough storage to store the physical guest\u2019s image<\/li>\n<\/ol>\n<p>This article will focus on the actual migration of a physical server rather than all of the intricate details about\u00a0<a href=\"https:\/\/www.tecmint.com\/setup-samba-file-sharing-for-linux-windows-clients\/\" target=\"_blank\" rel=\"noopener\">how to setup a Samba<\/a>\u00a0and PXE boot system and as such it will be assumed that the user already has the ability to\u00a0<a href=\"https:\/\/www.tecmint.com\/install-pxe-network-boot-server-in-centos-7\/\" target=\"_blank\" rel=\"noopener\">PXE boot Clonezilla from a local PXE server<\/a>.<\/p>\n<h3>Imaging the Physical Server<\/h3>\n<p><strong>1.<\/strong>\u00a0The first part of this process is the act of actually imaging the physical server. This will be accomplished by PXE booting Clonezilla Live but can be done using Clonezilla live via a USB or CD-ROM. When Clonezilla finishes booting, the screen will wait to determine what the next step is to Select\u00a0<strong>\u201cStart_Clonezilla\u201d..<\/strong>.<\/p>\n<div id=\"attachment_18789\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Start-Clonezilla-Installation.png\" rel=\"attachment wp-att-18789\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18789\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Start-Clonezilla-Installation.png\" alt=\"Start Clonezilla Installation\" width=\"718\" height=\"392\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Start Clonezilla Installation<\/p>\n<\/div>\n<p><strong>2.<\/strong>\u00a0Selecting\u00a0<strong>\u2018Start_Clonezilla\u2019<\/strong>\u00a0will prompt for all the necessary configurations rather than a shell environment. The next screen will ask for the imaging mode. For this physical to virtual migration the server\u2019s entire disk is being moved to a virtual system and as such\u00a0<strong>\u2018device-image\u2019<\/strong>\u00a0needs to be selected.<\/p>\n<div id=\"attachment_18790\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Device-Image.png\" rel=\"attachment wp-att-18790\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18790\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Device-Image.png\" alt=\"Select Device Image\" width=\"719\" height=\"378\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Device Image<\/p>\n<\/div>\n<p><strong>3.<\/strong>\u00a0The next screen will ask where to save the image of the server. This article is going to be using a Samba share on another networked server.<\/p>\n<div id=\"attachment_18791\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Samba-Share.png\" rel=\"attachment wp-att-18791\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18791\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Samba-Share.png\" alt=\"Select Samba Share to Store Clonezilla Image\" width=\"718\" height=\"382\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Samba Share to Store Clonezilla Image<\/p>\n<\/div>\n<p><strong>4.<\/strong>\u00a0Continuing to the next screen,\u00a0<strong>Clonezilla<\/strong>\u00a0will now prompt for the credentials to access the Samba share. Be sure to enter the IP address of the server or if DNS is functioning properly, the fully qualified hostname of the the server can be used instead.<\/p>\n<div id=\"attachment_18792\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Mount-Samba-Server.png\" rel=\"attachment wp-att-18792\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18792\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Mount-Samba-Server.png\" alt=\"Mount Samba Server\" width=\"719\" height=\"181\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Mount Samba Server<\/p>\n<\/div>\n<p><strong>5.<\/strong>\u00a0The next screen asks for the Samba domain. If one exists enter it here but most systems don\u2019t require it and hitting enter will go to the next screen.<\/p>\n<div id=\"attachment_18792\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Mount-Samba-Server.png\" rel=\"attachment wp-att-18792\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18792\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Mount-Samba-Server.png\" alt=\"Mount Samba Server\" width=\"719\" height=\"181\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Mount Samba Server<\/p>\n<\/div>\n<p><strong>6.<\/strong>\u00a0The next step is to enter a valid SAMBA user for the particular share. Make sure that this user can log into the share normally. Clonezilla isn\u2019t always clear as to authentication errors and if the user is already a known valid user, it will make troubleshooting simpler.<\/p>\n<div id=\"attachment_18794\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enter-Samba-User.png\" rel=\"attachment wp-att-18794\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18794\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enter-Samba-User.png\" alt=\"Enter Samba User\" width=\"720\" height=\"172\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Enter Samba User<\/p>\n<\/div>\n<p><strong>7.<\/strong>\u00a0The next step is to specify the name of the SAMBA share. The default share name is\u00a0<strong>\u201cimages\u201d<\/strong>\u00a0but environments vary. Be sure to place the appropriate share name in the following prompt.<\/p>\n<div id=\"attachment_18795\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enter-Samba-Share-Directory.png\" rel=\"attachment wp-att-18795\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18795\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enter-Samba-Share-Directory.png\" alt=\"Enter Samba Share Directory\" width=\"721\" height=\"163\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Enter Samba Share Directory<\/p>\n<\/div>\n<p><strong>8.<\/strong>\u00a0Clonezilla will now ask for the security mode to use. Select\u00a0<strong>\u2018auto\u2019<\/strong>\u00a0unless there is specific reason to use\u00a0<strong>\u2018ntlm\u2019<\/strong>in the environment.<\/p>\n<div id=\"attachment_18796\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Clonezilla-Security-Mode.png\" rel=\"attachment wp-att-18796\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18796\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Clonezilla-Security-Mode.png\" alt=\"Select Clonezilla Security Mode\" width=\"663\" height=\"190\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Clonezilla Security Mode<\/p>\n<\/div>\n<p><strong>9.<\/strong>\u00a0Finally, Clonezilla will prompt for the Samba user\u2019s password to access the share. The command line will follow normal Linux password entry in regards to not displaying anything while the password is being typed but the password is still being entered.<\/p>\n<div id=\"attachment_18797\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enter-Samba-Password.png\" rel=\"attachment wp-att-18797\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18797\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enter-Samba-Password.png\" alt=\"Enter Samba Password\" width=\"727\" height=\"343\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Enter Samba Password<\/p>\n<\/div>\n<p><strong>10.<\/strong>\u00a0After typing the password for the Samba share, hit enter. Clonezilla will attempt to contact the Samba server and mount the Samba share. If Clonezilla is unsuccessful, it will display an error, otherwise a successful connection will result in the following screen.<\/p>\n<div id=\"attachment_18798\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Mounting-Samba-Network-Share.png\" rel=\"attachment wp-att-18798\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18798\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Mounting-Samba-Network-Share.png\" alt=\"Mounting Samba Network Share\" width=\"721\" height=\"357\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Mounting Samba Network Share<\/p>\n<\/div>\n<p>If this screen is presented, then Clonezilla has successfully mounted the\u00a0<strong>SAMBA<\/strong>\u00a0share and the imaging process\/configuration can continue. It never hurts to confirm that the SAMBA server also\u00a0<strong>\u2018sees\u2019<\/strong>\u00a0the connection as well. The following command can be issued on the Samba server to ensure that Clonezilla is indeed connected.<\/p>\n<pre># lsof -i :445 | grep -i established\r\n<\/pre>\n<div id=\"attachment_18799\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Check-Clonezilla-Connection-Status.png\" rel=\"attachment wp-att-18799\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18799\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Check-Clonezilla-Connection-Status.png\" sizes=\"auto, (max-width: 931px) 100vw, 931px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Check-Clonezilla-Connection-Status.png 931w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Check-Clonezilla-Connection-Status-768x47.png 768w\" alt=\"Check-Clonezilla Connection Status\" width=\"931\" height=\"57\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check-Clonezilla Connection Status<\/p>\n<\/div>\n<p><strong>11.<\/strong>\u00a0The next process is to configure the imaging of this particular server. Clonezilla has two modes;\u00a0<strong>Beginner<\/strong>and\u00a0<strong>Expert<\/strong>. This guide will simply use\u00a0<strong>\u2018Beginner\u2019<\/strong>\u00a0as it will provide all the necessary options for the imaging process.<\/p>\n<div id=\"attachment_18800\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Clonezilla-Mode.png\" rel=\"attachment wp-att-18800\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18800\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Clonezilla-Mode.png\" alt=\"Select Clonezilla Mode\" width=\"719\" height=\"181\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Clonezilla Mode<\/p>\n<\/div>\n<p><strong>12.<\/strong>\u00a0The next step asks what Clonezilla should take an image of on this particular system. Since the entire server needs to be virtualized,\u00a0<strong>\u2018savedisk\u2019<\/strong>\u00a0will be selected to include all partitions on the system.<\/p>\n<p><strong>Note<\/strong>: Ensure that the Samba share has enough space to store the ENTIRE disk! Clonezilla will do some compression but it is better to ensure the space exists BEFORE cloning.<\/p>\n<div id=\"attachment_18801\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Entire-Disk.png\" rel=\"attachment wp-att-18801\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18801\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Entire-Disk.png\" alt=\"Select Entire Disk\" width=\"719\" height=\"285\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Entire Disk<\/p>\n<\/div>\n<p><strong>13.<\/strong>\u00a0Moving forward, the image will need to be given a name on the following menu prompt.<\/p>\n<div id=\"attachment_18802\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Give-Name-to-Image.png\" rel=\"attachment wp-att-18802\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18802\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Give-Name-to-Image.png\" alt=\"Give Name to Clonezilla Image\" width=\"609\" height=\"155\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Give Name to Clonezilla Image<\/p>\n<\/div>\n<p><strong>14.<\/strong>\u00a0Once a name has been provided, Clonezilla will ask which disk (if multiple exist) should be imaged. In this example, Clonezilla will see the particular\u00a0<strong>RAID<\/strong>\u00a0controller of this server and report the size of the disk. In this case, the reported size is\u00a0<strong>146GB<\/strong>.<\/p>\n<p><strong>Note<\/strong>: Again, make sure that the Samba share has enough space for the imaging process! Clonezilla will do some compression but better safe than sorry.<\/p>\n<div id=\"attachment_18803\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Disk-to-be-Cloned.png\" rel=\"attachment wp-att-18803\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18803\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Disk-to-be-Cloned.png\" alt=\"Select Disk to be Cloned\" width=\"720\" height=\"214\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Disk to be Cloned<\/p>\n<\/div>\n<p><strong>15.<\/strong>\u00a0The next step is something relatively new to Clonezilla and it is the ability to repair filesystems while the imaging is taking place. The filesystems supported by this feature are the same ones normally supported by the Linux\u00a0<strong>\u2018fsck\u2019<\/strong>\u00a0utility.<\/p>\n<p>This check isn\u2019t mandatory but could help prevent a bad image.\u00a0<strong>Skip<\/strong>\u00a0the check if this option is not desired.<\/p>\n<div id=\"attachment_18805\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Check-and-Repair-Filesystem.png\" rel=\"attachment wp-att-18805\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18805\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Check-and-Repair-Filesystem.png\" alt=\"Check and Repair Filesystem\" width=\"718\" height=\"228\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check and Repair Filesystem<\/p>\n<\/div>\n<p><strong>16.<\/strong>\u00a0The next screen is used to check to ensure that the image is restorable after the image has been taken. It is suggested that this be done to help ensure a good image the first time through. This will add some time to the imaging process though if the system being imaged is large.<\/p>\n<div id=\"attachment_18806\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Check-Image-Restore-Process.png\" rel=\"attachment wp-att-18806\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18806\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Check-Image-Restore-Process.png\" alt=\"Check Image Restore Process\" width=\"714\" height=\"210\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check Image Restore Process<\/p>\n<\/div>\n<p><strong>17.<\/strong>\u00a0After hitting\u00a0<strong>\u2018Ok\u2019<\/strong>\u00a0to the check saved image prompt, Clonezilla will begin the initial configuration and preparations for imaging. The imaging process hasn\u2019t started yet though! When all the checks are done, Clonezilla will prompt one last time to verify that all parameters are correct and ask to begin the imaging process.<\/p>\n<div id=\"attachment_18807\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Clonezilla-Imaging-Process-and-Configuration.png\" rel=\"attachment wp-att-18807\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18807\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Clonezilla-Imaging-Process-and-Configuration.png\" alt=\"Clonezilla Imaging Process and Configuration\" width=\"715\" height=\"246\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Clonezilla Imaging Process and Configuration<\/p>\n<\/div>\n<p><strong>18.<\/strong>\u00a0After confirming that all the settings are confirmed, Clonezilla will start the imaging process and provide some insight into the status.<\/p>\n<div id=\"attachment_18808\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Clonezilla-Imaging-Process.png\" rel=\"attachment wp-att-18808\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18808\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Clonezilla-Imaging-Process.png\" alt=\"Clonezilla Disk Imaging Process\" width=\"717\" height=\"393\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Clonezilla Disk Imaging Process<\/p>\n<\/div>\n<p><strong>19.<\/strong>\u00a0This screen will gradually fill up with red indicating the progress of the imaging. If instructed, Clonezilla will check the saved image immediately after taking the image. Once Clonezilla has finished, it will provide instructions on how to continue.<\/p>\n<div id=\"attachment_18809\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Clonezilla-Disk-Cloning-Finishes.png\" rel=\"attachment wp-att-18809\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18809\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Clonezilla-Disk-Cloning-Finishes.png\" alt=\"Clonezilla Disk Cloning Finishes\" width=\"719\" height=\"251\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Clonezilla Disk Cloning Finishes<\/p>\n<\/div>\n<p>This is a great sign that the image was likely taken successfully and should be ready to be moved to the virtual guest within XenServer.<\/p>\n<h3>XenServer Virtual Guest Creation<\/h3>\n<p><strong>20.<\/strong>\u00a0The first step is to build a virtual machine to restore this newly image physical server. This is accomplished with a series of\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0commands. The first\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command will be used to locate the necessary UUID\u2019s for the storage repository.<\/p>\n<pre># xe sr-list name-label=\"Tecmint Storage\"\r\n<\/pre>\n<div id=\"attachment_18811\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Find-Storage-Repository-UUID.png\" rel=\"attachment wp-att-18811\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18811\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Find-Storage-Repository-UUID.png\" alt=\"Find Storage Repository UUID\" width=\"535\" height=\"132\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Find Storage Repository UUID<\/p>\n<\/div>\n<p>With the\u00a0<strong>UUID<\/strong>\u00a0of the storage repository available, the next task is the creation of the virtual guest from a template. The physical server that is being virtualized here is a\u00a0<strong>Debian 8<\/strong>\u00a0system and as such, the Debian template will be utilized.<\/p>\n<pre># xe vm-install template=\u201dDebian Wheezy 7.0 (64-bit)\u201d new-name-label=\"TecmintVM P2V\" sr-uuid=bf53e6b3-3065-8058-ca1e-311366eb692d\r\n<\/pre>\n<div id=\"attachment_18812\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Create-Virtual-Guest-from-Template.png\" rel=\"attachment wp-att-18812\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18812\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Create-Virtual-Guest-from-Template.png\" sizes=\"auto, (max-width: 935px) 100vw, 935px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Create-Virtual-Guest-from-Template.png 935w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Create-Virtual-Guest-from-Template-768x46.png 768w\" alt=\"Create Virtual Guest from Template\" width=\"935\" height=\"56\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Create Virtual Guest from Template<\/p>\n<\/div>\n<p><strong>Note<\/strong>: If virtualizing something that isn\u2019t Debian, the following command can be used to see the list of templates available.<\/p>\n<pre># xe template-list\r\n<\/pre>\n<p>It is always a good idea to confirm the creation\/modification of technology items. To confirm the creation of this virtual guest issue the following command.<\/p>\n<pre># xe vm-list name-label=Tecmint\\ P2V\\ VM\r\n<\/pre>\n<div id=\"attachment_18813\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Confirm-Virtual-Guest-Creation.png\" rel=\"attachment wp-att-18813\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18813\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Confirm-Virtual-Guest-Creation.png\" alt=\"Confirm Virtual Guest Creation\" width=\"513\" height=\"95\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Confirm Virtual Guest Creation<\/p>\n<p><strong>21.<\/strong>\u00a0Now that the guest has been created, some of the boot parameters need to be adjusted. This particular guest will need to PXE boot first in order for Clonezilla to be able to recover the recently imaged physical server. Changing the virtual guest to boot via PXE can be accomplished and confirmed via the following\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0commands.<\/p>\n<pre># xe vm-param-set uuid=&lt;vm_uuid&gt; HVM-boot-policy=\"BIOS order\" HVM-boot-params:order=n\r\n# xe vm-param-list uuid=b4d92a28-a836-32c5-0ea2-384245a7fdba | grep -i hvm\r\n<\/pre>\n<div id=\"attachment_18814\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enable-Virtual-Guest-Boot-via-PXE.png\" rel=\"attachment wp-att-18814\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18814\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enable-Virtual-Guest-Boot-via-PXE.png\" alt=\"Enable Virtual Guest Boot via PXE\" width=\"732\" height=\"68\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Enable Virtual Guest Boot via PXE<\/p>\n<\/div>\n<p><strong>22.<\/strong>\u00a0At this point the guest is set to boot via the network but the template didn\u2019t provide a network interface for this virtual machine. A virtual interface (<strong>VIF<\/strong>) must be attached to this guest in order for the guest to boot via PXE. The first step is to locate the appropriate network for this virtual machine.<\/p>\n<pre># xe network-list\r\n<\/pre>\n<div id=\"attachment_18815\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/List-Virtual-Interface.png\" rel=\"attachment wp-att-18815\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18815\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/List-Virtual-Interface.png\" sizes=\"auto, (max-width: 1015px) 100vw, 1015px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/List-Virtual-Interface.png 1015w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/List-Virtual-Interface-768x248.png 768w\" alt=\"List Virtual Interface for Virtual Machine\" width=\"1015\" height=\"328\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">List Virtual Interface for Virtual Machine<\/p>\n<\/div>\n<p><strong>23.<\/strong>\u00a0The network that this VM should use is the\u00a0<strong>\u201cTecmint VM\u2019s\u201d<\/strong>\u00a0network and the UUID output from this command is necessary to attach a VIF the the virtual machine. With the network UUID available, a VIF can be added to the guest for PXE booting using another\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command.<\/p>\n<pre># xe vif-create network-uuid=ed7e14a1-13d1-4e15-67a9-65369aced236 vm-uuid=b4d92a28-a836-32c5-0ea2-384245a7fdba device=1\r\n# xe vif-list vm-uuid=b4d92a28-a836-32c5-0ea2-384245a7fdba\r\n<\/pre>\n<div id=\"attachment_18816\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Add-Virtual-Machine-to-PXE-Boot.png\" rel=\"attachment wp-att-18816\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18816\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Add-Virtual-Machine-to-PXE-Boot.png\" sizes=\"auto, (max-width: 1098px) 100vw, 1098px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Add-Virtual-Machine-to-PXE-Boot.png 1098w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Add-Virtual-Machine-to-PXE-Boot-768x108.png 768w\" alt=\"Add-Virtual Machine to PXE Boot\" width=\"1098\" height=\"155\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Add-Virtual Machine to PXE Boot<\/p>\n<\/div>\n<p><strong>24.<\/strong>\u00a0At this point the guest is ready to attempt PXE booting however in order to see the guest\u2019s console, a\u00a0<strong>ssh<\/strong>tunnel to the XenServer is necessary and\u00a0<strong>xvncviewer<\/strong>\u00a0will be needed to connect to the console over the SSH tunnel.<\/p>\n<p>The first step is to power on the guest in order to determine the domain it was started within. The following series of commands are done on the XenServer host to determine the necessary information for the\u00a0<strong>VNC<\/strong>\u00a0client connection.<\/p>\n<pre># xe vm-start vm=Tecmint\\ P2V\\ VM\r\n# xe vm-list params=dom-id name-label=Tecmint\\ P2V\\ VM\r\n# xenstore-read \/local\/domain\/1\/console\/vnc-port\r\n<\/pre>\n<p>These commands will start the VM, locate the domain the the VM is running in, and then using that domain number, the VNC port will be determined for the\u00a0<strong>xvnc<\/strong>\u00a0client to connect.<\/p>\n<p>This process must be accomplished quickly and on the XenServer host. If there are any problems booting, the VM will shutdown in approximately 30 seconds and a console session to the guest will not be available.<\/p>\n<div id=\"attachment_18818\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Find-Virtual-Machine-Information.png\" rel=\"attachment wp-att-18818\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18818\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Find-Virtual-Machine-Information.png\" alt=\"Find Virtual Machine Information\" width=\"595\" height=\"121\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Find Virtual Machine Information<\/p>\n<\/div>\n<p>With the last green box, the information necessary to build the SSH tunnel to the XenServer host has been located. Now a SSH tunnel can be created using the following command.<\/p>\n<pre># ssh -L &lt;any_random_port&gt;:localhost:&lt;VNC_Port_Above&gt; root@&lt;server&gt; -N\r\n# ssh -L 5902:localhost:5902 root@&lt;server_ip&gt; -N\r\n<\/pre>\n<p>This sets up a SSH connection to the XenServer\u00a0<code>'&lt;server&gt;'<\/code>\u00a0from port\u00a0<strong>5902:localhost<\/strong>\u00a0to port the VNC port on the XenServer determined above which in this example is also 5902. Now using Xvncviewer the console for this PXE booting VM can be viewed.<\/p>\n<pre># xvncviewer localhost:5902\r\n<\/pre>\n<p>If all goes as planned, a small window should be presented that will contain the console session of the virtual guest on the XenServer host.<\/p>\n<div id=\"attachment_18820\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/XenServer-Virtual-Console-on-VNC.png\" rel=\"attachment wp-att-18820\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18820\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/XenServer-Virtual-Console-on-VNC.png\" sizes=\"auto, (max-width: 1040px) 100vw, 1040px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/XenServer-Virtual-Console-on-VNC.png 1040w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/XenServer-Virtual-Console-on-VNC-768x448.png 768w\" alt=\"XenServer Virtual Console on VNC\" width=\"1040\" height=\"606\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Virtual Console on VNC<\/p>\n<\/div>\n<p><strong>25.<\/strong>\u00a0At this point the console session is established and the host can be PXE booted to Clonezilla in order to push the image previously taken to this new virtual host.<\/p>\n<p>A couple of cautions before continuing:<\/p>\n<ol>\n<li>The\u00a0<strong>xvnc<\/strong>\u00a0client may disconnect from time to time if the guest changes the graphics resolution. If this happens simply reconnect using the\u00a0<strong>xvncviewer<\/strong>\u00a0command from earlier.<\/li>\n<li>Clonezilla will require that this virtual machine have as much or more disk space available in order to recover this image to the virtual host.<\/li>\n<li>This process will take close to, if not longer than, the same amount of time as the initial imaging from the beginning of the article. Be patient and allow the process to finish.<\/li>\n<li>For some unknown reason, XenServer appears to be very picky about the\u00a0<strong>pxelinux.0<\/strong>\u00a0file it will use to boot guests. To get this process to work, Debian\u2019s netboot files were used and can be downloaded from here: https:\/\/www.debian.org\/distrib\/netinst#netboot.<\/li>\n<\/ol>\n<h3>Imaging the XenServer Virtual Guest with Clonezilla<\/h3>\n<p><strong>26.<\/strong>\u00a0At this point, the guest machine should be booted to Clonezilla via PXE and a console connection established to see the output of the process through xvncviewer.<\/p>\n<p>Clonezilla starts the installation process of asking the user to choose between starting Clonezilla or starting a shell. Select\u00a0<strong>\u2018Start_Clonezilla\u2019<\/strong>\u00a0to begin the process.<\/p>\n<div id=\"attachment_18821\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Start-Clonezilla-on-Guest-Machine.png\" rel=\"attachment wp-att-18821\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18821\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Start-Clonezilla-on-Guest-Machine.png\" alt=\"Start Clonezilla on Guest Machine\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Start Clonezilla on Guest Machine<\/p>\n<\/div>\n<p><strong>27.<\/strong>\u00a0The following screen will determine the cloning method to be used for this particular session. Be sure to select\u00a0<strong>\u2018device-image\u2019<\/strong>\u00a0at this prompt.<\/p>\n<div id=\"attachment_18823\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Device-Cloning-Method.png\" rel=\"attachment wp-att-18823\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18823\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Device-Cloning-Method.png\" alt=\"Select Device Cloning Method\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Device Cloning Method<\/p>\n<\/div>\n<p><strong>28.<\/strong>\u00a0The next screen will ask how the image will be obtained. This article imaged the physical server to a SAMBA server and as such, the image will need to be retrieved from that same SAMBA server. To accomplish this, select the option\u00a0<strong>\u2018samba_server\u2019<\/strong>.<\/p>\n<div id=\"attachment_18824\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Add-Clonezilla-Image-Storage.png\" rel=\"attachment wp-att-18824\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18824\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Add-Clonezilla-Image-Storage.png\" alt=\"Add Clonezilla Image Storage\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Add Clonezilla Image Storage<\/p>\n<p><strong>29.<\/strong>\u00a0The next couple of screens will ask for information about the SAMBA server such as IP address, login information, and the directory where the images are stored (default is\u00a0<strong>\/images<\/strong>). Fill in the proper information for the environment.<\/p>\n<div id=\"attachment_18825\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Add-Samba-Mount-Location.png\" rel=\"attachment wp-att-18825\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18825\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Add-Samba-Mount-Location.png\" alt=\"Add Samba Mount Location\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Add Samba Mount Location<\/p>\n<\/div>\n<div id=\"attachment_18826\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enter-Samba-User-Name.png\" rel=\"attachment wp-att-18826\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18826\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enter-Samba-User-Name.png\" alt=\"Enter Samba User Name\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Enter Samba User Name<\/p>\n<\/div>\n<div id=\"attachment_18836\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enter-Samba-User-Password.png\" rel=\"attachment wp-att-18836\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18836\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enter-Samba-User-Password.png\" alt=\"Enter Samba User Password\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Enter Samba User Password<\/p>\n<\/div>\n<p><strong>30.<\/strong>\u00a0At this point, assuming that all information has been input correctly and the server is accessible, Clonezilla will successfully mount the remote SAMBA share to the system to retrieve the image of the physical server. The following screen shot shows a successful connection to the SAMBA server.<\/p>\n<div id=\"attachment_18837\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enter-Samba-Share-Location.png\" rel=\"attachment wp-att-18837\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18837\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Enter-Samba-Share-Location.png\" alt=\"Mounting Remote Samba Share Clonezilla\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Mounting Remote Samba Share Clonezilla<\/p>\n<\/div>\n<p><strong>31.<\/strong>\u00a0With the SAMBA share now mounted and accessible, the next step of this process is to instruct Clonezilla to recover from the image previously taken. With the first prompt, select\u00a0<strong>\u2018Beginner\u2019<\/strong>\u00a0to start the process.<\/p>\n<p>The screen that follows is the important screen. This screen is where Clonezilla will be instructed to recover the full disk image taken earlier in the article. The option needed here is\u00a0<strong>\u2018restoredisk\u2019<\/strong>.<\/p>\n<div id=\"attachment_18838\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Restore-Clonezilla-Image.png\" rel=\"attachment wp-att-18838\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18838\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Restore-Clonezilla-Image.png\" alt=\"Restore Clonezilla Image\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Restore Clonezilla Image<\/p>\n<\/div>\n<p><strong>32.<\/strong>\u00a0After hitting enter, Clonezilla will scan the SAMBA share for possible images to recover and present a list of options on the following screen. If this SAMBA share happens to have a lot of images, be sure to double check the proper image is being selected.<\/p>\n<div id=\"attachment_18839\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Image-File-to-Restore.png\" rel=\"attachment wp-att-18839\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18839\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Select-Image-File-to-Restore.png\" alt=\"Select Image File to Restore\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Image File to Restore<\/p>\n<\/div>\n<p><strong>33.<\/strong>\u00a0The next screen will ask the user to confirm the hard drive to restore the previously selected image. This will be the virtual machine\u2019s hard disk. Be sure that this hard disk is as large as or larger than the drive space from the physical server! Clonezilla will fail if the device runs out of space.<\/p>\n<div id=\"attachment_18841\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Confirm-Clonezilla-Disk-Restoration.png\" rel=\"attachment wp-att-18841\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18841\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Confirm-Clonezilla-Disk-Restoration.png\" alt=\"Confirm Clonezilla Disk Restoration\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Confirm Clonezilla Disk Restoration<\/p>\n<\/div>\n<p><strong>34.<\/strong>\u00a0After selecting the appropriate hard drive, Clonezilla will prompt several times to confirm that the changes about to take place are correct. Be sure to double check that the image is correct, the drive to write the image to is correct, and that the hard disk to accept this image is as large as or larger than the drive in the physical server being virtualized.<\/p>\n<div id=\"attachment_18844\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Confirm-Disk-Restore-Settings.png\" rel=\"attachment wp-att-18844\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18844\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Confirm-Disk-Restore-Settings.png\" alt=\"Confirm Disk Restore Settings\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Confirm Disk Restore Settings<\/p>\n<\/div>\n<p><strong>35.<\/strong>\u00a0This next prompt will provide some potential warnings to the user. In the case of this particular physical server, the unit had a special RAID device for the hard drives.<\/p>\n<p>Clonezilla provides a warning to the user that the\u00a0<strong>fstab<\/strong>\u00a0file may need to be modified if device names were used in the file rather than UUID value for the partitions. This should be correctable after booting into the VM but it is something to take note of when virtualizing systems.<\/p>\n<div id=\"attachment_18846\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Disk-Restore-Warnings-1.png\" rel=\"attachment wp-att-18846\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18846\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Disk-Restore-Warnings-1.png\" alt=\"Disk Restore Warnings\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Disk Restore Warnings<\/p>\n<\/div>\n<p><strong>36.<\/strong>\u00a0The last prompt is the final confirmation before Clonezilla will start the imaging process. Make sure that everything is completely accurate before confirming. Anything beyond this point will cause data loss on the virtual guest as the Clonezilla image will be recovered to this virtual guest\u2019s hard disk.<\/p>\n<div id=\"attachment_18855\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Clonezilla-Image-Restoration-Confirmation-2.png\" rel=\"attachment wp-att-18855\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18855\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Clonezilla-Image-Restoration-Confirmation-2.png\" alt=\"Clonezilla Image Restoration Confirmation\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Clonezilla Image Restoration Confirmation<\/p>\n<\/div>\n<p><strong>37.<\/strong>\u00a0If Clonezilla start successfully, the next screen will be a progress indicator. A word of caution. If the physical server had multiple partitions, this screen will flash up multiple times for each partition being recovered.<\/p>\n<div id=\"attachment_18848\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Clonezilla-Image-Restoration-Process.png\" rel=\"attachment wp-att-18848\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18848\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Clonezilla-Image-Restoration-Process.png\" alt=\"Clonezilla Image Restoration Process\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Clonezilla Image Restoration Process<\/p>\n<\/div>\n<p><strong>38.<\/strong>\u00a0Once the process finishes, Clonezilla will indicate if the process was successful or not and prompt the user for what to do next. One thing to keep in mind if the physical server is still up and running, once the virtual server is up and running as well they may be using the same IP address and this could cause issues with access to both servers.<\/p>\n<p>Use caution when booting the new virtual server on a production network. Another option is once the guest has been imaged, remove the VIF (virtual interface) from the guest so that it won\u2019t have a network connection when it restarts (this won\u2019t affect management of the server through the SSH tunnel). Removing the VIF can be accomplished with two commands.<\/p>\n<pre># xe vif-list vm-uuid=&lt;uuid_of_VM&gt; | head -1\r\n# xe vif-destroy uuid=&lt;uuid_from_above_command&gt;\r\n<\/pre>\n<p>When Clonezilla is done, it will alert the user as to whether or not the image was successfully copied to the virtual guest.<\/p>\n<div id=\"attachment_18849\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Clonezilla-Disk-Cloning-Finishes-1.png\" rel=\"attachment wp-att-18849\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18849\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Clonezilla-Disk-Cloning-Finishes-1.png\" alt=\"Clonezilla Disk Cloning Finishes\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Clonezilla Disk Cloning Finishes<\/p>\n<\/div>\n<p><strong>39.<\/strong>\u00a0The next screen will provide the option to restart the virtual guest but from earlier in this article, the boot device was set to network boot and as such it needs to be changed back to the virtual guests hard disk first and network second. This is easily accomplish on the XenServer host by modifying the xe command from earlier.<\/p>\n<pre># xe vm-param-set uuid=&lt;uuid_of_VM&gt; HVM-boot-params:order=cn\r\n<\/pre>\n<p>Once the command above has been entered, the guest can be rebooted from the next menu presented by Clonezilla.<\/p>\n<div id=\"attachment_18850\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Reboot-Guest-Virtual-Machine.png\" rel=\"attachment wp-att-18850\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18850\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Reboot-Guest-Virtual-Machine.png\" alt=\"Reboot Guest Virtual Machine\" width=\"722\" height=\"427\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Reboot Guest Virtual Machine<\/p>\n<\/div>\n<p><strong>40.<\/strong>\u00a0Rebooting will restart the virtual machine and disconnect the VNC session. There is a slight chance that the domain that the virtual machine starts up in or the VNC-port may change upon rebooting the virtual host.<\/p>\n<p>It is suggested to have a SSH connection to the XenServer host open already so that command from earlier can be used to quickly determine the domain id and VNC-port again. Having this ready will make it easier to quickly re-establish a SSH tunnel to the XenServer host as well.<\/p>\n<p>Upon rebooting, hopefully you\u2019ll be presented with the wonderful boot screen of a physical server that is now a bona fide virtual host running on a XenServer system!<\/p>\n<div id=\"attachment_18851\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Boot-Screen-of-Physical-Server.png\" rel=\"attachment wp-att-18851\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18851\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Boot-Screen-of-Physical-Server.png\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Boot-Screen-of-Physical-Server.png 802w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Boot-Screen-of-Physical-Server-768x599.png 768w\" alt=\"Boot Screen of Physical Server\" width=\"802\" height=\"626\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Boot Screen of Physical Server<\/p>\n<\/div>\n<p>There it is, a successful physical to virtual migration on a XenServer host. The physical server used for this virtualization had some special network configurations that will require further configuration in order to get it completely back up and running but once the host boots, these issues can be corrected.<\/p>\n<p>Thanks for having the patience to read through this entire article and hopefully it will provide some insight into physical to virtual migrations within XenServer!<\/p>\n<div class=\"google-auto-placed ap_container\">The next article in this series will cover XenCenter (Citrix\u2019s approved GUI application method of managing XenServers) as well as an open source web based alternative known as Xen Orchestra.<\/div>\n<\/div>\n<\/div>\n<h1 class=\"post-title\">Managing XenServer with a XenCenter and Xen Orchestra Web Interfaces \u2013 Part \u2013 7<\/h1>\n<p>Up to this point all of the management of the\u00a0<strong>XenServer<\/strong>\u00a0host has been accomplished via a remote SSH connection. This is arguably the most straight forward approach, but it doesn\u2019t always scale well to large XenServer pools or installations.<\/p>\n<p>Several applications\/utilities exist in order to manage XenServer implementations and this article will cover the highlights of some of the commonly used options as well as provide a bash script for Linux user\u2019s to obtain a console session to a guest running on a XenServer host.<\/p>\n<p>Go through our\u00a0<a href=\"https:\/\/www.tecmint.com\/citrix-xenserver-installation-and-network-configuration-in-linux\/\" target=\"_blank\" rel=\"noopener\">XenServer Part 1 to 6 series<\/a>\u00a0to learn how to install, configure and manage XenServer 6.5.<\/p>\n<p><strong>Citrix<\/strong>\u00a0provides a Windows only utility known as\u00a0<strong>XenCenter<\/strong>\u00a0that allows an administrator to manage\u00a0<strong>XenServer<\/strong>implementations and the utility scales very well.<\/p>\n<p><strong>XenCenter<\/strong>\u00a0provides all of the major features necessary for an administrator to effectively and efficiently manage XenServer hosts. XenCenter will allow for an administrator to manage multiple XenServer servers or pools and allows for the easy creation of guests, storage repositories, network interfaces (bonds\/VIF), and other more advanced features in XenServer.<\/p>\n<p>A third party option for managing XenServer implementations includes a web based manager known as\u00a0<strong>Xen Orchestra<\/strong>. Xen Orchestra, in contrast to XenCenter, is installed on a Linux system and runs its own web server that allows system administrators to control XenServer implementations from theoretically any operating system.<\/p>\n<p><strong>Xen Orchestra<\/strong>\u00a0has many of the same features as XenCenter and is constantly adding new features (including Docker management, disaster recovery solutions, and live resource modifications) and provides support subscriptions to companies who wish to have technical support on the product.<\/p>\n<h4>System Requirements<\/h4>\n<ol>\n<li>XenServer 6.5 installed, updated, and accessible over the network.<\/li>\n<li>A Debian based Linux distro ( Xen Orchestra install only).<\/li>\n<li>Windows Machine ( Virtual or physical is fine; XenCenter install only).<\/li>\n<\/ol>\n<h3>Installation of XenCenter in Windows<\/h3>\n<p><strong>XenCenter<\/strong>\u00a0is Citrix\u2019s approved method for managing XenServer. It is a fairly user friendly utility that can accomplish the bulk of the day to day tasks within organizations that utilize XenServer.<\/p>\n<p>It is available both directly from Citrix (<a href=\"http:\/\/downloadns.citrix.com.edgesuite.net\/10341\/XenServer-6.5.0-SP1-XenCenterSetup.exe\" target=\"_blank\" rel=\"nofollow noopener\">XenServer-6.5.0-SP1-XenCenterSetup.exe<\/a>) or it can also be obtained from an already installed XenServer host by visiting the hosts\u00a0<code>IP\/hostname<\/code>\u00a0from a web browser.<\/p>\n<div id=\"attachment_19834\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenCenter-Installer.png\" rel=\"attachment wp-att-19834\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19834\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenCenter-Installer.png\" alt=\"XenCenter Installer\" width=\"621\" height=\"432\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenCenter Installer<\/p>\n<\/div>\n<p>Once the installer has downloaded, it needs to be launched to actually install XenCenter to this particular host. The installation is very straight forward and once the installation is done, the application can be launched by clicking the XenCenter icon on the desktop or by locating the program in the Windows start bar.<\/p>\n<div id=\"attachment_19835\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Launch-XenCenter.png\" rel=\"attachment wp-att-19835\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19835\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Launch-XenCenter.png\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Launch-XenCenter.png 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Launch-XenCenter-768x576.png 768w\" alt=\"Launch XenCenter\" width=\"1024\" height=\"768\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Launch XenCenter<\/p>\n<\/div>\n<p>The next step in starting to manage\u00a0<strong>XenServers<\/strong>\u00a0with\u00a0<strong>XenCenter<\/strong>\u00a0is to add them to the panel by clicking \u2018<strong>Add New Server<\/strong>\u2018.<\/p>\n<div id=\"attachment_19836\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Add-New-Server-in-XenCenter.png\" rel=\"attachment wp-att-19836\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19836\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Add-New-Server-in-XenCenter.png\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Add-New-Server-in-XenCenter.png 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Add-New-Server-in-XenCenter-768x576.png 768w\" alt=\"Add New Server in XenCenter\" width=\"1024\" height=\"768\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Add New Server in XenCenter<\/p>\n<\/div>\n<p>Clicking the \u2018<strong>Add New Server<\/strong>\u2018 button will prompt for the IP address or hostname of the XenServer that should be added to XenCenter. The prompt will also request a username\/password combo for a user to log into the host as well.<\/p>\n<div id=\"attachment_19837\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Add-Hostname-of-XenServer.png\" rel=\"attachment wp-att-19837\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19837\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Add-Hostname-of-XenServer.png\" alt=\"Add Hostname of XenServer\" width=\"416\" height=\"250\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Add Hostname of XenServer<\/p>\n<\/div>\n<p>Upon successful authentication, the Xen server(s) should appear in the left panel of XenCenter showing that proper authentication has occurred and that the systems can now be managed through the interface.<\/p>\n<p>The particular output here shows two Xen hosts as they were pooled together (more on this in future articles).<\/p>\n<div id=\"attachment_19838\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenCenter-XenServer-Management.png\" rel=\"attachment wp-att-19838\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19838\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenCenter-XenServer-Management.png\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenCenter-XenServer-Management.png 1030w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenCenter-XenServer-Management-768x572.png 768w\" alt=\"XenCenter XenServer Management\" width=\"1030\" height=\"767\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenCenter XenServer Management<\/p>\n<\/div>\n<p>Once a successful connection has been established, configuration of the host(s) can begin. To view the details of a specific host, simply highlight the host by clicking on it and ensuring the \u2018<strong>General<\/strong>\u2018 tab is selected in the center panel.<\/p>\n<p>The \u2018<strong>General<\/strong>\u2018 tab can be used to gain quick insight into the current configuration of this particular host including current status, patches applied, uptime, license information (if applicable), and more.<\/p>\n<div id=\"attachment_19839\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/View-XenServer-Properties.png\" rel=\"attachment wp-att-19839\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19839\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/View-XenServer-Properties.png\" sizes=\"auto, (max-width: 1023px) 100vw, 1023px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/View-XenServer-Properties.png 1023w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/View-XenServer-Properties-768x703.png 768w\" alt=\"View XenServer Properties\" width=\"1023\" height=\"936\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">View XenServer Properties<\/p>\n<\/div>\n<p>The tab names at the top of the host control panel are very self explanatory as to the purpose of that particular tab. Taking a closer look at some of them, many aspects from this series of articles can be confirmed.<\/p>\n<p>For instance in part 3 \u201c<a href=\"https:\/\/www.tecmint.com\/xenserver-network-lacp-bond-vlan-and-bonding-configuration\/\" target=\"_blank\" rel=\"noopener\">XenServer Network Configuration<\/a>\u201d, a network for Tecmint guests was created from the command line.<\/p>\n<div id=\"attachment_19840\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/View-XenServer-Network-Configuration.png\" rel=\"attachment wp-att-19840\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19840\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/View-XenServer-Network-Configuration.png\" sizes=\"auto, (max-width: 769px) 100vw, 769px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/View-XenServer-Network-Configuration.png 769w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/View-XenServer-Network-Configuration-768x847.png 768w\" alt=\"View XenServer Network Configuration\" width=\"769\" height=\"848\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">View XenServer Network Configuration<\/p>\n<\/div>\n<p>Arguably the most valuable tab within\u00a0<strong>XenCenter<\/strong>\u00a0is the \u2018<strong>Console<\/strong>\u2018 tab. This tab allows the administrator to have console access to the XenServer host\u2019s and virtual guest\u2019s desktop interface.<\/p>\n<p>This screen can also be used to manage the virtual guest operating system in the event that remote administration techniques are unavailable.<\/p>\n<div id=\"attachment_19841\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Manage-and-Access-XenServer-VMs-Console.png\" rel=\"attachment wp-att-19841\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19841\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Manage-and-Access-XenServer-VMs-Console.png\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Manage-and-Access-XenServer-VMs-Console.png 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Manage-and-Access-XenServer-VMs-Console-768x702.png 768w\" alt=\"Manage and Access XenServer VM's Console\" width=\"1024\" height=\"936\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Manage and Access XenServer VM\u2019s Console<\/p>\n<\/div>\n<p>As can be seen from the interface, the\u00a0<strong>XenCenter<\/strong>\u00a0tool is a very versatile tool but does have the major drawback of only being available for administrators who use Windows or have a Windows virtual machine running somewhere.<\/p>\n<p>For those who chose\u00a0<strong>XenServer<\/strong>\u00a0for its open source nature, it is frustrating that Windows is required in order to manage the system however there are still options.<\/p>\n<h3>Installation of Xen Orchestra<\/h3>\n<p><strong>Xen Orchestra<\/strong>, as mentioned earlier, is a web based method for managing XenServer infrastructures. The officially supported and suggested product to use in a production environment is the\u00a0<strong>Xen Orchestra Appliance<\/strong>, or often called\u00a0<strong>XOA<\/strong>.<\/p>\n<p>This appliance is a pre-built and highly stable\u00a0<strong>Debian<\/strong>\u00a0virtual guest that can be installed to a\u00a0<strong>XenServer<\/strong>\u00a0host or run through\u00a0<strong>VirtualBox<\/strong>.<\/p>\n<p>Once\u00a0<strong>XOA<\/strong>\u00a0is up and running, the\u00a0<strong>Xen Orchestra<\/strong>\u00a0web interface is available and can be used to manage XenServers.<\/p>\n<p>There are many benefits to using the official\u00a0<strong>XO<\/strong>\u00a0appliance but there is also the ability to install\u00a0<strong>Xen Orchestra<\/strong>from sources as well. Installing from sources provides all of the latest and greatest bug fixes and feature enhancements directly from the Xen Orchestra development team.<\/p>\n<p>The next few paragraphs will walk through the process of manually installing\u00a0<strong>Xen Orchestra<\/strong>\u00a0on a\u00a0<strong>Debian 8 Jessie<\/strong>\u00a0install. It is assumed that a\u00a0<strong>Debian 8<\/strong>\u00a0system is already running and fully updated from the official Debian repositories.<\/p>\n<p>To see how to install Debian 8 please see the walk through found here\u00a0<a href=\"https:\/\/www.tecmint.com\/debian-8-installation-and-upgrade-debian-wheezy-to-jessie\/\" target=\"_blank\" rel=\"noopener\">Installation of Debian 8 Jessie<\/a>.<\/p>\n<p>The official guide to building XO from source can be found\u00a0<a href=\"https:\/\/xen-orchestra.com\/docs\/from_the_sources.html\" target=\"_blank\" rel=\"nofollow noopener\">here<\/a>. The following are modified steps to accomplish the same task on a host running\u00a0<strong>Debian 8 Jessie<\/strong>.<\/p>\n<p>The first step to building\u00a0<strong>Xen Orchestra (XO)<\/strong>\u00a0from sources is to install the necessary dependencies. According to the XO documentation the dependencies can be installed with the following command.<\/p>\n<pre># apt-get install wget build-essential redis-server libpng-dev git python-minimal\r\n<\/pre>\n<p>Next\u00a0<code>node.js<\/code>\u00a0needs to be installed as it is required by XO. The installation of\u00a0<code>node.js<\/code>\u00a0can be accomplish by following the next few steps.<\/p>\n<pre># wget -c https:\/\/raw.githubusercontent.com\/visionmedia\/n\/master\/bin\/n\r\n# chmod u+x n\r\n# .\/n lts\r\n# npm i -g npm\r\n<\/pre>\n<p>Be sure to check that the proper versions of both\u00a0<code>'node'<\/code>\u00a0and\u00a0<code>'npm'<\/code>\u00a0are installed with the following commands.<\/p>\n<pre># node -v\r\n# npm -v\r\n<\/pre>\n<div id=\"attachment_19842\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Check-Nodejs-and-NPM-Version.png\" rel=\"attachment wp-att-19842\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19842\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Check-Nodejs-and-NPM-Version.png\" alt=\"Check Nodejs and NPM Version\" width=\"240\" height=\"68\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check Nodejs and NPM Version<\/p>\n<\/div>\n<p>After the successful completion of these commands, all the necessary dependencies are installed and the system is ready to begin the installation of the XO server and XO web components.<\/p>\n<pre># git clone -b stable http:\/\/github.com\/vatesfr\/xo-server \r\n# git clone -b stable http:\/\/github.com\/vatesfr\/xo-web\r\n# ls -l\r\n<\/pre>\n<div id=\"attachment_19843\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Installation-of-Xen-Orchestra.png\" rel=\"attachment wp-att-19843\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19843\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Installation-of-Xen-Orchestra.png\" alt=\"Installation of Xen Orchestra\" width=\"621\" height=\"340\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Installation of Xen Orchestra<\/p>\n<\/div>\n<p>The first step is to prepare the\u00a0<strong>XO-Server<\/strong>. All of the commands to prepare the XO server must be issued from within the\u00a0<code>'xo-server'<\/code>\u00a0directory.<\/p>\n<pre># cd xo-server\r\n# npm install &amp;&amp; npm run build\r\n<\/pre>\n<p>This process will take some time (circa 5 minutes) and does require an active Internet connection. Once complete the server configuration file needs to be created and modified to point to the web information that will be built in the next paragraphs.<\/p>\n<p>The\u00a0<code>'xo-server'<\/code>\u00a0and\u00a0<code>'xo-web'<\/code>\u00a0folders are assumed to be in the same parent directory according to the installation instructions; modify to fit the environment as needed.<\/p>\n<p>To accomplish the server\u2019s configuration issue the following commands.<\/p>\n<pre># cp sample.config.yaml .xo-server.yaml\r\n# nano .xo-server.yaml\r\n<\/pre>\n<p>Once the\u00a0<code>'.xo-server.yaml'<\/code>\u00a0file is opened, navigate toward the bottom of the file and locate the line \u2018<strong># List of files\/directories which will be served.\u2019.<\/strong>\u00a0Below this line there is a line that will be commented out with a\u00a0<strong>\u2018#\u2019<\/strong>and the comment needs to be removed.<\/p>\n<p>If\u00a0<code>xo-server<\/code>\u00a0and\u00a0<code>xo-web<\/code>\u00a0directories are in the same parent folder, change the line to:\u00a0<code>'\/':<\/code><code>'..\/xo-web\/dist'<\/code>\u00a0(single quotes are needed in the preceding code).<\/p>\n<p>Otherwise, make the appropriate changes to the path for the\u00a0<code>'xo-web\/dist\/'<\/code>\u00a0folder. (<strong>NOTE:<\/strong>\u00a0A privileged user is required to bind to port\u00a0<strong>80<\/strong>).<\/p>\n<p>If a non-privileged user is to be used, locate the line\u00a0<code>'port: 80'<\/code>\u00a0in the\u00a0<code>'.xo-server.yaml'<\/code>\u00a0file and change the port value to a port number above\u00a0<strong>1024<\/strong>. This guide will use port\u00a0<strong>8080<\/strong>\u00a0by setting the port directive as such\u00a0<code>'port: 8080'<\/code>.<\/p>\n<div id=\"attachment_19844\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Configure-Xen-Orchestra.png\" rel=\"attachment wp-att-19844\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19844\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Configure-Xen-Orchestra.png\" alt=\"Configure Xen Orchestra\" width=\"445\" height=\"67\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Configure Xen Orchestra<\/p>\n<\/div>\n<p>Save the changes to this file and exit the text editor. At this point the server should be able to be started successfully. Test this before continuing by issuing the following command (To stop the server, hit\u00a0<code>'ctrl' + 'c'<\/code>\u00a0keys).<\/p>\n<pre>$ su -c 'npm start'\r\n<\/pre>\n<div id=\"attachment_19845\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Start-NPM-Service.png\" rel=\"attachment wp-att-19845\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19845\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Start-NPM-Service.png\" alt=\"Start NPM Service\" width=\"653\" height=\"221\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Start NPM Service<\/p>\n<\/div>\n<p>Now the web files for the XO server need to be prepared. This is a simple process that must be done from within the\u00a0<code>'xo-web'<\/code>\u00a0directory.<\/p>\n<pre>$ cd ..\/xo-web\r\n$ npm install\r\n$ npm run build\r\n<\/pre>\n<p>The build process for the web files will take time and requires an active Internet connection as well. Once the process is complete, the server can be started again and will deliver the newly created web files.<\/p>\n<pre>$ cd ..\/xo-server\r\n$ su -c 'npm start'\r\n<\/pre>\n<p>At this point open a web browser and navigate to the\u00a0<code>XO-Server's IP<\/code>\u00a0address and port number. In the configuration above, the server was opened on port\u00a0<strong>8080<\/strong>\u00a0so to connect to Xen Orchestra, the following url will be needed:<\/p>\n<pre>http:\/\/:8080\r\n<\/pre>\n<p>Once successfully connected, the default user-name and password are as follows:<\/p>\n<pre>User-name: <strong>admin@admin.net<\/strong>\r\nPassword: <strong>admin<\/strong>\r\n<\/pre>\n<p>A successful login should result in the following web page loading.<\/p>\n<div id=\"attachment_19846\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Xen-Orchestra-Web-Interface.png\" rel=\"attachment wp-att-19846\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19846\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Xen-Orchestra-Web-Interface.png\" sizes=\"auto, (max-width: 1017px) 100vw, 1017px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Xen-Orchestra-Web-Interface.png 1017w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Xen-Orchestra-Web-Interface-768x480.png 768w\" alt=\"Xen Orchestra Web Interface\" width=\"1017\" height=\"635\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Xen Orchestra Web Interface<\/p>\n<\/div>\n<p>At this point\u00a0<strong>Xen Orchestra<\/strong>\u00a0is working and ready to be used to manage\u00a0<strong>XenServer<\/strong>\u00a0hosts.<\/p>\n<p><strong>NOTE:<\/strong>\u00a0As mentioned earlier, it is strongly recommended that the official Xen Orchestra appliance be used to manage production XenServer hosts! These instructions walked the reader through installing the absolute newest feature set of Xen Orchestra from sources.<\/p>\n<h3>Using Xen Orchestra<\/h3>\n<p>With all of the building out of the way, it\u2019s time to learn how to use Xen Orchestra. The first step to managing XenServer hosts in XO is to add the server. Clicking the \u2018<strong>Add server<\/strong>\u2018 button on the home page will launch the add server prompt.<\/p>\n<div id=\"attachment_19847\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Add-New-Server-Under-Xen-Orchestra.png\" rel=\"attachment wp-att-19847\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19847\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Add-New-Server-Under-Xen-Orchestra.png\" sizes=\"auto, (max-width: 1008px) 100vw, 1008px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Add-New-Server-Under-Xen-Orchestra.png 1008w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Add-New-Server-Under-Xen-Orchestra-768x373.png 768w\" alt=\"Add New Server Under Xen Orchestra\" width=\"1008\" height=\"490\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Add New Server Under Xen Orchestra<\/p>\n<\/div>\n<p>Provide the prompt with the proper credentials and hostname\/IP address for the XenServer to connect to and upon successful authentication, XO will display the XenServer host information.<\/p>\n<div id=\"attachment_19848\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/View-XenServer-Host-Information-in-Xen-Orchestra.png\" rel=\"attachment wp-att-19848\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19848\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/View-XenServer-Host-Information-in-Xen-Orchestra.png\" sizes=\"auto, (max-width: 1008px) 100vw, 1008px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/View-XenServer-Host-Information-in-Xen-Orchestra.png 1008w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/View-XenServer-Host-Information-in-Xen-Orchestra-768x373.png 768w\" alt=\"View XenServer Host Information in Xen Orchestra\" width=\"1008\" height=\"490\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">View XenServer Host Information in Xen Orchestra<\/p>\n<\/div>\n<p>Much of the functionality from\u00a0<strong>XenCenter<\/strong>\u00a0has been built into\u00a0<strong>Xen Orchestra<\/strong>\u00a0as well but some of the options may be a little more obscure to find at first. Let\u2019s walk through some of the commonly needed tools within Xen Orchestra.<\/p>\n<p>Managing the XenServer hosts themselves can be accomplished by clicking the drop down arrow next to the name of each host or by clicking on the actual name a more detailed information page about the host can be obtained.<\/p>\n<p>The first image is the drop down menu and the second image is the XenServer host specific page obtained by clicking on the name of the XenServer rather than the drop down menu.<\/p>\n<div id=\"attachment_19849\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Manage-XenServer-Hosts-in-Xen-Orchestra.png\" rel=\"attachment wp-att-19849\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19849\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Manage-XenServer-Hosts-in-Xen-Orchestra.png\" sizes=\"auto, (max-width: 1008px) 100vw, 1008px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Manage-XenServer-Hosts-in-Xen-Orchestra.png 1008w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Manage-XenServer-Hosts-in-Xen-Orchestra-768x373.png 768w\" alt=\"Manage XenServer Hosts in Xen Orchestra\" width=\"1008\" height=\"490\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Manage XenServer Hosts in Xen Orchestra<\/p>\n<\/div>\n<div id=\"attachment_19850\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Monitor-XenServer-Host-in-Xen-Orchestra.png\" rel=\"attachment wp-att-19850\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19850\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Monitor-XenServer-Host-in-Xen-Orchestra.png\" sizes=\"auto, (max-width: 1344px) 100vw, 1344px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Monitor-XenServer-Host-in-Xen-Orchestra.png 1344w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Monitor-XenServer-Host-in-Xen-Orchestra-768x480.png 768w\" alt=\"Monitor XenServer Host in Xen Orchestra\" width=\"1344\" height=\"840\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Monitor XenServer Host in Xen Orchestra<\/p>\n<\/div>\n<p>From both of these options, several\u00a0<strong>XenServer<\/strong>\u00a0specific actions can be accomplished such as adding storage repositories, creating virtual guests, and even console access to the XenServer host itself.<\/p>\n<p>Working with the guests themselves is also very easy within Xen Orchestra. By clicking the\u00a0<strong>XO<\/strong>\u00a0button in the top left of the page and then clicking on the virtual guest from the main screen, an administrator can control the many configuration options of virtual guests.<\/p>\n<div id=\"attachment_19851\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Configure-XenServer-Host-Settings-in-Xen-Orchestra.png\" rel=\"attachment wp-att-19851\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19851\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Configure-XenServer-Host-Settings-in-Xen-Orchestra.png\" sizes=\"auto, (max-width: 1344px) 100vw, 1344px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Configure-XenServer-Host-Settings-in-Xen-Orchestra.png 1344w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Configure-XenServer-Host-Settings-in-Xen-Orchestra-768x170.png 768w\" alt=\"Configure XenServer Host Settings in Xen Orchestra\" width=\"1344\" height=\"298\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Configure XenServer Host Settings in Xen Orchestra<\/p>\n<\/div>\n<div id=\"attachment_19852\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenServer-Host-Machine-Details.png\" rel=\"attachment wp-att-19852\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19852\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenServer-Host-Machine-Details.png\" sizes=\"auto, (max-width: 1327px) 100vw, 1327px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenServer-Host-Machine-Details.png 1327w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenServer-Host-Machine-Details-768x412.png 768w\" alt=\"XenServer Host Machine Details\" width=\"1327\" height=\"712\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Host Machine Details<\/p>\n<\/div>\n<p>From the virtual guests page, many of the aspects of the virtual guest can be managed including rebooting, snapshots, copying, and console sessions.<\/p>\n<p>One of the other administrative functions that Xen Orchestra provides is the ability to quickly migrate virtual guests to another server through a drag and drop interface.<\/p>\n<p>To accomplish this, a pool of XenServers must be created with shared resources and added within the Xen Orchestra interface. Once the pool is added, the administrator simply has to navigate to the main page of XO and drag the virtual guest to the XenServer host in which it should be migrated.<\/p>\n<div id=\"attachment_19853\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Migrate-XenServer-VMs-in-Xen-Orchestra.png\" rel=\"attachment wp-att-19853\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19853\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Migrate-XenServer-VMs-in-Xen-Orchestra.png\" sizes=\"auto, (max-width: 1680px) 100vw, 1680px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Migrate-XenServer-VMs-in-Xen-Orchestra.png 1680w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/Migrate-XenServer-VMs-in-Xen-Orchestra-768x164.png 768w\" alt=\"Migrate XenServer VM's in Xen Orchestra\" width=\"1680\" height=\"358\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Migrate XenServer VM\u2019s in Xen Orchestra<\/p>\n<\/div>\n<p><strong>Xen Orchestra<\/strong>\u00a0provides a respectable amount of functionality and flexibility with the added bonus that it allows administrators to manage XenServer hosts from any machine with a web browser thus making it an ideal choice for administrators who also use Linux.<\/p>\n<p>To read about more of the benefits and abilities of Xen Orchestra, please visit the administration manual located\u00a0<a href=\"https:\/\/xen-orchestra.com\/docs\/administration.html\" target=\"_blank\" rel=\"nofollow noopener\">here<\/a>.<\/p>\n<h3>Other Alternatives for XenServer Management<\/h3>\n<p><strong>XenServer<\/strong>\u00a0is very easily managed through graphical applications as well as the command line. Management of hosts is even easier once the hosts are pooled as the pool master will manage many of the configurations of the other pool members for the administrator.<\/p>\n<p>For those administrators who use Linux systems, sometimes booting a Windows machine is excessive for the purposes of connecting to a running guest.<\/p>\n<p>As mentioned in the\u00a0<a href=\"https:\/\/www.tecmint.com\/create-and-install-guest-virtual-machines-in-xenserver\/\" target=\"_blank\" rel=\"noopener\">XenServer guest creation article<\/a>, XenServer does have the ability for administrators to connect to the running guests via an SSH tunnel.<\/p>\n<p>The author takes advantage of this functionality quite often and has written a script to help automate this process so there is no need for a Windows virtual machine for XenCenter.<\/p>\n<p>This script allows an administrator to connect to a XenServer host, obtain a list of guests on the host, and then sets up a SSH tunnel and VNC connection to that running guest.<\/p>\n<p>The script helps to alleviate any issue that may occur should the guest loose network connectivity and thus the ability to be managed remotely. Since the VNC session is done through the XenServer host itself, as long as the administrator\u2019s machine can reach the XenServer, a console session to the guest will be available.<\/p>\n<p>The script has been tested for a couple of months but any suggestions, optimizations, or issue reports would be greatly appreciated should a reader locate any issues.<\/p>\n<p>The administrator can launch this BASH script in one of two ways (the following instructions assume that the script is in the current directory).<\/p>\n<pre>$ wget https:\/\/www.tecmint.com\/wp-content\/scripts\/XenVNC - <strong>BASH script download<\/strong>\r\n$ chmod u+x XenVNC;  .\/XenVNC \u2013 <strong>Method 1<\/strong>\r\n$ bash XenVNC \u2013 <strong>Method 2<\/strong>\r\n<\/pre>\n<p>Upon launching the script, the script will prompt for the necessary information for the XenServer(s) to connect to in order to obtain a list of virtual guests.<\/p>\n<div id=\"attachment_19854\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenServer-VNC-Connection.png\" rel=\"attachment wp-att-19854\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19854\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenServer-VNC-Connection.png\" alt=\"XenServer VNC Connection\" width=\"657\" height=\"442\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer VNC Connection<\/p>\n<\/div>\n<p>Once a guest is selected, a SSH tunnel will be created to the proper XenServer host and a console session to the guest will be created through xvncviewer.<\/p>\n<div id=\"attachment_19855\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenServer-Host-Console-Over-VNC.png\" rel=\"attachment wp-att-19855\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19855\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenServer-Host-Console-Over-VNC.png\" sizes=\"auto, (max-width: 1380px) 100vw, 1380px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenServer-Host-Console-Over-VNC.png 1380w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/04\/XenServer-Host-Console-Over-VNC-768x292.png 768w\" alt=\"XenServer Host Console Over VNC\" width=\"1380\" height=\"525\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Host Console Over VNC<\/p>\n<\/div>\n<p>The management of XenServer hosts and virtual guests is made much easier through the use of available tools. The Citrix approved\u00a0<strong>XenCenter<\/strong>\u00a0utility works wonderfully but for those administrators not running Windows, Xen Orchestra provides a clean web based method for managing XenServer hosts and XenServer guests.<\/p>\n<p>For those simply looking to quickly connect to the console session of a running guest, the included\u00a0<strong>BASH<\/strong>\u00a0script will quickly setup a connection to the guest through an SSH tunnel to the XenServer host actually running the virtual guest.<\/p>\n<h1 class=\"post-title\">Fresh Installation of XenServer 7<\/h1>\n<p>In earlier articles,\u00a0<a href=\"https:\/\/www.tecmint.com\/citrix-xenserver-installation-and-network-configuration-in-linux\/\" target=\"_blank\" rel=\"noopener\">XenServer 6.5 configuration and usage<\/a>\u00a0was discussed. In\u00a0<strong>May 2016<\/strong>,\u00a0<strong>Citrix<\/strong>\u00a0released the new version of the XenServer platform. Plenty has remained the same but there are also some useful new additions to this latest release.<\/p>\n<p>One of the biggest changes is the upgrade to the underlying\u00a0<code>Dom0<\/code>\u00a0environment.\u00a0<strong>XenServer 6.5<\/strong>\u00a0was using\u00a0<strong>CentOS 5.10<\/strong>\u00a0and the new release of\u00a0<strong>XenServer 7 Dom0<\/strong>\u00a0has been updated to\u00a0<strong>CentOS 7.2<\/strong>. This has brought about a newer Linux kernel in\u00a0<strong>Dom0<\/strong>\u00a0as well as ease of future upgrade abilities within\u00a0<strong>CentOS 7<\/strong>.<\/p>\n<p>Another big change occurred to the partitioning done for\u00a0<strong>Dom0<\/strong>. Older releases of XenServer relied upon\u00a0<strong>MBR<\/strong>and a rather small root partition (4GB). Subsequently, many users likely experienced issues where logs would routinely fill up the root partition if not monitored or exported to an external log mechanism.<\/p>\n<p>With the new release, the partitioning scheme has changed to\u00a0<strong>GPT<\/strong>\u00a0as well as a more logical partitioning has been performed. The chart below is fully credited to the official Citrix release information:<\/p>\n<ol>\n<li>18GB XenServer host control domain (dom0) partition<\/li>\n<li>18GB backup partition<\/li>\n<li>4GB logs partition<\/li>\n<li>1GB swap partition<\/li>\n<li>5GB UEFI boot partition<\/li>\n<\/ol>\n<p>These changes do require larger hard drive requirements for\u00a0<strong>Dom0<\/strong>\u00a0compared to older versions of XenServer but the scheme does alleviate several issues experienced in older versions.<\/p>\n<p>The next notable upgrade in\u00a0<strong>XenServer 7<\/strong>\u00a0is the actual upgrade from\u00a0<strong>Xen 4.4 to Xen 4.6<\/strong>.\u00a0<strong>Xen<\/strong>\u00a0is the actual hypervisor portion of XenServer.<\/p>\n<p>The list of fixes and enhancements is quite large but some of the highly noted enhancements from Citrix include agentless anti-malware introspection for guests as well as frameworks that can allow guests to be migrated between CPU\u2019s of different generations.<\/p>\n<p>There are many other enhancements seen in this upgrade and the author strongly encourages viewing the lists and associated documents on Citrix\u2019s website:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.citrix.com\/products\/xenserver\/whats-new.html\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/www.citrix.com\/products\/xenserver\/whats-new.html<\/a><\/li>\n<\/ol>\n<h4>DISCLAIMER<\/h4>\n<p>The purpose of this article is to walk through a fresh install as well as assist administrators with the process of upgrading older XenServer installs to the newer XenServer 7 and applying critical patches.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/installation-of-xenserver-7-upgrade-xenserver-6-5-to-7\/#C1\">Fresh Install of XenServer 7<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/installation-of-xenserver-7-upgrade-xenserver-6-5-to-7\/#C2\">Upgrading XenServer 6.5 to XenServer 7<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/installation-of-xenserver-7-upgrade-xenserver-6-5-to-7\/#C3\">Applying XenServer 7 Critical Patch<\/a><\/li>\n<\/ol>\n<p>There are several ways to do the upgrading process and the \u2018right\u2019 solution for any particular install will be highly dependent on the organization. Please be sure to understand the implications and processes required for a successful upgrade.<\/p>\n<p>Citrix has released a very detailed document that should be reviewed before the upgrade process is started:\u00a0<a href=\"https:\/\/docs.citrix.com\/content\/dam\/docs\/en-us\/xenserver\/xenserver-7-0\/downloads\/xenserver-7-0-installation-guide.pdf\" target=\"_blank\" rel=\"nofollow noopener\">xenserver-7-0-installation-guide.pdf<\/a><\/p>\n<h4>XenServer System Requirements<\/h4>\n<ol>\n<li><strong>XenServer 7 ISO<\/strong>\u00a0:\u00a0<a href=\"http:\/\/downloadns.citrix.com.edgesuite.net\/11616\/XenServer-7.0.0-main.iso\" target=\"_blank\" rel=\"nofollow noopener\">XenServer-7.0.0-main.iso<\/a><\/li>\n<li>Server capable of virtualization<\/li>\n<li>Hardware Compatibility List is here:\u00a0<a href=\"http:\/\/hcl.xenserver.org\/\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/hcl.xenserver.org\/<\/a><\/li>\n<li>Many systems will work even if not listed but results may vary, use at your own risk.<\/li>\n<li>Minimum 2GB ram; 4GB or more recommended to run virtual machines<\/li>\n<li>Mimimum 1 64-bit x86 1.5GHz cpu; 2GHz or more and multiple CPUs are suggested<\/li>\n<li>Harddrive space of at least 46GB; more required if virtual machines will be saved locally<\/li>\n<li>At least a 100mbps network card; multiple gigabit suggested<\/li>\n<\/ol>\n<h4>Author Suggested Additions<\/h4>\n<p>In order to save some potential headaches for readers, the author recommends the following items before beginning this process:<\/p>\n<ol>\n<li>Update the firmware on the XenServer system (especially NIC firmware) \u2013 more later<\/li>\n<li>Stop all non-essential guests to prevent issues<\/li>\n<li>Read through Citrix\u2019s documentation as well as this article before beginning<\/li>\n<li>Make sure to back up pool information in order to make a revert easier if needed<\/li>\n<li>Restart all the XenServer hosts one more time after all steps have been completed if the environment can afford the reboot time<\/li>\n<\/ol>\n<h3><a name=\"C1\"><\/a>Single Host Upgrade and Fresh Install of XenServer 7<\/h3>\n<p>This first process will walk through a completely new install of\u00a0<strong>XenServer 7<\/strong>. Be sure to check the minimum hardware requirements to ensure that the machine can support\u00a0<strong>XenServer 7<\/strong>.<\/p>\n<p><strong>1.<\/strong>\u00a0The first step in the installation is to download the\u00a0<strong>XenServer ISO<\/strong>\u00a0file. Using the link above, the file can easily be downloaded from the Internet using the\u00a0<strong>\u2018wget\u2019<\/strong>\u00a0command.<\/p>\n<pre># wget -c  http:\/\/downloadns.citrix.com.edgesuite.net\/11616\/XenServer-7.0.0-main.iso\r\n<\/pre>\n<p>Once the ISO has downloaded, copy it to a USB drive with the\u00a0<strong>\u2018dd\u2019<\/strong>\u00a0utility.\u00a0<strong>CAUTION<\/strong>\u00a0\u2013 The following command will replace\u00a0<strong>EVERYTHING<\/strong>\u00a0on the flash drive with the contents of the\u00a0<strong>XenServer ISO<\/strong>. This process will also create a bootable USB drive for the installation process.<\/p>\n<pre># dd if=XenServer-7.0.0-main.iso of=&lt;\/path\/to\/usb\/drive&gt;\r\n<\/pre>\n<p><strong>2.<\/strong>\u00a0Now place the bootable media into the system that XenServer should be installed. If the bootable media creation step was successful, the system should display the XenServer splash screen.<\/p>\n<div id=\"attachment_21798\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenServer-7-Boot-Screen.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21798\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenServer-7-Boot-Screen.png\" alt=\"XenServer 7 Boot Screen\" width=\"641\" height=\"479\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer 7 Boot Screen<\/p>\n<\/div>\n<p><strong>3.<\/strong>\u00a0From this screen, simply hit\u00a0<strong>enter<\/strong>\u00a0to boot into the installer. The first screen, once the installer has started successfully, will ask the user to select their language.<\/p>\n<div id=\"attachment_21799\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Installation-Language.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21799\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Installation-Language.png\" alt=\"Select XenServer-7 Installation Language\" width=\"721\" height=\"401\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select XenServer-7 Installation Language<\/p>\n<\/div>\n<p><strong>4.<\/strong>\u00a0The next screen will ask the user to confirm that an\u00a0<strong>upgrade or install<\/strong>\u00a0should be done as well as ask for any other special drivers that may need to be loaded in order to install XenServer.<\/p>\n<div id=\"attachment_21800\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenServer7-Install-Upgrade-Setup.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21800\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenServer7-Install-Upgrade-Setup.png\" alt=\"XenServer 7 Install or Upgrade Setup\" width=\"718\" height=\"398\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer 7 Install or Upgrade Setup<\/p>\n<\/div>\n<p><strong>5.<\/strong>\u00a0The next screen is the obligatory\u00a0<strong>EULA<\/strong>\u00a0(<strong>End User License Agreement<\/strong>). Use the keyboard arrows to move the cursor to the \u2018<strong>Accept EULA<\/strong>\u2018 button.<\/p>\n<div id=\"attachment_21801\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenServer-7-Accept-License.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21801\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenServer-7-Accept-License.png\" alt=\"XenServer 7 Accept License\" width=\"720\" height=\"399\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer 7 Accept License<\/p>\n<\/div>\n<p><strong>6.<\/strong>\u00a0This is where the installation can take one of two paths if the installer detects a prior install. The next screen will prompt the user for a\u00a0<strong>clean install<\/strong>\u00a0or\u00a0<strong>an upgrade<\/strong>\u00a0to an existing XenServer install. The first set of instructions here will walk through a clean install.\u00a0<strong>If an upgrade is needed skip ahead to step 15<\/strong>.<\/p>\n<div id=\"attachment_21802\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenServer-7-Install-or-Upgrade-Selection.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21802\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenServer-7-Install-or-Upgrade-Selection.png\" alt=\"XenServer 7 Install or Upgrade Selection\" width=\"719\" height=\"398\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer 7 Install or Upgrade Selection<\/p>\n<\/div>\n<p><strong>7.<\/strong>\u00a0The next screen will prompt for the installation device. In this case it will be\u00a0<strong>\u2018sda\u2019<\/strong>.<\/p>\n<div id=\"attachment_21804\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Installation-Drive.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21804\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Installation-Drive.png\" alt=\"Select XenServer 7 Installation Drive\" width=\"721\" height=\"400\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select XenServer 7 Installation Drive<\/p>\n<\/div>\n<p><strong>8.<\/strong>\u00a0Once the installation path has been chosen, XenServer will need to know where the installation files reside. In this case, the installer was booted from local media and that is the option that should be chosen.<\/p>\n<div id=\"attachment_21805\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Installation-Source.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21805\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Installation-Source.png\" alt=\"Select XenServer 7 Installation Source\" width=\"715\" height=\"398\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select XenServer 7 Installation Source<\/p>\n<\/div>\n<p><strong>9.<\/strong>\u00a0The next step will allow the user to install supplemental packs at the same time as this installer. At the time of this writing, there aren\u2019t any supplemental packs for\u00a0<strong>XenServer 7<\/strong>\u00a0so\u00a0<strong>\u2018no\u2019<\/strong>\u00a0can be selected here.<\/p>\n<div id=\"attachment_21806\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Supplemental-Packs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21806\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Supplemental-Packs.png\" alt=\"Select XenServer 7 Supplemental Packs\" width=\"720\" height=\"399\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select XenServer 7 Supplemental Packs<\/p>\n<\/div>\n<p><strong>10.<\/strong>\u00a0The next screen will allow the user to confirm the integrity of the source files before installing. Running this test is not required but can help detect installation issues before trying to write files.<\/p>\n<div id=\"attachment_21807\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Verify-XenServer-7-Installation-Source.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21807\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Verify-XenServer-7-Installation-Source.png\" alt=\"Verify XenServer 7 Installation Source\" width=\"719\" height=\"399\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Verify XenServer 7 Installation Source<\/p>\n<\/div>\n<p><strong>11.<\/strong>\u00a0Once the verification is completed, if selected during install, the XenServer installer will ask the user to setup some system information.<\/p>\n<p>The first prompt will be to set the root user\u2019s password. Now, since XenServer will be the underlying system to potentially several important virtualized servers, it is imperative that the password be secured as well as sufficiently complex!<\/p>\n<p><strong>Important<\/strong>: Do not forget this password either as there will not be any other users on the system once the installer finishes!<\/p>\n<div id=\"attachment_21808\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Set-XenServer-7-Root-Password.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21808\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Set-XenServer-7-Root-Password.png\" alt=\"Set XenServer 7 Root Password\" width=\"720\" height=\"400\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Set XenServer 7 Root Password<\/p>\n<\/div>\n<p><strong>12.<\/strong>\u00a0The next couple of steps will ask how the management network interface should be configured (<strong>Static<\/strong>address or\u00a0<strong>DHCP<\/strong>) as well as hostname and DNS information. This will be dependent on the environment.<\/p>\n<div id=\"attachment_21809\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Networking.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21809\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Networking.png\" alt=\"Select XenServer 7 Networking\" width=\"720\" height=\"400\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select XenServer 7 Networking<\/p>\n<\/div>\n<div id=\"attachment_21810\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Set-XenServer-7-Hostname-and-DNS.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21810\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Set-XenServer-7-Hostname-and-DNS.png\" alt=\"Set XenServer 7 Hostname and DNS\" width=\"720\" height=\"400\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Set XenServer 7 Hostname and DNS<\/p>\n<\/div>\n<p><strong>13.<\/strong>\u00a0This step covers several screens for setting time zone information and\u00a0<strong>NTP<\/strong>\u00a0(<a href=\"https:\/\/www.tecmint.com\/install-ntp-server-in-centos\/\" target=\"_blank\" rel=\"noopener\">Network Time Protocol<\/a>).<\/p>\n<div id=\"attachment_21811\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Timezone.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21811\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Timezone.png\" sizes=\"auto, (max-width: 1026px) 100vw, 1026px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Timezone.png 1026w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Timezone-768x575.png 768w\" alt=\"Select XenServer 7 Timezone\" width=\"1026\" height=\"768\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select XenServer 7 Timezone<\/p>\n<\/div>\n<div id=\"attachment_21812\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Set-XenServer-System-Time.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21812\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Set-XenServer-System-Time.png\" sizes=\"auto, (max-width: 1023px) 100vw, 1023px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Set-XenServer-System-Time.png 1023w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Set-XenServer-System-Time-768x577.png 768w\" alt=\"Set XenServer System Time\" width=\"1023\" height=\"769\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Set XenServer System Time<\/p>\n<\/div>\n<div id=\"attachment_21813\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Configure-NTP-for-XenServer.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21813\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Configure-NTP-for-XenServer.png\" sizes=\"auto, (max-width: 1029px) 100vw, 1029px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Configure-NTP-for-XenServer.png 1029w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Configure-NTP-for-XenServer-768x572.png 768w\" alt=\"Configure NTP for XenServer 7\" width=\"1029\" height=\"766\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Configure NTP for XenServer 7<\/p>\n<\/div>\n<p><strong>14.<\/strong>\u00a0At this point in the installer, all of the initial configuration information for a clean install has been provided and the installer is ready to install all the necessary files.<\/p>\n<p><strong>WARNING<\/strong>\u00a0\u2013 Continuing at this point\u00a0<strong>WILL ERASE ALL DATA<\/strong>\u00a0on the target disks!<\/p>\n<p>Continue to step 19 after selecting \u2018<strong>Install XenServer<\/strong>\u2018.<\/p>\n<div id=\"attachment_21814\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Confirm-XenServer-7-Installation.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21814\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Confirm-XenServer-7-Installation.png\" alt=\"Confirm XenServer 7 Installation\" width=\"716\" height=\"399\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Confirm XenServer 7 Installation<\/p>\n<\/div>\n<h3><a name=\"C2\"><\/a>Upgrading XenServer 6.5 to XenServer 7<\/h3>\n<p><strong>15.<\/strong>\u00a0<strong>These steps are only used if performing an upgrade to an older version of XenServer<\/strong>. The installation media will locate older versions of XenServer if the user wishes. When doing an upgrade, the installer will create a backup of the current system automatically.<\/p>\n<div id=\"attachment_21815\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Previous-XenServer-Installation-Detected.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21815\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Previous-XenServer-Installation-Detected.png\" alt=\"Previous XenServer Installation Detected\" width=\"716\" height=\"398\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Previous XenServer Installation Detected<\/p>\n<\/div>\n<p><strong>16.<\/strong>\u00a0Once the back up is created, the installer will prompt for supplemental packs. At the time of this writing, there aren\u2019t any supplemental packs for XenServer 7.<\/p>\n<div id=\"attachment_21806\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Supplemental-Packs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21806\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Select-XenServer-7-Supplemental-Packs.png\" alt=\"Select XenServer 7 Supplemental Packs\" width=\"720\" height=\"399\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select XenServer 7 Supplemental Packs<\/p>\n<\/div>\n<p><strong>17.<\/strong>\u00a0The next screen will allow the user to confirm the integrity of the source files before installing. Running this test is not required but can help detect installation issues before trying to write files.<\/p>\n<div id=\"attachment_21807\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Verify-XenServer-7-Installation-Source.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21807\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Verify-XenServer-7-Installation-Source.png\" alt=\"Verify XenServer 7 Installation Source\" width=\"719\" height=\"399\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Verify XenServer 7 Installation Source<\/p>\n<\/div>\n<p><strong>18.<\/strong>\u00a0Finally the upgrade can begin! At this point the installer will backup the older\u00a0<strong>6.x<\/strong>\u00a0system and make the appropriate changes to setup XenServer 7.<\/p>\n<div id=\"attachment_21814\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Confirm-XenServer-7-Installation.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21814\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Confirm-XenServer-7-Installation.png\" alt=\"Confirm XenServer 7 Installation\" width=\"716\" height=\"399\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Confirm XenServer 7 Installation<\/p>\n<\/div>\n<h3>Continuing XenSever 7 Installation<\/h3>\n<p><strong>19.<\/strong>\u00a0One of the most obvious changes the author noted with the newer XenServer 7 is that boot times seemed to have been drastically reduced. Most of the XenServer 7 Systems tested so far have booted approximately\u00a0<strong>35-60%<\/strong>\u00a0faster than they did when running\u00a0<strong>XenServer 6.5<\/strong>. If the installation was successful, the system should boot to the XenServer console.<\/p>\n<div id=\"attachment_21816\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenServer-7-Configuration-Console.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21816\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenServer-7-Configuration-Console.png\" alt=\"XenServer 7 Configuration Console\" width=\"634\" height=\"473\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer 7 Configuration Console<\/p>\n<\/div>\n<p>Congratulations, the installation\/upgrade of XenServer was successful! Now it is time to create virtual guests, networking, and storage repositories!<\/p>\n<h3><a name=\"C3\"><\/a>Applying XenServer 7 Critical Patch XS70E004<\/h3>\n<p><strong>20.<\/strong>\u00a0To apply this patch through XenCenter, simply go to the\u00a0<strong>\u2018Tools\u2019<\/strong>\u00a0menu and select\u00a0<strong>\u2018Install Update\u2019<\/strong>.<\/p>\n<div id=\"attachment_21817\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Install-XenCenter-Patch.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21817\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Install-XenCenter-Patch.png\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Install-XenCenter-Patch.png 891w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Install-XenCenter-Patch-768x176.png 768w\" alt=\"Install XenCenter Patch\" width=\"891\" height=\"204\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Install XenCenter Patch<\/p>\n<\/div>\n<p><strong>21.<\/strong>\u00a0The next screen will provide some information about the patch installation process. Just click\u00a0<strong>next<\/strong>\u00a0to continue after reading the precautions.<\/p>\n<div id=\"attachment_21818\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenCenter-Patch-Information.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21818\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenCenter-Patch-Information.png\" sizes=\"auto, (max-width: 822px) 100vw, 822px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenCenter-Patch-Information.png 822w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenCenter-Patch-Information-768x514.png 768w\" alt=\"XenCenter Patch Information\" width=\"822\" height=\"550\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenCenter Patch Information<\/p>\n<\/div>\n<p><strong>22.<\/strong>\u00a0XenCenter, if connected to the Internet, will be able to locate any missing patches for the environment on this screen. At the time of this article the only patch available is\u00a0<strong>\u2018XS70E004\u2019<\/strong>. This patch should be applied\u00a0<strong>IMMEDIATELY<\/strong>\u00a0following the upgrade or installation of XenServer 7.<\/p>\n<div id=\"attachment_21819\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenCenter-Patch-Update.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21819\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenCenter-Patch-Update.png\" sizes=\"auto, (max-width: 824px) 100vw, 824px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenCenter-Patch-Update.png 824w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/XenCenter-Patch-Update-768x514.png 768w\" alt=\"XenCenter Patch Update\" width=\"824\" height=\"551\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenCenter Patch Update<\/p>\n<\/div>\n<p><strong>23.<\/strong>\u00a0The next screen will prompt for the XenServer hosts to apply the patch to.<\/p>\n<div id=\"attachment_21820\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Apply-XenCenter-Patch.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21820\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Apply-XenCenter-Patch.png\" sizes=\"auto, (max-width: 822px) 100vw, 822px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Apply-XenCenter-Patch.png 822w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Apply-XenCenter-Patch-768x515.png 768w\" alt=\"Apply XenCenter Patch\" width=\"822\" height=\"551\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Apply XenCenter Patch<\/p>\n<\/div>\n<p><strong>24.<\/strong>\u00a0After clicking\u00a0<strong>\u2018next\u2019<\/strong>\u00a0XenCenter will download the patches and push them to the selected servers. Simply wait for this process to complete and select\u00a0<strong>\u2018next\u2019<\/strong>\u00a0when applicable.<\/p>\n<div id=\"attachment_21821\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Download-XenCenter-Patch.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21821\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Download-XenCenter-Patch.png\" sizes=\"auto, (max-width: 822px) 100vw, 822px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Download-XenCenter-Patch.png 822w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Download-XenCenter-Patch-768x515.png 768w\" alt=\"Download XenCenter Patch\" width=\"822\" height=\"551\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Download XenCenter Patch<\/p>\n<\/div>\n<p><strong>25.<\/strong>\u00a0With the patch files uploaded, XenCenter will run a series of checks to ensure that certain conditions are met before the installation of the patches and the rebooting of hosts.<\/p>\n<div id=\"attachment_21822\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Checking-XenCenter-Patch.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21822\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Checking-XenCenter-Patch.png\" sizes=\"auto, (max-width: 823px) 100vw, 823px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Checking-XenCenter-Patch.png 823w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Checking-XenCenter-Patch-768x517.png 768w\" alt=\"Checking XenCenter Patch\" width=\"823\" height=\"554\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Checking XenCenter Patch<\/p>\n<\/div>\n<p><strong>25.<\/strong>\u00a0Once all of the pre-checks are completed, XenCenter will prompt the administrator as to how post install tasks should be handled. Unless there is a compelling reason not to, allowing XenCenter to carry out these tasks is usually the best answer.<\/p>\n<div id=\"attachment_21823\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Apply-XenCenter-Patch-Updates.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21823\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Apply-XenCenter-Patch-Updates.png\" sizes=\"auto, (max-width: 823px) 100vw, 823px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Apply-XenCenter-Patch-Updates.png 823w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Apply-XenCenter-Patch-Updates-768x515.png 768w\" alt=\"Apply XenCenter Patch Updates\" width=\"823\" height=\"552\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Apply XenCenter Patch Updates<\/p>\n<\/div>\n<p><strong>26.<\/strong>\u00a0The next screen will display the progress of the patch installation and alert the administrator of any errors experienced.<\/p>\n<div id=\"attachment_21824\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Installing-XenCenter-Patch-Updates.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21824\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Installing-XenCenter-Patch-Updates.png\" sizes=\"auto, (max-width: 823px) 100vw, 823px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Installing-XenCenter-Patch-Updates.png 823w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/07\/Installing-XenCenter-Patch-Updates-768x514.png 768w\" alt=\"Installing XenCenter Patch Updates\" width=\"823\" height=\"551\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Installing XenCenter Patch Updates<\/p>\n<\/div>\n<p>This concludes the process of patching\u00a0<strong>XenServer 7<\/strong>\u00a0hosts. The next step is to start creating virtual guests! Thank you for reading this\u00a0<strong>XenServer 7<\/strong>\u00a0install article.<\/p>\n<p><b>Don\u2019t Miss:<\/b>\u00a0<a href=\"https:\/\/www.tecmint.com\/xenserver-7-pool-upgrade-cli-xencenter\/\" target=\"_blank\" rel=\"noopener\">XenServer 7 \u2013 Pool Upgrade via CLI and XenCenter Web Interface<\/a><\/p>\n<h1 class=\"post-title\">XenServer 7 \u2013 Pool Upgrade via CLI and XenCenter Web Interface<\/h1>\n<p>The first article in this\u00a0<strong>XenServer 7<\/strong>\u00a0Series covered\u00a0<a href=\"https:\/\/www.tecmint.com\/installation-of-xenserver-7-upgrade-xenserver-6-5-to-7\/\" target=\"_blank\" rel=\"noopener\">how to install\/upgrade a single XenServer<\/a>\u00a0host. Most XenServer installs are likely to be in a pool of many XenServer hosts.<\/p>\n<p>This article will cover the process of an entire XenServer pool upgrade. The final component will cover some house keeping with the guests running on the XenServer hosts.<\/p>\n<h4>System Requirements<\/h4>\n<ol>\n<li><strong>XenServer 7 ISO<\/strong>\u00a0:\u00a0<a href=\"http:\/\/downloadns.citrix.com.edgesuite.net\/11616\/XenServer-7.0.0-main.iso\" target=\"_blank\" rel=\"nofollow noopener\">XenServer-7.0.0-main.iso<\/a><\/li>\n<\/ol>\n<p>Before moving further, I suggest you to check out these two sections\u00a0<strong>System Requirements<\/strong>\u00a0and\u00a0<strong>Author Suggested Additions<\/strong>\u00a0in our first article of Xen Server 7 at:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/installation-of-xenserver-7-upgrade-xenserver-6-5-to-7\/\" target=\"_blank\" rel=\"noopener\">Fresh Installation of XenServer 7<\/a><\/li>\n<\/ol>\n<h4>DISCLAIMER<\/h4>\n<p>The purpose of this article is to walk through a XenServer pool upgrade. There are number ways to do the upgrading process and the \u2018correct\u2019 solution for any specific install will be strongly dependent on the organization.<\/p>\n<p><center>Citrix has a very detailed document that should be reviewed before the upgrade process is started:\u00a0<a href=\"https:\/\/docs.citrix.com\/content\/dam\/docs\/en-us\/xenserver\/xenserver-7-0\/downloads\/xenserver-7-0-installation-guide.pdf\" target=\"_blank\" rel=\"nofollow noopener\">xenserver-7-0-installation-guide.pdf<\/a><\/center><\/p>\n<h3>XenServer Pool Upgrade<\/h3>\n<p>Undoubtedly most\u00a0<strong>XenServer<\/strong>\u00a0installs are likely part of a pool of XenServers. This complicates the upgrade process a little bit. While the option to manually go to each server and upgrade each one is an option, Citrix has a much easier way to do this through the use of a\u00a0<strong>Rolling Pool<\/strong>\u00a0upgrade through the newest version of XenCenter or through the\u00a0<code>'xe'<\/code>\u00a0command line tool.<\/p>\n<p>According to Citrix\u2019s documentation a pool upgrade can be performed on any version of\u00a0<strong>XenServer 6.x<\/strong>\u00a0or higher to version\u00a0<strong>7<\/strong>. If a XenServer host is running a version older than\u00a0<strong>6.x<\/strong>, then the host needs to follow the appropriate upgrade path to\u00a0<strong>XenServer 6.2<\/strong>\u00a0and then can be upgraded to\u00a0<strong>XenServer 7.0<\/strong>.<\/p>\n<p>In order to do the\u00a0<strong>Rolling Pool<\/strong>\u00a0upgrade, the newest version of XenCenter needs to be downloaded from Citrix. The download can be located here:\u00a0<a href=\"http:\/\/downloadns.citrix.com.edgesuite.net\/11626\/XenServer-7.0.1-XenCenterSetup.exe\" target=\"_blank\" rel=\"nofollow noopener\">XenServer-7.0.1-XenCenterSetup.exe<\/a><\/p>\n<p>As mentioned in the\u00a0<a href=\"https:\/\/www.tecmint.com\/citrix-xenserver-installation-and-network-configuration-in-linux\/\" target=\"_blank\" rel=\"noopener\">XenServer 6.5 series<\/a>,\u00a0<strong>XenCenter<\/strong>\u00a0is still a Windows only utility. The pool upgrade can be done via the CLI as well for those who may not have access to a Windows machine to run XenCenter.<\/p>\n<p>This article will detail out both methods (<strong>XenCenter<\/strong>\u00a0and\u00a0<strong>CLI<\/strong>\u00a0with the\u00a0<strong>xe<\/strong>\u00a0utility).<\/p>\n<p><strong>NOTE<\/strong>\u00a0\u2013 Before doing a pool upgrade, two things should be noted. The rolling pool upgrade should not be done with boot from SAN setups and Integrated StorageLink has been removed from XenServer versions\u00a0<strong>6.5<\/strong>\u00a0and higher.<\/p>\n<p>Regardless of which method is used,\u00a0<strong>XenCenter<\/strong>\u00a0or\u00a0<strong>CLI<\/strong>, the first step is to disable pool high availability, stop all non-essential guest virtual machines, ensure that XenServer hosts have enough memory to support the guests that need to continue running during the upgrade (ie. not over-provisioned), hosts also need enough hard drive space for XenServer 7, ensure that the cd\/dvd drives for all guests are empty, and it is strongly encouraged that a backup of the current pool state be done.<\/p>\n<p>Let\u2019s begin the process.<\/p>\n<h3>Pool Upgrade from the CLI<\/h3>\n<p><strong>1.<\/strong>\u00a0Make sure that you have read the prior 5 paragraphs as they outline some very important information to the upgrade process! It is also highly recommended that users read the installation guide located here:\u00a0<a href=\"https:\/\/docs.citrix.com\/content\/dam\/docs\/en-us\/xenserver\/xenserver-7-0\/downloads\/xenserver-7-0-installation-guide.pdf\" target=\"_blank\" rel=\"nofollow noopener\">xenserver-7-0-installation-guide.pdf<\/a>, The instructions and warnings for upgrading start on page 24.<\/p>\n<p><strong>2.<\/strong>\u00a0The actual first technological step is to back up the pool status with the\u00a0<code>'xe'<\/code>\u00a0tool. Using a SSH connection to the Xen pool master host, the following\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command can be run.<\/p>\n<pre># xe pool-dump-database file-name=\"Xen Pool.db\"\r\n<\/pre>\n<p>With the database backed up copy the file off the master host to ensure a copy is available in the event that the upgrade fails. The following command will copy the file\u00a0<code>Xen Pool.db<\/code>\u00a0from the remote XenServer identified by\u00a0<code>&lt;XenServer_ip&gt;<\/code>\u00a0and place the file in the current user\u2019s Downloads folder.<\/p>\n<pre># scp 'root@&lt;XenServer_ip&gt;:~\/\u201dXen pool.db\u201d'  ~\/Downloads\/\r\n<\/pre>\n<p><strong>3.<\/strong>\u00a0Once the pool database has been backed up, the master needs to have all guests migrated to other hosts in the pool and then the master needs to be disabled with the following\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0commands:<\/p>\n<pre># xe host-evacuate host=&lt;hostname of master&gt;\r\n# xe host-disable host=&lt;hostname of master&gt;\r\n<\/pre>\n<p>Now the host needs to be rebooted from the\u00a0<strong>XenServer 7<\/strong>\u00a0installation media locally. At this point the upgrade follows many of the same parts as single host upgrade earlier in this article.<\/p>\n<p>Make absolutely certain that\u00a0<strong>UPGRADE<\/strong>\u00a0is chosen when moving through the installer steps! For clarity\u2019s sake, at this point, steps\u00a0<strong>1-6<\/strong>\u00a0and then\u00a0<strong>15-19<\/strong>\u00a0in the \u201c<a href=\"https:\/\/www.tecmint.com\/installation-of-xenserver-7-upgrade-xenserver-6-5-to-7\/\" target=\"_blank\" rel=\"noopener\">XenServer 7 \u2013 Fresh Install<\/a>\u201d article should be accomplished at this stage.<\/p>\n<p>The installation process takes about 12 minutes so navigate to\u00a0<a href=\"https:\/\/www.tecmint.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.tecmint.com<\/a>\u00a0to read another article while waiting for the install to finish. Once the install is complete, reboot the master and remove the installation media.<\/p>\n<p><strong>4.<\/strong>\u00a0As the master is rebooting make sure that it doesn\u2019t display any errors and that it boots up to the XenServer console screen. This is a good indication of a successful upgrade but things aren\u2019t done yet. SSH back into the master system and verify that it is indeed running the new version of XenServer with either of the following commands:<\/p>\n<pre># cat \/etc\/redhat-release\r\n# uname -a\r\n<\/pre>\n<div id=\"attachment_21990\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/XE-CLI-upgrade.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21990\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/XE-CLI-upgrade.png\" sizes=\"auto, (max-width: 775px) 100vw, 775px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/XE-CLI-upgrade.png 775w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/XE-CLI-upgrade-768x140.png 768w\" alt=\"Check XenServer Version\" width=\"775\" height=\"141\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check XenServer Version<\/p>\n<\/div>\n<p><strong>5.<\/strong>\u00a0Success! This pool master has now been upgraded. At this point, move any guests to this host as needed and proceed to the next XenServer host by repeating step three except replacing the hostname of the next host to upgrade.<\/p>\n<pre># xe host-evacute host=&lt;hostname of pool slave&gt;\r\n# xe host-disable host=&lt;hostname of pool slave&gt;\r\n<\/pre>\n<p><strong>6.<\/strong>\u00a0Continue steps 3 through 5 for the remaining slaves in the pool.<\/p>\n<p><strong>7.<\/strong>\u00a0At this point it is\u00a0<strong>CRUCIAL<\/strong>\u00a0to apply one more update. Citrix released a patch to address issues were data loss and corruption were possible under certain circumstances.<\/p>\n<p><strong>PLEASE APPLY THIS PATCH NOW!<\/strong>\u00a0This patch requires the XenServer hosts to be rebooted as well. Instructions for accomplishing this through\u00a0<strong>XenCenter<\/strong>\u00a0are located later in this article.<\/p>\n<p>To accomplish this through the CLI of a XenServer host, download the patch and issue the following\u00a0<strong>\u2018xe\u2019<\/strong>commands:<\/p>\n<pre># wget -c http:\/\/support.citrix.com\/supportkc\/filedownload?uri=\/filedownload\/CTX214305\/XS70E004.zip\r\n# unzip XS70E004.zip\r\n# xe patch-upload file-name=XS70E004.xsupdate\r\n# xe patch-apply uuid=&lt;UUID_from_above_command&gt;\r\n# xe patch-pool-apply uuid=&lt;UUID_from_above_command&gt; - only applies to a XenServer pool and must be run from the pool master\r\n<\/pre>\n<p><strong>8.<\/strong>\u00a0Once all of the hosts in the pool have been updated, the guests will need to have XenServer Guest Tools updated. Steps to accomplish this are at the end of this article.<\/p>\n<h3>Pool Upgrade from XenCenter<\/h3>\n<p>For those who have access to a\u00a0<strong>Windows<\/strong>\u00a0machine to run\u00a0<strong>XenCenter<\/strong>, a\u00a0<strong>Rolling Pool<\/strong>\u00a0upgrade can be accomplished through the XenCenter application.<\/p>\n<p>The benefit of using\u00a0<strong>XenCenter<\/strong>\u00a0is many of the tasks and checks that needed to be done manually in the prior instructions, will now be handled automatically by XenCenter.<\/p>\n<p>The rolling pool upgrade wizard in XenCenter has two modes;\u00a0<strong>manual<\/strong>\u00a0and\u00a0<strong>automatic<\/strong>. In\u00a0<strong>manual mode<\/strong>, the installer for XenServer 7 must be placed into each individual XenServer host at the time it is being upgraded (ie. a bootable usb or cd).<\/p>\n<p>When using the\u00a0<strong>automatic mode<\/strong>, the wizard will use files located on some sort of a network file share such as HTTP, NFS, or FTP server. To use this method, the installation files from the XenServer install iso must be unpacked on the appropriate networked file server and made accessible to the XenServer hosts.<\/p>\n<p>This guide won\u2019t detail out the process of setting up an HTTP server but it will walk through the process of extracting the ISO contents to allow for an automatic upgrade.<\/p>\n<h4>Extracting XenServer Install Files to HTTP Server<\/h4>\n<p>This section will assume that the user has a functioning HTTP server with a web root set to \u2018<strong>\/var\/www\/html<\/strong>\u2018. This section will also assume that the XenServer 7 iso file has been downloaded and resides in the web root folder.<\/p>\n<p>The first step to setting up the install files for this article is to mount the iso, so the installer files can be placed into the webroot. The second step is to create a folder for the installer files and then copy the files into that folder.<\/p>\n<p>All of the steps can be accomplished as follows:<\/p>\n<pre># mount XenServer-7.0.0-main.iso \/mnt\r\n# mkdir \/var\/www\/html\/xenserver\r\n# cp -a \/mnt\/. \/var\/www\/html\/xenserver\r\n<\/pre>\n<p>At this point, navigating to the server\u2019s IP address and the xenserver folder, the installation materials should display in browser.<\/p>\n<div id=\"attachment_21992\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/XenServer-Installation-Files.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21992\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/XenServer-Installation-Files.png\" alt=\"XenServer Installation Files\" width=\"599\" height=\"537\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Installation Files<\/p>\n<\/div>\n<h3>Rolling Pool Upgrade with XenCenter<\/h3>\n<p><strong>1.<\/strong>\u00a0The first step is to re-read the paragraphs underneath the\u00a0<strong>XenServer Pool Upgrade<\/strong>\u00a0heading earlier in this document! This is extremely important as those paragraphs will detail out specifics about the upgrade to help the transition from older versions of XenServer.<\/p>\n<p><strong>2.<\/strong>\u00a0The first technological step is to back up the current state of the pool by using an\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command from the pool master. Using a SSH connection or XenCenter console to the Xen pool master host, the following\u00a0<strong>\u2018xe\u2019<\/strong>\u00a0command can be run.<\/p>\n<pre># xe pool-dump-database file-name=\"Xen Pool.db\"\r\n<\/pre>\n<p>With the database backed up, it is strongly suggested that a copy be made off of the master so in the event of a failed upgrade, the master\/pool can be reverted back to the original state.<\/p>\n<p><strong>3.<\/strong>\u00a0Ensure that the newest version of\u00a0<strong>XenCenter<\/strong>\u00a0is installed. The download link is as follows:\u00a0<a href=\"http:\/\/downloadns.citrix.com.edgesuite.net\/11626\/XenServer-7.0.1-XenCenterSetup.exe\" target=\"_blank\" rel=\"nofollow noopener\">XenServer-7.0.1-XenCenterSetup.exe<\/a>.<\/p>\n<p><strong>4.<\/strong>\u00a0Once the pool database has been saved and the newest version of XenCenter installed, the pool upgrade can begin. Open up XenCenter and connect to the pool that needs the new version of XenServer. Once connected connected to the pool master, navigate to the\u00a0<strong>\u2018Tools\u2019<\/strong>\u00a0menu and select\u00a0<strong>\u2018Rolling Pool Upgrade\u2026\u2019<\/strong>.<\/p>\n<div id=\"attachment_21993\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/XenServer-Rolling-Poll-Upgrade.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21993\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/XenServer-Rolling-Poll-Upgrade.png\" alt=\"XenServer Rolling Pool Upgrade\" width=\"573\" height=\"210\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Rolling Pool Upgrade<\/p>\n<\/div>\n<p><strong>5.<\/strong>\u00a0Be sure to read the warnings on the first prompt. The step that is mentioned here is the pool database back up that was accomplished in step one of the \u201c<strong>Rolling Pool Upgrade with XenCenter<\/strong>\u201d section of this article.<\/p>\n<div id=\"attachment_22002\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Rolling-Poll-Upgrade-Warning.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22002\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Rolling-Poll-Upgrade-Warning.png\" sizes=\"auto, (max-width: 830px) 100vw, 830px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Rolling-Poll-Upgrade-Warning.png 830w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Rolling-Poll-Upgrade-Warning-768x514.png 768w\" alt=\"Rolling Pool Upgrade Warning\" width=\"830\" height=\"555\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Rolling Pool Upgrade Warning<\/p>\n<\/div>\n<p><strong>6.<\/strong>\u00a0The next screen will prompt the user to select the pools that they wish to upgrade. Every pool that XenCenter is connected to can be selected. For simplicity\u2019s sake, a small test pool has been used in this documentation.<\/p>\n<div id=\"attachment_21995\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Select-XenServer-Poll-Upgrade.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21995\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Select-XenServer-Poll-Upgrade.png\" sizes=\"auto, (max-width: 827px) 100vw, 827px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Select-XenServer-Poll-Upgrade.png 827w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Select-XenServer-Poll-Upgrade-768x514.png 768w\" alt=\"Select XenServer Pool Upgrade\" width=\"827\" height=\"554\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select XenServer Pool Upgrade<\/p>\n<\/div>\n<p><strong>7.<\/strong>\u00a0The next step allows the user to select either \u2018<strong>Automatic<\/strong>\u2018 or \u2018<strong>Manual<\/strong>\u2018 modes. Again this article is walking through the automatic method and assumes an HTTP server is available and has the XenServer ISO contents extracted in a folder called\u00a0<strong>\u2018xenserver\u2019<\/strong>\u00a0on that HTTP server.<\/p>\n<div id=\"attachment_21996\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Select-Automatic-Poll-Upgrade.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21996\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Select-Automatic-Poll-Upgrade.png\" sizes=\"auto, (max-width: 826px) 100vw, 826px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Select-Automatic-Poll-Upgrade.png 826w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Select-Automatic-Poll-Upgrade-768x511.png 768w\" alt=\"Select Automatic Pool Upgrade\" width=\"826\" height=\"550\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Automatic Pool Upgrade<\/p>\n<\/div>\n<p><strong>8.<\/strong>\u00a0At this point XenCenter will run through a series of checks to ensure that all hosts have the appropriate patches\/hotfixes and will check to ensure that the upgrade is likely to succeed.<\/p>\n<p>Depending on the environment this is likely to be the step in which problems are experienced. Two issues were encountered but the author at this point. Resolutions were found and hopefully these will help others.<\/p>\n<div id=\"attachment_21997\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Perform-Rolling-Poll-Upgrade-Checks.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21997\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Perform-Rolling-Poll-Upgrade-Checks.png\" sizes=\"auto, (max-width: 825px) 100vw, 825px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Perform-Rolling-Poll-Upgrade-Checks.png 825w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Perform-Rolling-Poll-Upgrade-Checks-768x514.png 768w\" alt=\"Perform Rolling Pool Upgrade Checks\" width=\"825\" height=\"552\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Perform Rolling Pool Upgrade Checks<\/p>\n<\/div>\n<p>The first issue experienced was the need for two patches to be applied to the XenServer hosts. XenCenter will accomplish this if the user decides to do so however as the author and others have experienced, this step doesn\u2019t always complete properly and may prevent the next step from working properly.<\/p>\n<p>If XenCenter claims that all patches are applied but the user receives \u201c<strong>Invalid URL to Installer Files<\/strong>\u201d on the next screen, the author was able to successfully get the error to go away by rebooting the master XenServer.<\/p>\n<p>To read more about the issue, view the Citrix discussion at the following URL:\u00a0<a href=\"http:\/\/discussions.citrix.com\/topic\/378305-cannot-perform-rolling-pool-upgrade-of-xenserver-7-invalid-url-to-installer-files\/\" target=\"_blank\" rel=\"nofollow noopener\">XenServer 7 Invalid URL to Installer Files<\/a>.<\/p>\n<p>The other issue experienced at this point was a warning from XenCenter about a local VM being stored on the master XenServer host. This local VM would prevent the XenServer installer from re-partitioning the hosts with the new GPT partition scheme.<\/p>\n<p>After much searching, it was noticed that a pool meta data backup was being stored on the master host\u2019s local storage. Once this was moved to another location, the installer ceased to see any issues.<\/p>\n<p><strong>9.<\/strong>\u00a0Once the pre-checks were out of the way, the installer will prompt for the location of the installation files. This article is utilizing an HTTP server to serve out the installation files to the XenServer hosts and as such the installer needs to be informed about the location of these files.<\/p>\n<p>In the boxes, provide the necessary server path information as well as the credentials necessary to connect and then press the\u00a0<strong>\u2018Test\u2019<\/strong>\u00a0button to make sure XenCenter can access the files. If the green check mark is displayed, then the installation media has been located and is usable.<\/p>\n<div id=\"attachment_21998\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/XenServer-Rolling-Poll-Upgrade-via-HTTP.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21998\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/XenServer-Rolling-Poll-Upgrade-via-HTTP.png\" sizes=\"auto, (max-width: 821px) 100vw, 821px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/XenServer-Rolling-Poll-Upgrade-via-HTTP.png 821w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/XenServer-Rolling-Poll-Upgrade-via-HTTP-768x517.png 768w\" alt=\"XenServer Rolling Pool Upgrade via HTTP\" width=\"821\" height=\"553\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">XenServer Rolling Pool Upgrade via HTTP<\/p>\n<\/div>\n<p><strong>10.<\/strong>\u00a0Once everything is ready to go, click the \u2018<strong>Start Upgrade<\/strong>\u2018 button. This will begin the process starting with the pool master.<\/p>\n<p><strong>NOTE<\/strong>\u00a0\u2013 Make sure that the management network for the XenServer hosts has DHCP. When the installer reboots the hosts, it will attempt to obtain an IP address via DHCP.<\/p>\n<div id=\"attachment_22003\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Rolling-Poll-Upgrade-in-Process.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22003\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Rolling-Poll-Upgrade-in-Process.png\" sizes=\"auto, (max-width: 824px) 100vw, 824px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Rolling-Poll-Upgrade-in-Process.png 824w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Rolling-Poll-Upgrade-in-Process-768x513.png 768w\" alt=\"Rolling Pool Upgrade in Process\" width=\"824\" height=\"550\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Rolling Pool Upgrade in Process<\/p>\n<\/div>\n<p><strong>11.<\/strong>\u00a0At this point, it would be wise to start eating lunch or follow up on other tasks. This process will take a while. If access to a local monitor or KVM system is available on the XenServer hosts, the administrator can watch the installation process and see if everything is moving along as it should.<\/p>\n<div id=\"attachment_22000\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Installing-XenServer-Rolling-Poll-Upgrades.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22000\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Installing-XenServer-Rolling-Poll-Upgrades.png\" sizes=\"auto, (max-width: 1028px) 100vw, 1028px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Installing-XenServer-Rolling-Poll-Upgrades.png 1028w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Installing-XenServer-Rolling-Poll-Upgrades-768x577.png 768w\" alt=\"Installing XenServer Rolling Pool Upgrades\" width=\"1028\" height=\"773\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Installing XenServer Rolling Pool Upgrades<\/p>\n<\/div>\n<div id=\"attachment_21999\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Apply-XenServer-Rolling-Poll-Upgrades.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21999\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Apply-XenServer-Rolling-Poll-Upgrades.png\" sizes=\"auto, (max-width: 827px) 100vw, 827px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Apply-XenServer-Rolling-Poll-Upgrades.png 827w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Apply-XenServer-Rolling-Poll-Upgrades-768x513.png 768w\" alt=\"Apply XenServer Rolling Pool Upgrades\" width=\"827\" height=\"552\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Apply XenServer Rolling Pool Upgrades<\/p>\n<\/div>\n<p><strong>12.<\/strong>\u00a0The installation process on this four host test cluster took approximately two hours to complete. Once the installation is complete, be sure to upgrade guest tools on all of the guests in the pool.<\/p>\n<p>Also be sure to verify that the pool has been completely upgraded by looking at the pool\u2019s \u2018<strong>General<\/strong>\u2018 tab in XenCenter or by manually connecting to each XenServer host.<\/p>\n<div id=\"attachment_22004\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Confirm-Rolling-Poll-Upgrades.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22004\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Confirm-Rolling-Poll-Upgrades.png\" sizes=\"auto, (max-width: 910px) 100vw, 910px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Confirm-Rolling-Poll-Upgrades.png 910w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Confirm-Rolling-Poll-Upgrades-768x225.png 768w\" alt=\"Confirm Rolling Pool Upgrades\" width=\"910\" height=\"267\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Confirm Rolling Pool Upgrades<\/p>\n<\/div>\n<p>Some follow up tasks may be necessary at this point as well. The author experienced a few issues with the virtual interfaces on some of the guests when trying to start the guests after the pool upgrade.<\/p>\n<p>As it turned out some of the network configurations for the pool didn\u2019t translate through the install process. The servers all had 4 physical interfaces (PIFs) and on two of the servers one pair of the PIFs ceased to activate upon boot-up.<\/p>\n<p>This caused a substantial amount of grief but thankfully other\u2019s had experienced similar issues and a solution was easy to come by. The servers in question were Dell Power Edge 2950\u2019s with integrated Broadcom BCM5708 NICs.<\/p>\n<p>All that was needed was to revert the systems back to\u00a0<strong>XenServer 6.5<\/strong>\u00a0and then apply the update from Dell\u2019s website. The author strongly suggests ensuring that all firmware updates have been applied to any systems that will be upgraded to the newer XenServer release to help prevent issues.<\/p>\n<p>To read more about this topic, please review the topic on Citrix\u2019s discussion page:\u00a0<a href=\"http:\/\/discussions.citrix.com\/topic\/378660-xenserver-7-upgrade-no-onboard-network\/\" target=\"_blank\" rel=\"nofollow noopener\">XenServer 7 Upgrade No Onboard Network<\/a>.<\/p>\n<h6>The original issue before upgrading firmware on the BCM5708 NICs<\/h6>\n<p><strong>Note<\/strong>\u00a0the firmware version as well as the out of order PIF assignment.<\/p>\n<pre># interface-rename -l\r\n<\/pre>\n<div id=\"attachment_22005\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Check-Firmware.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22005\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Check-Firmware.png\" sizes=\"auto, (max-width: 775px) 100vw, 775px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Check-Firmware.png 775w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Check-Firmware-768x120.png 768w\" alt=\"Check Network Firmware\" width=\"775\" height=\"121\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check Network Firmware<\/p>\n<\/div>\n<h6>The corrected firmware and PIF re-assignment using interface-rename utility<\/h6>\n<p><strong>Note<\/strong>\u00a0the firmware has been updated and the PIF order is correct as well.<\/p>\n<pre># interface-rename -l\r\n<\/pre>\n<div id=\"attachment_22006\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Updated-Network-Firmware.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22006\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Updated-Network-Firmware.png\" sizes=\"auto, (max-width: 925px) 100vw, 925px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Updated-Network-Firmware.png 925w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Updated-Network-Firmware-768x110.png 768w\" alt=\"Updated Network Firmware\" width=\"925\" height=\"132\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Updated Network Firmware<\/p>\n<\/div>\n<p><strong>13.<\/strong>\u00a0At this point, all the XenServer hosts should be available and back in the proper pool configuration. At this point it is\u00a0<strong>CRUCIAL<\/strong>\u00a0to apply one more update. Citrix released a patch to address issues were data loss and corruption were possible under certain circumstances.\u00a0<strong>PLEASE APPLY THIS PATCH NOW!<\/strong><\/p>\n<h3>Applying XenServer 7 Critical Patch XS70E004<\/h3>\n<p>Just as required in the fresh install article, a pool upgrade is also going to require this critical XenServer 7 patch to be applied to the pool to ensure data integrity.<\/p>\n<p>For applying patch follow step 20 to step 26 in fresh XenServer 7 this guide here:\u00a0<a href=\"https:\/\/www.tecmint.com\/installation-of-xenserver-7-upgrade-xenserver-6-5-to-7\/#C3\" target=\"_blank\" rel=\"noopener\">Applying XenServer 7 Critical Patch<\/a>.<\/p>\n<p>This concludes the process of updating\/installing XenServer to hosts. At this point, storage repositories and virtual machines should be re-imported, configured, and tested.<\/p>\n<p>The next section will cover the final task of updating XenServer guest tools on the virtual guests.<\/p>\n<h3>Updating XenServer Guest-Tools<\/h3>\n<p><strong>1.<\/strong>\u00a0The final follow up task is to ensure that guests can be restarted as well as ensure that they have the newest guest utilities installed. This can be easily accomplished by following the next couple of steps.<\/p>\n<p><strong>2.<\/strong>\u00a0The first step is to attach the\u00a0<strong>guest-tools ISO<\/strong>\u00a0to the DVD drive of one of the virtual guests.<\/p>\n<div id=\"attachment_22007\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Adding-XenServer-Guest-Tools.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22007\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Adding-XenServer-Guest-Tools.png\" sizes=\"auto, (max-width: 1114px) 100vw, 1114px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Adding-XenServer-Guest-Tools.png 1114w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Adding-XenServer-Guest-Tools-768x125.png 768w\" alt=\"Adding XenServer Guest-Tools\" width=\"1114\" height=\"181\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Adding XenServer Guest-Tools<\/p>\n<\/div>\n<p><strong>3.<\/strong>\u00a0Once XenServer attaches the\u00a0<strong>guest-tools.iso<\/strong>\u00a0to the guest, ensure that the guest recognizes the new disk. This example will walk through a Debian guest and the installation of the tools.<\/p>\n<p>In the output below, the guest utilities disk was mapped as\u00a0<strong>\u2018xvdd\u2019<\/strong>.<\/p>\n<div id=\"attachment_22008\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Guest-Utilities-Disk.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22008\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Guest-Utilities-Disk.png\" alt=\"Guest Utilities Disk\" width=\"382\" height=\"160\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Guest Utilities Disk<\/p>\n<\/div>\n<p><strong>4.<\/strong>\u00a0This device can be quickly mounted using the mount utility as follows:<\/p>\n<pre># mount \/dev\/xvdd \/mnt\r\n<\/pre>\n<div id=\"attachment_22009\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Mount-Guest-Utilities-Disk.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22009\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Mount-Guest-Utilities-Disk.png\" alt=\"Mount Guest Utilities Disk\" width=\"441\" height=\"32\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Mount Guest Utilities Disk<\/p>\n<\/div>\n<p><strong>5.<\/strong>\u00a0Once the device has been mounted,\u00a0<strong>dpkg<\/strong>\u00a0can be used to install the new guest-tools as follows:<\/p>\n<pre># dpkg -i \/mnt\/Linux\/xe-guest-utilities_7.0.0-24_all.deb\r\n<\/pre>\n<div id=\"attachment_22010\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Install-New-Guest-Tools.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22010\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Install-New-Guest-Tools.png\" alt=\"Install New Guest Tools\" width=\"608\" height=\"179\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Install New Guest Tools<\/p>\n<\/div>\n<p><strong>6.<\/strong>\u00a0During the installation, the proper files will be installed and the\u00a0<strong>xe<\/strong>\u00a0daemon will be restarted on the systems behalf.<\/p>\n<p>To confirm through XenCenter that the update was successful, go to the \u2018<strong>General<\/strong>\u2018 tab for the guest machine and look for the property labeled \u2018<strong>Virtualization State<\/strong>:\u2019.<\/p>\n<div id=\"attachment_22011\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Confirm-VM-General-Properties.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22011\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/08\/Confirm-VM-General-Properties.png\" alt=\"Confirm VM General Properties\" width=\"578\" height=\"442\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Confirm VM General Properties<\/p>\n<\/div>\n<p>Whoo\u2026 If you\u2019ve survived this long, hopefully\u00a0<strong>XenServer 7<\/strong>\u00a0is installed, patched, and guests are updated as well! If you have any questions or issues, please post in the comments below and we\u2019ll provide help as soon as possible.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/citrix-xenserver-installation-and-network-configuration-in-linux\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As computing devices quickly surpass the requirements of operating systems, it has increasingly become more efficient for organizations to invest\/migrate to virtualized systems. Operating system virtualization technologies aren\u2019t anything new but over the last several years they have become more and more popular as data centers look to provide more functionality in the same or &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/17\/installing-and-configuring-citrix-xenserver-6-5-7\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Installing and Configuring Citrix Xenserver 6.5 &#038; 7&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11822","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=11822"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11822\/revisions"}],"predecessor-version":[{"id":11823,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11822\/revisions\/11823"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=11822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=11822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=11822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}