<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://it-experts.dk/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>rasmus sjoerslev</title><link>http://it-experts.dk/blogs/rsj/default.aspx</link><description>You got me monologuing!</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>performance data collection made easy: logman and powershell</title><link>http://it-experts.dk/blogs/rsj/archive/2009/10/19/performance-data-collection-made-easy-logman-and-powershell.aspx</link><pubDate>Mon, 19 Oct 2009 19:06:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:6993</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=6993</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2009/10/19/performance-data-collection-made-easy-logman-and-powershell.aspx#comments</comments><description>&lt;p&gt;If you need to gather performance data from multiple systems, it can be hard manual labor (and just plain boring) setting up all those collector sets manually. This PowerShell scripts servers as a wrapper for logman.exe which can create data collector sets from a command line.&lt;/p&gt;
&lt;p&gt;It takes input in the form of which servers (servers.txt) you want to monitor, and which performance counters (counters.txt) you want to monitor. Both .txt files should be placed in the same directory as the .ps1. &lt;br /&gt;The default for the script is to create collectors that run for 1 week, and polls every 2 minutes. This can all be changed though, just type &lt;b&gt;logman /?&lt;/b&gt; In a prompt to list all the features available.&lt;/p&gt;
&lt;p&gt;I have attached a .zip file containing both the PowerShell script and a counters.txt which contain some basic/standard counters for general performance monitoring.&lt;/p&gt;
&lt;p&gt;If you would like to monitor specific counters feel free to create your own counters.txt file. (Note that &amp;lt;HOSTNAME&amp;gt; must still go in front of each line as in the included counters.txt) The easiest way to list performance counters is to use typeperf.exe. This tool lists all the performance counters on the system where it is executed. To list all counters included in the Processor object simply type:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;typeperf.exe -q Processor&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;The easiest way to add counters is to use asterisk (*) to define instances. This way you won&amp;rsquo;t run into issues with defining which devices you want to see statistics for. For example the &lt;b&gt;instance \LogicalDisk(*)\Disk Reads/sec &lt;/b&gt;would give you Disk Reads/sec for all logical disks defined on the target system, no matter how many drives are defined.&lt;/p&gt;
&lt;p&gt;Be aware that when choosing counters for use with multiple servers, they must be available on all systems.&lt;/p&gt;
&lt;p&gt;I hope you find it usefull &amp;ndash; this can be a great way to quickly set up a baseline for multiple systems, or to simply monitor your systems on a regular basis.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=6993" width="1" height="1"&gt;</description><enclosure url="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.69.93/CreateDataCollectors.zip" length="938" type="application/x-zip-compressed" /></item><item><title>Check ntp status and time on your ESX servers</title><link>http://it-experts.dk/blogs/rsj/archive/2009/09/30/check-ntpd-status-and-time-on-your-esx-servers.aspx</link><pubDate>Wed, 30 Sep 2009 19:10:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:6629</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=6629</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2009/09/30/check-ntpd-status-and-time-on-your-esx-servers.aspx#comments</comments><description>&lt;p&gt;Inspired by dkfbp in the VMware Community forums, i made this simple script that checks the date/time and ntpd service status of your ESX servers.&lt;/p&gt;
&lt;p&gt;Its a Powershell/vSphere PowerCLI script that basically serves as a wrapper for plink.exe which then executes commands to a list of provided ESX servers to check. &lt;br /&gt;You can download plink from &lt;a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html"&gt;http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just place plink.exe in the same folder as Get-ESXTime.ps1 and execute. The script is attached with a .txt extension so just rename to .ps1&lt;/p&gt;
&lt;p&gt;If you would like to send the script in an email, just uncomment the SMTP part at the bottom of the script.&lt;/p&gt;
&lt;p&gt;Here is a screenshot if what the output looks like:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj.metablogapi/1817.image_5F00_5B71E401.png"&gt;&lt;img height="125" width="397" src="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj.metablogapi/2084.image_5F00_thumb_5F00_46142E99.png" alt="image" border="0" title="image" style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=6629" width="1" height="1"&gt;</description><enclosure url="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.66.29/Get_2D00_ESXTime.txt" length="2060" type="text/plain" /><category domain="http://it-experts.dk/blogs/rsj/archive/tags/VMware/default.aspx">VMware</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/Scripts/default.aspx">Scripts</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/vsphere/default.aspx">vsphere</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/powershell/default.aspx">powershell</category></item><item><title>Using WOL from the internet</title><link>http://it-experts.dk/blogs/rsj/archive/2009/09/17/using-wol-from-the-internet.aspx</link><pubDate>Thu, 17 Sep 2009 17:05:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:6314</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=6314</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2009/09/17/using-wol-from-the-internet.aspx#comments</comments><description>&lt;p&gt;Being able to use Wake On Lan (WOL) thrue a router from the internet, seemed like the perfect match for my new Windows Home Server. Not wanting the server to be on at all times this feature would make me able to power the server up, get the files i need and power it back down. Meanwhile cutting down on my power bill, and saving the planet one server at the time.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using a ASUS P5Q-VM motherboard with a Realtek LOM. For that to work with WOL i nedded to make a few changes in the BIOS and in Windows device manager.&lt;/p&gt;
&lt;p&gt;Press DEL to enter BIOS and make the following canges:&lt;/p&gt;
&lt;p&gt;Power &amp;gt; APM Configuration&lt;br /&gt;Set &lt;strong&gt;&amp;quot;Power On By PCIE Devices&amp;quot;&lt;/strong&gt; to &lt;strong&gt;&amp;quot;Enabled&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is the only option required to be set in the bios. PXE support and &amp;quot;Power On Ny PCI Devices&amp;quot; it not required. At least not in my case.&lt;/p&gt;
&lt;p&gt;Boot the system into WIndows and enter device manager, and continue to properties for the Realtek NIC. If you are using WHS either log on to the WHS using RDP or install the Advanced Admin Console to gain easy access to the device manager.&lt;/p&gt;
&lt;p&gt;Go to &amp;quot;Power Management&amp;quot; tab and click &amp;quot;Allow this device to bring the computer out of standby&amp;quot;&lt;/p&gt;
&lt;p&gt;Under the &amp;quot;Advanced&amp;quot; tab set:&lt;/p&gt;
&lt;p&gt;&amp;quot;Wake-On-Lan Capabilities&amp;quot; = &lt;strong&gt;&amp;quot;Magic Packet&amp;quot;&lt;/strong&gt; &lt;br /&gt;&amp;quot;Wake-On-Lan After Shutdown&amp;quot; = &lt;strong&gt;&amp;quot;Enable&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Now on to the router/firewall configuration.&lt;/p&gt;
&lt;p&gt;If your router does NOT support WOL forward you can just configure a NAT entry that forwards UDP port 9 to your broadcast address internally. If you use 192.168.1.0/24 you would create the rule to point to 192.168.1.255. My Zyxel router does not support WOL forward, so i just created that NAT rule which works fine.&lt;/p&gt;
&lt;p&gt;Thats it for the configurationpart. Just shut down your computer and team up with a WOL program! I would recommend Magic Packet Sender - &lt;a href="http://magicpacket.free.fr/"&gt;http://magicpacket.free.fr/&lt;/a&gt;&amp;nbsp;- easy to use interface, and you can save your&amp;nbsp;settings in profiles. If you just want to use the WOL from the internet there are browser based options like this one at DSLReport - &lt;a href="http://www.dslreports.com/wakeup"&gt;http://www.dslreports.com/wakeup&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=6314" width="1" height="1"&gt;</description><category domain="http://it-experts.dk/blogs/rsj/archive/tags/power+management/default.aspx">power management</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/WOL/default.aspx">WOL</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/asus/default.aspx">asus</category></item><item><title>How-to: Configure DELL servers for use with vSphere DPM</title><link>http://it-experts.dk/blogs/rsj/archive/2009/09/05/how-to-configure-dell-servers-for-use-with-vsphere-dpm.aspx</link><pubDate>Sat, 05 Sep 2009 21:47:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:6011</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=6011</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2009/09/05/how-to-configure-dell-servers-for-use-with-vsphere-dpm.aspx#comments</comments><description>&lt;p&gt;One of the neat little feature upgrades in ESX 4 compared to 3.x is that Distributed Power Management (DPM) is now officially supported. In 3.5 it was experimental and the only way to power on your hosts was using WOL. In ESX 4 features like IPMI and iLO are supported, which makes for a more reliable usage.&lt;/p&gt;
&lt;p&gt;
Enabling IPMI can either be done using the web-interface or the DRAC configuration tool accessible when booting the system.&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;p&gt;To enable the feature using the web-interface first log in to the DRAC interface and click on &lt;strong&gt;&amp;quot;Remote Access&amp;quot;&lt;/strong&gt; in the menu to the left and then on the &lt;strong&gt;&amp;quot;Configuration&amp;quot;&lt;/strong&gt; to the right. Scroll down to &lt;strong&gt;&amp;quot;IPMI LAN Settings&amp;quot;&lt;/strong&gt; and check the &lt;strong&gt;&amp;quot;Enable IPMI over LAN&amp;quot;&lt;/strong&gt; checkbox as in the screenshot below: &lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/0842.dell_2D00_drac_2D00_IPMI.jpg"&gt;&lt;img height="117" width="463" src="http://it-experts.dk/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/0842.dell_2D00_drac_2D00_IPMI.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To enable IPMI over LAN using the DRAC config util boot the server and press &lt;strong&gt;CTRL+E&lt;/strong&gt; when prompted to enter DRAC configuration. Set the &lt;strong&gt;&amp;quot;IPMI Over LAN&amp;quot;&lt;/strong&gt; to &lt;strong&gt;&amp;quot;On&amp;quot;.&lt;/strong&gt; Save settings and exit.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/1184.dell_2D00_drac_2D00_IPMI_2D00_boot.jpg"&gt;&lt;img height="257" width="464" src="http://it-experts.dk/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/1184.dell_2D00_drac_2D00_IPMI_2D00_boot.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When the servers is back up you can configure the ESX to attach to the BMC using IPMI. To do this start the vSphere client and mark the server you want to configure then click the &lt;strong&gt;&amp;quot;Configuration&amp;quot;&lt;/strong&gt; tab, &lt;strong&gt;&amp;quot;Power Management&amp;quot;&lt;/strong&gt; (under &amp;quot;Software&amp;quot;) and the &lt;strong&gt;&amp;quot;Properties&amp;hellip;&amp;quot;&lt;/strong&gt; on the top right corner.&lt;br /&gt;Enter the username and password used for logging in to the DRAC, the IP of the DRAC and the MAC address. To get easy access to the DRAC MAC address, simply ping the DRAC IP and run &lt;strong&gt;arp &amp;ndash;a&lt;/strong&gt; from a Windows command prompt and copy/paste the MAC from there.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/7776.esx_2D00_power_2D00_mgmt.jpg"&gt;&lt;img src="http://it-experts.dk/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/7776.esx_2D00_power_2D00_mgmt.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After making the changes to all ESX servers in your cluster you are ready to start configuring and using DPM.&lt;/p&gt;
&lt;p&gt;Even if you do not have a DRAC in your DELL servers you should be able to configure IPMI using the shared NIC feature. IPMI is standard on most DELL servers even without the DRAC installed.&lt;/p&gt;
&lt;p&gt;I assume that the process is very similar if you have HP or IBM servers. If you are having trouble configuring IPMI/iLO properties for those kinds of servers, check that IPMI is enabled. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=6011" width="1" height="1"&gt;</description><category domain="http://it-experts.dk/blogs/rsj/archive/tags/drac/default.aspx">drac</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/dell/default.aspx">dell</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/vsphere/default.aspx">vsphere</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/ipmi/default.aspx">ipmi</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/power+management/default.aspx">power management</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/dpm/default.aspx">dpm</category></item><item><title>Bacis configuration changes in Linux - ESX/Appliances</title><link>http://it-experts.dk/blogs/rsj/archive/2009/09/02/bacis-configuration-changes-in-linux-esx-appliances.aspx</link><pubDate>Wed, 02 Sep 2009 13:33:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:5966</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=5966</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2009/09/02/bacis-configuration-changes-in-linux-esx-appliances.aspx#comments</comments><description>&lt;p&gt;I always get lost when it comes to configuring things like DNS, default gateway, IP settings and so on in Linux - more precise ESX and appliances.&lt;/p&gt;  &lt;p&gt;Being tired of always have to google the answers, this post should cover how to do basic IP configuration changes in Linux.   &lt;br /&gt;The paths are taken from the VMware vMA 4.0 appliances, which is based on RedHat distribution. I figure most of the filenames are the same, but for some distros the paths might be different. They are in some cases my experience tells me.&lt;/p&gt;  &lt;p&gt;Default gateway and hostname:&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;File:   &lt;br /&gt;&lt;strong&gt;/etc/sysconfig/network&lt;/strong&gt;&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;Values:   &lt;br /&gt;&lt;strong&gt;HOSTNAME=FQDN     &lt;br /&gt;GATEWAY=10.0.0.1&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;DHCP, IP and netmask:&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;File:   &lt;br /&gt;&lt;strong&gt;/etc/sysconfig/network-scripts/ifcfg-eth0&lt;/strong&gt; (where eth0 corresponds to the interface you want to configure eth1, eth2 etc.)&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;Values:   &lt;br /&gt;&lt;strong&gt;BOOTPROTO=none (configures the device for static IP, set to =DHCP for...yes DHCP)     &lt;br /&gt;IPADDR=10.0.0.1      &lt;br /&gt;NETMASK=255.255.255.0&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;DNS and search order:&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;File:   &lt;br /&gt;&lt;strong&gt;/etc/resolv.conf&lt;/strong&gt;&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;Values:   &lt;br /&gt;&lt;strong&gt;search domain.com (this corresponds to DNS suffix in the windows world)     &lt;br /&gt;nameserver 10.0.0.1      &lt;br /&gt;nameserver 10.0.0.2&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;nameserver values are picked on the order they are listed.&lt;/p&gt;  &lt;p&gt;After you have made the changes restart networking on the host:&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;&lt;strong&gt;service network restart&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;One more thing i always forget hot to set: Keyboard layout   &lt;br /&gt;In many cases when deploying linux based appliances, the default keyboard is en-US, which can be bothersome when using a Danish keyboard. loadkeys should do the work:&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;&lt;strong&gt;loadkeys dk&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;A good command to know as well is the find command&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;&lt;strong&gt;find / -name resolv*&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The first argument is the path to start in, and the -name defines what file you are looking for. The examples also shows that you can use wildcards when searching.&lt;/p&gt;  &lt;p&gt;Thats all i remembered i forgot for now. Will update the post when i forget some more.&lt;/p&gt;  &lt;p&gt;Thanks to &lt;a href="http://www.linuxquestions.org/"&gt;http://www.linuxquestions.org/&lt;/a&gt; - a really nice place for those of us who get lost when paths do not start with C:\ ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=5966" width="1" height="1"&gt;</description><category domain="http://it-experts.dk/blogs/rsj/archive/tags/search/default.aspx">search</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/linux/default.aspx">linux</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/esx/default.aspx">esx</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/commands/default.aspx">commands</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/network/default.aspx">network</category></item><item><title>FREESCO routing in a virtual environment</title><link>http://it-experts.dk/blogs/rsj/archive/2009/01/25/freesco-routing-in-a-virtual-environment.aspx</link><pubDate>Sun, 25 Jan 2009 16:53:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:2488</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=2488</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2009/01/25/freesco-routing-in-a-virtual-environment.aspx#comments</comments><description>&lt;p&gt;If you have the need for routing between different networks in VMware ESX (Hyper-V should be the same use-case though I have not tested), you need some sort of routing application. FREESCO could be that application, and since it&amp;rsquo;s very small, fast and easy to use that&amp;rsquo;s what I ended up using on my ESX test-server.&lt;/p&gt;
&lt;p&gt;I use it for &amp;ldquo;simulating&amp;rdquo; different sites specifically for AD replication, DFS-R and other site-aware applications.&lt;/p&gt;
&lt;p&gt;This guide walks you through installing and booting your new FREESCO VM. &lt;br /&gt;I have attached a clean FREESCO .flp file to this post you can use &amp;ldquo;out of the box&amp;rdquo; in your environment, but if you want to try Virtual Floppy Drive and get a taste of how you can use that tool, please allow yourself to read this post: &lt;a target="_blank" href="http://it-experts.dk/blogs/rsj/archive/2009/01/19/virtual-floppy-disks-and-drives.aspx"&gt;virtual floppy disks and drives&lt;/a&gt; for an how-to create floppy images using Virtual Floppy Drive.&lt;/p&gt;
&lt;p&gt;The following guides you through creating and configuring FREESCO as a VM.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Upload your FREESCO .flp file to your ESX environment, using Datastore Browser, scp, WinSCP or whatever tool you use to add file to your ESX datastores. &lt;/li&gt;
&lt;li&gt;Create at VM with the following settings. I have only listed the non-standard settings you need to make. &lt;br /&gt;Guest OS: &lt;b&gt;Other Linux (32-bit) &lt;br /&gt;&lt;/b&gt;Memory: &lt;b&gt;32MB &lt;br /&gt;&lt;/b&gt;NIC: &lt;b&gt;Flexible&lt;/b&gt; (Add 2 NICs for a start, write down corresponding MAC address for later use) &lt;br /&gt;Disk: &lt;b&gt;Do not create disk&lt;/b&gt; &lt;/li&gt;
&lt;li&gt;After you create the VM, change the configuration like the picture below. You need to remove the DVD drive, and the highlighted floppy path needs to correspond to where you uploaded your floppy file in step 1. Connect each of your NICs to the portgroups you want to route between. &lt;/li&gt;
&lt;li&gt;Power on your VM where you should see FREESCO login prompt. Log in with root//root and choose the default color mode. &lt;/li&gt;
&lt;li&gt;Select option &amp;ldquo;f) Server&amp;rdquo; and press enter. &lt;br /&gt;&lt;a href="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/free02_5F00_12ACB34D.png"&gt;&lt;img height="280" width="404" src="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/free02_5F00_thumb_5F00_58513D6B.png" alt="free-02" border="0" title="free-02" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;strong&gt;A&lt;/strong&gt; - Enter DNS server(s) &lt;br /&gt;&lt;strong&gt;B&lt;/strong&gt; - Hostname &lt;br /&gt;&lt;strong&gt;C&lt;/strong&gt; - Leave domain name &lt;br /&gt;&lt;strong&gt;D&lt;/strong&gt; - At the &amp;ldquo;Network Card Settings&amp;rdquo; configure the NICs you have added, and set both options to 0 for PCI auto configuration. &lt;br /&gt;&lt;a href="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/freenetwork_5F00_108FB484.png"&gt;&lt;img height="281" width="404" src="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/freenetwork_5F00_thumb_5F00_687D0564.png" alt="free-network" border="0" title="free-network" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;strong&gt;E&lt;/strong&gt; - At network settings configure eth0, and then change settings for the other NICs you added to the VM. To configure eth1 press 1 and the &amp;ldquo;Insert&amp;rdquo; key on your keyboard to auto configure the interface. Afterwards it&amp;rsquo;s easier to configure the settings.&amp;nbsp; &lt;br /&gt;&lt;a href="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/freeethconf_5F00_6EC3DBF2.png"&gt;&lt;img height="281" width="404" src="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/freeethconf_5F00_thumb_5F00_4D643656.png" alt="free-ethconf" border="0" title="free-ethconf" style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;strong&gt;F&lt;/strong&gt; - Just accept the default settings for all options but &lt;strong&gt;&lt;em&gt;make sure to answer &amp;ldquo;Yes&amp;rdquo; when you are prompted to &amp;ldquo;Trust local networks&amp;rdquo;.&lt;/em&gt;&lt;/strong&gt; You can choose to enable/disable features you would like to use like HTTP admin, SSH and so on. &lt;/li&gt;
&lt;li&gt;You should end up with a configuration like the picture below: (unless you enabled some features along the way) &lt;br /&gt;&lt;a href="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/free04_5F00_33900027.png"&gt;&lt;img height="281" width="404" src="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/free04_5F00_thumb_5F00_2479214D.png" alt="free-04" border="0" title="free-04" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Press &amp;ldquo;x&amp;rdquo; and follow the onscreen instructions. It will ask you to change 3 passwords; for ppp, root and web. Just change to whatever suites you. Afterwards say no to create new root and admin users and restart the VM by pressing &amp;ldquo;save and quit&amp;rdquo; &lt;/li&gt;
&lt;li&gt;If you have chosen the default networks (192.168.0.x / 192.168.1.x) and have created separate vSwitches/Portgroups , you can now test to see if the routing works. If you are having difficulties finding out what NICs are associated to which portgroup, you can run &lt;strong&gt;&lt;em&gt;ifconfig&lt;/em&gt;&lt;/strong&gt; command from the terminal session on the FREESCO VM and it will show you what MAC addresses are linked to which NICs. If you wrote down the MAC addresses for the vNICs in step 2, it should be no problem to find out where a specific vNIC is connected. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;There are loads of other features in FREESCO which are explained in details at &lt;a href="http://www.freesco.org"&gt;www.freesco.org&lt;/a&gt;. There is also a great &lt;a target="_blank"&gt;FREESCO forum&lt;/a&gt;, where I got all my questions answered in regards to LAN routing. Thanks to &amp;ldquo;Lightning&amp;rdquo; for helping me with all my questions!&lt;/p&gt;
&lt;p&gt;This guide only uses FREESCO from a floppy disk, since I don&amp;rsquo;t need any of the stuff that requires installation to hard disk. It is possible to add LSI Logic SCSI drivers to the FREESCO install if you would like to install it to a .vmdk rather then run if from a floppy. There is &lt;a target="_blank" href="http://www.freesco.org/support-forum/index.php?showtopic=16288"&gt;a forum post on that topic&lt;/a&gt; at the FREESCO support forums also.&lt;/p&gt;
&lt;p&gt;Happy routing!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=2488" width="1" height="1"&gt;</description><enclosure url="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.24.88/freesco_2D00_clean.zip" length="1439309" type="application/x-zip-compressed" /><category domain="http://it-experts.dk/blogs/rsj/archive/tags/FREESCO/default.aspx">FREESCO</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/VMware/default.aspx">VMware</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/Routing/default.aspx">Routing</category></item><item><title>virtual floppy disks and drives</title><link>http://it-experts.dk/blogs/rsj/archive/2009/01/19/virtual-floppy-disks-and-drives.aspx</link><pubDate>Mon, 19 Jan 2009 21:46:54 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:2385</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=2385</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2009/01/19/virtual-floppy-disks-and-drives.aspx#comments</comments><description>&lt;p&gt;Virtual Floppy Drive (VFD) is very neat program that creates virtual floppy drives, which works just as if they where physical. You can save these virtual floppies in .flp format and use directly in VMware and MS hypervisors, or other programs which support floppy images. They can also be written to physical floppy disks using fx. WinImage. &lt;/p&gt;  &lt;p&gt;There is one thing missing in VFD, but you can always press &lt;a href="http://www.freesound.org/samplesViewSingle.php?id=39700"&gt;this link&lt;/a&gt; while you do step 8 below if you are a bit nostalgic :)&lt;/p&gt;  &lt;p&gt;For starters you need to download the following:&lt;/p&gt;  &lt;p&gt;FREESCO 0.4.0 – &lt;a href="http://FREESCO.sourceforge.net/"&gt;Download&lt;/a&gt;     &lt;br /&gt;Virtual Floppy Drive 2.1 (VFD) - &lt;a href="http://chitchat.at.infoseek.co.jp/vmware/vfd.html"&gt;Download&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I’ll describe how to use FREESCO in a virtual environment, that’s why this guide uses FREESCO as an example. You could use whatever floppy based program you wanted to make a virtual floppy for. To see the FREESCO guide click: &lt;a href="http://it-experts.dk/blogs/rsj/archive/2009/01/25/freesco-routing-in-a-virtual-environment.aspx" target="_blank"&gt;FREESCO routing in an virtual environment&lt;/a&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;     &lt;p&gt;Start by extracting Virtual Floppy Drive into c:\temp\vfd (or another folder, I use c:\temp\ in the guide), and FREESCO into c:\temp\freesco&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;Run vfdwin.exe from where you extracted the files to in step 1.&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;Go to the “Driver” tab and press “Start”. This will install and start the VFD driver.&lt;/p&gt;      &lt;p&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="01-driver" border="0" alt="01-driver" src="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/01driver_5F00_30AE4F8C.png" width="406" height="425" /&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;Go to the “Drive0” tab and press “Open/Create”.        &lt;br /&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="02-drive" border="0" alt="02-drive" src="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/02drive_5F00_700C031C.png" width="406" height="425" /&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;Press the “Browse” button and type in the full path to a new .flp file. fx. C:\temp\freesco.flp (or some other path you have write permission to) and press “Open”. You should then see something similar to the picture&amp;#160; below. Make sure that “File” is selected and that media type is “3.5 1.44MB”. Then press “Create”.        &lt;br /&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="03-floppy" border="0" alt="03-floppy" src="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/03floppy_5F00_3688F325.png" width="385" height="276" /&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;Press “Change” at the “Drive Letter” option, and configure the screen as below.        &lt;br /&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="04-letter" border="0" alt="04-letter" src="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/04letter_5F00_212B3DBD.png" width="190" height="136" /&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;You should now be able to access A: drive through your file manager of choice. Check to see if you can access the drive.&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;Start a CMD prompt and browse to where you extracted FREESCO files in step1, and run make_fd.bat. Just press enter when you see the following screen:        &lt;br /&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="05-make_fd" border="0" alt="05-make_fd" src="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/05make_5F00_fd_5F00_55CB99F8.png" width="410" height="209" /&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;Go back info VFD Control Panel (vfdwin.exe it you closed it) and on the “Drive0” tab press “Close”. If it asks if you want to save changes to the file, answer “Yes” and chose to overwrite the file and press save.&lt;/p&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;You now have a floppy file which can be used directly in VMware environments. Save this file as your master, and make copies whenever you need a new FREESCO machine. If you boot directly from the file just created, you will get an installation forced down on the floppy, and you have to follow all the above steps again.&lt;/p&gt;  &lt;p&gt;The above method can be used for all utilities that make use of floppy disks. &lt;a href="http://www.bootdisk.com/bootdisk.htm"&gt;http://www.bootdisk.com/bootdisk.htm&lt;/a&gt; is a good place to look if you are missing old boot disks for Win 98, NT4, 2000 and so on. Typically they come in .exe format and require you to have a floppy drive, but you can work around that with the above method.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=2385" width="1" height="1"&gt;</description><category domain="http://it-experts.dk/blogs/rsj/archive/tags/VMware/default.aspx">VMware</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/Virtual+Floppy/default.aspx">Virtual Floppy</category></item><item><title>set hardware acceleration using scripts</title><link>http://it-experts.dk/blogs/rsj/archive/2009/01/08/set-hardware-acceleration-using-scripts.aspx</link><pubDate>Thu, 08 Jan 2009 15:38:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:2179</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=2179</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2009/01/08/set-hardware-acceleration-using-scripts.aspx#comments</comments><description>&lt;p&gt;If you have tried installing VMware Tools, you know that at the end it prompts you for changing hardware acceleration levels (which you always want to change anyways...).&amp;nbsp;This is tedious process doing manually but can be automated.&lt;/p&gt;
&lt;p&gt;Attached is a VBscript that changes the level to &amp;quot;Full&amp;quot; (just rename to .vbs and run). It works on Server 2003/2008 i assume that it works on XP/Vista/Win7 too...&lt;/p&gt;
&lt;p&gt;I am using this script when installing VMs using MDT&amp;nbsp;(the reason why it&amp;#39;s a&amp;nbsp;VBscript and not PowerShell) to automatically change hardware acceleration after VMware tools finishes installing.&lt;/p&gt;
&lt;p&gt;If you want to check if all your current VMs have full hardware acceleration enabled, take a look at this awesome&amp;nbsp;&lt;a href="http://www.peetersonline.nl/index.php/vmware/setting-video-hardware-acceleration-level/" title="Powershell script for setting HW acceleration"&gt;VI toolkit script from Hugo Peeters&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note in the comments section of that post there is a description on how to change these settings directly in the .inf files for the drivers. Not tried that but sounds cool :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=2179" width="1" height="1"&gt;</description><enclosure url="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.21.79/set_2D00_accel.txt" length="671" type="text/plain" /><category domain="http://it-experts.dk/blogs/rsj/archive/tags/Scripts/default.aspx">Scripts</category></item><item><title>booting Windows 7 from a VHD file</title><link>http://it-experts.dk/blogs/rsj/archive/2009/01/01/booting-windows-7-from-a-vhd-file.aspx</link><pubDate>Thu, 01 Jan 2009 20:43:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:2083</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=2083</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2009/01/01/booting-windows-7-from-a-vhd-file.aspx#comments</comments><description>&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: The post is updated accordingly with the Server 2008 R2 build 7000 commands, and information on how to create/add/attach VHDs using Disk Management.&lt;/p&gt;  &lt;p&gt;Windows 7 and Server 2008 R2 supports booting directly from a VHD file, the same kind of files used for Virtual PC/Server and Hyper-V.   &lt;br /&gt;This gives you the option to install and handle the installation directly in one simple file, while being able to boot and run the OS just as if it were installed in a regular harddisk.    &lt;br /&gt;Also you should be able to attach these installation to the above products, and boot the installation. I&amp;#39;m just guessing here, i have not tried that yet but i&amp;#39;ll have a go at it.&lt;/p&gt;  &lt;p&gt;First you need to create a VHD file. This is done using diskpart, and then afterwards you can handle the boot process using bcdedit. The following shows the commands used in the 2008 R2 (build 7000), and the Windows 7 Beta 1 (build 7000).&lt;/p&gt;  &lt;p&gt;If you have Windows 7 installed, boot into the OS and create the VHD file&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;&lt;strong&gt;diskpart     &lt;br /&gt;create vdisk file=c:\vhd\win7.vhd type=fixed maximum=16000&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;This will create a 16GB VHD file in C:\VHD (C:\VHD\ needs to exists prior to running the command)&lt;/p&gt;  &lt;p&gt;VHD files can also be managed using a GUI directly from the Disk Management tool. “Computer Management” and right click “Disk Management”. You should see the following options:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/diskmgmtVHDoptions_5F00_6DA5BE6D.jpg"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="diskmgmt-VHD-options" border="0" alt="diskmgmt-VHD-options" src="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/diskmgmtVHDoptions_5F00_thumb_5F00_73EC94FB.jpg" width="355" height="434" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/createVHD_5F00_1A4E7847.jpg"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="create-VHD" border="0" alt="create-VHD" src="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/createVHD_5F00_thumb_5F00_2BBED91F.jpg" width="398" height="380" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/attachVHD_5F00_6B1C8CAF.jpg"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="attach-VHD" border="0" alt="attach-VHD" src="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rsj/attachVHD_5F00_thumb_5F00_51B48975.jpg" width="398" height="196" /&gt;&lt;/a&gt;     &lt;br /&gt;After you have created the disk file, boot your machine with the Windows 7 DVD in the drive, and choose &amp;quot;Install Now&amp;quot;. Press SHIFT+F10 to get a CMD prompt. You can also choose &amp;quot;Repair&amp;quot; and start the CMD from the tools menu. Run the following to select and attach the VHD file.&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;&lt;strong&gt;diskpart     &lt;br /&gt;select vdisk file=c:\vhd\win7.vhd      &lt;br /&gt;attach vdisk&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strike&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; The command for &amp;quot;surfacing&amp;quot; (crazy name if you ask me...) a VHD files has changed in the 7000 build, and is now called &amp;quot;attach vdisk&amp;quot; instead of &amp;quot;surface vdisk&amp;quot;.      &lt;br /&gt;If you are running the above commands when installing 2008 R2 Build 6801 the command is &amp;quot;surface vdisk&amp;quot;. My guess is that this will also change in comming 2008 R2 builds to attach instead.&lt;/strike&gt; The new beta 1 release of Server 2008 R2 (Build 7000) now also uses the “attach” command instead of surface. &lt;/p&gt;  &lt;p&gt;After you have attached (Or surfaced the disk...) just type exit 2 times, and you will be back with the installation. When you come to the part where you choose where to install, you should see a 16GB partition. The installation will tell you that you cannot boot off this volume, just ignore and select the drive and install.&lt;/p&gt;  &lt;p&gt;Since Windows 7 supports VHD files, it also knows when it is being installed to a VHD file. Therefore you do not need to add boot entries manually, the installation process takes care of that itself. The bad thing about this is that it makes your VHD installation the default boot option, and the entry name is &amp;quot;Windows 7&amp;quot; - just as it is for a &amp;quot;normal&amp;quot; installation.   &lt;br /&gt;Fear not - this can be changed using bcdedit.&lt;/p&gt;  &lt;p&gt;When you have booted either the HDD or VHD installation, start a CMD prompt and run bcdedit with the verbose (this will show you identifier as GUID, which i find easier)&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;&lt;strong&gt;bcdedit /v&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;copy the ID for your VHD installation and type: (change xxxxx... to your GUID)&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;&lt;strong&gt;bcdedit /set {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} description &amp;quot;Windows 7 VHD&amp;quot;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The above changes the description for your VHD installation to &amp;quot;Windows 7 VHD&amp;quot; so you can distingues them.&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;&lt;strong&gt;bcdedit /displayorder {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} /addlast&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;This adds the VHD installation as the last choice in the boot list. If you have multiple entries, jyst type them in your prefered order seperated by spaces, and drop the /addlast option.&lt;/p&gt;  &lt;p&gt;If you want to add an entry for a VHD installation manually, the easiest way is to just copy an entry in the boot store&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;&lt;strong&gt;bcdedit /copy {GUID} /d &amp;quot;my copy&amp;quot;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Afterwards you can change the 2 following options to point to your VHD file:&lt;/p&gt;  &lt;p style="padding-left:30px;"&gt;&lt;strong&gt;bcdedit /set {GUID} device vhd=[C:]\vhd\win7.vhd     &lt;br /&gt;bcdedit /set {GUID} osdevice vhd=[C:]\vhd\win7.vhd&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Thats it! Im running 2x 2008 R2 and 2x Windows 7 installation on my laptop using the above, and it works like a charm.&lt;/p&gt;  &lt;p&gt;You can also use the diskpart command for attaching your VHD files. This way you can copy files, change settings and so on to the installation in the VHD file. Just use the select + attach/surface command. Remember you cannot attach an running VHD file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=2083" width="1" height="1"&gt;</description><category domain="http://it-experts.dk/blogs/rsj/archive/tags/Windows+7/default.aspx">Windows 7</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/2008+R2/default.aspx">2008 R2</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/VHD/default.aspx">VHD</category><category domain="http://it-experts.dk/blogs/rsj/archive/tags/Boot/default.aspx">Boot</category></item><item><title>PowerShell: write to word using bookmarks</title><link>http://it-experts.dk/blogs/rsj/archive/2008/12/11/powershell-write-to-word-using-bookmarks.aspx</link><pubDate>Thu, 11 Dec 2008 11:00:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:1775</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=1775</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2008/12/11/powershell-write-to-word-using-bookmarks.aspx#comments</comments><description>&lt;p&gt;I needed to create some 5-600 change-request documents for server migration, where some of the information was hostname, IP address and OS version. Server&amp;nbsp;hostname information was already available in txt/xls/csv format, so not wanting to create all thes documents manually (lazy as one is...), i created a change-request &amp;quot;template&amp;quot; (save as &amp;quot;.doc&amp;quot; not &amp;quot;.dot&amp;quot;) and defined bookmarks (see&amp;nbsp;&lt;a target="_blank" href="http://office.microsoft.com/en-us/word/HP012265321033.aspx" title="Guide for creating bookmarks in Word documents"&gt;this&amp;nbsp;article &lt;/a&gt;on how to define&amp;nbsp;bookmarks in Word&amp;nbsp;documents)&amp;nbsp;where the server specific information where to be located.&lt;/p&gt;
&lt;p&gt;Armed with .doc file with bookmarks, server lists and PS i was ready to go. OS version and IP address is gathered using WMI. &lt;br /&gt;I have included a $cred value in the first line of the script. This can be uncommented if you want to run the script remotely. Also the -Credential $cred value for the ipaddr and osver functions has to be uncommented for this to work (described in the script itself)&lt;/p&gt;
&lt;p&gt;Remember to change the input files, and the output directory to suit your environment. Script is attached as write2word.txt, just rename to .ps1.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;# Writes data to Word using bookmarks&lt;br /&gt;# by Rasmus Sjoerslev&lt;br /&gt;# &lt;/em&gt;&lt;/strong&gt;&lt;a href="http://www.it-experts.dk/blogs/rsj"&gt;&lt;strong&gt;&lt;em&gt;www.it-experts.dk/blogs/rsj&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;# If you want to specify credentials the WMI command, uncomment the $cred below, and also make sure to uncomment the -Credential $cred in the 2 functions.&lt;br /&gt;#$cred = Get-Credential $User&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;function ipaddr&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;param([string]$CompName)&lt;br /&gt;&amp;nbsp;$wmi = Get-WmiObject -Query &amp;quot;SELECT * from Win32_NetworkAdapterConfiguration WHERE IPEnabled=&amp;#39;true&amp;#39;&amp;quot; -ComputerName $CompName #-Credential $cred&lt;br /&gt;&amp;nbsp;foreach ($nic in $wmi)&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;$nic.IPAddress&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;}&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;function osver&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;param([string]$CompName)&lt;br /&gt;&amp;nbsp;$osver = Get-WmiObject -Query &amp;quot;SELECT Caption from Win32_OperatingSystem&amp;quot; -ComputerName $CompName #-Credential $cred&lt;br /&gt;&amp;nbsp;$osver.Caption&lt;br /&gt;}&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;# specify full path to the list of servers you want to scan.&lt;br /&gt;$hostInputFile = &amp;quot;C:\Scripting\servers.txt&amp;quot;&lt;br /&gt;if (! (test-path $hostInputFile))&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;throw &amp;quot;$($hostInputFile) is not a valid path.&amp;quot;&lt;br /&gt;}&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;# specify fill path to the word doc where bookmarks are defined.&lt;br /&gt;$docTemplate = &amp;quot;C:\Scripting\template.doc&amp;quot;&lt;br /&gt;if (! (test-path $docTemplate))&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;throw &amp;quot;$($docTemplate) is not a valid path&amp;quot;&lt;br /&gt;}&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;$computers = Get-Content $hostInputFile&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;$msWord = New-Object -Com Word.Application&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;foreach ($computer in $computers)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;$wordDoc = $msWord.Documents.Open($docTemplate)&lt;br /&gt;&amp;nbsp;$wordDoc.Activate()&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;#defines IP address input&lt;br /&gt;&amp;nbsp;$objRange = $wordDoc.Bookmarks.Item(&amp;quot;ip&amp;quot;).Range&lt;br /&gt;&amp;nbsp;$objRange.Text = ipaddr -CompName $computer&lt;br /&gt;&amp;nbsp;$wordDoc.Bookmarks.Add(&amp;quot;ip&amp;quot;,$objRange)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;#defines OS version input&lt;br /&gt;&amp;nbsp;$objRange = $wordDoc.Bookmarks.Item(&amp;quot;osversion&amp;quot;).Range&lt;br /&gt;&amp;nbsp;$objRange.Text = osver -CompName $computer&lt;br /&gt;&amp;nbsp;$wordDoc.Bookmarks.Add(&amp;quot;osversion&amp;quot;,$objRange)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;#defines hostname input (from the $computer value above)&lt;br /&gt;&amp;nbsp;$objRange = $wordDoc.Bookmarks.Item(&amp;quot;hostname&amp;quot;).Range&lt;br /&gt;&amp;nbsp;$objRange.Text = $computer&lt;br /&gt;&amp;nbsp;$wordDoc.Bookmarks.Add(&amp;quot;hostname&amp;quot;,$objRange)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;# Save the document to disk and close it. CHange $filename path to suit your environment.&lt;br /&gt;&amp;nbsp;$filename = &amp;quot;C:\OutputFolder\&amp;quot; + $computer + &amp;quot;.doc&amp;quot;&lt;br /&gt;&amp;nbsp;$wordDoc.SaveAs([REF]$filename)&lt;br /&gt;&amp;nbsp;$wordDoc.Close()&lt;br /&gt;}&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;$msWord.Application.Quit()&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=1775" width="1" height="1"&gt;</description><enclosure url="http://it-experts.dk/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.17.75/write2word.txt" length="2093" type="text/plain" /></item><item><title>tile and cascade all your wonderfull windows.</title><link>http://it-experts.dk/blogs/rsj/archive/2008/12/09/tile-and-cascade-all-your-wonderfull-windows.aspx</link><pubDate>Tue, 09 Dec 2008 22:50:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:1715</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=1715</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2008/12/09/tile-and-cascade-all-your-wonderfull-windows.aspx#comments</comments><description>&lt;p&gt;I had to compare some Word documents today, and got annoyed that i had to ALT+TAB all the time to compare.&lt;/p&gt;
&lt;p&gt;The tile and cascade options are available for grouped documents, but what i did not know is that you can CTRL mark windows in the taskbar. That way you can tile different application windows.&lt;/p&gt;
&lt;p&gt;Just hold CTRL and left click the windows you want to tile or cascade, when you have made your selection right click and chose &amp;quot;Show Windows Stacked&amp;quot; or &amp;quot;Show Windows side by side&amp;quot;. That way i could directly compare 2 word documents in 100% view&amp;nbsp;on a monitor with 1680*xxx resolution. high-tech stuff, i know&amp;nbsp;:)&lt;/p&gt;
&lt;p&gt;i thought i had seen all of those fancy short-cuts and CTRL+ALT+SHIFT+... oh well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=1715" width="1" height="1"&gt;</description></item><item><title>SP2 for Windows Server 2008/Vista beta (CPP) released</title><link>http://it-experts.dk/blogs/rsj/archive/2008/12/05/sp2-for-windows-server-2008-vista-beta-cpp-released.aspx</link><pubDate>Fri, 05 Dec 2008 13:01:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:1644</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=1644</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2008/12/05/sp2-for-windows-server-2008-vista-beta-cpp-released.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/windows/dd262148.aspx"&gt;http://technet.microsoft.com/en-us/windows/dd262148.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=1644" width="1" height="1"&gt;</description></item><item><title>list the number of Virtual Machines pr. Datastore</title><link>http://it-experts.dk/blogs/rsj/archive/2008/11/24/list-the-number-of-virtual-machines-pr-datastore.aspx</link><pubDate>Mon, 24 Nov 2008 14:35:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:1369</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=1369</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2008/11/24/list-the-number-of-virtual-machines-pr-datastore.aspx#comments</comments><description>&lt;p&gt;This VI Toolkit script lists how many VMs are associated with each datastore. Additionally it shows datastore capacity, freespace, and % freespace.&lt;/p&gt;
&lt;p&gt;It prompts for output file (which is HTML) when you run the script, and automatically loads the .html file aftwards.&lt;/p&gt;
&lt;p&gt;This script can be way smaller.&amp;nbsp;If you dont care about&amp;nbsp;fancy HTML&amp;nbsp;output (i know i do) and automacically launching the output file, just cut those sections out.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;# Asks user for HTML output file&lt;br /&gt;$strFile = (Read-Host &amp;quot;Enter full path to HTML output file:&amp;quot;)&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;# Defines HEAD information for HTML formatting&lt;br /&gt;$head = &amp;quot;&amp;lt;style&amp;gt;`n&amp;quot;&lt;br /&gt;$head += &amp;quot;body {font-family: Verdana; font-size: 11px;}`n&amp;quot;&lt;br /&gt;$head += &amp;quot;table {border-width: 1px;}`n&amp;quot;&lt;br /&gt;$head += &amp;quot;td {border-width: 1px; padding: 2px; border-style: solid; border-color: #afafaf;}`n&amp;quot;&lt;br /&gt;$head += &amp;quot;th {text-align: left;}`n&amp;quot;&lt;br /&gt;$head += &amp;quot;&amp;lt;/style&amp;gt;`n&amp;quot;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;# Connect to VC&lt;br /&gt;Connect-VIServer -Server &amp;lt;server_name&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;# Gets datastores and creates empty array&lt;br /&gt;$ds = Get-Datastore | Sort-Object Name | % { Get-View $_.ID }&lt;br /&gt;$myCol = @()&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;# Loops thrue each entry and renames VM property&lt;br /&gt;Foreach ($store in $ds)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;$myObj = &amp;quot;&amp;quot; | Select-Object Datastore, VMs, &amp;quot;Size (GB)&amp;quot;, &amp;quot;Free (GB)&amp;quot;, &amp;quot;Free (%)&amp;quot;&lt;br /&gt;&amp;nbsp;$myObj.&amp;quot;Datastore&amp;quot; = $store.Info.Name&lt;br /&gt;&amp;nbsp;$myObj.&amp;quot;VMs&amp;quot; = $store.Vm.Length&lt;br /&gt;&amp;nbsp;$myObj.&amp;quot;Size (GB)&amp;quot; = [math]::Round( ($store.Summary.Capacity/1GB),0 )&lt;br /&gt;&amp;nbsp;$myObj.&amp;quot;Free (GB)&amp;quot; = [math]::Round( ($store.Summary.Freespace/1GB),0 )&lt;br /&gt;&amp;nbsp;$myObj.&amp;quot;Free (%)&amp;quot; = [math]::Round( ($store.Summary.Freespace/$store.Summary.Capacity * 100),0 )&lt;br /&gt;&amp;nbsp;$myCol += $myObj&lt;br /&gt;}&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;# Converts array output to HTML&lt;br /&gt;$myCol | ConvertTo-Html -Head $head &amp;gt; $strFile&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;&lt;em&gt;# Creats IE object, and launches the output file&lt;br /&gt;$objIE = New-Object -com &amp;quot;InternetExplorer.Application&amp;quot;&lt;br /&gt;$objIE.Navigate($strFile)&lt;br /&gt;$objIE.ToolBar = 0&lt;br /&gt;$objIE.StatusBar = 0&lt;br /&gt;$objIE.Visible = $True&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Remember to change the &lt;strong&gt;&lt;em&gt;&amp;lt;server_name&amp;gt;&lt;/em&gt;&lt;/strong&gt; value to your VC server IP/Hostname&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=1369" width="1" height="1"&gt;</description></item><item><title>reset ESX root password using VI toolkit</title><link>http://it-experts.dk/blogs/rsj/archive/2008/11/17/reset-esx-root-password-using-vi-toolkit.aspx</link><pubDate>Mon, 17 Nov 2008 14:30:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:1186</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=1186</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2008/11/17/reset-esx-root-password-using-vi-toolkit.aspx#comments</comments><description>&lt;p&gt;The first credential box is for VirtualCenter login, then the script asks for the current root password (through a read-host)&lt;/p&gt;
&lt;p&gt;Second credential box is for the new root password (to secure the input)&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&lt;strong&gt;Connect-VIServer -Server &amp;lt;server_name&amp;gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&lt;strong&gt;$rootpswd = (Read-Host &amp;quot;Type the CURRENT root password&amp;quot;) &lt;br /&gt;$newrootpswd = Get-Credential root&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&lt;strong&gt;$accspec = New-Object VMware.Vim.HostPosixAccountSpec&lt;br /&gt;$accspec.id = &amp;quot;root&amp;quot;&lt;br /&gt;#$accspec.password = $newrootpswd&lt;br /&gt;$accspec.Password = $newrootpswd.GetNetworkCredential().Password &lt;br /&gt;$accspec.shellAccess = &amp;quot;/bin/bash&amp;quot;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&lt;strong&gt;#Use Get-VMHost -Name &amp;quot;*&amp;lt;filter&amp;gt;*&amp;quot; if you want to target specific ESX hosts&lt;br /&gt;Get-VMHost | Sort Name | %{&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&lt;strong&gt;Connect-VIServer $_.Name -User root -Password $rootpswd&lt;br /&gt;$si = Get-View ServiceInstance&lt;br /&gt;$acctMgr = Get-View -Id $si.content.accountManager&lt;br /&gt;&amp;nbsp;&lt;br /&gt;$acctMgr.UpdateUser($accspec)&lt;br /&gt;}&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Thanks to LucD for input at the &lt;a href="http://communities.vmware.com/index.jspa" title="VMware Communities"&gt;VMware communities&lt;/a&gt;!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=1186" width="1" height="1"&gt;</description></item><item><title>remember to align your partitions</title><link>http://it-experts.dk/blogs/rsj/archive/2008/10/29/remember-to-align-your-partitions.aspx</link><pubDate>Wed, 29 Oct 2008 12:55:00 GMT</pubDate><guid isPermaLink="false">ba9031b1-d548-40d6-9c23-4682bc67c5c0:899</guid><dc:creator>Rasmus Sjørslev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://it-experts.dk/blogs/rsj/rsscomments.aspx?PostID=899</wfw:commentRss><comments>http://it-experts.dk/blogs/rsj/archive/2008/10/29/remember-to-align-your-partitions.aspx#comments</comments><description>&lt;p&gt;Nothing new, but still important. Always remember to align your partitions no matter if the server is virtual or physical. (check with storage provider first, but in 99% of cases its a good idea)&lt;/p&gt;
&lt;p&gt;Here is a really good guide from VMware which explains the process for both Windows and Linux guest OS.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.vmware.com/pdf/esx3_partition_align.pdf"&gt;http://www.vmware.com/pdf/esx3_partition_align.pdf&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blogs.vmware.com/vmtn/2006/12/keeping_up_with.html"&gt;http://blogs.vmware.com/vmtn/2006/12/keeping_up_with.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also check out &lt;a target="_blank" href="http://it-experts.dk/blogs/rsj/archive/2008/10/28/extending-boot-volumes-on-virtual-machines.aspx"&gt;this post&lt;/a&gt; if you want to set alignment for the boot partition. 2008 and Vista aligns correct when creating partitions, no need to modify.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://it-experts.dk/aggbug.aspx?PostID=899" width="1" height="1"&gt;</description></item></channel></rss>