<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8247849301509079591</id><updated>2012-02-16T19:05:07.817-08:00</updated><category term='linux'/><category term='windows'/><category term='crashplan'/><category term='EX8350'/><category term='XenServer'/><category term='mac'/><category term='backup'/><title type='text'>MartOn TechStuff</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://marton-tech.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://marton-tech.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>MartOn</name><uri>http://www.blogger.com/profile/12350845856154572383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_rXa3T1AchGY/Shh5nNfToZI/AAAAAAAAAeQ/2HW79Oipwg8/s1600-R/44e3014512f635beb1aec715d694ef3d.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8247849301509079591.post-8850243645720311997</id><published>2010-03-31T12:39:00.000-07:00</published><updated>2010-03-31T14:16:02.898-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='crashplan'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><title type='text'>CrashPlan - A perfect home backup solution</title><content type='html'>&lt;a href="http://www.crashplan.com/"&gt;Crashplan&lt;/a&gt; is a perfect backup solution for home use. It is free, but the online backup service (optional) is not expensive at all. It supports most of your OS platforms (Linux, Mac, Windows, open solaris) and is really easy to use. I use it for all my machines at home, making cross-backups locally and also for backing up my precious data to Crashplan central.&lt;br /&gt;&lt;br /&gt;Even thou Crashplan is a GUI&amp;nbsp; based application there is no problem using it on a X-less (Headless) Linux server. you install it in the console and then connect to it from your Mac or windows machine using a ssh tunnel. Ssh tunneling basically forwards a connection from a local port on your computer to a port on a remote machine and is as easy to setup as making a ssh to your server.&lt;br /&gt;Here is an example:&lt;br /&gt;&lt;blockquote&gt;ssh -L 4200:localhost:4243 &lt;username&gt;&lt;username&gt;username@&lt;your_host&gt;&lt;your_host&gt;your_host &lt;/your_host&gt;&lt;/your_host&gt;&lt;/username&gt;&lt;/username&gt;&lt;/blockquote&gt;This connects to the remote server as a regular SSH connection, but as long as you are logged in it will also keep a "port forwarding" from your localmachine on port 4200 to the remote host´s 4243 port.&lt;br /&gt;&lt;br /&gt;Then all you have to do is to locate CrashPlans ui.properties file and add this line:&lt;br /&gt;&lt;blockquote&gt;servicePort=4200&lt;/blockquote&gt;When you start Crashplan locally on your computer, it will connect to localhost:4200. Your SSH connection will then forward the connection (undetected by Crashplan client) to the remote host´s crashplan service.&lt;br /&gt;&lt;br /&gt;Just remember to comment out the servicePort line after you are done configuring the host.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8247849301509079591-8850243645720311997?l=marton-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marton-tech.blogspot.com/feeds/8850243645720311997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marton-tech.blogspot.com/2010/03/crashplan-perfect-home-backup-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/8850243645720311997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/8850243645720311997'/><link rel='alternate' type='text/html' href='http://marton-tech.blogspot.com/2010/03/crashplan-perfect-home-backup-solution.html' title='CrashPlan - A perfect home backup solution'/><author><name>MartOn</name><uri>http://www.blogger.com/profile/12350845856154572383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_rXa3T1AchGY/Shh5nNfToZI/AAAAAAAAAeQ/2HW79Oipwg8/s1600-R/44e3014512f635beb1aec715d694ef3d.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8247849301509079591.post-3742748627954333063</id><published>2010-03-27T14:46:00.000-07:00</published><updated>2010-03-29T05:03:52.081-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XenServer'/><title type='text'>XenServer Install: Adding a local ISO storage</title><content type='html'>This is my last post for now, regarding XenServer installation. After this blog you should be able to start installing your first VM.&lt;br /&gt;&lt;br /&gt;First of all I want to warn you that there is limited storage space on the xenserver it self, so I recommend setting up a samba server where you put all the iso images and then map the samba share as a ISO Repos.&lt;br /&gt;&lt;br /&gt;Login to your Xenserver with ssh and create a iso folder&lt;br /&gt;&lt;blockquote&gt;mkdir -p /var/opt/xen/iso_import&lt;/blockquote&gt;then I copy my net install version of debian over (this is done from the machine you download the image to. It will copy the file over ssh)&lt;br /&gt;&lt;blockquote&gt;scp &lt;yourisofile&gt; root@&lt;name host="" of="" your=""&gt;:/var/opt/xen/iso_import&lt;/name&gt;&lt;/yourisofile&gt;&lt;/blockquote&gt;Then I create the ISO store like this&lt;br /&gt;&lt;blockquote&gt;xe sr-create name-label="myLocal ISO" type=iso device-config:location=/var/opt/xen/iso_import/ device-config:legacy_mode=true content-type=iso&lt;/blockquote&gt;Then verify that the ISO is added:&lt;br /&gt;&lt;br /&gt;xe vdi-list&lt;br /&gt;&lt;br /&gt;Expected output should be something like this:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;uuid ( RO)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 71ee9aae-906e-4002-bbdd-8802132e71b0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name-label ( RW):&lt;your file="" iso=""&gt;&lt;br /&gt;&lt;/your&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; name-description ( RW): &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sr-uuid ( RO): 020842d0-5df0-55a6-906f-2e21e17adc39&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; virtual-size ( RO): 137832448&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sharable ( RO): false&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; read-only ( RO): true&lt;/blockquote&gt;&lt;br /&gt;Thats it. Then you can go ahead and create your first VM machine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8247849301509079591-3742748627954333063?l=marton-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marton-tech.blogspot.com/feeds/3742748627954333063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marton-tech.blogspot.com/2010/03/adding-local-iso-storage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/3742748627954333063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/3742748627954333063'/><link rel='alternate' type='text/html' href='http://marton-tech.blogspot.com/2010/03/adding-local-iso-storage.html' title='XenServer Install: Adding a local ISO storage'/><author><name>MartOn</name><uri>http://www.blogger.com/profile/12350845856154572383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_rXa3T1AchGY/Shh5nNfToZI/AAAAAAAAAeQ/2HW79Oipwg8/s1600-R/44e3014512f635beb1aec715d694ef3d.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8247849301509079591.post-3264648917412535069</id><published>2010-03-27T14:01:00.000-07:00</published><updated>2010-03-29T05:04:33.900-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XenServer'/><title type='text'>XenServer Install: Adding local storage repositories</title><content type='html'>If you remember one of my tips during the XenServer install, it was to not select all your local storage as repotitory during the installation. The reason for this is that I want to add the different disks I have as different storage repositories in order to control which of my RAIDs are used for system disks and data disks. I fount this brilliant blog &lt;a href="http://www.archy.net/2009/05/21/adding-local-storage-to-xenserver-55/"&gt;http://www.archy.net/2009/05/21/adding-local-storage-to-xenserver-55/&lt;/a&gt; that describes the process, but I am going to repeat Stephane´s actions here.&lt;br /&gt;&lt;br /&gt;First we need to detect the drives we want to add. This we do by running a "fdisk -l". In my case I see several disks, but the ones I am interested in is my datadisk and a non-Raid backupdisk:&lt;br /&gt;&lt;blockquote&gt;Disk /dev/sdb: 3000.4 GB, 3000409915392 bytes&lt;br /&gt;255 heads, 63 sectors/track, 364779 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 byte&lt;br /&gt;&lt;br /&gt;Disk /dev/sdc: 250.0 GB, 250059350016 bytes&lt;br /&gt;255 heads, 63 sectors/track, 30401 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;/blockquote&gt;From this listing I can see that it is /dev/sdb and /dev/sdc that I want to add.&lt;br /&gt;&lt;br /&gt;I then run pvcreate on these disks:&lt;br /&gt;&lt;blockquote&gt;pvcreate /dev/sdb&lt;br /&gt;pvcreate /dev/sdc&lt;/blockquote&gt;Then you need to find the disks id string in the /dev/disk/by_id folder. Listing my folder reviles my disks&lt;br /&gt;&lt;blockquote&gt;scsi-27f1dad4b7c900104 -&amp;gt; ../../sdb&lt;br /&gt;scsi-SATA_SAMSUNG_HD252HJS17HJ90S401838 -&amp;gt; ../../sdc&lt;/blockquote&gt;As you can see scsi-27f1dad4b7c900104 is id for sdb and scsi-SATA_SAMSUNG_HD252HJS17HJ90S401838 is id for sdc. The reason we do this is that incase we change the order of our disks or controllers (for instance adding a local SATA disk may add a new sdb and push the other disks down to sdc and sdd).&lt;br /&gt;Ok, next we do some XenServer magic to add the storage repositories.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size: xx-small;"&gt;xe sr-create type=lvm content-type=user device-config:device=/dev/disk/by-id/scsi-27f1dad4b7c900104 name-label="DATA SR"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size: xx-small;"&gt;xe sr-create type=lvm content-type=user device-config:device=/dev/disk/by-id/scsi-SATA_SAMSUNG_HD252HJS17HJ90S401838 name-label="BACKUP SR"&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;That is it.&lt;br /&gt;&lt;br /&gt;In my next blog, I will add a local ISO repos to hold the most used ISOs I use to install servers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8247849301509079591-3264648917412535069?l=marton-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marton-tech.blogspot.com/feeds/3264648917412535069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marton-tech.blogspot.com/2010/03/adding-local-storage-repositories.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/3264648917412535069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/3264648917412535069'/><link rel='alternate' type='text/html' href='http://marton-tech.blogspot.com/2010/03/adding-local-storage-repositories.html' title='XenServer Install: Adding local storage repositories'/><author><name>MartOn</name><uri>http://www.blogger.com/profile/12350845856154572383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_rXa3T1AchGY/Shh5nNfToZI/AAAAAAAAAeQ/2HW79Oipwg8/s1600-R/44e3014512f635beb1aec715d694ef3d.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8247849301509079591.post-824123100385568206</id><published>2010-03-26T07:32:00.000-07:00</published><updated>2010-03-29T05:05:53.254-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XenServer'/><category scheme='http://www.blogger.com/atom/ns#' term='EX8350'/><title type='text'>XenServer install: Monitor the RAID controller</title><content type='html'>When you install hardware RAID controllers, you do not have a monitoring feature like mdadm that can monitor your controller. monitoring is crucial to make sure your server is up and running. No need to have RAID if you do not know when you loose a drive. The Promise EX8350 was a bit challenging to get good monitoring, but after alot of googling I found a solution. You need the CLI tool from Promise. this I downloaded here: &lt;a href="http://www.promise.com/upload/Support/Utility/2.5.0-25_64bitCLI.rar"&gt;http://www.promise.com/upload/Support/Utility/2.5.0-25_64bitCLI.rar&lt;/a&gt;&lt;br /&gt;I downloaded the file and copied the rpmfile over to the XenServer using scp.&lt;br /&gt;then installed it:&lt;br /&gt;&lt;blockquote&gt;rpm -i i2cli-2.5.0-25.i386.rpm&lt;/blockquote&gt;&lt;br /&gt;This installs a CLI command that you can use to view, modify your controller.&lt;br /&gt;&lt;br /&gt;I reconfigured the ssmpt.conf file to a working config for me (this is the outgoing mailserver on the XenServer, so it is able to send email out).&lt;br /&gt;Then I created a small Bash script. &lt;b&gt;&lt;br /&gt;NOTE! This is not optimized at ALL. Just meshed it together and saw that it worked :-) Please fork the gist and update it if you improve it. Use it at own risk. I recommend testing everything before you start adding data and servers on the system.&lt;/b&gt;&lt;br /&gt;You can see the file here: &lt;a href="http://gist.github.com/344939"&gt;http://gist.github.com/344939&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I added the file to crontab: (crontab -e)&lt;br /&gt;&lt;blockquote&gt;*/30 * * * * /usr/sbin/check_raid.sh&lt;/blockquote&gt;&lt;br /&gt;Now you will receive emails every 30 minutes for as long as the RAID is degraded (one of the RAIDS)&lt;br /&gt;&lt;br /&gt;In the next blog I will show you how I added the other RAIDS as Server Repositories, because you can not add these from the admin tool, it must be done from console.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8247849301509079591-824123100385568206?l=marton-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marton-tech.blogspot.com/feeds/824123100385568206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marton-tech.blogspot.com/2010/03/problem-2-monitor-raid-controller.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/824123100385568206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/824123100385568206'/><link rel='alternate' type='text/html' href='http://marton-tech.blogspot.com/2010/03/problem-2-monitor-raid-controller.html' title='XenServer install: Monitor the RAID controller'/><author><name>MartOn</name><uri>http://www.blogger.com/profile/12350845856154572383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_rXa3T1AchGY/Shh5nNfToZI/AAAAAAAAAeQ/2HW79Oipwg8/s1600-R/44e3014512f635beb1aec715d694ef3d.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8247849301509079591.post-7563611351224792179</id><published>2010-03-26T06:40:00.000-07:00</published><updated>2010-03-29T05:06:50.140-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XenServer'/><title type='text'>XenServer Install: The network speed</title><content type='html'>After installing I was confused if the network was actually 1GBit or not. My switch says 1Gbit, eth-tool says gigabit (from console: ethtool eth0), mii-tool says 100Mbit and the funniest of all; the NIC Speed LED shows orange and claims 100Mbit. To be sure I had to do some testing.&lt;br /&gt;&lt;br /&gt;So I installed netcat on the XenServer to test. found the netcat software here: http://netcat.sourceforge.net/download.php. Downloaded the i386.rpm version (did not find a 64-bit version). PS! you can use wget from the xenserver console, so you do not have to scp the file over after downloading.&lt;br /&gt;Install the rpm:&lt;br /&gt;&lt;blockquote&gt;rpm -i &lt;path_to_the_netcat_rpmfile&gt;&lt;br /&gt;&lt;/path_to_the_netcat_rpmfile&gt;&lt;/blockquote&gt;&lt;br /&gt;XenServer protects itself with firewall on all non-used ports, so to test netcat, you have to open the firewall. I added these two lines (since I am not sure if it is udp or tcp):&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;/etc/sysconfig/iptables:&lt;br /&gt;-A RH-Firewall-1-INPUT -p udp -m udp --dport 31233 -j ACCEPT&lt;br /&gt;-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 31233 -j ACCEPT&lt;/blockquote&gt;&lt;br /&gt;I added the lines, right after this line: &lt;i&gt;&lt;span style="font-size: x-small;"&gt;-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;you need to do a :&lt;br /&gt;&lt;blockquote&gt;service iptables restart&lt;/blockquote&gt;to reload the firewall settings&lt;br /&gt;&lt;br /&gt;then I could fire up a netcat like this:&lt;br /&gt;&lt;blockquote&gt;nc -v -v -l -n -p 31233 &amp;gt;/dev/null&lt;/blockquote&gt;Then from my laptop (with cabled network ofcourse):&lt;br /&gt;&lt;blockquote&gt;time yes|nc -v -v -n 192.168.0.8 31233 &amp;gt;/dev/null&lt;/blockquote&gt;(be sure to change the IP to your servers IP address)&lt;br /&gt;Let it run for 10 secs and press CTRL+c&lt;br /&gt;Then on the XenServer you can see how much data was transferred. If it ran for 10seconds, it must be well over 100MByte. (Mine was 420MByte)&lt;br /&gt;&lt;br /&gt;After this is done you can close down the firewall changes, if you like.&lt;br /&gt;Conclusion for me was that the speed is &amp;gt;100Mbit, so the ethernet card is in 1Gbit as I want it to be.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8247849301509079591-7563611351224792179?l=marton-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marton-tech.blogspot.com/feeds/7563611351224792179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marton-tech.blogspot.com/2010/03/problem-1-network-speed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/7563611351224792179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/7563611351224792179'/><link rel='alternate' type='text/html' href='http://marton-tech.blogspot.com/2010/03/problem-1-network-speed.html' title='XenServer Install: The network speed'/><author><name>MartOn</name><uri>http://www.blogger.com/profile/12350845856154572383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_rXa3T1AchGY/Shh5nNfToZI/AAAAAAAAAeQ/2HW79Oipwg8/s1600-R/44e3014512f635beb1aec715d694ef3d.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8247849301509079591.post-2343519748802388897</id><published>2010-03-26T06:28:00.001-07:00</published><updated>2010-03-29T05:07:17.940-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XenServer'/><title type='text'>XenServer Install: The Install</title><content type='html'>The actual installation of Xen is very simple. There are however a few tricks I can recommend, that I had to do.&lt;br /&gt;Be sure to firmware upgrade all of your hardware prior to installing. This is always recommended.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Here is guide to installing: &lt;a href="http://www.howtoforge.com/virtualization-with-xenserver-5.5.0"&gt;http://www.howtoforge.com/virtualization-with-xenserver-5.5.0&lt;/a&gt;&lt;/li&gt;&lt;li&gt;If your CPU does not support VT (Virtualization Technology), you can still continue installation, but you can not install Windows guest OSes and your linux installs must be done with xen-patched linux kernels.&lt;/li&gt;&lt;li&gt;When using the IDE CDROM drive I get "A base installation repository was not found at that location." The tutorial says you can then do a "modprobe ide-generic" from the console, but that did not help me. (Do not know why). So I connected a USB CDROM drive instead and installed from that. That works great.&lt;/li&gt;&lt;li&gt;Use static IP on your management port, unless you have MAC reservation activated in your DHCP server&lt;/li&gt;&lt;li&gt;find local NTP servers for time sync. Virtual machines drift quite alot in time, so it is important to have a master clock that is correct&lt;/li&gt;&lt;li&gt;I got a question during install if I wanted all disks enabled as Storage Repository. DO NOT MARK ALL DRIVES. If you do it will merge all your disks together to one LVM, which is not good if you want to have control where the virtual disks are stored.&lt;/li&gt;&lt;li&gt;Install the Linux pack CD as well. This is mandatory in my mind if you want to install Linux quests&lt;/li&gt;&lt;li&gt;After install enable remote SSH, so you can work from your regular computer when doing all post config.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;In my next blog entry, I will write about all the post-config and checking I had to do.&lt;br /&gt;This includes:&lt;br /&gt;- Network Speed troubleshooting&lt;br /&gt;- Setup monitoring of the EX8350 RAID controller (so I receive emails when the RAID fails)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8247849301509079591-2343519748802388897?l=marton-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marton-tech.blogspot.com/feeds/2343519748802388897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marton-tech.blogspot.com/2010/03/installing-xenserver.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/2343519748802388897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/2343519748802388897'/><link rel='alternate' type='text/html' href='http://marton-tech.blogspot.com/2010/03/installing-xenserver.html' title='XenServer Install: The Install'/><author><name>MartOn</name><uri>http://www.blogger.com/profile/12350845856154572383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_rXa3T1AchGY/Shh5nNfToZI/AAAAAAAAAeQ/2HW79Oipwg8/s1600-R/44e3014512f635beb1aec715d694ef3d.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8247849301509079591.post-2320460776955030727</id><published>2010-03-26T02:58:00.001-07:00</published><updated>2010-03-29T05:07:55.713-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XenServer'/><title type='text'>XenServer Install: My hardware</title><content type='html'>XenServer has a rather limited installer. This means setting up Software Raids and stuff is not so simple, but doable. I have found several posts on the net describing how to install XenServer on Software RAID.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;span style="font-weight: bold;"&gt;First attempt: Failure to communicate&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;My first attempt ended up with hardware issues. I have a Promise EX8350 PCI Express card and wanted to use this in my current Gigabyte GA-EP45-UD3LR motherboard. This did not end well. The mainboard does not want to boot with the RAID controller in the PCIx slot (yes, I changed the BIOS setting to start PCI graphics as primary). I tried several BIOS version of the mainboard, bt no luck.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%; font-weight: bold;"&gt;The hunt for hardware&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I started looking around for a new mainboard and found a perfect card. ASUS P5Q Premium. this card is built for virtualization :-). It has 4Gigabit ethernet ports, 4 PCIExpress ports, and much more.. I have read comments about this card and people claim that you do not need 4NICs. Well if you want to use it for virtualization, 4 ports can be very handy. If you for instance have a iSCSI NAS. this NAS can then run on its own gigabit NICs, which is preferred to maintain speed. As for my setup I am only going to use 2 for now. One for internal servers and one for DMZ servers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%; font-weight: bold;"&gt;The HW configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is the configuration I ended up with. (this all seems to work in XenServer 5.5)&lt;br /&gt;&lt;br /&gt;* ASUS P5Q Premium motherboard&lt;br /&gt;* 8GB DDR2 PC6400 RAM&lt;br /&gt;* Promise EX8350 RAID controller&lt;br /&gt;* Gainward GeForce8400GS for console :-)&lt;br /&gt;* 4 250GB Maxtor 6L250S0 in a RAID10&lt;br /&gt;* 4 1TB SAMSUNG HD103UJ in a RAID5&lt;br /&gt;&lt;br /&gt;the next step is the installation and configuration of XenServer...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8247849301509079591-2320460776955030727?l=marton-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marton-tech.blogspot.com/feeds/2320460776955030727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marton-tech.blogspot.com/2010/03/xenserver-hardware.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/2320460776955030727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/2320460776955030727'/><link rel='alternate' type='text/html' href='http://marton-tech.blogspot.com/2010/03/xenserver-hardware.html' title='XenServer Install: My hardware'/><author><name>MartOn</name><uri>http://www.blogger.com/profile/12350845856154572383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_rXa3T1AchGY/Shh5nNfToZI/AAAAAAAAAeQ/2HW79Oipwg8/s1600-R/44e3014512f635beb1aec715d694ef3d.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8247849301509079591.post-1294577330987331804</id><published>2010-03-26T02:55:00.000-07:00</published><updated>2010-03-29T05:08:20.227-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XenServer'/><title type='text'>XenServer Install: For home testing</title><content type='html'>I have been using VMWare Server for years to virtualize some extra servers at home. Suddenly I stumped over XenServer which seems to be free to use  and also have a great administration tool, even thou it is only for Windows :-(&lt;br /&gt;&lt;br /&gt;I will over the next days write about my experience in setting up XenServer on my home system.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8247849301509079591-1294577330987331804?l=marton-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marton-tech.blogspot.com/feeds/1294577330987331804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marton-tech.blogspot.com/2010/03/xenserver-home-testing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/1294577330987331804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8247849301509079591/posts/default/1294577330987331804'/><link rel='alternate' type='text/html' href='http://marton-tech.blogspot.com/2010/03/xenserver-home-testing.html' title='XenServer Install: For home testing'/><author><name>MartOn</name><uri>http://www.blogger.com/profile/12350845856154572383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_rXa3T1AchGY/Shh5nNfToZI/AAAAAAAAAeQ/2HW79Oipwg8/s1600-R/44e3014512f635beb1aec715d694ef3d.png'/></author><thr:total>0</thr:total></entry></feed>
