<?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>Wetstring</title>
	<atom:link href="http://www.wetstring.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wetstring.com</link>
	<description>Home of the Lloyd since 2002</description>
	<lastBuildDate>Tue, 14 Feb 2012 16:23:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MSSQL NOTE &#8211; retrieving rows less than 90 days old</title>
		<link>http://www.wetstring.com/http:/www.wetstring.com/131/mssql-note-retrieving-rows-less-than-90-days-old/</link>
		<comments>http://www.wetstring.com/http:/www.wetstring.com/131/mssql-note-retrieving-rows-less-than-90-days-old/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 16:23:02 +0000</pubDate>
		<dc:creator>Sim</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.wetstring.com/?p=131</guid>
		<description><![CDATA[Selecting inventory records from an inventory database, I only want records for computers that have been scanned in the last ninety days. Simply solution using DATEDIFF SELECT * FROM [inventoryt table] WHERE (DATEDIFF([DAYOFYEAR], [LastScanDate],GETDATE()))&#60; 90]]></description>
			<content:encoded><![CDATA[<p>Selecting inventory records from an inventory database, I only want records for computers that have been scanned in the last ninety days.</p>
<p>Simply solution using DATEDIFF</p>
<blockquote><p>SELECT * FROM [inventoryt table]</p>
<p>WHERE (DATEDIFF([DAYOFYEAR], [LastScanDate],GETDATE()))&lt; 90</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.wetstring.com/http:/www.wetstring.com/131/mssql-note-retrieving-rows-less-than-90-days-old/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HP DDMi &#8211; poking under the hood</title>
		<link>http://www.wetstring.com/http:/www.wetstring.com/51/51/</link>
		<comments>http://www.wetstring.com/http:/www.wetstring.com/51/51/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 15:38:32 +0000</pubDate>
		<dc:creator>Sim</dc:creator>
				<category><![CDATA[HP DDMi]]></category>

		<guid isPermaLink="false">http://www.wetstring.com/?p=51</guid>
		<description><![CDATA[Currently working with DDMi 9.3 or, PDI version 7.6 Delivering license compliance using HP DDMi : Getting the raw data I&#8217;ve worked with what is now HP DDMi since 2001, not long after Peregrine bought it from FPrint. It was IDD back then, then PDI, now it&#8217;s in DDMi. From a tech perspective, the resulting [...]]]></description>
			<content:encoded><![CDATA[<h4>Currently working with DDMi 9.3 or, PDI version 7.6</h4>
<p>Delivering license compliance using HP DDMi : Getting the raw data<span id="more-51"></span></p>
<p>I&#8217;ve worked with what is now HP DDMi since 2001, not long after Peregrine bought it from FPrint. It was IDD back then, then PDI, now it&#8217;s in DDMi.</p>
<p>From a tech perspective, the resulting scan files are a goldmine of information and is perfect for supplying raw data for the purpose of license management. It&#8217;s probably the best inventory tool out there but the software recognition is dated and cumbersome. HP license compliance is no good beyond the desktop either so you need something more aligned to delivering license management than asset management such as <a title="Aspera SmartTrack" href="http://www.aspera.com/licencemanagement/products.html?L=1" target="_blank">Aspera SmartTrack</a>, which DDMi feeds nicely into. I&#8217;ve repackaged it so it scans Oracle databases for options. I&#8217;ve hacked the file format so you can inventory legacy equipment and bring the results back for enriching into HP Asset Center. Clients can now scan <strong><span style="text-decoration: underline;">any</span></strong> hardware or create scan files from spreadsheets etc.. I&#8217;ve secured it on Unix platforms &#8216;cos admins tend to freak when you tell them it needs root access to work properly!!!</p>
<p>Most of my work with DDMi is now post install or helping HP, working with the data to help clients quickly get to compliance reporting. Anyone out there involved in an implementation and rollout of DDMi with a view of using it for license management with HP technology? You need to speak to me, or see you in a couple of years when you find it doesn&#8217;t work!!!! Especially complex license models around cloud, VM and data centres.</p>
<h4>For compliance sake</h4>
<p>Currently, I have a need to process the raw scan files out of the native XSF and into any system the client has. This allows your process to hook into the data flow and supply whatever process or tool you have that needs raw hardware, OS installed applications or file information, straight from the XSF file rather than the DDMi server after it has processed the data. You can load the XSF inventory straight into any SQL server or flat files making it really easy to integrate.</p>
<p><strong>Why?</strong> because HP software recognition is a little bit pants. BTW you can automagically generate software recognition files for Unix by using the host packaging commands to tie the files to applications into an SAI file. You can recognise Unix applications quickly rather than use the manual Analysis Workbench approach.</p>
<p>If you didn&#8217;t know, the DDMi scanner produces a scan file with the results of a hardware and software audit of the device you scan, one file per device. This file has the file extension XSF which is in fact a gzipped XML file which can be uncompressed in Windows using 7-Zip. This is really handy data which is easy to uncompress and work with. The problem is the Windows scan and the Unix scan have different schemas. This is understandable as they&#8217;re different platforms. I use the DTD for writing applications to handle DDMi XSF files</p>
<h4>Unix</h4>
<blockquote>
<pre>&lt;hwOsData type="shell"&gt;
 &lt;hwHostOS type="attrib"&gt;Solaris 10&lt;/hwHostOS&gt;
 &lt;hwOSServiceLevel type="attrib"&gt;11/06&lt;/hwOSServiceLevel&gt;
 &lt;hwOSHostOsCategory type="attrib" value="3"&gt;Unix&lt;/hwOSHostOsCategory&gt;
 &lt;hwOSHostUnixType type="attrib" value="0"&gt;Solaris&lt;/hwOSHostUnixType&gt;
 &lt;hwOSHostVersion type="attrib"&gt;10&lt;/hwOSHostVersion&gt;</pre>
</blockquote>
<h4>Windows</h4>
<blockquote>
<pre>&lt;hwOsData type="shell"&gt;
 &lt;hwHostOS type="attrib"&gt;Windows 2003 Server Enterprise Edition &lt;/hwHostOS&gt;
 &lt;hwOSBaseDir type="attrib"&gt;C:\WINNT&lt;/hwOSBaseDir&gt;
 &lt;hwOSServiceLevel type="attrib"&gt;Service Pack 2&lt;/hwOSServiceLevel&gt;
 &lt;hwOSBuildLevel type="attrib"&gt;3790&lt;/hwOSBuildLevel&gt;
 &lt;hwOSHostOsCategory type="attrib" value="2"&gt;Microsoft Windows&lt;/hwOSHostOsCategory&gt;
 &lt;hwOSHostWindowsName type="attrib" value="12"&gt;Windows 2003&lt;/hwOSHostWindowsName&gt;
 &lt;hwOSHostWindowsNTMode type="attrib" value="9"&gt;Server Enterprise Edition&lt;/hwOSHostWindowsNTMode&gt;</pre>
</blockquote>
<h4>The DTD&#8217;s</h4>
<p>So here are the DTD&#8217;s (old skool I know) for both platforms I created to auto transform the inventory into CSV files or SQL for hardware, ARP and file data feeds into better recognition processes for compliance reporting.</p>
<p><a href="http://www.wetstring.com/wp-content/uploads/2011/11/DDMi_Unix_DTD.zip">DDMi_Unix_DTD</a></p>
<p><a href="http://www.wetstring.com/wp-content/uploads/2011/11/DDMi_Windows_DTD.zip">DDMi_Windows_DTD</a></p>
<p>And if you don&#8217;t want them in seperate files, I&#8217;ve combined both platforms into a single DTD so you can process both platforms from the same file, here is the file with both schema combined into a single DTD. <strong><span style="text-decoration: underline;"><em>These are not HP files in anyway</em></span></strong>, I&#8217;ve built them from XML data I receive, so they might be missing elements which are not on the hardware I&#8217;ve scanned. The Unix DTD does include &#8220;Solaris Zones&#8221; so you can see which zone is hosted on which server and if the zone is up or down. My process also creates a relationship feed so VM compliance can be achieved easily.</p>
<p><a href="http://www.wetstring.com/wp-content/uploads/2011/11/DDMi_DTD.zip">DDMi_DTD</a> &lt;&lt; old file, use the latest DTD in the update part of this post.</p>
<p>Next step is to process the XFS files to get the data out using either Windows or Unix/Linux.</p>
<h3>Why use Document Type Definition (DTD)?</h3>
<p>I have clients that have legacy equipment they want to include in their IT Asset Management processes. The new inventory tools don&#8217;t take into consideration old devices so they get left behind, waiting to be updated. However, the cost of updating legacy equipment is prohibitive. Using HP DDMi you can read scan files and create scan files from pretty much any data source.</p>
<p>This is how I used my DTD to create XSF&#8217;s.</p>
<ol>
<li>Create a database for legacy equipment and publish a web interface to it.</li>
<li>Populate the database with hardware and software from any source you want such as text files or physical audits.</li>
<li>Using the DTD, output the data into XSF files.</li>
<li>Process the XSF files as if they were created by a scanner.</li>
</ol>
<p>And to get data out of the XSF</p>
<ol>
<li>Uncompress the XSF to clear text XML</li>
<li>Using the DTD, write a script to extract the data (some logic required I&#8217;ll cover later)</li>
<li>Format the data or load into you solution (I compiled into an executable that extracts to CSV, very fast and efficient)</li>
</ol>
<h3></h3>
<h3>Update 21/11/2011</h3>
<p>Thanks to a few people sending me their XSF&#8217;s to examine (one was 104Mb !!!!) I have added a lot of missing elements. Also, I&#8217;ve made the &#8216;inventory&#8217; attribute &#8216;locale&#8217; optional by changing the #REQUIRED to #IMPLIED, also made optional the &#8216;accessed&#8217; attribute in &#8216;file&#8217; as the UNIX scans don&#8217;t have this attribute.</p>
<h3>Update 23/11/2011</h3>
<p>Some people have issues with having so many elements and attributes that are required. The problem with DDMi scan files is that they&#8217;re all different depending on what platform is being scanned and what information is being found and inventoried. I&#8217;ll go through how I get the data out as it will vary between scan files and platforms. If you have a scan file that you can&#8217;t process with my DTD, drop me a message and I&#8217;ll take a looksee.</p>
<p>Updated DTD here <a href="http://www.wetstring.com/wp-content/uploads/2011/11/DDMi-111122.zip">DDMi-111122</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wetstring.com/http:/www.wetstring.com/51/51/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Fixing Dell AIO 922 on Windows 7</title>
		<link>http://www.wetstring.com/http:/www.wetstring.com/43/fixing-dell-aio-922-under-windows-7/</link>
		<comments>http://www.wetstring.com/http:/www.wetstring.com/43/fixing-dell-aio-922-under-windows-7/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 17:35:42 +0000</pubDate>
		<dc:creator>Sim</dc:creator>
				<category><![CDATA[Fixes]]></category>

		<guid isPermaLink="false">http://www.wetstring.com/?p=43</guid>
		<description><![CDATA[My junior tech upgraded a few desktops in the office to Windows 7. This instantly broke a number of things, one of which was the DELL all-in-one printer-fax-scanner. Microsoft Windows 7 drivers do not work for this scanner device (surprise surprise). To get this working under Windows 7. Unplug the device and remove the printer and [...]]]></description>
			<content:encoded><![CDATA[<p>My junior tech upgraded a few desktops in the office to Windows 7. This instantly broke a number of things, one of which was the DELL all-in-one printer-fax-scanner. Microsoft Windows 7 drivers do not work for this scanner device (surprise surprise).</p>
<p>To get this working under Windows 7.</p>
<ol>
<li>Unplug the device and remove the printer and the drivers.</li>
<li>Goto the DELL support site and download the R166239.zip file.</li>
<li>Unzip and run the application.</li>
<li>Restart the computer.</li>
<li>Download and install the driver and application R151371.exe</li>
<li>Plug the device back in</li>
<li>The install will complete and you&#8217;ll have a nice scan application which works.</li>
</ol>
<p><a href="http://www.wetstring.com/wp-content/uploads/2011/11/dell.jpg"><img class="alignnone size-full wp-image-44" title="dell" src="http://www.wetstring.com/wp-content/uploads/2011/11/dell.jpg" alt="" width="596" height="434" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wetstring.com/http:/www.wetstring.com/43/fixing-dell-aio-922-under-windows-7/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Goodbye Joe</title>
		<link>http://www.wetstring.com/http:/www.wetstring.com/18/goodbye-joe/</link>
		<comments>http://www.wetstring.com/http:/www.wetstring.com/18/goodbye-joe/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 12:23:55 +0000</pubDate>
		<dc:creator>Sim</dc:creator>
				<category><![CDATA[World News]]></category>

		<guid isPermaLink="false">http://www.wetstring.com/?p=18</guid>
		<description><![CDATA[Joe Frazier died a couple of days ago. It brings back the memories of all the guys I trained with in the 80&#8242;s, dreaming of being the next big boxing name. Reality can take you down roads unintended and the dream fades, but that&#8217;s another story. I remember watching boxing in the 70&#8242;s being quite [...]]]></description>
			<content:encoded><![CDATA[<p>Joe Frazier died a couple of days ago. It brings back the memories of all the guys I trained with in the 80&#8242;s, dreaming of being the next big boxing name. Reality can take you down roads unintended and the dream fades, but that&#8217;s another story.</p>
<p>I remember watching boxing in the 70&#8242;s being quite different to what it is now and heavyweight boxing just doesn&#8217;t seem to be in the same class nowadays, with the characters and entertainment falling far short of the era passed. Maybe that&#8217;s just an age thing, right!! I think it&#8217;s more to do with the then tougher times, in the south, especial at the height of civil rights and the freedom movement in the US. I never really followed Joe as Muhammad Ali was my inspiration and still is, as I&#8217;m sure he was for many. But let&#8217;s not forget that Joe achieved the accolade of being the first boxer to beat Ali, in a time when we went 15 rounds. God bless you sir.</p>
<p>Joseph William &#8220;Joe&#8221; Frazier January 12, 1944 – November 7, 2011</p>
<p><a href="http://www.wetstring.com/wp-content/uploads/2011/11/joe_frazier.png"><img class="alignnone size-full wp-image-34" title="Joe-Frazier" src="http://www.wetstring.com/wp-content/uploads/2011/11/joe_frazier.png" alt="" width="555" height="402" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wetstring.com/http:/www.wetstring.com/18/goodbye-joe/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hello world, again!</title>
		<link>http://www.wetstring.com/http:/www.wetstring.com/1/hello-world/</link>
		<comments>http://www.wetstring.com/http:/www.wetstring.com/1/hello-world/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 21:49:46 +0000</pubDate>
		<dc:creator>Sim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wetstring.com/?p=1</guid>
		<description><![CDATA[Welcome to Wetstring. Finally back after many years of just not bothering to rebuild the site after my ISP had a catastrophic failure of hardware! Of course, there were no backups or recovery procedures, it was all down to me not following my own advice I give to my clients, my bad. So, all the [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to Wetstring. Finally back after many years of just not bothering to rebuild the site after my ISP had a catastrophic failure of hardware! Of course, there were no backups or recovery procedures, it was all down to me not following my own advice I give to my clients, my bad.</p>
<p>So, all the years of the off roading forum, the thousands of photographs posted in the gallery, years documenting the adventures, have all gone to digital heaven (or hell if you believe such witchcraft).</p>
<p>This site is now devoted to the technical side of my life and work (grmpfff I hear from the other room), documenting and sharing the pain I suffer on an almost daily basis, to aid me further down the Information Technology Highway of pain and suffering where the grey matter can no longer hold onto the details. Hopefully you could find that gem here, that&#8217;ll help you out too.</p>
<p><a href="http://www.wetstring.com/wp-content/uploads/2011/10/VFR-800.png"><img class="size-full wp-image-4 aligncenter" title="VFR-800" src="http://www.wetstring.com/wp-content/uploads/2011/10/VFR-800.png" alt="" width="499" height="377" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wetstring.com/http:/www.wetstring.com/1/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

