tag:blogger.com,1999:blog-51309395314715455572024-02-08T06:47:51.862-08:00Productive SWAGMy thoughts, advice, and "scientific guesses"Rawleyhttp://www.blogger.com/profile/04968192468781943165noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-5130939531471545557.post-68136860378762845172009-04-29T19:27:00.000-07:002009-04-29T19:29:08.209-07:00Been awhile, have good intentionsIt has been near a year since I last posted, how quickly time passes. This may end up being a terrible attempt to get back to blogging, but at this time I have every good intention. My goal is to pick it up next week, so we will see.Rawleyhttp://www.blogger.com/profile/04968192468781943165noreply@blogger.com1tag:blogger.com,1999:blog-5130939531471545557.post-14209696914713659402008-07-31T21:02:00.001-07:002008-07-31T21:22:50.611-07:00PowerShell Support in VMware VI ToolkitI am not even close to being a PowerShell guru. But I have had the opportunity to get my hands dirty when working with Microsoft's virtualization management product, <a href="http://www.microsoft.com/systemcenter/virtualmachinemanager/en/us/default.aspx">System Center Virtual Machine Manager</a> SCVMM has the claim as the first product built entirely upon PowerShell. Any and every action performed through the SCVMM GUI uses PowerShell to run the task. The trend in Microsoft seems to be towards moving all management products to this model. and with good reason. Allowing a user to see the scripts that their actions in the GUI are creating gives them great examples to work with. Plus PowerShell has been met with high praise, and what better praise than to be adopted by a competitor...<br /><br />It has been news for awhile now that VMware would include PowerShell support in a VI Toolkit. I have not had the opportunity to play with it yet but I thought the news was great. I ran across <a href="http://blogs.vmware.com/vipowershell/2008/07/run-powergui-di.html">this</a> post tonight. <a href="http://www.powergui.org/index.jspa">PowerGUI </a>now has a plugin that allows you to run in directly in the VI Client! This tool will provide a similar type of "use a GUI to generate a script" functionality that SCVMM does.Rawleyhttp://www.blogger.com/profile/04968192468781943165noreply@blogger.com0tag:blogger.com,1999:blog-5130939531471545557.post-33600051497507794062008-02-27T22:02:00.000-08:002008-02-27T22:13:47.394-08:00VMware puffs chest over Exchange recordThis article initially caught my eye because of the hardware that was used. I found it fairly interesting, <a href="http://www.vmware.com/company/news/releases/ibm_exchange_vmworld.html">here </a>it is for reference. I did some further reading this evening though and noticed that <span class="blsp-spelling-error" id="SPELLING_ERROR_0">VMware</span> has a whole <span class="blsp-spelling-corrected" id="SPELLING_ERROR_1">web page</span> dedicated to <span class="blsp-spelling-error" id="SPELLING_ERROR_2">virtualizing</span> Exchange. <br /><br />I wonder how Microsoft will handle products like <span class="blsp-spelling-error" id="SPELLING_ERROR_3">SQL</span> and Exchange when Hyper-V releases, considering they've always been against <span class="blsp-spelling-error" id="SPELLING_ERROR_4">virtualizing</span> these in a production environment. They will certainly want too appear confident in its performance, especially when <span class="blsp-spelling-error" id="SPELLING_ERROR_5">VMware</span> is publishing things like this.<br /><br />They might need to update their <a href="http://support.microsoft.com/kb/320220">Exchange Support policy for running on <span class="blsp-spelling-error" id="SPELLING_ERROR_6">virtualization</span> software</a> in the meantime since <span class="blsp-spelling-error" id="SPELLING_ERROR_7">VMware</span> just made it look a little silly.Rawleyhttp://www.blogger.com/profile/04968192468781943165noreply@blogger.com1tag:blogger.com,1999:blog-5130939531471545557.post-1041725516000018002008-02-01T19:00:00.000-08:002008-02-01T21:02:58.383-08:00System Center Virtual Machine Manager file transfers causing disk fragmentationI recently noticed a trend on the Microsoft Virtual Server hosts at the organization where I work. With no scheduled disk defragmentation taking place on the drives where the .VHD files are stored, fragmentation is rampant. Rampant is really an understatement, this fragmentation is quite extreme.<br /><br />When first looking at the fragmentation of the host servers I figured a lack of a regular defrag schedule was the main problem....I am not so sure of that. Those of you familiar with and use <a href="http://www.microsoft.com/systemcenter/scvmm/default.mspx">Microsoft Virtual Machine Manager</a> know that it moves files around by using BITs (Background Intelligent Transfer Service). BITs best feature is the ability to resume interrupted file transfers, which is very nice when migrating large Virtual Machines between hosts. BITs also seems to have another interesting perk:<br /><br />Below is a simple test. I took a virtual host with no virtual machines. I ensured that the drive where the virtual machine would be placed was empty (no fragmentation).<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_w-10G1e_aII/R6Px8ZQzqgI/AAAAAAAAEYk/MgQ1MipvheM/s1600-h/Start.JPG"><img style="cursor: pointer;" src="http://bp1.blogger.com/_w-10G1e_aII/R6Px8ZQzqgI/AAAAAAAAEYk/MgQ1MipvheM/s400/Start.JPG" alt="" id="BLOGGER_PHOTO_ID_5162235617772546562" border="0" /></a><br /><br />I then deployed a virtual machine with one 16GB fixed size .VHD using SCVMM. Now a normal file copy of a 16GB file would result in a contiguous non-fragmented copy. After the VM was deployed by SCVMM, a disk defrag analyze resulted in the following report:<br /><br /><span style="font-weight: bold;font-size:85%;" >--------------------------------------------------------------------------------<br />Fragments File Size Most fragmented files<br />8,590 16.00 GB \VirtualServer\VirtualMachines\FRAG-TEST\FRAG-TEST_16GB-FIXED-W2K3-STD-x86-SP2.VHD</span><br /><br />1 file deployed, 8,590 fragments?<br /><br />So lets say you have a production host server that has no scheduled defragmentation. Day to day operations of deploying new machines and migrating existing machines is managed by SCVMM. What does the fragmentation look like after a few months of operation with about 25 virtual machines (with ALL FIXED SIZE .VHDs) running on it?<br /><br /><span style="font-weight: bold;font-size:78%;" >--------------------------------------------------------------------------------<br />Fragments File Size Most fragmented files<br />35,068 40.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />35,067 40.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />15,383 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />15,068 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />14,952 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />14,310 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />13,017 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />12,047 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />12,040 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />11,812 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />9,145 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />9,142 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />8,657 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />7,746 40.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />7,026 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />6,227 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />1,141 2.78 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />5 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />5 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />4 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />4 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />3 16.00 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />2 2.02 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />2 2.02 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />2 2.02 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />2 2.02 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />2 532 MB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />2 532 MB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />2 532 MB \VirtualServer\VirtualMachines\VHDFILE.vhd<br />2 2.02 GB \VirtualServer\VirtualMachines\VHDFILE.vhd<br /> (VHD files renamed by author)<br /><br /></span><span style="font-size:100%;">That is some serious fragmentation folks. I won't even throw in variables like dynamic disks, or checkpoints (which are always created as dynamic disks!). I'll buy a beverage of choice for the person who can calculate the number of extra disk I/O operations the storage array is performing because of this extreme fragmentation.</span><span style="font-weight: bold;font-size:78%;" ><br /></span>Rawleyhttp://www.blogger.com/profile/04968192468781943165noreply@blogger.com3tag:blogger.com,1999:blog-5130939531471545557.post-51613369011059897792008-01-26T07:31:00.000-08:002008-01-26T07:43:01.981-08:00IBM Director and Hyper-VMicrosoft recently released the their <span class="blsp-spelling-error" id="SPELLING_ERROR_0">WMI</span> <span class="blsp-spelling-error" id="SPELLING_ERROR_1">API's</span> for Hyper-V. They can be found <a href="http://msdn2.microsoft.com/en-us/library/cc136992(VS.85).aspx">HERE</a>. The <span class="blsp-spelling-error" id="SPELLING_ERROR_2">WMI</span> <span class="blsp-spelling-error" id="SPELLING_ERROR_3">APIs</span> extend Hyper-V management and tasks to scripting languages (much like the Virtual Server COM <span class="blsp-spelling-error" id="SPELLING_ERROR_4">APIs</span>). <br /><br />What I found interesting was this little tidbit in a post by Mike Sterling, a Microsoft Community rep who frequently posts in the Hyper-V <span class="blsp-spelling-error" id="SPELLING_ERROR_5">Technet</span> <a href="http://forums.microsoft.com/TechNet/ShowForum.aspx?ForumID=583&SiteID=17">Forum</a>:<br /><br />"We expect the Hyper-V <span class="blsp-spelling-error" id="SPELLING_ERROR_6">WMI</span> <span class="blsp-spelling-error" id="SPELLING_ERROR_7">APIs</span> to be used widely in a variety of ways such as:<br />ยท By third party management vendors who want to write tools to manage <span class="blsp-spelling-error" id="SPELLING_ERROR_8">WSV</span> (examples, HP <span class="blsp-spelling-error" id="SPELLING_ERROR_9">Openview</span> & IBM Director)"<br /><br />I know IBM Director already attempts to manage <span class="blsp-spelling-error" id="SPELLING_ERROR_10">VMware</span>, it will be interesting to see what type of support they have for Hyper-V when the time comes around.Rawleyhttp://www.blogger.com/profile/04968192468781943165noreply@blogger.com1tag:blogger.com,1999:blog-5130939531471545557.post-9201304360251805412008-01-09T19:14:00.000-08:002008-01-09T19:29:08.318-08:00And the winner is......Due to the hangover that I have from last night's primary coverage, I am willing to make my prediction....<br /><br />Congratulations to Sony and their <span class="blsp-spelling-error" id="SPELLING_ERROR_0">Blu</span>-ray format. My understanding is that the battle went down to the wire with Warner but your 500 million prevailed. A few things that will be <span class="blsp-spelling-corrected" id="SPELLING_ERROR_1">interesting</span> to see how they play out:<br /><br />1. What will Toshiba do? They are now manufacturing players for a format that has essentially lost. Perhaps they hold on and hope that <span class="blsp-spelling-error" id="SPELLING_ERROR_2">HD</span>-DVD keeps a foothold in do-it-yourself markets due to it's lower cost?<br /><br />2. How long before Microsoft releases a <span class="blsp-spelling-error" id="SPELLING_ERROR_3">Xbox</span> <span class="blsp-spelling-error" id="SPELLING_ERROR_4">Blu</span>-ray accessory? Perhaps their adoption of <span class="blsp-spelling-error" id="SPELLING_ERROR_5">HD</span>-DVD was merely a competitive ploy <span class="blsp-spelling-corrected" id="SPELLING_ERROR_6">against</span> Sony? I tend to think they are banking on their Live download service, and at $6.00 per <span class="blsp-spelling-error" id="SPELLING_ERROR_7">HD</span> movie rental why wouldn't they be?<br /><br />3. Will we continue to see <span class="blsp-spelling-error" id="SPELLING_ERROR_8">Blu</span>-ray player costs dramatically drop if the competition is down and out? <br /><br />My <span class="blsp-spelling-error" id="SPELLING_ERROR_9">geekness</span> almost won out over socially acceptable behavior at the local <span class="blsp-spelling-error" id="SPELLING_ERROR_10">Wal</span>-mart a couple of days ago. I had to utterly restrain myself from informing the dude in the cowboy boots and trucker hat that he wouldn't be able to buy movies for much longer for that <span class="blsp-spelling-error" id="SPELLING_ERROR_11">HD</span>-DVD player he was lugging around. In the end I decided that there was probably a better chance the guy thought he was buying a <span class="blsp-spelling-corrected" id="SPELLING_ERROR_12">souped</span> up VHS-DVD combo, than he was a <span class="blsp-spelling-error" id="SPELLING_ERROR_13">HD</span> video enthusiast.Rawleyhttp://www.blogger.com/profile/04968192468781943165noreply@blogger.com3tag:blogger.com,1999:blog-5130939531471545557.post-61557360233015045412008-01-06T18:02:00.000-08:002008-01-06T18:09:44.628-08:00Server 2008 RTMishI have never visited the site, Bink.nu, but they claim to be "WatchingMicrosoftLikeaHawk". They posted a <a href="http://bink.nu/news/windows-server-2008-is-in-escrow-rtm-build-planned-january-16th.aspx">story </a>on the 4th that Microsoft Server 2008 is expected to RTM on the 16th. <br /><br />Assuming M$ holds to to the 'official word', we could expect to see Hyper-V in July, maybe patch Tuesday the 15th??Rawleyhttp://www.blogger.com/profile/04968192468781943165noreply@blogger.com0tag:blogger.com,1999:blog-5130939531471545557.post-66703383113698551162007-12-30T08:29:00.000-08:002007-12-30T14:00:13.341-08:00System Center Virtual Machine Manager (SCVMM) Remote Library ManagementWhen we first implemented <span class="blsp-spelling-error" id="SPELLING_ERROR_0">SCVMM</span> into our organization one challenge that was recognized was how to easily manage our remote library shares. With the potential for several remote libraries, it immediately became cumbersome to ensure that each location had all of the new or updated system images.<br /><br /><br />We immediately began to work on a system to allow us to manage 1 local library share, and have the contents of that mirrored at each remote location. Windows 2003 R2 has a new feature that fit the role perfectly.<br /><br /><br />Enter <a href="http://msdn2.microsoft.com/en-us/library/bb540025.aspx">Server 2003 R2 <span class="blsp-spelling-error" id="SPELLING_ERROR_1">DFSR</span> </a>:<br /><br />For those not familiar with <span class="blsp-spelling-error" id="SPELLING_ERROR_2">DFSR</span>, it offers a load of potential configurations and uses. The automatic replication and the compression built into it were the main benefits for the library replication.<br /><br />The compression method used by <span class="blsp-spelling-error" id="SPELLING_ERROR_3">DFSR</span> is called Remote Differential Compression (<span class="blsp-spelling-error" id="SPELLING_ERROR_4">RDC</span>), more <a href="http://msdn2.microsoft.com/en-us/library/aa373254(VS.85).aspx">Here</a>. A cool thing about <span class="blsp-spelling-error" id="SPELLING_ERROR_5">RDC</span> is that it is <span class="blsp-spelling-corrected" id="SPELLING_ERROR_6">optimized</span> for <span class="blsp-spelling-error" id="SPELLING_ERROR_7">VHD</span> files. A quick scenario of <span class="blsp-spelling-error" id="SPELLING_ERROR_8">RDC</span> is as follows:<br /><br /><span class="blsp-spelling-error" id="SPELLING_ERROR_9">VHD</span> A is a Windows 2003 Server Standard Edition with SP1 and is 5GB<br /><br /><span class="blsp-spelling-error" id="SPELLING_ERROR_10">VHD</span> B is a Windows 2003 Server Standard Edition with SP2 and is 5.2GB<br /><br /><span class="blsp-spelling-error" id="SPELLING_ERROR_11">RDC</span> breaks the <span class="blsp-spelling-error" id="SPELLING_ERROR_12">VHDs</span> down into smaller parts and replicates, then the parts are put back together at the remote location. <span class="blsp-spelling-error" id="SPELLING_ERROR_13">VHD</span> A is replicated first. Once replication of <span class="blsp-spelling-error" id="SPELLING_ERROR_14">VHD</span> B begins, each part of the file is compared to other file parts that already exist at the remote location. Parts that match are not replicated, but reused from parts existing at the remote site.<br /><br />This means that <span class="blsp-spelling-error" id="SPELLING_ERROR_15">VHD</span> A has all 5GB <span class="blsp-spelling-corrected" id="SPELLING_ERROR_16">replicated</span>. But only the different parts of <span class="blsp-spelling-error" id="SPELLING_ERROR_17">VHD</span> B have to be replicated. So we'll say the .2GB is the only data that has to be replicated for <span class="blsp-spelling-error" id="SPELLING_ERROR_18">VHD</span> B!<br /><br />Since the majority of our <span class="blsp-spelling-error" id="SPELLING_ERROR_19">SCVMM</span> library content is <span class="blsp-spelling-error" id="SPELLING_ERROR_20">VHDs</span> and ISO files, <span class="blsp-spelling-error" id="SPELLING_ERROR_21">DFSR</span> really yields itself as the perfect companion. We've seen as much as 70-80% reduction in WAN traffic from using <span class="blsp-spelling-error" id="SPELLING_ERROR_22">DFSR</span>. The main benefit that I like though is I can update an image and place it in our local library, and I know that it will also be available at our remote sites once it is replicated.<br /><br />Here is a quick diagram of the setup I described above:<br /><br /><br /><a href="http://bp3.blogger.com/_w-10G1e_aII/R3fPHPiW9VI/AAAAAAAAEHk/KJVrBQe_M6g/s1600-h/SCVMM+Replication.JPG"><img id="BLOGGER_PHOTO_ID_5149812422258128210" style="CURSOR: hand" alt="" src="http://bp3.blogger.com/_w-10G1e_aII/R3fPHPiW9VI/AAAAAAAAEHk/KJVrBQe_M6g/s400/SCVMM+Replication.JPG" border="0" /></a><br /><br /><div></div>Rawleyhttp://www.blogger.com/profile/04968192468781943165noreply@blogger.com1tag:blogger.com,1999:blog-5130939531471545557.post-4890665670128231952007-12-27T19:46:00.000-08:002007-12-27T19:59:50.023-08:00iPhone and Google Calendar SynchronoizationI suppose the best place to start this new blog would be to talk about my new love in life. <a href="http://www.apple.com/iphone/">http://www.apple.com/iphone/</a> She's a beaut.<br /><br /><br /><br />Now that I am four days into this relationship, I have managed to give the iPhone a thorough run through. Now I must also say that I am a big Google fanboy. Perhaps it is the <span style="font-size:78%;">small </span><span style="font-size:100%;">ownership that I have in the company, but I happen to love their products. The recent update that they made <a href="http://googlemobile.blogspot.com/2007/12/google-on-iphone-fast-and-fluid.html">http://googlemobile.blogspot.com/2007/12/google-on-iphone-fast-and-fluid.html</a> works very well on the iPhone. The only drawback that I have come too is the lack of integration with Google Calendar. Sure you can see your events, and do a Quick Add, but that is where the features stop.</span><br /><br /><br /><br />After browsing the internet for an evening, and trying different setups, I have settled on <a href="http://www.syncmycal.com/">SyncMyCal</a>. Now it does not allow you too directly sync the Google Calendar with the iPhone, but it does allow for Downloading/Uploading calendar events with Outlook (which does directly synch with the iPhone).<br /><br /><br /><br />Multiple synchronizations are not the most efficient, but so far I have found this method to work. It even allows you to manage multiple calenders.Rawleyhttp://www.blogger.com/profile/04968192468781943165noreply@blogger.com2