Ever find yourself wanting to use a local ISO repository in XenServer instead of using an NFS share? You can do so at the command line using the following commands.

This command will create an ISO repository named ‘localiso’ in the directory /localiso/.

It would not be unwise to mount a separate hard drive specifically for installation images, but that is up to you. Once our ISO repository is made, we can add our ISO files to it. Every time we do this we’ll need to re-scan the repository and to do this we will need the repository’s UUID. The following command will list all of our storage repositories in less and highlight the repository we just made. Take the UUID from here and put it in the second command.

xe sr-scan uuid=<UUID>

You will now see a storage repository named ‘localiso’ inside XenCenter and all of the images will be available for you to use.

About Canadian Web Hosting

Since 1998, Canadian Web Hosting has been providing on-demand hosting solutions that include Shared HostingVirtual Private Servers (VPS), Cloud HostingDedicated Servers, and Infrastructure as a Service (IaaS) for Canadian companies of all sizes. Canadian Web Hosting is SSAE 16 Type II SOC 2 certified, ensuring that their processes and business practices are thoroughly audited against industry standards. Canadian Web Hosting guarantees a 100% network uptime, and a total money-back guarantee that backs everything they do. Customers can get help by calling 1-888-821-7888 to get 24/7 support. For more information, visit them at www.canadianwebhosting.com, or get the latest news by following them on Twitter at @cawebhosting.