<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tech4Him - Technology with Integrity &#187; General</title>
	<atom:link href="http://blog.tech4him.com/topics/post/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tech4him.com</link>
	<description>A Christian technology chaos wrangler and his thoughts</description>
	<lastBuildDate>Wed, 24 Mar 2010 23:15:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ESXi 4, Moving VMs to new Storage</title>
		<link>http://blog.tech4him.com/2010/03/esxi-4-moving-vms-to-new-storage/</link>
		<comments>http://blog.tech4him.com/2010/03/esxi-4-moving-vms-to-new-storage/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 23:15:39 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[md3000i]]></category>
		<category><![CDATA[san]]></category>
		<category><![CDATA[vmfs]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://blog.tech4him.com/?p=948</guid>
		<description><![CDATA[As previously discussed, we recently purchased an MD3000i iSCSI SAN from Dell. We are running the &#8220;free&#8221; VSphere ESXi 4 on 3 hosts. That&#8217;s right, no VCenter, no VCB, no VMotion, no SVM. So, how does one best approach moving these VM guests from local storage to our new lovely SAN? Well, we looked into [...]]]></description>
			<content:encoded><![CDATA[<p>As <a id="aptureLink_2qk6IeDHi4" href="../2010/03/dell-md3000i-and-r710-shiny-and-new/">previously discussed</a>, we recently purchased an MD3000i iSCSI SAN from Dell. We are running the &#8220;free&#8221; VSphere ESXi 4 on 3 hosts. That&#8217;s right, no VCenter, no VCB, no VMotion, no SVM. So, how does one best approach moving these VM guests from local storage to our new lovely SAN? Well, we looked into the following possibilities:<span id="more-948"></span></p>
<ol>
<li>Upgrade and <a id="aptureLink_bpOxGkat45" href="http://www.slideshare.net/championsg/navigating-the-new-vsphere-licensing-landscape">purchase licenses for VSphere</a>, VCenter, etc&#8230;</li>
<li>Use the VI client data store browse &#8220;Move&#8221; functionality</li>
<li>Try out a third party product like Veeam FastSCP</li>
<li>Try standard TAR/GZ combined with cp command</li>
<li>Try vmkfstools disk cloning</li>
</ol>
<p>One important note. While testing some of these options, we became aware of a complicating factor. If you have created your disks as Thin provisioned and are moving to storage that has a different block size, the vmdk will become thick provisioned. This means that the &#8220;entire&#8221; contents of the fully thick provisioned disk will be moved, not just the used space.</p>
<h2>Upgrade and Purchase VSphere Infrastructure Licenses</h2>
<p>This option is one we continue to re-evaluate every 6-8 months. Working in a non-profit, we are always evaluating how to be the best stewards of the resources we&#8217;ve been provided. One of those resources is obviously financial resources. This seems like the only real option for moving running VMs.</p>
<p>While having VSphere Enterprise in place would make this process of migrating to new storage easier, we just cannot justify the long term expense. Our small environment just does not need what you pay for over the long haul.</p>
<p>As such, we ruled this out. Some downtime is perfectly acceptable in this organization.</p>
<h2>Use VI Client Datastore Browse/Move Functionality</h2>
<p><a href="http://blog.tech4him.com/wp-content/uploads/20100324-VI-Client-Data-Browser.png"><img class="alignleft size-medium wp-image-953" style="border: 1px solid black; margin: 8px;" title="20100324 VI Client Data Browser" src="http://blog.tech4him.com/wp-content/uploads/20100324-VI-Client-Data-Browser-300x151.png" alt="" width="300" height="151" /></a>When using the VI Client, you can browse the VMFS datastores similar to a Windows Explorer window. This is accessed by viewing the storage configuration of the host in the VI Client. Right-clicking the particular datastore and choosing browse.</p>
<p>Obviously, this function does not work on running VMs. As a matter of fact, in one of our tests, we actually caused a problem doing so. This is a &#8220;move&#8221; not a copy. If the move fails mid-way through, some files will have been moved while others are still in their original location. Now you&#8217;ve got a bigger mess on your hands.</p>
<p>So, this option means the VM has to be powered off. Ok, we can deal with that. The other downside was that, as explained above, the new vmdk is thick provisioned and therefore, much more data is transferring that is really necessary.</p>
<h2>Test 3rd Party Product Like Veeam FastSCP</h2>
<p><a href="http://blog.tech4him.com/wp-content/uploads/20100324-Veeam-FastSCP.png"><img class="alignright size-medium wp-image-954" style="border: 0pt none; margin: 8px;" title="20100324 Veeam FastSCP" src="http://blog.tech4him.com/wp-content/uploads/20100324-Veeam-FastSCP-300x230.png" alt="" width="300" height="230" /></a>I really do like the folks over at <a id="aptureLink_trsgG6If96" href="http://www.veeam.com/">Veeam</a>. I have used the monitoring /reporting product and like there licensing models. We thought we&#8217;d check out <a id="aptureLink_5GjLxUf0tc" href="http://www.veeam.com/vmware-esxi-fastscp.html">their free FastSCP</a> product. Why? Well because is says &#8220;Fast&#8221; in the name. <img src='http://blog.tech4him.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The tool worked great. It did everything is said it would do. Like the other options, the VMs need to be powered down. We even tested copying between different ESXi hosts. Worked great. The only downside was the lack of speed. Yeah really! We did some reading and it appears that this may be a throttling of the ESXi product, not Veeam FastSCP. Bummer.</p>
<h2>Try standard TAR/GZ combined with cp command</h2>
<p><a href="http://blog.tech4him.com/wp-content/uploads/20100324-tar-failure.png"><img class="alignleft size-medium wp-image-955" style="border: 0pt none; margin: 8px;" title="20100324 tar failure" src="http://blog.tech4him.com/wp-content/uploads/20100324-tar-failure-300x81.png" alt="" width="300" height="81" /></a>&#8220;Wow&#8221;, I though as I was researching. Why don&#8217;t we just tar/gzip everything and then copy to the new storage location and then untar. Well, not so fast our ESXi said to m as it spewed out an error that &#8220;tar: cannot store file &#8216;xxxxxxxxxxx.vmdk&#8217; of size #########, aborting&#8221;. Yuck~!</p>
<p>It appears that BusyBox, the underlying unsupported ESXi console has a limitation of 4GB in ESXi3.5 and 8GB in ESXi 4. Therefore, trying to tar a 100GB vmdk file went no where fast. Check this option off the list.</p>
<h2>Try vmkfstools disk cloning</h2>
<p>This, we thought, is an interesting idea. Yes, the VMs still need to be powered off but perhaps this will shorten the downtime by lowering the amount of data that gets copied. See, as we talk about earlier, going to storage of a different block size will mean yout thin provisioned disks will begin thick. As such, the total size of the thick disk has to be transferred. This could siginificantly increase the copy time if you have lots of unused space on a disk.</p>
<p><a href="http://blog.tech4him.com/wp-content/uploads/20100324-vmkfstools-example-success.png"><img class="alignright size-medium wp-image-957" style="border: 1px solid black; margin: 8px;" title="20100324 vmkfstools example success" src="http://blog.tech4him.com/wp-content/uploads/20100324-vmkfstools-example-success-300x45.png" alt="" width="300" height="45" /></a>The vmkfstools utility has a feature known as cloning. This allows you to make a clone copy of a vmdk disk to anyVMFS datastore. Now that&#8217;s all good but where this got us jazzed was the ability to force that newly cloned disk to be created as a thin provisioned disk. Eureka!</p>
<p>Now, first, make sure you remove all snapshots in the vm. Those are just going to cause us a headache.</p>
<p>So a command like this does the deed:<br />
<code>vmkfstools -i /vmfs/volumes/source/vmname/vmname.vmdk -d thin /vmfs/volumes/dest/vmname/vmname.vmdk<br />
</code></p>
<blockquote><p><em>Note: you need to do this against the vmname.vmdk NOT the vmname-flat.vmdk. Be forwarned.</em></p></blockquote>
<p>Some small scale, non-scientific testing gave us around 1.3GB per minute in transfer speed. Again, this is not true i/o but rather therate used for calculating down time for our migration project by taking the amount of used space on the source drive/time to create cloned drive = transfer rate.</p>
<p>Now, when the vmdks are moved, don&#8217;t forget to cp all the other VM files in the VM directories!</p>
<p>This looks to be the path we will be taking and thought we&#8217;d share how we arrived here.</p>
<img src="http://blog.tech4him.com/?ak_action=api_record_view&id=948&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.tech4him.com/2010/03/esxi-4-moving-vms-to-new-storage/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dell MD3000i and R710 &#8211; Shiny and New</title>
		<link>http://blog.tech4him.com/2010/03/dell-md3000i-and-r710-shiny-and-new/</link>
		<comments>http://blog.tech4him.com/2010/03/dell-md3000i-and-r710-shiny-and-new/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 22:53:10 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Links/Resources]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[idrac]]></category>
		<category><![CDATA[md3000i]]></category>
		<category><![CDATA[r710]]></category>
		<category><![CDATA[san]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://blog.tech4him.com/?p=924</guid>
		<description><![CDATA[Well, the time finally came. We bit the bullet and purchased a new Dell PowerEdge R710 and an MD3000i SAN for the office. The R710 will be a new VSphere ESXi 4 host that will take on a bulk of the production VM&#8217;s while one of the remaining 2950&#8217;s will remain a smaller production host [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.tech4him.com/wp-content/uploads/P1020983.jpg"><img class="alignleft size-medium wp-image-925" style="border: 1px solid black; margin: 8px;" title="P1020983" src="http://blog.tech4him.com/wp-content/uploads/P1020983-300x236.jpg" alt="MD3000i and Dell Poweredge R710 mounted." width="300" height="236" /></a>Well, the time finally came. We bit the bullet and purchased a new <a id="aptureLink_hCyM6UtDdt" href="http://www.dell.com/us/en/enterprise/servers/server-poweredge-r710/pd.aspx?refid=server-poweredge-r710&amp;cs=555&amp;s=biz">Dell PowerEdge R710</a> and an <a id="aptureLink_bLYLP1Uv0w" href="http://www.dell.com/us/en/enterprise/storage/pvaul_md3000i/pd.aspx?refid=pvaul_md3000i&amp;cs=555&amp;s=biz">MD3000i SAN</a> for the office. The R710 will be a new <a id="aptureLink_RyUIbc3vQk" href="http://www.vmware.com/products/esxi/">VSphere ESXi 4</a> host that will take on a bulk of the production VM&#8217;s while one of the remaining 2950&#8217;s will remain a smaller production host and the third 2950 will be a test and development box.</p>
<p>So you can see the MD3000i with the faceplate off directly below the new R710. I&#8217;m tempted to leave the faceplate off so that the executives and visitors see more lights when they look in. For some reason, non-technical people tend to have a first reaction to hardware such that more lights is mo&#8217; better. <img src='http://blog.tech4him.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span id="more-924"></span></p>
<p><a href="http://blog.tech4him.com/wp-content/uploads/Dell-PowerConnect-Summary.png"><img class="alignright size-medium wp-image-928" style="border: 0pt none; margin: 8px;" title="Dell PowerConnect Summary" src="http://blog.tech4him.com/wp-content/uploads/Dell-PowerConnect-Summary-300x143.png" alt="" width="300" height="143" /></a>Along with these two pieces of hardware, we went ahead and got a <a id="aptureLink_zs7XEvwIti" href="http://www.dell.com/us/en/enterprise/networking/pwcnt_5424/pd.aspx?refid=pwcnt_5424&amp;cs=555&amp;s=biz">Dell PowerConnect 5424</a> iSCSI optimized switch. This will be dedicated to the storage segment for the time being. Configuration of the switch meant actually going back to the rack. Initial configuration must be done via serial cable (included). Once you configure the management IP address and administrator credentials, the rest of the configuration can be done via the web based management tool.</p>
<p><a href="http://blog.tech4him.com/wp-content/uploads/Dell-R710-DRAC-Summary.png"><img class="alignleft size-thumbnail wp-image-929" style="border: 0pt none; margin: 8px;" title="Dell R710 DRAC Summary" src="http://blog.tech4him.com/wp-content/uploads/Dell-R710-DRAC-Summary-150x150.png" alt="" width="150" height="150" /></a>Now the R710 was purchased with the nice <a id="aptureLink_MQtvMeQu2C" href="http://www.delltechcenter.com/page/lifecycle+controller">iDRAC</a>. This web based, out of band, management tool is wonderful. No client to load. You can configure, manage and review just about anything at the hardware level here.</p>
<p>One of the things I really liked about the new iDRAC is the console redirection or virtual KVM functionality. Of course, this allows you to run a java application the is the server console, however, it also allows you to map client resources as virtual media for the server.</p>
<p><a href="http://blog.tech4him.com/wp-content/uploads/Dell-DRAC-KVM-Virtual-Media.png"><img class="alignright size-thumbnail wp-image-930" style="border: 0pt none; margin: 8px;" title="Dell DRAC KVM Virtual Media" src="http://blog.tech4him.com/wp-content/uploads/Dell-DRAC-KVM-Virtual-Media-150x150.png" alt="" width="150" height="150" /></a>In our case, we mapped the VMWare Vsphere ESXi 4 ISO image to the R710 server. We booted to it and installed the operating system without so much as a single walk back to the serer rack. This is much akin to the VMWare ability to mount client CD/DVD drives or ISO images as media for the guest operating systems. The difference here is that this is for the physical hardware. Lights out operations, indeed!</p>
<p><a href="http://blog.tech4him.com/wp-content/uploads/md3000i-Storage-Manager-Summary.png"><img class="alignleft size-thumbnail wp-image-931" style="border: 0pt none; margin: 8px;" title="md3000i Storage Manager Summary" src="http://blog.tech4him.com/wp-content/uploads/md3000i-Storage-Manager-Summary-150x150.png" alt="" width="150" height="150" /></a>Finally, the MD3000i is configured with the <a id="aptureLink_dcprywcZIQ" href="http://dell.driversdown.com/dell-drivers-downloads/Dell-MD3000i-Configuration-Utility_21455.shtml">Dell MD3000i Configuration Utility</a>. Downloading this zip file was easy enough, extracted the contents and ran the SAConfig.bat file. The wizard walks you through the process. We had already wired the management ports on the MD3000i to our LAN while leaving the controllers on the storage network. The Wizard easily identified the unit, asked us for information on how we wanted to configure ip addresses and the like and then applied the configuration to the MD3000i. 5 minutes later we used the Modular Disk Storage Manager to begin the configuration process.</p>
<p>Dell will be helping with the final configuration next week but already setting up iSCSI to the ESXi hosts has been fairly painless following the <a id="aptureLink_EtfppEsgJi" href="http://www.delltechcenter.com/page/VMware+ESX+4.0+and+PowerVault+MD3000i">documented processes</a> outlined by Dell and VMWare.</p>
<img src="http://blog.tech4him.com/?ak_action=api_record_view&id=924&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.tech4him.com/2010/03/dell-md3000i-and-r710-shiny-and-new/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Drupal 5 to 6 Form Migration #TREE Attribute</title>
		<link>http://blog.tech4him.com/2010/03/drupal-5-to-6-form-migration-tree-attribute/</link>
		<comments>http://blog.tech4him.com/2010/03/drupal-5-to-6-form-migration-tree-attribute/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 04:12:23 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.tech4him.com/?p=910</guid>
		<description><![CDATA[Today was spent working on creating a Drupal 6 version of a custom Drupal 5 module as part of a Drupal upgrade project. This module is similar to the image_attach module that is a contrib module package with the Image module. The difference is that the module allows you to designate categories for images by [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://farm1.static.flickr.com/72/183313765_12a606d998.jpg"><img class="alignright" title="Tree" src="http://farm1.static.flickr.com/72/183313765_12a606d998.jpg" alt="" width="350" height="199" /></a>Today was spent working on creating a Drupal 6 version of a custom Drupal 5 module as part of a Drupal upgrade project. This module is similar to the image_attach module that is a contrib module package with the <a href="http://drupal.org/project/image">Image module</a>. The difference is that the module allows you to designate categories for images by content_type and allows for the upload, selection, removal and ordering of images in each &#8220;image category&#8221;.<span id="more-910"></span></p>
<p><a href="http://blog.tech4him.com/wp-content/uploads/20100310-images_attach-screenshot.png"><img class="alignleft size-medium wp-image-913" style="border: 1px solid black; margin: 8px;" title="20100310 images_attach screenshot" src="http://blog.tech4him.com/wp-content/uploads/20100310-images_attach-screenshot-212x300.png" alt="" width="212" height="300" /></a>Now, one of the biggest challenges is that there are multiple instances of the &#8220;image_attach&#8221; sections on a single content edit form, one for each category. The Drupal 5 version handled this by naming these by appending the category name to the fields. This allows the submitted form value for &#8220;iids&#8221; to be an array of categories. Each category itself being an array of image iid values.</p>
<p>For the life of me, my Drupal 6 version of this functionality failed to maintain the category arrays. After some frustrated hair pulling (hmmm&#8230;. no wonder my hair is so short), I remembered to take a look at the <a href="http://api.drupal.org/api/drupal/developer--topics--forms_api.html/6">FAPI docs</a>.</p>
<p>http://api.drupal.org/api/drupal/developer&#8211;topics&#8211;forms_api.html/6</p>
<blockquote><p><span style="color: #800080;"><em>An important thing to note:</em> notice that <code>$form['access']</code> has a <code>'#tree' =&gt; TRUE</code> attribute. this setting retains  the full tree structure for all elements under it when it is passed to <code>$form_state['values']</code>.  you must explicitly declare this anywhere you wish to retain an array&#8217;s  full hierarchy when it is passed.</span></p></blockquote>
<p>So, Drupal 6 collapses form elements where possible by default. By adding the #tree attribute, the hierarchy of form elements is maintained in the form_state submitted. Eureka!</p>
<p>Here&#8217;s an example of what I was getting without the #tree attribute:</p>
<p><a href="http://blog.tech4him.com/wp-content/uploads/20100310-Drupal-Without-Form-Tree.png"><img class="aligncenter size-medium wp-image-911" title="20100310 Drupal Without Form Tree" src="http://blog.tech4him.com/wp-content/uploads/20100310-Drupal-Without-Form-Tree-300x281.png" alt="form_state values without #tree" width="300" height="281" /></a></p>
<p>And now with the #tree attribute set to true, the form hierarchy is retain and not collapsed:</p>
<p><a href="http://blog.tech4him.com/wp-content/uploads/20100310-Drupal-With-Form-TREE-on.png"><img class="aligncenter size-medium wp-image-912" title="20100310 Drupal With Form TREE on" src="http://blog.tech4him.com/wp-content/uploads/20100310-Drupal-With-Form-TREE-on-285x300.png" alt="form_state values with #tree" width="285" height="300" /></a></p>
<p>I&#8217;m sure most of you doing Drupal development are saying &#8220;Duh!&#8221;. Well, let&#8217;s just say I really didn&#8217;t know. <img src='http://blog.tech4him.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thought I&#8217;d throw it on the blog so I don&#8217;t forget.</p>
<p>Blessings.</p>
<img src="http://blog.tech4him.com/?ak_action=api_record_view&id=910&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.tech4him.com/2010/03/drupal-5-to-6-form-migration-tree-attribute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linode StackScripts and LAMP Servers</title>
		<link>http://blog.tech4him.com/2010/03/linode-stackscripts-and-lamp-servers/</link>
		<comments>http://blog.tech4him.com/2010/03/linode-stackscripts-and-lamp-servers/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 03:16:45 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linode]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.tech4him.com/?p=891</guid>
		<description><![CDATA[On February 8th, 2010 Linode.com announced the availability of StackScripts. The StackScripts are described as:
StackScripts™ provide a  flexible way to customize our distribution templates. They’re very easy  to use — find a StackScript, answer its questions, and click deploy.  When the deployment is first booted, the script is executed and does its [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.tech4him.com/wp-content/uploads/20103008-StackScript-Start.png"><img class="alignleft size-medium wp-image-895" style="border: 1px solid black; margin: 8px;" title="StackScript Start" src="http://blog.tech4him.com/wp-content/uploads/20103008-StackScript-Start-300x204.png" alt="" width="300" height="204" /></a>On February 8th, 2010 <a href="http://blog.linode.com/2010/02/09/introducing-stackscripts/">Linode.com announced the availability of StackScripts</a>. The StackScripts are described as:</p>
<blockquote><p><a href="http://www.linode.com/stackscripts/">StackScripts</a>™ provide a  flexible way to customize our distribution templates. They’re very easy  to use — find a StackScript, answer its questions, and click deploy.  When the deployment is first booted, the script is executed and does its  thing. You can even watch its progress by viewing the console.</p>
<p><span id="more-891"></span></p></blockquote>
<p>As so many things with Linode.com and its community there is a public library of the <a href="http://www.linode.com/stackscripts/">Stackscripts</a> available for a variety of purposes. Anything a from a standard LAMP setup to WordPress, Drupal and TRAC/SVN setups.</p>
<p>Already having a Linode up and running, I have also been thinking about re-doing the setup of ourLAMP server. Seeing this as an opportunity to both rebuild our LAMP server and test StackScripts, I set out to give it a try.</p>
<p>We already had a Linode configuration and a disk image actively running. The good news was that when you choose to deploy a new distribution via a stackscript, it will create both a new Linode configuration as well as a new disk image. Doing so keeps you from having to remove the currently running setup.</p>
<p><a href="http://blog.tech4him.com/wp-content/uploads/20100308-Stackscript-LAMP.png"><img class="alignright size-medium wp-image-892" style="border: 1px solid black; margin: 8px;" title="Stackscript LAMP" src="http://blog.tech4him.com/wp-content/uploads/20100308-Stackscript-LAMP-300x195.png" alt="" width="300" height="195" /></a>One of the standard Linode LAMP StackScripts provide a form like the image to the left when executed to deploy a new distribution. MySQL user and password, creation of a default database, as well as root O/S password and such. dec</p>
<p>Once the configuration is created, you now only need to boot into the new configuration. If you are logged into your LISH console, you will see the distribution go through the automated process of the StackScript. In our test case, an Ubuntu 8.04 LTS kernel was booted and installed, system updates installed and applied, postfix installed for local loopback only, MySQL installed and tuned, php installed and tuned and apache2 installed and tuned.</p>
<p>Pretty cool so far. Now, there is plenty left to do to get a fairly decent LAMP going that in our case would run Drupal.</p>

<p>Create a new non-root admin  user account called myadminuser and add to the admin group:</p>
<pre>adduser myadminuser
usermod -G admin myadminuser</pre>
<blockquote><p>NOTE: Looks like the admin group is already part of sudoers so your new account has sudo privileges.</p></blockquote>
<p>Update the timezone:</p>
<pre>sudo dpkg-reconfigure tzdata</pre>
<p>Secure MySQL services in a quick fashion:</p>
<pre>sudo mysql_secure_installation</pre>
<p>Enable a few Apache2 modules:</p>
<pre>sudo a2enmod deflate
sudo a2enmod expires
sudo a2enmod cache
sudo /etc/init.d/apache2 force-reload</pre>
<p>Add a few PHP tools:</p>
<pre>sudo apt-get install php5-gd
sudo apt-get install php5-curl
sudo apt-get install php5-cli</pre>
<p>Secure SSH daemon by changing the port for SSH and disallow root login:</p>
<pre>sudo vim /etc/ssh/sshd_config
-- # Protocol 1
-- Protocol 2
-- ListenAddress 10.54.55.104 #your IP
-- Port 5502 # New port different than 22 and &lt; 65535
-- PermitRootLogin no
-- X11Forwarding no

sudo /etc/init.d/ssh restart</pre>
<p>Install the firewall and configure:</p>
<pre>sudo apt-get install ufw
sudo ufw default deny
sudo ufw allow http/tcp
sudo ufw allow 5502/tcp
sudo ufw enable
sudo ufw status verbose</pre>
<p>Configured PostFix by following pieces of our<a href="http://blog.tech4him.com/2009/08/linode-setup-domain-email-forwarding/"> previous post on PostFix and domain forwarding</a>.</p>
<pre>sudo vim main.cf
-- See article referenced
sudo vim virtual
-- See article referenced
sudo postmap virtual
sudo ufw allow 25/tcp
sudo postconf -e "inet_interfaces = all"
sudo /etc/init.d/postfix restart</pre>

<p>Lastly upon reboot we noticed that mysqld was failing. The problem was that mysqld was not binding correctly. We editing the my.cnf file and added BindAddress 127.0.0.1 above our existing BindAddress 10.54.55.104. This allows mysqld to bind and listen to both local loopback and the external IP (if needed)</p>
<p>At this point, we had not installed APC or MemCached yet. Performance was quite good with this setup and the minimal memory available to this test Linode. We ran six(6) Drupal , one (1) WordPress and one (1) CMS Made simple site with sub-second response times under fairly good load.</p>
<p>Kudos to Linode.com on their StackScript concept. I can certainly see this being very appealing for providers needing to crank out Linodes with a standard configuration for customers.</p>
<p>Blessings.</p>
<img src="http://blog.tech4him.com/?ak_action=api_record_view&id=891&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.tech4him.com/2010/03/linode-stackscripts-and-lamp-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenPublish Demo at ADUG</title>
		<link>http://blog.tech4him.com/2010/02/openpublish-demo-at-adug/</link>
		<comments>http://blog.tech4him.com/2010/02/openpublish-demo-at-adug/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 15:35:28 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Links/Resources]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[openpublish]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.tech4him.com/?p=883</guid>
		<description><![CDATA[This video is from Atlanta Drupal User Group (ADUG) member Kent Lester,  and his presentation on Open Publish &#8211; the Drupal distribution created  by Phase2 Technology.

 
]]></description>
			<content:encoded><![CDATA[<p>This video is from <a href="http://www.mediacurrent.com/adug-meetup-video-footage-open-publish-and-drupal-gardens-demos" target="_blank">Atlanta Drupal User Group (ADUG)</a> member Kent Lester,  and his presentation on Open Publish &#8211; the Drupal distribution created  by Phase2 Technology.</p>
<p><span id="more-883"></span></p>
<p><embed type="application/x-shockwave-flash" width="640" 	height="504" 	allowfullscreen="true" 	allowscriptaccess="always" 	src="http://www.archive.org/flow/flowplayer.commercial-3.0.5.swf" 	w3c="true" 	flashvars='config={"key":"#$b6eb72a0f2f1e29f3d4","playlist":[{"url":"http://www.archive.org/download/DrupalOpenpublish-KentLester/format=Thumbnail?.jpg","autoPlay":true,"scaling":"fit"},{"url":"http://www.archive.org/download/DrupalOpenpublish-KentLester/DrupalOpenpublish-KentLester02092010_512kb.mp4","autoPlay":false,"accelerated":true,"scaling":"fit","provider":"h264streaming"}],"clip":{"autoPlay":false,"accelerated":true,"scaling":"fit","provider":"h264streaming"},"canvas":{"backgroundColor":"0x000000","backgroundGradient":"none"},"plugins":{"audio":{"url":"http://www.archive.org/flow/flowplayer.audio-3.0.3-dev.swf"},"controls":{"playlist":false,"fullscreen":true,"gloss":"high","backgroundColor":"0x000000","backgroundGradient":"medium","sliderColor":"0x777777","progressColor":"0x777777","timeColor":"0xeeeeee","durationColor":"0x01DAFF","buttonColor":"0x333333","buttonOverColor":"0x505050"},"h264streaming":{"url":"http://www.archive.org/flow/flowplayer.h264streaming-3.0.5.swf"}},"contextMenu":[{"View+DrupalOpenpublish-KentLester+at+archive.org":"function()"},"-","Flowplayer 3.0.5"]}'> </embed></p>
<img src="http://blog.tech4him.com/?ak_action=api_record_view&id=883&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.tech4him.com/2010/02/openpublish-demo-at-adug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.archive.org/download/DrupalOpenpublish-KentLester/DrupalOpenpublish-KentLester02092010_512kb.mp4&amp;quot" length="305389662" type="video/mp4" />
		</item>
		<item>
		<title>Internet Explorer iFrame Insanity &#8211; Lullabot</title>
		<link>http://blog.tech4him.com/2010/02/internet-explorer-iframe-insanity-lullabot/</link>
		<comments>http://blog.tech4him.com/2010/02/internet-explorer-iframe-insanity-lullabot/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 13:26:32 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[lullabot]]></category>

		<guid isPermaLink="false">http://blog.tech4him.com/?p=877</guid>
		<description><![CDATA[Here&#8217;s a great little article from the great folks over at Lullabot with a fix for why Internet Explorer insists on an ugly frame for black IFrames.
http://www.lullabot.com/blog/ie-iframe-insanity
To fix it you have to do this:
&#60;iframe allowtransparency="true"  frameBorder="0"&#62;&#60;/iframe&#62;
]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a <a href="http://www.lullabot.com/blog/ie-iframe-insanity" target="_blank">great little article</a> from the great folks over at Lullabot with a fix for why Internet Explorer insists on an ugly frame for black IFrames.</p>
<p><a href="http://www.lullabot.com/blog/ie-iframe-insanity" target="_blank">http://www.lullabot.com/blog/ie-iframe-insanity</a></p>
<p>To fix it you have to do this:</p>
<div><code>&lt;iframe allowtransparency="true"  frameBorder="0"&gt;&lt;/iframe&gt;</code></div>
<img src="http://blog.tech4him.com/?ak_action=api_record_view&id=877&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.tech4him.com/2010/02/internet-explorer-iframe-insanity-lullabot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix Your Hosed Admin Menu</title>
		<link>http://blog.tech4him.com/2009/12/fix-your-hosed-admin-menu/</link>
		<comments>http://blog.tech4him.com/2009/12/fix-your-hosed-admin-menu/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 04:48:09 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[drupal 6]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[module]]></category>

		<guid isPermaLink="false">http://blog.tech4him.com/?p=863</guid>
		<description><![CDATA[Here&#8217;s a quick fix. We have a site that has been through a number of migrations, moves and upgrades. We use the Admin module that provide a nice UI for site administration. Somewhere along the way, the admin menu items got completely hosed.


Note that we have no &#8220;Content&#8221; menu in administration. Also, notice that in [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quick fix. We have a site that has been through a number of migrations, moves and upgrades. We use the <a href="http://drupal.org/project/admin" target="_blank">Admin module</a> that provide a nice UI for site administration. Somewhere along the way, the admin menu items got completely hosed.</p>
<p><span id="more-863"></span></p>
<div id="attachment_864" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.tech4him.com/wp-content/uploads/Admin-Menu-Hosed.png"><img class="size-medium wp-image-864" title="Admin Menu Hosed" src="http://blog.tech4him.com/wp-content/uploads/Admin-Menu-Hosed-300x171.png" alt="Admin Menu Hosed" width="300" height="171" /></a><p class="wp-caption-text">Admin menu completely hosed.</p></div>
<p style="text-align: center;">
<p>Note that we have no &#8220;Content&#8221; menu in administration. Also, notice that in the screenshot, we are in the Configuration menu but only have a single configuration item. That certainly doesn&#8217;t look right. <img src='http://blog.tech4him.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>So after a bit of Googling  we first tried truncating the cache_menu table without success. Finally we decided to try a simple thought. We disabled the Admin menu. Then we re-enabled the Admin menu and Voila, our admin menus have been fixed. Go Figure.</p>
<div id="attachment_865" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.tech4him.com/wp-content/uploads/Admin-Menu-Fixed.png"><img class="size-medium wp-image-865" title="Admin Menu Fixed" src="http://blog.tech4him.com/wp-content/uploads/Admin-Menu-Fixed-300x203.png" alt="Admin menu all fixed." width="300" height="203" /></a><p class="wp-caption-text">Admin menu all fixed.</p></div>
<p>Just goes to show that sometimes the basic troubleshooting steps can fix something that looks worse than it really is.</p>
<img src="http://blog.tech4him.com/?ak_action=api_record_view&id=863&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.tech4him.com/2009/12/fix-your-hosed-admin-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What do you look for in a new hire?</title>
		<link>http://blog.tech4him.com/2009/10/what-do-you-look-for-in-a-new-hire/</link>
		<comments>http://blog.tech4him.com/2009/10/what-do-you-look-for-in-a-new-hire/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 18:03:00 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[employment]]></category>
		<category><![CDATA[hiring]]></category>
		<category><![CDATA[management]]></category>

		<guid isPermaLink="false">http://blog.tech4him.com/?p=835</guid>
		<description><![CDATA[ 
Today&#8217;s SSWUG.org newsletter contained a great few paragraphs regarding what you look for in a new hire. As a hiring manager at various levels over my career, I have often asked myself, in self-reflection, such questions.
I believe that beyond the specific technical skill sets you are looking, there are some other specific characteristics you [...]]]></description>
			<content:encoded><![CDATA[<p><span class="wp-decoratr-image"> </span></p>
<div id="attachment_838" class="wp-caption alignleft" style="width: 249px"><a href="http://blog.tech4him.com/wp-content/uploads/3528281481_71710aa279_m.jpg"><img class="size-full wp-image-838 " style="margin: 0px 20px 0px 0px;" title="Hire Me, Please" src="http://blog.tech4him.com/wp-content/uploads/3528281481_71710aa279_m.jpg" alt="Hire me, please." width="239" height="240" /></a><a rel="external" href="http://www.flickr.com/photos/photomishdan/3528281481/">Photo by Photomish Dan</a><p class="wp-caption-text">Hire me, please.</p></div>
<p>Today&#8217;s <a href="http://www.sswug.org/editorials/default.aspx?id=1797" target="_blank">SSWUG.org newsletter</a> contained a great few paragraphs regarding what you look for in a new hire. As a hiring manager at various levels over my career, I have often asked myself, in self-reflection, such questions.</p>
<p>I believe that beyond the specific technical skill sets you are looking, there are some other specific characteristics you want to find. In particular I look for a candidate that shows the following characteristics:</p>
<p><span id="more-835"></span></p>
<div style="display:block; margin:10px;">
<ul>
<li>Firm grasp of the role and what will define &#8220;success&#8221; in the role. (This is incumbent upon you to properly explain the role, the needs and the goals for the role.)</li>
<li>A fervent desire to learn and an aptitude to do so effectively</li>
<li>Demonstrated effort to connect with and network with industry peers. (It is tough for maintain critical thinking in a silo.)</li>
<li>Ability and willingness to teach others what they know. (Sometimes this is the best way to ensure learning sticks!)</li>
<li>Positive, vibrant &#8220;heart&#8221;. (Yup, I know this is hard to make tangible, but it is a real factor. This is also part of determining how the candidate would &#8220;fit&#8221; with the organization.)</li>
<li>Unquestionable honesty. (Tell me what you really know and tell me what you really don&#8217;t know but can learn. Lie to me and you&#8217;re done!)</li>
</ul>
</div>
<p>Below is the content on this topic from the <a href="http://www.sswug.org/editorials/default.aspx?id=1797" target="_blank">SSWUG.org newsletter</a> today.</p>
<blockquote><p>As a hiring manager, there have been times when I have had two very qualified DBA’s sitting in front of me.  Both of them are looking for a position on a team and both of them know their stuff.  How do you make a decision between the two?</p>
<p>As a hiring manager I have hired Jr. DBA positions as well. How do you make a decision on a role like a Jr. DBA that is really defined as someone who is starting to learn about being a database administrator and not a seasoned professional?</p>
<p>I have been in both of the above situations more than once. It is a difficult decision to make when you step back and realize that, if the DBA stays with the company for at least one year, you are trying to make a decision that will last 2,000 hours just based on a couple interviews and a resume.  The people that I end up with in the long run have given me every reason to hire them.  They have participated in a local user group and they are members of professional organizations. People that go out of their way to become better professionals are worth their weight in gold.</p>
<p>I cannot help but to remember that people can learn a number of technical skills but they have a harder time learning the desire to better themselves or to put in the extra hours to make sure something is just right.  Consider this as an example:</p>
<p>About 5 years ago I received an e-mail that was sent to me when I was the local user group president.  The person who sent me the email wanted to know how to get their first time DBA job.  I had lunch with her and another friend of mine and she talked about how she had paid to go to a conference and how she had been studying at the same time she was going to school.</p></blockquote>
<blockquote><p>She became a regular at the user group meetings and today she is starting what I believe to be her 5<sup>th</sup> year as a DBA.  She really put forth the effort to make sure she was learning and doing everything she could to become a better DBA.</p></blockquote>
<p>Unfortunately it seems that all too often, even these less technical criteria are so very difficult to find in candidates. In most of the SMB environments I have been a part of, you need depth and breadth of skills in a single individual. However, so often your IT folks break into the industry in a larger organization and get pigeon holed in a very specific skill, making it difficult to hire for us. Conversely, the more seasoned veterans with depth and breadth of skills can&#8217;t work for the salary many SMB&#8217;s and non-profits can pay. This dichotomy is were we continue to find ourselves today.</p>
<h4>What do you look for? Tell us by posting a comment below.</h4>
<img src="http://blog.tech4him.com/?ak_action=api_record_view&id=835&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.tech4him.com/2009/10/what-do-you-look-for-in-a-new-hire/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSWUG Vconf – Day 3 Links and Tidbits</title>
		<link>http://blog.tech4him.com/2009/10/sswug-vconf-%e2%80%93-day-3-links-and-tidbits/</link>
		<comments>http://blog.tech4him.com/2009/10/sswug-vconf-%e2%80%93-day-3-links-and-tidbits/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 18:14:40 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[SSAS]]></category>
		<category><![CDATA[SSIS]]></category>
		<category><![CDATA[ssrs]]></category>
		<category><![CDATA[sswug]]></category>
		<category><![CDATA[virtual conference]]></category>

		<guid isPermaLink="false">http://blog.tech4him.com/?p=827</guid>
		<description><![CDATA[Keynote
Stephen Wynkoop
Demo: Capture perfmon counters to binary logs and at the same time capture SQL Profiler. Then you can load both into profiler and see both at the same time. Great for troubleshooting what might be causing a problem or what is happening at a particular point in time.

Historical only (not real-time)
When things go Wrong

What [...]]]></description>
			<content:encoded><![CDATA[<h3>Keynote</h3>
<p>Stephen Wynkoop</p>
<p>Demo: Capture perfmon counters to binary logs and at the same time capture SQL Profiler. Then you can load both into profiler and see both at the same time. Great for troubleshooting what might be causing a problem or what is happening at a particular point in time.</p>
<p><span id="more-827"></span></p>
<p>Historical only (not real-time)</p>
<p>When things go Wrong</p>
<ul>
<li>What changed?</li>
<li>What were you doing?</li>
<li>What were you seeing?</li>
<li>Answer: NOTHING. <img src='http://blog.tech4him.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>Add all the counters you need. Don&#8217;t be skimpy. Start broad and then narrow down. If you don&#8217;t record it, you can&#8217;t see it.</p>
<h3>Intro to SSAS 2008</h3>
<p>Marc Beacom</p>
<ul>
<li><a href="http://www.MarcBeacom.com">www.MarcBeacom.com</a></li>
<li><a href="http://twitter.com/MarcBeacom">twitter.com/MarcBeacom</a></li>
</ul>
<p>You can import an existing cube into BIDS which will essentially create a copy of the project that was used to create the cube. (Probably only to a certain extent)</p>
<h3>PerformancePoint Services 101</h3>
<p>Craig Utley</p>
<ul>
<li>Craig Utley, Mentor with Solid Quality Mentors
<ul>
<li>Consultant specializing in development with Microsoft technologies and data warehousing</li>
<li>Published author of books, whitepapers, articles, and courseware</li>
<li>Operator of LearnMicrosoftBI.com</li>
</ul>
</li>
</ul>
<p>Performance Point Services</p>
<p>Monitoring, Analytics and Planning</p>
<p>Planning being removed in the next version</p>
<ul>
<li>Monitoring: Scorecards and dashboards.</li>
<li>Analytics: Drill up, drill down, slicing, dicing, etc&#8230;</li>
</ul>
<p>Performance Point ships only with MOSS. With MOSS 2010, 64-bit only, no 32-bit.</p>
<p>KPI Sources are usually cubes but can be other sources including SQL Server, Excel and other sources.</p>
<p>No Pie Charts until next version.</p>
<h3>Financial analytics with SQL Server Analysis Services</h3>
<p>Donald Farmer</p>
<p><a href="http://twitter.com/donalddotfarmer">@donalddotfarmer</a></p>
<p>Need to listen to the Scottish Starbucks analogy again. It was a great analogy but want to be sure I didn&#8217;t miss something.</p>
<p>Financial Calculations</p>
<ul>
<li>Currency Conversions</li>
<li>Time Intelligence</li>
<li>Account Intelligence</li>
</ul>
<p>Resources</p>
<p><a href="http://www.microsoft.com/sqlserver/2008/en/us/analysis-services.aspx">http://www.microsoft.com/sqlserver/2008/en/us/analysis-services.aspx</a><br />
<a href="http://sqlblog.com/blogs/mosha/default.aspx">http://sqlblog.com/blogs/mosha/default.aspx</a><br />
<a href="http://www.sqlserveranalysisservices.com/default.htm">http://www.sqlserveranalysisservices.com/default.htm</a><br />
<a href="http://sqlcat.com/Default.aspx">http://sqlcat.com/Default.aspx</a></p>
<h3>Full SpectrumBusiness Intelligence</h3>
<p>Donald Farmer</p>
<p><a href="http://twitter.com/donalddotfarmer">@donalddotfarmer</a></p>
<p>These slides are masterful is telling the verbal story Donald is presenting. I am putting up a few of the key slides that will server as good reference to me.</p>
<p>Thanks Donald!</p>
<p><a href="http://blog.tech4him.com/wp-content/uploads/fullspectrurmbi_1.png"><img class="aligncenter size-medium wp-image-829" title="fullspectrurmbi_1" src="http://blog.tech4him.com/wp-content/uploads/fullspectrurmbi_1-300x224.png" alt="fullspectrurmbi_1" width="300" height="224" /></a></p>
<p><a href="http://blog.tech4him.com/wp-content/uploads/fullspectrurmbi_2.png"><img class="aligncenter size-medium wp-image-830" title="fullspectrurmbi_2" src="http://blog.tech4him.com/wp-content/uploads/fullspectrurmbi_2-300x225.png" alt="fullspectrurmbi_2" width="300" height="225" /></a></p>
<p><a href="http://blog.tech4him.com/wp-content/uploads/fullspectrurmbi_3.png"><img class="aligncenter size-medium wp-image-831" title="fullspectrurmbi_3" src="http://blog.tech4him.com/wp-content/uploads/fullspectrurmbi_3-300x225.png" alt="fullspectrurmbi_3" width="300" height="225" /></a></p>
<p>Data quality is &#8220;fitness for purpose&#8221;. IT cannot tell you is a record is good.</p>
<img src="http://blog.tech4him.com/?ak_action=api_record_view&id=827&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.tech4him.com/2009/10/sswug-vconf-%e2%80%93-day-3-links-and-tidbits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSWUG vConf &#8211; Day 2 Links, Tips and Tidbits</title>
		<link>http://blog.tech4him.com/2009/10/sswug-vconf-day-2-links-tips-and-tidbits/</link>
		<comments>http://blog.tech4him.com/2009/10/sswug-vconf-day-2-links-tips-and-tidbits/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 20:05:14 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[SSAS]]></category>
		<category><![CDATA[SSIS]]></category>
		<category><![CDATA[sswug]]></category>
		<category><![CDATA[virtual conference]]></category>

		<guid isPermaLink="false">http://blog.tech4him.com/?p=795</guid>
		<description><![CDATA[On Call Duties
TJ Belt
http://tjaybelt.blogspot.com
http://www.twitter.com/tjaybelt
You are on-call, maybe middle of the night and you get a call and there&#8217;s a problem. What do you do?


What tasks were last performed by what persons?
Start documenting incidents if you don&#8217;t already. Great for helping resolve things later down the road.
Document, document, document

Items to be sure of and continuously check

Scan [...]]]></description>
			<content:encoded><![CDATA[<h3>On Call Duties</h3>
<p>TJ Belt</p>
<p><a href="http://tjaybelt.blogspot.com">http://tjaybelt.blogspot.com</a><br />
<a href="http://www.twitter.com/tjaybelt">http://www.twitter.com/tjaybelt</a></p>
<blockquote><p>You are on-call, maybe middle of the night and you get a call and there&#8217;s a problem. What do you do?</p>
<p><span id="more-795"></span></p></blockquote>
<ul>
<li>What tasks were last performed by what persons?</li>
<li>Start documenting incidents if you don&#8217;t already. Great for helping resolve things later down the road.</li>
<li>Document, document, document</li>
</ul>
<p>Items to be sure of and continuously check</p>
<ul>
<li>Scan OS error events</li>
<li>Check on backups</li>
<li>System specific output files (xml, reports, files)</li>
<li>Log and data file sizes</li>
<li>Space available / Free space on drives</li>
<li>Replication health</li>
<li>SQL Server logs</li>
<li>Other notes of interest</li>
</ul>
<p>Work to get your logs clean over time so that problems become more apparent and you will spend less time chasing red herrings.</p>
<blockquote><p><em>&#8220;You only need one. Either a good backup or a good resume.&#8221;</em></p></blockquote>
<p>Only notify on error, not on success. (Of course there may be exceptions)</p>
<ul style="font-family: Arial; font-size: 12px;">
<li><a id="related1" style="color: #454741;" href="http://www.sswug.org/articles/viewarticle.aspx?id=14649" target="_blank">What are Microsoft SQL Server operators and how to define them  (Part 1)</a></li>
<li><a id="related2" style="color: #454741;" href="http://www.sswug.org/articles/viewarticle.aspx?id=30656" target="_blank">Undocumented SQL Server 2005 Database Maintenance Plan Stored  Procedures</a></li>
<li><a id="related3" style="color: #454741;" href="http://www.sswug.org/articles/viewarticle.aspx?id=20413" target="_blank">DB2  and the Procedural DBA, Part 1</a></li>
</ul>
<h3>Dimension Table ETL with SSIS</h3>
<p>Erik Veerman<br />
Mentor, Solid Quality Mentors<br />
SQL Server MVP</p>
<p>Dimension tables contain the &#8220;text descriptors&#8221; or attributes. Also organized as hierarchies of categories, levels and members.</p>
<p>Slowly Changing Dimension (Ralph Kimball)</p>
<ul>
<li>Type 0:No change (Fixed Attribute)</li>
<li>Type 1:The value is overwritten (Changing Attribute)</li>
<li>Type 2:Slow changes. A new row is added (Historical Attribute)</li>
</ul>
<p>Type 2 &#8211; New surrogate key and Start Time/End Time updates so to add the new record.</p>
<p>Inferred Members</p>
<ul>
<li>Missing dimension member during Fact load later becomes available in the Dimension source</li>
<li>Also known as late arriving dimensions</li>
<li>Fact load, placeholder record added to dimension table with new surrogate key generated</li>
<li>Dimension process, for inferred members, all dimension attribute columns are updated with new values (type 2 attributes are handled as type 1)</li>
</ul>
<p>Additional SSWUG Articles</p>
<ul style="font-family: Arial; font-size: 12px;">
<li><a id="related1" style="color: #454741;" href="http://www.sswug.org/articles/viewarticle.aspx?id=32620" target="_blank">Troubleshooting SQL Server 2005 Integration Services</a></li>
<li><a id="related2" style="color: #454741;" href="http://www.sswug.org/articles/viewarticle.aspx?id=21218" target="_blank">MSDN Webcast Summary: Introducing SQL Server Integration Services  for SQL Server 2005</a></li>
<li><a id="related3" style="color: #454741;" href="http://www.sswug.org/articles/viewarticle.aspx?id=34271" target="_blank">Tips for using SQL Server 2005 Integration Services (Part 3)</a></li>
</ul>
<h3>Fact Table ETL with SSIS</h3>
<p>Erik Veerman<br />
Mentor, Solid Quality Mentors<br />
SQL Server MVP</p>
<p>Identify Dimension Surrogate Keys</p>
<ul>
<li>Locate dimension candidate keys in transaction source</li>
<li>Validate uniqueness and data integrity</li>
<li>Considering historical changes
<ul>
<li>Identifying current dimension record, combine business keys with current identifying meta data (data identifier or boolean)</li>
<li>Handle missing dimension records</li>
</ul>
</li>
<li>SSIS Data Flow Options
<ul>
<li>Lookup transformation</li>
<li>Merge Join transformation</li>
<li>Fuzzy Lookup transformation</li>
</ul>
</li>
<li>SSIS Control Flow Option
<ul>
<li>Execute SQL Task</li>
</ul>
</li>
</ul>
<ul>
<li>Fact ETL involves surrogate keys, grain changes, and measure calculations</li>
<li>SSIS handles these through several out-of-the-box transformations</li>
</ul>
<h3>Loading a Data Warehouse with SSIS</h3>
<p>Brian Knight<br />
bknight@pragmaticworks.com<br />
CEO, Pragmatic Works</p>
<p>Why Data Warehouse?</p>
<ul>
<li>Get users off of transactional systems</li>
<li>Keeping more data online</li>
<li>Easier reporting</li>
<li>Consolidate data sources</li>
</ul>
<p>Data Separated into fact and dimension tables</p>
<ul>
<li>Dimension tables answer the pivot or where clause
<ul>
<li>Make as wide and descriptive as possible</li>
<li>Surrogate keys operate as unique ID for each row</li>
<li>Keep surrogate keys as small as possible</li>
</ul>
</li>
<li>Fact tables answer the what or select statement
<ul>
<li>Intersect all dimension tables</li>
<li>Surrogate keys from each dimension in this table</li>
<li>Measures are the “what” like Price, Quantity, Duration</li>
</ul>
</li>
</ul>
<p>Additional Articles</p>
<ul style="font-family: Arial; font-size: 12px;">
<li><a id="related1" style="color: #454741;" href="http://www.sswug.org/articles/viewarticle.aspx?id=21218" target="_blank">MSDN Webcast Summary: Introducing SQL Server Integration Services  for SQL Server 2005</a></li>
<li><a id="related2" style="color: #454741;" href="http://www.sswug.org/articles/viewarticle.aspx?id=37713" target="_blank">SQL  Server 2008 Katmai Change Data Capture (CDC)</a></li>
<li><a id="related3" style="color: #454741;" href="http://www.sswug.org/articles/viewarticle.aspx?id=32620" target="_blank">Troubleshooting SQL Server 2005 Integration Services</a></li>
</ul>
<ul>
<li><a href="http://Blogs.pragmaticworks.com/brian_knight">http://Blogs.pragmaticworks.com/brian_knight</a></li>
<li><a href="# http://www.twitter.com/brianknight">http://www.twitter.com/brianknight</a></li>
</ul>
<h3>Live &#8211; SQL Server Analysis Services &#8211; Real World Performance Tuning (4hrs)</h3>
<p>Ted Malone</p>
<p>(I only caught a few minutes here and there of this marathon live session, but the parts I caught were good. We&#8217;ll have to watch the on demand once it goes up.)</p>
<ul>
<li>Recommends looking at a product called <a href="http://www.sqlsentry.net/performance-advisor/sql-server-analysis-services.asp">Performance Advisor from SQL Century</a> for getting performance insight into SSAS.</li>
</ul>
<h3>DBA Checklist</h3>
<p>Buck Woody, Microsoft SQL Server Specialist</p>
<p><a href="http://blogs.msdn.com/buckwoody">http://blogs.msdn.com/buckwoody</a><br />
<a href="http://www.informit.com/guides/guide.aspx?g=sqlserver">http://www.informit.com/guides/guide.aspx?g=sqlserver</a><br />
<a href="http://edge.technet.com/People/BuckWoody/">http://edge.technet.com/People/BuckWoody/</a></p>
<p>SSMS</p>
<ul>
<li>Object Explorer: Right click to see additional columns including Last Backup.</li>
<li>Standard Reports available via right click</li>
<li>Log Viewer</li>
</ul>
<p>oSQL or SQLCMD</p>
<p>PowerShell &#8211; Latest and greatest</p>
<p>Post Installation</p>
<p>Daily, Weekly, Monthly and Yearly</p>
<p>Recommends being alerted of both error AND success in order to know that maintenance task really did run.</p>
<p>Maintenance tasks</p>
<ul>
<li>Do not run the auto-shrink option in your tasks.</li>
</ul>
<p>Take a baseline with PerfMon. Email him for a list of counters.</p>
<p>Keep a SQL Server run book containing all configuration changes.</p>
<p><img src="file:///C:/DOCUME%7E1/lucast/LOCALS%7E1/Temp/moz-screenshot.png" alt="" /></p>
<img src="http://blog.tech4him.com/?ak_action=api_record_view&id=795&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.tech4him.com/2009/10/sswug-vconf-day-2-links-tips-and-tidbits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
