Archive for February, 2008

Forest Conservationist Rob Messick

Posted Tuesday, February 26th, 2008 at 5:31 pm

Rob MessickCousin Rob Messick was named Forest Conservationist of the Year by the North Carolina Wildlife Federation and the Governor’s office at the 2007 Governor’s Conservation Achievement Awards this past Saturday.

I have to believe that there is no one more knowledgeable about old-growth forest in North Carolina than my cousin Rob. While he certainly gets a lot of recognition from his friends, family, and local media; this is an honor that is well deserved.

Congratulations Rob. Way to go.

Lazy Sitemap Generator

Posted Friday, February 8th, 2008 at 3:40 pm

Stephen Turbek’s 2006 article entitled “The Lazy IA’s Guide to Making Sitemaps” and Michael Angeles’ “Automating Diagrams with Visio” inspired me to adopt the strategy of first developing a website’s navigation and information architecture in Microsoft Excel and then use Microsoft Visio to provide the automatic formatting.

I love Visio and often find myself spending too much time twiddling with the look and flow of the sitemap during development instead of remaining focused on the logic, content, and organization. Turbek and Angeles’ approach to using two tools to separate the processes of organizing a website’s navigational scheme from the diagramming phase made a lot of sense to me.

The shortcoming of Turbek’s article and his downloadable Excel examples was that they limited information architects to only two levels (two clicks) deep. Several people commented that they wanted to include three or more levels deep and a few even proposed solutions.

It wasn’t until Edward Garana’s comment that I became inspired to develop a sitemap generator that can go beyond two levels. While my examples are only seven-levels deep, you could easily add as many columns as you want.

Introducing LazySitemapGenerator

Requirements

  • Microsoft Excel 2003 or 2008 with Macros enabled
  • Microsoft Visio 2003 or 2008 with the Organization Chart Wizard Add-On
  • Download LazySitemapGenerator version 1.0

Please note that LazySiteMapGenerator uses a single Macro to do its job. You must have Macros enabled for it to work. If you want to first view the content of the Macro before opening Exel, open LazySiteMapGenerator_FindParentMacro.bas in Notepad or some other text editor.

Instructions

The Microsoft Excel files included with LazySiteMapGenerator are composed of worksheets “Input” and “Output.” As you might guess, Input is where you develop your text-based information architecture. Output is where my Excel formulas and FindParent macro defines the relationships that you’ll use to import into Microsoft Visio.

Step 1: Cells “Input!J2″ and “Output!D2″ must be the only two cells in either “M#cr#Ch#ck” (misspelled on purpose) column to have an “x” in them (empty all gray cells in both worksheets)

step1

Step 2: The “Input” worksheet must have no empty rows/gaps

step2

Step 3: Click on any cell in the “Output” worksheet

step3

Step 4: Press and hold “Ctrl-A” to run the “FindParent “macro

step4

Step 5: Repeat “Step 4″ (continue holding) until all of the values are populated in the “Output!ReportsTo” column

step5

Step 6: Stop holding “Ctrl-A” when the Microsoft Visual Basic error pops up with “Run-time error ‘1004′,” which means you are done

step6

Step 7: Click on “End” to clear the Run-time error 1004

step7

Step 8: Switch back to the “Output” worksheet, click “File > Save As” and select “Text (Tab delimited)”, clicking “Ok” and “Yes” to Excel’s formatting alerts

step8

Step 9: Close Excel, open Visio, and run the “Tools > Add-Ons > Organization Chart > Organization Chart Wizard”

step9

Step 10: Select “Information that’s already stored in a file or database” then click “Next”

step10

Step 11: Select “A text, Org Plus (*.txt), or Excel file” then click “Next”

step11

Step 12: Browse to the tab-delimited file you created in “Step 8″ then click “Next”

step12

Step 13: Select “Name” for the Name field, “ReportsTo” for the Reports To field, and leave the First Name field blank, then click “Next”

step13

Step 14: Ensure “Name” is the only value in the Displayed Fields column, then click “Next”

step14

Step 15: Ensure the Custom Property Fields column is blank, then click “Next”

step15

Step 16: Select “I want to specify how much of my organization to display on each page,” check the two checkboxes, and click “Next”

step16

Step 17: Ensure Employee at Top of Page is “Home” and Additional Levels is “All Subordinates,” then click “Finish”

step17

Step 18: [Optional] Select “Shape > Layout Shapes” to open Visio formatting options

step18

