<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>virtualization | Chris Titus Tech</title><description>Recent content from Chris Titus Tech</description><link>https://christitus.com/categories/virtualization/</link><language>en-US</language><item><title>How to Install Xen Orchestra</title><link>https://christitus.com/how-to-install-xen-orchestra/</link><guid isPermaLink="true">https://christitus.com/how-to-install-xen-orchestra/</guid><description>&lt;p&gt;This article shows you how to install Xen Orchestra and use the interface via the web. XOA is a very powerful addition to XenServer as it brings auto-updates and making it easier to manage entire farms.&lt;/p&gt;
&lt;h2&gt;Step-by-Step Guide&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Login to your XenServer via PuTTy OR through XenCenter console&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;bash -c &quot;$(curl -s http://xoa.io/deploy)&quot;&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;Enter a new IP where you will access XOA from web&lt;/li&gt;
&lt;li&gt;Wait for this to finish you will see XOA VM popup&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Note: This may take a couple hours if XOA servers are downloading slow. I highly recommend downloading offline installer if installing on multiple servers.&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Once Complete, PuTTy to XOA VM (IP Address from prior install)
&lt;ul&gt;
&lt;li&gt;login with username/password: xoa&lt;/li&gt;
&lt;li&gt;set new password for console&lt;/li&gt;
&lt;li&gt;register xoa from username and password that you used on their website &lt;a href=&quot;https://xen-orchestra.com/&quot;&gt;https://xen-orchestra.com/&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;sudo xoa-updater --register&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;now run the updater to check for any upgrades
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;sudo xoa-updater &amp;amp;#8211;upgrade&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;reboot if any upgrades were performed&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Open Browser, Login to XOA
&lt;ul&gt;
&lt;li&gt;login username &lt;code&gt;admin@admin.net&lt;/code&gt; password &lt;code&gt;admin&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Add your XenServers – If you only have 1 pool, you only need to add your pool master
&lt;ul&gt;
&lt;li&gt;Remember: if you are using default self-signed certificates on XenServer enable “unauthorized certificates” and then click disconnected&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Enjoy&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Video Walkthrough&lt;/h2&gt;
&lt;div class=&quot;media-embed&quot;&gt;&lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/QU28LQ1CX7Q&quot; title=&quot;YouTube video player&quot; loading=&quot;lazy&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;  
&lt;p&gt;I hope you enjoyed this walkthrough of how to install Xen Orchestra and if you have any feedback let me know below. In closing, I really like this product and think it is a great addition to the XenServer and a much-needed improvement over what Citrix offers.&lt;/p&gt;
</description><pubDate>Thu, 11 Oct 2018 17:14:47 GMT</pubDate><content:encoded>&lt;p&gt;This article shows you how to install Xen Orchestra and use the interface via the web. XOA is a very powerful addition to XenServer as it brings auto-updates and making it easier to manage entire farms.&lt;/p&gt;
&lt;h2&gt;Step-by-Step Guide&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Login to your XenServer via PuTTy OR through XenCenter console&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;bash -c &quot;$(curl -s http://xoa.io/deploy)&quot;&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;Enter a new IP where you will access XOA from web&lt;/li&gt;
&lt;li&gt;Wait for this to finish you will see XOA VM popup&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Note: This may take a couple hours if XOA servers are downloading slow. I highly recommend downloading offline installer if installing on multiple servers.&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Once Complete, PuTTy to XOA VM (IP Address from prior install)
&lt;ul&gt;
&lt;li&gt;login with username/password: xoa&lt;/li&gt;
&lt;li&gt;set new password for console&lt;/li&gt;
&lt;li&gt;register xoa from username and password that you used on their website &lt;a href=&quot;https://xen-orchestra.com/&quot;&gt;https://xen-orchestra.com/&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;sudo xoa-updater --register&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;now run the updater to check for any upgrades
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;sudo xoa-updater &amp;amp;#8211;upgrade&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;reboot if any upgrades were performed&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Open Browser, Login to XOA
&lt;ul&gt;
&lt;li&gt;login username &lt;code&gt;admin@admin.net&lt;/code&gt; password &lt;code&gt;admin&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Add your XenServers – If you only have 1 pool, you only need to add your pool master
&lt;ul&gt;
&lt;li&gt;Remember: if you are using default self-signed certificates on XenServer enable “unauthorized certificates” and then click disconnected&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Enjoy&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Video Walkthrough&lt;/h2&gt;
&lt;div class=&quot;media-embed&quot;&gt;&lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/QU28LQ1CX7Q&quot; title=&quot;YouTube video player&quot; loading=&quot;lazy&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;  
&lt;p&gt;I hope you enjoyed this walkthrough of how to install Xen Orchestra and if you have any feedback let me know below. In closing, I really like this product and think it is a great addition to the XenServer and a much-needed improvement over what Citrix offers.&lt;/p&gt;
</content:encoded></item><item><title>Create iSCSI SR in XenServer</title><link>https://christitus.com/create-iscsi-sr/</link><guid isPermaLink="true">https://christitus.com/create-iscsi-sr/</guid><description>&lt;p&gt;This guide goes over how to Create iSCSI SR on Xen to connect to an iSCSI target. Here is the step-by-step and a video walkthrough, which includes setting up iSCSI in FreeNAS.&lt;/p&gt;
&lt;h2&gt;Requirements&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Multiple XenServers (2+) in a Pool&lt;/li&gt;
&lt;li&gt;iSCSI target (Check out FreeNAS in the video below for setting one up)&lt;/li&gt;
&lt;li&gt;At LEAST a gigabit environment&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;/images/2018/10/xen-iscsi-sr.webp&quot; alt=&quot;xen-iscsi&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;Step-by-Step Guide to Create iSCSI SR&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open and Connect to XenCenter / XCP-ng Center&lt;/li&gt;
&lt;li&gt;Select Pool and Click New Storage&lt;/li&gt;
&lt;li&gt;Make sure iSCSI is selected&lt;/li&gt;
&lt;li&gt;Name Storage&lt;/li&gt;
&lt;li&gt;Select either provisioning methods&lt;/li&gt;
&lt;li&gt;Enter IP Address / Authentication (if needed) / Click Scan Target Host&lt;/li&gt;
&lt;li&gt;Pick IQN / LUN from your storage device
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Note: When Selecting&lt;/em&gt; IQN_, make sure you select your SAN if you are using a dedicated network_&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Finish&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Video Walkthrough&lt;/h3&gt;
&lt;div class=&quot;media-embed&quot;&gt;&lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/mn17fHzn2XQ&quot; title=&quot;YouTube video player&quot; loading=&quot;lazy&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;  
&lt;p&gt;In the end, we now have a centralized storage system that all our hosts can put their VMs on. This is key for using high availability, Xen Orchestra, and quick migrations. Remember to use the community-driven XenServer @ &lt;a href=&quot;https://xcp-ng.org/&quot;&gt;https://xcp-ng.org/&lt;/a&gt;, therefore you can get all the enterprise features of XenServer in your lab environment.&lt;/p&gt;
</description><pubDate>Tue, 09 Oct 2018 16:18:46 GMT</pubDate><content:encoded>&lt;p&gt;This guide goes over how to Create iSCSI SR on Xen to connect to an iSCSI target. Here is the step-by-step and a video walkthrough, which includes setting up iSCSI in FreeNAS.&lt;/p&gt;
&lt;h2&gt;Requirements&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Multiple XenServers (2+) in a Pool&lt;/li&gt;
&lt;li&gt;iSCSI target (Check out FreeNAS in the video below for setting one up)&lt;/li&gt;
&lt;li&gt;At LEAST a gigabit environment&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;/images/2018/10/xen-iscsi-sr.webp&quot; alt=&quot;xen-iscsi&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;Step-by-Step Guide to Create iSCSI SR&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open and Connect to XenCenter / XCP-ng Center&lt;/li&gt;
&lt;li&gt;Select Pool and Click New Storage&lt;/li&gt;
&lt;li&gt;Make sure iSCSI is selected&lt;/li&gt;
&lt;li&gt;Name Storage&lt;/li&gt;
&lt;li&gt;Select either provisioning methods&lt;/li&gt;
&lt;li&gt;Enter IP Address / Authentication (if needed) / Click Scan Target Host&lt;/li&gt;
&lt;li&gt;Pick IQN / LUN from your storage device
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Note: When Selecting&lt;/em&gt; IQN_, make sure you select your SAN if you are using a dedicated network_&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Finish&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Video Walkthrough&lt;/h3&gt;
&lt;div class=&quot;media-embed&quot;&gt;&lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/mn17fHzn2XQ&quot; title=&quot;YouTube video player&quot; loading=&quot;lazy&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;  
&lt;p&gt;In the end, we now have a centralized storage system that all our hosts can put their VMs on. This is key for using high availability, Xen Orchestra, and quick migrations. Remember to use the community-driven XenServer @ &lt;a href=&quot;https://xcp-ng.org/&quot;&gt;https://xcp-ng.org/&lt;/a&gt;, therefore you can get all the enterprise features of XenServer in your lab environment.&lt;/p&gt;
</content:encoded></item><item><title>XenServer cannot connect in XenCenter or XCP-ng Center</title><link>https://christitus.com/xenserver-cannot-connect/</link><guid isPermaLink="true">https://christitus.com/xenserver-cannot-connect/</guid><description>&lt;p&gt;Having problems and your XenServer cannot connect to XenCenter? Did you have high availability enabled? If you answered yes to both these questions here is how you get your XenServer back online and functioning properly. &lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/2018/10/xenserver-cannot-connect.webp&quot; alt=&quot;xenserver-cannot&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;Step-by-Step Guide&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;PuTTy into the XenServer Pool Master&lt;/li&gt;
&lt;li&gt;run the following commands:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;xe pool-ha-disable&lt;/code&gt;&lt;em&gt;Note: If this fails try ha-disable force below&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xe host-emergency-ha-disable force=true&amp;lt;br /&amp;gt; xe pool-emergency-transition-to-master --force&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note: This will force the pool and slaves to reinitialize with the pool master&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Once the server reboots it should connect&lt;/li&gt;
&lt;li&gt;Go into your XenCenter and re-connect&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Other Helpful Commands for troubleshooting&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;xe-toolstack-restart&lt;/code&gt; – First command I always try before anything else&lt;/p&gt;
&lt;p&gt;&lt;code&gt;service xapi restart&lt;/code&gt; – This restarts a core service&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xsconsole&lt;/code&gt; – This launches console to check pool, network config, ha, running VMS, etc.&lt;/p&gt;
&lt;h3&gt;How-To Video going over troubleshooting&lt;/h3&gt;
&lt;div class=&quot;media-embed&quot;&gt;&lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/UqsaRixKveA&quot; title=&quot;YouTube video player&quot; loading=&quot;lazy&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;  
&lt;h3&gt;Conclusion&lt;/h3&gt;
&lt;p&gt;This will get your server back up and accessible, however, this disables high availability and will need to be set back up. It’s important to note the cause of an event like this. In my case, the SR I was using to host my VMs was not sufficient and caused the outage. If this happens to you make sure you have a good SAN/NAS for hosting on a Gigabit or above connection. I’d highly recommend a 10Gbs connection or a multipath gigabit connection at the very least.&lt;/p&gt;
</description><pubDate>Mon, 01 Oct 2018 18:53:13 GMT</pubDate><content:encoded>&lt;p&gt;Having problems and your XenServer cannot connect to XenCenter? Did you have high availability enabled? If you answered yes to both these questions here is how you get your XenServer back online and functioning properly. &lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/2018/10/xenserver-cannot-connect.webp&quot; alt=&quot;xenserver-cannot&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;Step-by-Step Guide&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;PuTTy into the XenServer Pool Master&lt;/li&gt;
&lt;li&gt;run the following commands:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;xe pool-ha-disable&lt;/code&gt;&lt;em&gt;Note: If this fails try ha-disable force below&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xe host-emergency-ha-disable force=true&amp;lt;br /&amp;gt; xe pool-emergency-transition-to-master --force&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note: This will force the pool and slaves to reinitialize with the pool master&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Once the server reboots it should connect&lt;/li&gt;
&lt;li&gt;Go into your XenCenter and re-connect&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Other Helpful Commands for troubleshooting&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;xe-toolstack-restart&lt;/code&gt; – First command I always try before anything else&lt;/p&gt;
&lt;p&gt;&lt;code&gt;service xapi restart&lt;/code&gt; – This restarts a core service&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xsconsole&lt;/code&gt; – This launches console to check pool, network config, ha, running VMS, etc.&lt;/p&gt;
&lt;h3&gt;How-To Video going over troubleshooting&lt;/h3&gt;
&lt;div class=&quot;media-embed&quot;&gt;&lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/UqsaRixKveA&quot; title=&quot;YouTube video player&quot; loading=&quot;lazy&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;  
&lt;h3&gt;Conclusion&lt;/h3&gt;
&lt;p&gt;This will get your server back up and accessible, however, this disables high availability and will need to be set back up. It’s important to note the cause of an event like this. In my case, the SR I was using to host my VMs was not sufficient and caused the outage. If this happens to you make sure you have a good SAN/NAS for hosting on a Gigabit or above connection. I’d highly recommend a 10Gbs connection or a multipath gigabit connection at the very least.&lt;/p&gt;
</content:encoded></item><item><title>Introduction to Google Cloud Platform</title><link>https://christitus.com/intro-google-cloud-platform/</link><guid isPermaLink="true">https://christitus.com/intro-google-cloud-platform/</guid><description>&lt;p&gt;This is an Introduction to Google Cloud Platform and goes over creating your first project and virtual machine. This walkthrough is for beginners that are just getting started with Google Cloud.&lt;/p&gt;
&lt;h2&gt;Video Walkthrough&lt;/h2&gt;
&lt;div class=&quot;media-embed&quot;&gt;&lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/tJyVG-u6RhA&quot; title=&quot;YouTube video player&quot; loading=&quot;lazy&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;  
&lt;h2&gt;GCloud Commands&lt;/h2&gt;
&lt;p&gt;Allows gcloud commands from command prompt&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://cloud.google.com/appengine/docs/standard/python/download&quot;&gt;https://cloud.google.com/appengine/docs/standard/python/download&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Next Steps&lt;/h2&gt;
&lt;p&gt;Now that we know how to use Google Cloud Platform, go out and build up your first system. I highly recommend starting with an Ubuntu server, since they have the best community support for starters, and install a web server to host a website. I found this incredibly easy, especially compared to AWS or Azure. If you want to see any follow-up topics on Google Cloud Platform, let me know below, and I will work on creating more content explaining it. If you are in business, I highly recommend you look at Google Cloud Platform for a backup server and use a VPN to connect your on-site servers. This works seamlessly and is very affordable for a cloud solution.&lt;/p&gt;
</description><pubDate>Tue, 11 Sep 2018 13:44:02 GMT</pubDate><content:encoded>&lt;p&gt;This is an Introduction to Google Cloud Platform and goes over creating your first project and virtual machine. This walkthrough is for beginners that are just getting started with Google Cloud.&lt;/p&gt;
&lt;h2&gt;Video Walkthrough&lt;/h2&gt;
&lt;div class=&quot;media-embed&quot;&gt;&lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/tJyVG-u6RhA&quot; title=&quot;YouTube video player&quot; loading=&quot;lazy&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;  
&lt;h2&gt;GCloud Commands&lt;/h2&gt;
&lt;p&gt;Allows gcloud commands from command prompt&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://cloud.google.com/appengine/docs/standard/python/download&quot;&gt;https://cloud.google.com/appengine/docs/standard/python/download&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Next Steps&lt;/h2&gt;
&lt;p&gt;Now that we know how to use Google Cloud Platform, go out and build up your first system. I highly recommend starting with an Ubuntu server, since they have the best community support for starters, and install a web server to host a website. I found this incredibly easy, especially compared to AWS or Azure. If you want to see any follow-up topics on Google Cloud Platform, let me know below, and I will work on creating more content explaining it. If you are in business, I highly recommend you look at Google Cloud Platform for a backup server and use a VPN to connect your on-site servers. This works seamlessly and is very affordable for a cloud solution.&lt;/p&gt;
</content:encoded></item><item><title>XCP-ng / XenServer – Your First Virtual Machine Installation</title><link>https://christitus.com/xenserver-xcp-ng-first-vm-install/</link><guid isPermaLink="true">https://christitus.com/xenserver-xcp-ng-first-vm-install/</guid><description>&lt;p&gt;This video goes through setting up a Virtual Machine in XenServer / XCP-ng in a lab environment. If you want to experiment with in detail with XenServer, I highly recommend you download XCP-ng from their &lt;a href=&quot;https://xcp-ng.org&quot;&gt;official website&lt;/a&gt;. This is a community-powered version of XenServer with ALL FEATURES ENABLED. XenServer from Citrix has recently started going away from its open-source roots and as a result, has begun locking features behind a paywall.&lt;/p&gt;
&lt;div class=&quot;media-embed&quot;&gt;&lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/n-0CWPhxgP0&quot; title=&quot;YouTube video player&quot; loading=&quot;lazy&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;</description><pubDate>Sun, 09 Sep 2018 18:54:21 GMT</pubDate><content:encoded>&lt;p&gt;This video goes through setting up a Virtual Machine in XenServer / XCP-ng in a lab environment. If you want to experiment with in detail with XenServer, I highly recommend you download XCP-ng from their &lt;a href=&quot;https://xcp-ng.org&quot;&gt;official website&lt;/a&gt;. This is a community-powered version of XenServer with ALL FEATURES ENABLED. XenServer from Citrix has recently started going away from its open-source roots and as a result, has begun locking features behind a paywall.&lt;/p&gt;
&lt;div class=&quot;media-embed&quot;&gt;&lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/n-0CWPhxgP0&quot; title=&quot;YouTube video player&quot; loading=&quot;lazy&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;</content:encoded></item><item><title>Virtualization Introduction</title><link>https://christitus.com/virtualization-introduction/</link><guid isPermaLink="true">https://christitus.com/virtualization-introduction/</guid><description>&lt;p&gt;This is a virtualization introduction and when you should be using it. In the follow-up videos, I will go into using the hypervisor, creating VMs and maintenance.&lt;/p&gt;
&lt;div class=&quot;media-embed&quot;&gt;&lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/T0nywDkf1IE&quot; title=&quot;YouTube video player&quot; loading=&quot;lazy&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;  
&lt;p&gt;Now that you understand what it is and if you want to start getting your feet wet, check out my other videos about installing a hypervisor and launching your first virtual machine. I highly recommend starting out with VMware as it used the most. It also has the most material online if looking for virtualization introduction videos and how to guides.&lt;/p&gt;
</description><pubDate>Fri, 07 Sep 2018 21:33:35 GMT</pubDate><content:encoded>&lt;p&gt;This is a virtualization introduction and when you should be using it. In the follow-up videos, I will go into using the hypervisor, creating VMs and maintenance.&lt;/p&gt;
&lt;div class=&quot;media-embed&quot;&gt;&lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/T0nywDkf1IE&quot; title=&quot;YouTube video player&quot; loading=&quot;lazy&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;  
&lt;p&gt;Now that you understand what it is and if you want to start getting your feet wet, check out my other videos about installing a hypervisor and launching your first virtual machine. I highly recommend starting out with VMware as it used the most. It also has the most material online if looking for virtualization introduction videos and how to guides.&lt;/p&gt;
</content:encoded></item><item><title>Commiting Changes to Docker images and containers</title><link>https://christitus.com/commiting-docker-images/</link><guid isPermaLink="true">https://christitus.com/commiting-docker-images/</guid><description>&lt;p&gt;This is a walkthrough of how to commit changes to docker images and containers. You need to do this if you make configuration changes to any docker images. By committing changes to the docker images you can backup and clone them.&lt;/p&gt;
&lt;p&gt;Docker is a very powerful tool you can use to isolate applications, therefore, you won’t have them on a single server. However, some docker images don’t save changes to their container when a restart happens. You will notice that when a reboot or unexpected outage happens all your configuration will be gone since the creation of container. The Ubiquiti Unifi Controller docker image is a good example of this.&lt;/p&gt;
&lt;h2&gt;Here are the following commands to commit those changes to a new image&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;sudo docker ps -l&lt;/code&gt;&lt;br /&gt;
&lt;em&gt;Note: This shows all your containers you need to copy Container ID for the one you want to commit changes on.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;sudo docker commit CONTAINER_ID_GOES_HERE IMAGENAME:TAG&lt;/code&gt;&lt;br /&gt;
&lt;em&gt;Example Syntax: sudo docker commit 520b0f024bf6 unifi:latest-06-21-2018&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/2018/06/docker.webp&quot; alt=&quot;docker&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Now if you have any issues you can simply create a new container using the image you created above.&lt;/p&gt;
</description><pubDate>Thu, 21 Jun 2018 19:36:03 GMT</pubDate><content:encoded>&lt;p&gt;This is a walkthrough of how to commit changes to docker images and containers. You need to do this if you make configuration changes to any docker images. By committing changes to the docker images you can backup and clone them.&lt;/p&gt;
&lt;p&gt;Docker is a very powerful tool you can use to isolate applications, therefore, you won’t have them on a single server. However, some docker images don’t save changes to their container when a restart happens. You will notice that when a reboot or unexpected outage happens all your configuration will be gone since the creation of container. The Ubiquiti Unifi Controller docker image is a good example of this.&lt;/p&gt;
&lt;h2&gt;Here are the following commands to commit those changes to a new image&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;sudo docker ps -l&lt;/code&gt;&lt;br /&gt;
&lt;em&gt;Note: This shows all your containers you need to copy Container ID for the one you want to commit changes on.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;sudo docker commit CONTAINER_ID_GOES_HERE IMAGENAME:TAG&lt;/code&gt;&lt;br /&gt;
&lt;em&gt;Example Syntax: sudo docker commit 520b0f024bf6 unifi:latest-06-21-2018&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/2018/06/docker.webp&quot; alt=&quot;docker&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Now if you have any issues you can simply create a new container using the image you created above.&lt;/p&gt;
</content:encoded></item><item><title>Reattach LVM after a reinstalling XenServer</title><link>https://christitus.com/reattach-lvm-xenserver/</link><guid isPermaLink="true">https://christitus.com/reattach-lvm-xenserver/</guid><description>&lt;p&gt;This article describes how to reattach LVM or a local Storage repository on XenServer. The XenServer database has become corrupt or your XenServer does not see the local SR.&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Do a pvscan to get the Universally Unique Identifier (UUID) of an existing SR on a local disk. In this example uses UUID 39baf126-a535-549f-58d6-feeda55f7801:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;pvscan&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Output&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;PV /dev/sda3 VG VG_XenStorage-39baf126-a535-549f-58d6-feeda55f7801 lvm2 [66.87 GB / 57.87 GB free]
Total: 1 [66.87 GB] / in use: 1 [66.87 GB] / in no VG: 0 [0 ]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;Note the output above, the VG name of the local drive /dev/sda3 is VG_XenStorage-39baf126-a535-549f-58d6-feeda55f7801 . The VG name contains the SR UUID that resides on this storage media. In this case, the UUID is 39baf126-a535-549f-58d6-feeda55f7801.&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Introduce the SR with the following command:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xe sr-introduce uuid=39baf126-a535-549f-58d6-feeda55f7801 type=lvm name-label=”Local storage” content-type=user&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;This command sets up database records for the SR named “Local storage”&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Locate the SCSI ID of the device or partition where the SR data is stored:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ls -l /dev/disk/by-id/&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;SCSI ID Output&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;total 0
lrwxrwxrwx 1 root root 9 Jan 15 09:44 scsi-SATA_ST3500320AS_9QM13WP2 -&amp;gt; ../../sdb
lrwxrwxrwx 1 root root 10 Jan 15 09:44 scsi-SATA_ST3500320AS_9QM13WP2-part1 -&amp;gt; ../../sdb1
lrwxrwxrwx 1 root root 9 Jan 15 09:44 scsi-SATA_ST380815AS_6QZ5Z1AM -&amp;gt; ../../sda
lrwxrwxrwx 1 root root 10 Jan 15 09:44 scsi-SATA_ST380815AS_6QZ5Z1AM-part1 -&amp;gt; ../../sda1
lrwxrwxrwx 1 root root 10 Jan 15 09:44 scsi-SATA_ST380815AS_6QZ5Z1AM-part2 -&amp;gt; ../../sda2
lrwxrwxrwx 1 root root 10 Jan 15 09:44 scsi-SATA_ST380815AS_6QZ5Z1AM-part3 -&amp;gt; ../../sda3
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;_In this case, the SCSI ID of the device /dev/sda3 is scsi-SATA_ST380815AS_6QZ5Z1AM-part3.&lt;/p&gt;
&lt;p&gt;Notate the device name to use in the next command, where a PBD (physical block device – a connector between the XenServer host and the SR) is created._&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Run the xe host-list command to find out the host UUID for the local host:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xe host-list&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;uuid ( RO) : 83f2c775-57fc-457b-9f98-2b9b0a7dbcb5
name-label ( RW): xenserver1
name-description ( RO): Default install of XenServer
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Create the PBD using the device SCSI ID, host UUID and SR UUID detected above:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;xe pbd-create sr-uuid=39baf126-a535-549f-58d6-feeda55f7801&lt;/code&gt;
&lt;code&gt;device-config:device=/dev/disk/by-id/scsi-SATA_ST380815AS_6QZ5Z1AM-part3 host-uuid=83f2c775-57fc-457b-9f98-2b9b0a7dbcb5&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Afterward, it displays: aec2c6fc-e1fb-0a27-2437-9862cffe213e&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Attach the PBD created with xe pbd-plug command:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xe pbd-plug uuid=aec2c6fc-e1fb-0a27-2437-9862cffe213e&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the end, you now have reattach LVM to the XenServer host and be visible in XenCenter.&lt;/p&gt;
&lt;p&gt;Source: Original Article from Citrix &lt;a href=&quot;http://support.citrix.com/article/CTX121896&quot;&gt;http://support.citrix.com/article/CTX121896&lt;/a&gt;&lt;/p&gt;
</description><pubDate>Wed, 03 Aug 2016 16:18:32 GMT</pubDate><content:encoded>&lt;p&gt;This article describes how to reattach LVM or a local Storage repository on XenServer. The XenServer database has become corrupt or your XenServer does not see the local SR.&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Do a pvscan to get the Universally Unique Identifier (UUID) of an existing SR on a local disk. In this example uses UUID 39baf126-a535-549f-58d6-feeda55f7801:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;pvscan&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Output&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;PV /dev/sda3 VG VG_XenStorage-39baf126-a535-549f-58d6-feeda55f7801 lvm2 [66.87 GB / 57.87 GB free]
Total: 1 [66.87 GB] / in use: 1 [66.87 GB] / in no VG: 0 [0 ]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;Note the output above, the VG name of the local drive /dev/sda3 is VG_XenStorage-39baf126-a535-549f-58d6-feeda55f7801 . The VG name contains the SR UUID that resides on this storage media. In this case, the UUID is 39baf126-a535-549f-58d6-feeda55f7801.&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Introduce the SR with the following command:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xe sr-introduce uuid=39baf126-a535-549f-58d6-feeda55f7801 type=lvm name-label=”Local storage” content-type=user&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;This command sets up database records for the SR named “Local storage”&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Locate the SCSI ID of the device or partition where the SR data is stored:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ls -l /dev/disk/by-id/&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;SCSI ID Output&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;total 0
lrwxrwxrwx 1 root root 9 Jan 15 09:44 scsi-SATA_ST3500320AS_9QM13WP2 -&amp;gt; ../../sdb
lrwxrwxrwx 1 root root 10 Jan 15 09:44 scsi-SATA_ST3500320AS_9QM13WP2-part1 -&amp;gt; ../../sdb1
lrwxrwxrwx 1 root root 9 Jan 15 09:44 scsi-SATA_ST380815AS_6QZ5Z1AM -&amp;gt; ../../sda
lrwxrwxrwx 1 root root 10 Jan 15 09:44 scsi-SATA_ST380815AS_6QZ5Z1AM-part1 -&amp;gt; ../../sda1
lrwxrwxrwx 1 root root 10 Jan 15 09:44 scsi-SATA_ST380815AS_6QZ5Z1AM-part2 -&amp;gt; ../../sda2
lrwxrwxrwx 1 root root 10 Jan 15 09:44 scsi-SATA_ST380815AS_6QZ5Z1AM-part3 -&amp;gt; ../../sda3
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;_In this case, the SCSI ID of the device /dev/sda3 is scsi-SATA_ST380815AS_6QZ5Z1AM-part3.&lt;/p&gt;
&lt;p&gt;Notate the device name to use in the next command, where a PBD (physical block device – a connector between the XenServer host and the SR) is created._&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Run the xe host-list command to find out the host UUID for the local host:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xe host-list&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;uuid ( RO) : 83f2c775-57fc-457b-9f98-2b9b0a7dbcb5
name-label ( RW): xenserver1
name-description ( RO): Default install of XenServer
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Create the PBD using the device SCSI ID, host UUID and SR UUID detected above:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;xe pbd-create sr-uuid=39baf126-a535-549f-58d6-feeda55f7801&lt;/code&gt;
&lt;code&gt;device-config:device=/dev/disk/by-id/scsi-SATA_ST380815AS_6QZ5Z1AM-part3 host-uuid=83f2c775-57fc-457b-9f98-2b9b0a7dbcb5&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Afterward, it displays: aec2c6fc-e1fb-0a27-2437-9862cffe213e&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Attach the PBD created with xe pbd-plug command:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xe pbd-plug uuid=aec2c6fc-e1fb-0a27-2437-9862cffe213e&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the end, you now have reattach LVM to the XenServer host and be visible in XenCenter.&lt;/p&gt;
&lt;p&gt;Source: Original Article from Citrix &lt;a href=&quot;http://support.citrix.com/article/CTX121896&quot;&gt;http://support.citrix.com/article/CTX121896&lt;/a&gt;&lt;/p&gt;
</content:encoded></item><item><title>XenServer tapdisk experienced an error</title><link>https://christitus.com/xenserver-tapdisk-error/</link><guid isPermaLink="true">https://christitus.com/xenserver-tapdisk-error/</guid><description>&lt;p&gt;When re-attaching a SR on a fresh VM, I ran into this XenServer tapdisk error. I ran the following from XenServer console to eject all CD drives on that host. I was then able to start the VM with the old image.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xe vm-cd-eject --multiple&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;If your XenCenter hangs or becomes unresponsive, you can also reset the toolstack from console from a PuTTy session or if XenCenter console is working running the following command:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xe-toolstack-restart&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;It’s important to note what caused the XenServer tapdisk error. I experienced this on an old version of XenServer 6 when switching out the ISOs from the VMs.&lt;/p&gt;
</description><pubDate>Wed, 03 Aug 2016 16:12:57 GMT</pubDate><content:encoded>&lt;p&gt;When re-attaching a SR on a fresh VM, I ran into this XenServer tapdisk error. I ran the following from XenServer console to eject all CD drives on that host. I was then able to start the VM with the old image.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xe vm-cd-eject --multiple&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;If your XenCenter hangs or becomes unresponsive, you can also reset the toolstack from console from a PuTTy session or if XenCenter console is working running the following command:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;xe-toolstack-restart&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;It’s important to note what caused the XenServer tapdisk error. I experienced this on an old version of XenServer 6 when switching out the ISOs from the VMs.&lt;/p&gt;
</content:encoded></item><item><title>Citrix XenCenter error “Could not create SSL/TLS Secure Channel”</title><link>https://christitus.com/citrix-xencenter-error-ssl-secure-channel/</link><guid isPermaLink="true">https://christitus.com/citrix-xencenter-error-ssl-secure-channel/</guid><description>&lt;p&gt;Running the following commands will fix the XenCenter Error. You are typically encountering this error because Windows 10 requires stronger encryption, consequently, this is prevalent on older XenServer installations. I encountered this on XenServer 6.0.&lt;/p&gt;
&lt;h2&gt;Commands&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Putty in using SSH&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;service xapissl stop
mv /etc/xensource/xapi-ssl.pem /etc/xensource/xapi-ssl.pem.bak
/opt/xensource/libexec/generate_ssl_cert &quot;/etc/xensource/xapi-ssl.pem&quot; &apos;10.100.0.40&apos;
service xapissl start
xe-toolstack-restart
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Where you see 10.100.0.40 this is the IP of your XenServer that you are connecting to (not VM ips). Once you run this it reissues the cert and you will be able to properly connect. I’ve seen this on Windows 10 Systems since they force the higher level encryption, however,  If this doesn’t resolve the XenCenter error let me know.&lt;/p&gt;
</description><pubDate>Wed, 13 Jul 2016 14:24:04 GMT</pubDate><content:encoded>&lt;p&gt;Running the following commands will fix the XenCenter Error. You are typically encountering this error because Windows 10 requires stronger encryption, consequently, this is prevalent on older XenServer installations. I encountered this on XenServer 6.0.&lt;/p&gt;
&lt;h2&gt;Commands&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Putty in using SSH&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;service xapissl stop
mv /etc/xensource/xapi-ssl.pem /etc/xensource/xapi-ssl.pem.bak
/opt/xensource/libexec/generate_ssl_cert &quot;/etc/xensource/xapi-ssl.pem&quot; &apos;10.100.0.40&apos;
service xapissl start
xe-toolstack-restart
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Where you see 10.100.0.40 this is the IP of your XenServer that you are connecting to (not VM ips). Once you run this it reissues the cert and you will be able to properly connect. I’ve seen this on Windows 10 Systems since they force the higher level encryption, however,  If this doesn’t resolve the XenCenter error let me know.&lt;/p&gt;
</content:encoded></item></channel></rss>