Step 19: [Optional] Set Style to “Compact Tree,” Direction to “Right then Down,” Depth to “Shallow,” Style to “Organization Chart,” Direction to “Left to Right,” Appearance to “Curved,” check “Apply routing style to connectors,” check “Enlarge page to fit drawing,” and click “Ok”

step19

Step 20: [Required] Bask in your cool sitemap glory

step20

Summary

There you go. You now have a handy process for automatically generating Visio diagrams from Excel text files. Now you can focus on the intellectual endeavor of organizing information and envisioning user work flow without being distracted by Visio’s diagramming tools.

Download Lazy Sitemap Generator

Download link: LazySitemapGenerator.zip

State of P2V and V2V Solutions

Posted Thursday, February 7th, 2008 at 10:36 pm

In January, my main project at work was to set up three XenServer Enterprise servers and to convert some of our physical machines into virtual machines. This was my first time working with a dedicated virtualization platform that ran at the bare-metal hypervisor level. My prior experience was using VMware’s free VMware Server, which runs as an application running on a Windows or Linux operating system.

Setting up XenServer was rather eventful, which was a good thing. Converting some of our physical servers into virtual machines, however, proved to be more challenging.

What is P2V and V2V

Physical-to-Virtual (P2V) describes the process of migrating a physical server’s operating system, applications, and data from a physical server to a virtual machine guest hosted on a virtualization platform. And virtual-to-virtual (V2V) is very similar, only you are converting a virtual server on one virtual platform — say VMware — to another virtual platform such as XenServer.

One way to move a physical server to a virtual server is to do it the old fashioned way — manually. Basically I’d do a fresh install of a Windows OS in the virtual environment, reinstall of the applications, and them migrate or recreate all of the settings and data the resided on the old physical machine.

Wanting to find an easy way out, I tried my hand at several fully automated P2V software solutions.

Leostream

Leostream’s P2V Direct 3.0 was both my first and favorite solution. They offer one free trial, after that it will cost you about $100 a conversion, which is well worth my time.

Leostream works by installing software on both your XenServer and the Windows OS that you want to convert. Unfortunately, Leosteam only supports 32-bit versions of Windows, but plans on offering a 64-bit version later this year. This was a setback since I had two 64-bit servers I needed to convert.

As for the 32-bit P2V conversions, they went rather well. I did have problems with one server that had two partitions on a single drive, which Leostream support and I couldn’t resolve.

Platespin

Platespin’s PowerConvert was, well, more powerful than what Leostream offered. They also offer a free trial for each XenServer Enterprise license. They have a similar arrangement with virtual provider Virtual Iron.

PowerConvert requires a third-party server. While no software installed on either XenServer or the Windows OS you are attempting to convert, you still have to set up a third server to act as the middle-man during the conversion process. There are many more options offered by PowerConvert, which can be configured via a Wizard or Advance mode. While it was nice having more options, it also added complexity.

Just like Leostream, PowerConvert was incompatible with 64-bit versions of Windows 2003. I still need to find a way to convert two of my 64-bit servers.

VMware Converter

VMware’s Converter is easily the best P2V utility. It is easy to use, it has always worked, it supports both 32-bit and 64-bit versions of Windows, and it’s free. This is the gold standard of P2V software.

Since Leostream and Platespin couldn’t convert my 64-bit Windows 2003 Servers, I decided to attempt a two-step conversion.

  • Step 1: Use the free VMware Converter to conduct a P2V conversion
  • Step 2: Use the free XenSource Virtual Disk Migration Utility Version 1.1 to conduct a V2V conversion

XenSource Virtual Disk Migration Utility (V2XVA)

The V2XVA Utility is free command-line tool that will convert VMware and Microsoft Virtual Server/Virtual PC virtual machines to the Xen Virtual Appliance (XVA) format. Though this utility lacks a nice GUI and has zero whistles and bells, it’s free and it works. Best of all, I can convert 64-bit operating systems.

The P2V and V2V Procedure:

  • Use VMware Converter to perform a P2V conversion
  • Open the newly-created virtual machine in VMware Server
  • Install remaining drivers and reboot a few times, but do not install VMware Tools
  • Once the new virtual machine is stable in VMware Server, shut it down
  • Use the V2XVA Utility to covert the VMware virtual machine into a XenServer virtual machine
  • Use XenCenter to import the V2XVA-created virtual machine into the XenServer of your choosing

P2VMWC2VMWS2XVDMU2V Conversion

I guess I would call this my physical to VMware Converter to VMware Server to XenSource Virtual Disk Migration Utility to XenServer conversion. Whew. It may make for a long acronym and take a while to run, but it’s free and it works for both 32-bit and 64-bit versions of Windows 2003.