<?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>The Systems Engineer &#187; sql</title>
	<atom:link href="http://www.thesystemsengineer.com/tag/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thesystemsengineer.com</link>
	<description>structured chaos</description>
	<lastBuildDate>Thu, 02 Sep 2010 21:32:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Symantec Altiris Software Delivery Solution License Trouble</title>
		<link>http://www.thesystemsengineer.com/technical/symantec-altiris-software-delivery-solution-license-trouble/</link>
		<comments>http://www.thesystemsengineer.com/technical/symantec-altiris-software-delivery-solution-license-trouble/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 15:07:05 +0000</pubDate>
		<dc:creator>Trace</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[altiris]]></category>
		<category><![CDATA[licenses]]></category>
		<category><![CDATA[software delivery]]></category>
		<category><![CDATA[software delivery solution]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[symantec]]></category>

		<guid isPermaLink="false">http://www.thesystemsengineer.com/?p=39</guid>
		<description><![CDATA[I have been fighting with Symantec Altiris Software Delivery Solution licenses for some time now. I have had numerous support calls trying to get Altiris to assist me in tracking down where each of these licenses has went. Today I found what I was looking for after Symantec Altiris support was unable to help me. [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-5473497202656082";
/* Footer 468x60, created 3/8/08 */
google_ad_slot = "8765020198";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>I have been fighting with Symantec Altiris Software Delivery Solution licenses for some time now. I have had numerous support calls trying to get Altiris to assist me in tracking down where each of these licenses has went. Today I found what I was looking for after Symantec Altiris support was unable to help me. I was actually told that they would not help me find a list of machines that were taking up licenses. I was pretty unhappy about this and will reconsider my options going forward. I did submit a feature request to them. I just want to be able to prove that each license is being used up by a machine that I approve. In SWD 7.0 they are changing the license model to be based on agent installation. The current version I am using is 6.0 SP3.</p>
<p>Here is a SQL statement I captured using sql profiler that they execute to generate the number of in use Software Delivery Licenses.<br />
<code><br />
&#101;&#120;&#101;&#99;&#32;&#115;&#112;&#95;&#101;&#120;&#101;&#99;&#117;&#116;&#101;&#115;&#113;&#108;&#32;&#78;&#39;&#83;&#69;&#76;&#69;&#67;&#84;&#32;&#67;&#79;&#85;&#78;&#84;&#40;&#68;&#73;&#83;&#84;&#73;&#78;&#67;&#84;&#32;&#83;&#116;&#97;&#116;&#46;&#87;&#114;&#107;&#115;&#116;&#97;&#73;&#100;&#41;&#32;&#70;&#82;&#79;&#77;&#32;&#65;&#101;&#88;&#69;&#118;&#116;&#95;&#65;&#101;&#88;&#95;&#83;&#87;&#68;&#95;&#83;&#116;&#97;&#116;&#117;&#115;&#32;&#97;&#115;&#32;&#83;&#116;&#97;&#116;&#44;&#32;&#83;&#87;&#68;&#65;&#100;&#118;&#101;&#114;&#116;&#105;&#115;&#101;&#109;&#101;&#110;&#116;&#32;&#97;&#115;&#32;&#65;&#100;&#118;&#101;&#114;&#116;&#44;&#32;&#83;&#87;&#68;&#79;&#114;&#105;&#103;&#105;&#110;&#97;&#116;&#111;&#114;&#32;&#97;&#115;&#32;&#79;&#114;&#105;&#103;&#44;&#32;&#83;&#87;&#68;&#80;&#114;&#111;&#103;&#114;&#97;&#109;&#32;&#97;&#115;&#32;&#80;&#114;&#111;&#103;&#44;&#32;&#118;&#73;&#116;&#101;&#109;&#32;&#118;&#73;&#44;&#32;&#87;&#114;&#107;&#115;&#116;&#97;&#32;&#87;&#114;&#32;&#87;&#72;&#69;&#82;&#69;&#32;&#83;&#116;&#97;&#116;&#46;&#65;&#100;&#118;&#101;&#114;&#116;&#105;&#115;&#101;&#109;&#101;&#110;&#116;&#73;&#100;&#32;&#61;&#32;&#65;&#100;&#118;&#101;&#114;&#116;&#46;&#65;&#100;&#118;&#101;&#114;&#116;&#105;&#115;&#101;&#109;&#101;&#110;&#116;&#73;&#100;&#32;&#65;&#78;&#68;&#32;&#83;&#116;&#97;&#116;&#46;&#65;&#100;&#118;&#101;&#114;&#116;&#105;&#115;&#101;&#109;&#101;&#110;&#116;&#73;&#100;&#32;&#32;&#61;&#32;&#118;&#73;&#46;&#71;&#117;&#105;&#100;&#32;&#65;&#78;&#68;&#32;&#40;&#32;&#118;&#73;&#46;&#67;&#108;&#97;&#115;&#115;&#71;&#117;&#105;&#100;&#32;&#61;&#32;&#39;&#39;&#53;&#66;&#57;&#49;&#70;&#48;&#66;&#70;&#45;&#56;&#57;&#57;&#70;&#45;&#52;&#57;&#69;&#50;&#45;&#66;&#56;&#69;&#49;&#45;&#54;&#55;&#50;&#49;&#57;&#49;&#48;&#48;&#66;&#66;&#70;&#65;&#39;&#39;&#32;&#79;&#82;&#32;&#118;&#73;&#46;&#67;&#108;&#97;&#115;&#115;&#71;&#117;&#105;&#100;&#61;&#39;&#39;&#50;&#68;&#51;&#57;&#66;&#65;&#52;&#48;&#45;&#50;&#65;&#54;&#48;&#45;&#52;&#50;&#69;&#69;&#45;&#57;&#50;&#69;&#48;&#45;&#67;&#49;&#49;&#65;&#68;&#50;&#50;&#52;&#53;&#57;&#54;&#57;&#39;&#39;&#41;&#32;&#65;&#78;&#68;&#32;&#118;&#73;&#46;&#80;&#114;&#111;&#100;&#117;&#99;&#116;&#71;&#117;&#105;&#100;&#32;&#61;&#32;&#39;&#39;&#65;&#68;&#51;&#70;&#53;&#57;&#56;&#48;&#45;&#68;&#57;&#69;&#57;&#45;&#49;&#49;&#68;&#51;&#45;&#65;&#51;&#49;&#56;&#45;&#48;&#48;&#48;&#56;&#67;&#55;&#65;&#48;&#57;&#49;&#57;&#56;&#39;&#39;&#32;&#65;&#78;&#68;&#32;&#76;&#79;&#87;&#69;&#82;&#40;&#80;&#114;&#111;&#103;&#46;&#80;&#114;&#111;&#103;&#114;&#97;&#109;&#73;&#100;&#41;&#32;&#61;&#32;&#76;&#79;&#87;&#69;&#82;&#40;&#65;&#100;&#118;&#101;&#114;&#116;&#46;&#80;&#114;&#111;&#103;&#114;&#97;&#109;&#73;&#100;&#41;&#32;&#65;&#78;&#68;&#32;&#76;&#79;&#87;&#69;&#82;&#40;&#80;&#114;&#111;&#103;&#46;&#67;&#111;&#109;&#109;&#97;&#110;&#100;&#76;&#105;&#110;&#101;&#41;&#32;&#78;&#79;&#84;&#32;&#76;&#105;&#107;&#101;&#32;&#39;&#39;&#97;&#101;&#120;&#105;&#110;&#118;&#115;&#111;&#108;&#110;&#46;&#101;&#120;&#101;&#37;&#39;&#39;&#32;&#65;&#78;&#68;&#32;&#79;&#114;&#105;&#103;&#46;&#79;&#114;&#105;&#103;&#105;&#110;&#97;&#116;&#111;&#114;&#73;&#100;&#32;&#61;&#32;&#65;&#100;&#118;&#101;&#114;&#116;&#46;&#91;&#95;&#79;&#114;&#105;&#103;&#105;&#110;&#97;&#116;&#111;&#114;&#73;&#100;&#93;&#32;&#65;&#78;&#68;&#32;&#65;&#100;&#118;&#101;&#114;&#116;&#46;&#91;&#95;&#76;&#97;&#116;&#101;&#115;&#116;&#93;&#32;&#61;&#49;&#32;&#65;&#78;&#68;&#32;&#79;&#114;&#105;&#103;&#46;&#84;&#121;&#112;&#101;&#32;&#33;&#61;&#32;&#39;&#39;&#78;&#83;&#73;&#110;&#116;&#101;&#114;&#110;&#97;&#108;&#39;&#39;&#32;&#65;&#78;&#68;&#32;&#40;&#32;&#83;&#116;&#97;&#116;&#46;&#69;&#118;&#101;&#110;&#116;&#84;&#121;&#112;&#101;&#61;&#39;&#39;&#78;&#101;&#119;&#32;&#74;&#111;&#98;&#39;&#39;&#32;&#79;&#82;&#32;&#83;&#116;&#97;&#116;&#46;&#69;&#118;&#101;&#110;&#116;&#84;&#121;&#112;&#101;&#61;&#39;&#39;&#80;&#97;&#99;&#107;&#97;&#103;&#101;&#32;&#84;&#111;&#32;&#66;&#101;&#32;&#82;&#101;&#109;&#111;&#118;&#101;&#100;&#39;&#39;&#32;&#79;&#82;&#32;&#83;&#116;&#97;&#116;&#46;&#69;&#118;&#101;&#110;&#116;&#84;&#121;&#112;&#101;&#61;&#39;&#39;&#74;&#111;&#98;&#32;&#82;&#101;&#109;&#111;&#118;&#101;&#100;&#39;&#39;&#32;&#79;&#82;&#32;&#83;&#116;&#97;&#116;&#46;&#69;&#118;&#101;&#110;&#116;&#84;&#121;&#112;&#101;&#32;&#61;&#32;&#39;&#39;&#74;&#111;&#98;&#32;&#85;&#112;&#100;&#97;&#116;&#101;&#100;&#39;&#39;&#41;&#32;&#65;&#78;&#68;&#32;&#83;&#116;&#97;&#116;&#46;&#87;&#114;&#107;&#115;&#116;&#97;&#73;&#100;&#32;&#61;&#32;&#87;&#114;&#46;&#87;&#114;&#107;&#115;&#116;&#97;&#73;&#100;&#32;&#65;&#78;&#68;&#32;&#40;&#87;&#114;&#46;&#83;&#121;&#115;&#116;&#101;&#109;&#84;&#121;&#112;&#101;&#32;&#61;&#32;&#39;&#39;&#87;&#105;&#110;&#51;&#50;&#39;&#39;&#32;&#79;&#82;&#32;&#87;&#114;&#46;&#83;&#121;&#115;&#116;&#101;&#109;&#84;&#121;&#112;&#101;&#32;&#61;&#32;&#39;&#39;&#87;&#105;&#110;&#54;&#52;&#39;&#39;&#41;&#39;&#44;&#78;&#39;&#64;&#80;&#114;&#111;&#100;&#117;&#99;&#116;&#71;&#117;&#105;&#100;&#32;&#117;&#110;&#105;&#113;&#117;&#101;&#105;&#100;&#101;&#110;&#116;&#105;&#102;&#105;&#101;&#114;&#39;&#44;&#64;&#80;&#114;&#111;&#100;&#117;&#99;&#116;&#71;&#117;&#105;&#100;&#61;&#39;&#65;&#68;&#51;&#70;&#53;&#57;&#56;&#48;&#45;&#68;&#57;&#69;&#57;&#45;&#49;&#49;&#68;&#51;&#45;&#65;&#51;&#49;&#56;&#45;&#48;&#48;&#48;&#56;&#67;&#55;&#65;&#48;&#57;&#49;&#57;&#56;&#39;</code></p>
<p>It is counting unique workstation id&#8217;s. I change this to look at workstation names and disable the counting. Please keep in mind that this may actually cause you to generate a different number of machines as two machines may have ended up with the same name. For what I was doing this was ok.</p>
<p>Here is the sql statement for a list of machines.<br />
<code><br />
&#101;&#120;&#101;&#99;&#32;&#115;&#112;&#95;&#101;&#120;&#101;&#99;&#117;&#116;&#101;&#115;&#113;&#108;&#32;&#78;&#39;&#83;&#69;&#76;&#69;&#67;&#84;&#32;&#68;&#105;&#115;&#116;&#105;&#110;&#99;&#116;&#32;&#87;&#114;&#46;&#78;&#97;&#109;&#101;&#32;&#70;&#82;&#79;&#77;&#32;&#65;&#101;&#88;&#69;&#118;&#116;&#95;&#65;&#101;&#88;&#95;&#83;&#87;&#68;&#95;&#83;&#116;&#97;&#116;&#117;&#115;&#32;&#97;&#115;&#32;&#83;&#116;&#97;&#116;&#44;&#32;&#83;&#87;&#68;&#65;&#100;&#118;&#101;&#114;&#116;&#105;&#115;&#101;&#109;&#101;&#110;&#116;&#32;&#97;&#115;&#32;&#65;&#100;&#118;&#101;&#114;&#116;&#44;&#32;&#83;&#87;&#68;&#79;&#114;&#105;&#103;&#105;&#110;&#97;&#116;&#111;&#114;&#32;&#97;&#115;&#32;&#79;&#114;&#105;&#103;&#44;&#32;&#83;&#87;&#68;&#80;&#114;&#111;&#103;&#114;&#97;&#109;&#32;&#97;&#115;&#32;&#80;&#114;&#111;&#103;&#44;&#32;&#118;&#73;&#116;&#101;&#109;&#32;&#118;&#73;&#44;&#32;&#87;&#114;&#107;&#115;&#116;&#97;&#32;&#87;&#114;&#32;&#87;&#72;&#69;&#82;&#69;&#32;&#83;&#116;&#97;&#116;&#46;&#65;&#100;&#118;&#101;&#114;&#116;&#105;&#115;&#101;&#109;&#101;&#110;&#116;&#73;&#100;&#32;&#61;&#32;&#65;&#100;&#118;&#101;&#114;&#116;&#46;&#65;&#100;&#118;&#101;&#114;&#116;&#105;&#115;&#101;&#109;&#101;&#110;&#116;&#73;&#100;&#32;&#65;&#78;&#68;&#32;&#83;&#116;&#97;&#116;&#46;&#65;&#100;&#118;&#101;&#114;&#116;&#105;&#115;&#101;&#109;&#101;&#110;&#116;&#73;&#100;&#32;&#61;&#32;&#118;&#73;&#46;&#71;&#117;&#105;&#100;&#32;&#65;&#78;&#68;&#32;&#40;&#32;&#118;&#73;&#46;&#67;&#108;&#97;&#115;&#115;&#71;&#117;&#105;&#100;&#32;&#61;&#32;&#39;&#39;&#53;&#66;&#57;&#49;&#70;&#48;&#66;&#70;&#45;&#56;&#57;&#57;&#70;&#45;&#52;&#57;&#69;&#50;&#45;&#66;&#56;&#69;&#49;&#45;&#54;&#55;&#50;&#49;&#57;&#49;&#48;&#48;&#66;&#66;&#70;&#65;&#39;&#39;&#32;&#79;&#82;&#32;&#118;&#73;&#46;&#67;&#108;&#97;&#115;&#115;&#71;&#117;&#105;&#100;&#61;&#39;&#39;&#50;&#68;&#51;&#57;&#66;&#65;&#52;&#48;&#45;&#50;&#65;&#54;&#48;&#45;&#52;&#50;&#69;&#69;&#45;&#57;&#50;&#69;&#48;&#45;&#67;&#49;&#49;&#65;&#68;&#50;&#50;&#52;&#53;&#57;&#54;&#57;&#39;&#39;&#41;&#32;&#65;&#78;&#68;&#32;&#118;&#73;&#46;&#80;&#114;&#111;&#100;&#117;&#99;&#116;&#71;&#117;&#105;&#100;&#32;&#61;&#32;&#39;&#39;&#65;&#68;&#51;&#70;&#53;&#57;&#56;&#48;&#45;&#68;&#57;&#69;&#57;&#45;&#49;&#49;&#68;&#51;&#45;&#65;&#51;&#49;&#56;&#45;&#48;&#48;&#48;&#56;&#67;&#55;&#65;&#48;&#57;&#49;&#57;&#56;&#39;&#39;&#32;&#65;&#78;&#68;&#32;&#76;&#79;&#87;&#69;&#82;&#40;&#80;&#114;&#111;&#103;&#46;&#80;&#114;&#111;&#103;&#114;&#97;&#109;&#73;&#100;&#41;&#32;&#61;&#32;&#76;&#79;&#87;&#69;&#82;&#40;&#65;&#100;&#118;&#101;&#114;&#116;&#46;&#80;&#114;&#111;&#103;&#114;&#97;&#109;&#73;&#100;&#41;&#32;&#65;&#78;&#68;&#32;&#76;&#79;&#87;&#69;&#82;&#40;&#80;&#114;&#111;&#103;&#46;&#67;&#111;&#109;&#109;&#97;&#110;&#100;&#76;&#105;&#110;&#101;&#41;&#32;&#78;&#79;&#84;&#32;&#76;&#105;&#107;&#101;&#32;&#39;&#39;&#97;&#101;&#120;&#105;&#110;&#118;&#115;&#111;&#108;&#110;&#46;&#101;&#120;&#101;&#37;&#39;&#39;&#32;&#65;&#78;&#68;&#32;&#79;&#114;&#105;&#103;&#46;&#79;&#114;&#105;&#103;&#105;&#110;&#97;&#116;&#111;&#114;&#73;&#100;&#32;&#61;&#32;&#65;&#100;&#118;&#101;&#114;&#116;&#46;&#91;&#95;&#79;&#114;&#105;&#103;&#105;&#110;&#97;&#116;&#111;&#114;&#73;&#100;&#93;&#32;&#65;&#78;&#68;&#32;&#65;&#100;&#118;&#101;&#114;&#116;&#46;&#91;&#95;&#76;&#97;&#116;&#101;&#115;&#116;&#93;&#32;&#61;&#49;&#32;&#65;&#78;&#68;&#32;&#79;&#114;&#105;&#103;&#46;&#84;&#121;&#112;&#101;&#32;&#33;&#61;&#32;&#39;&#39;&#78;&#83;&#73;&#110;&#116;&#101;&#114;&#110;&#97;&#108;&#39;&#39;&#32;&#65;&#78;&#68;&#32;&#40;&#32;&#83;&#116;&#97;&#116;&#46;&#69;&#118;&#101;&#110;&#116;&#84;&#121;&#112;&#101;&#61;&#39;&#39;&#78;&#101;&#119;&#32;&#74;&#111;&#98;&#39;&#39;&#32;&#79;&#82;&#32;&#83;&#116;&#97;&#116;&#46;&#69;&#118;&#101;&#110;&#116;&#84;&#121;&#112;&#101;&#61;&#39;&#39;&#80;&#97;&#99;&#107;&#97;&#103;&#101;&#32;&#84;&#111;&#32;&#66;&#101;&#32;&#82;&#101;&#109;&#111;&#118;&#101;&#100;&#39;&#39;&#32;&#79;&#82;&#32;&#83;&#116;&#97;&#116;&#46;&#69;&#118;&#101;&#110;&#116;&#84;&#121;&#112;&#101;&#61;&#39;&#39;&#74;&#111;&#98;&#32;&#82;&#101;&#109;&#111;&#118;&#101;&#100;&#39;&#39;&#32;&#79;&#82;&#32;&#83;&#116;&#97;&#116;&#46;&#69;&#118;&#101;&#110;&#116;&#84;&#121;&#112;&#101;&#32;&#61;&#32;&#39;&#39;&#74;&#111;&#98;&#32;&#85;&#112;&#100;&#97;&#116;&#101;&#100;&#39;&#39;&#41;&#32;&#65;&#78;&#68;&#32;&#83;&#116;&#97;&#116;&#46;&#87;&#114;&#107;&#115;&#116;&#97;&#73;&#100;&#32;&#61;&#32;&#87;&#114;&#46;&#87;&#114;&#107;&#115;&#116;&#97;&#73;&#100;&#32;&#65;&#78;&#68;&#32;&#40;&#87;&#114;&#46;&#83;&#121;&#115;&#116;&#101;&#109;&#84;&#121;&#112;&#101;&#32;&#61;&#32;&#39;&#39;&#87;&#105;&#110;&#51;&#50;&#39;&#39;&#32;&#79;&#82;&#32;&#87;&#114;&#46;&#83;&#121;&#115;&#116;&#101;&#109;&#84;&#121;&#112;&#101;&#32;&#61;&#32;&#39;&#39;&#87;&#105;&#110;&#54;&#52;&#39;&#39;&#41;&#39;&#44;&#78;&#39;&#64;&#80;&#114;&#111;&#100;&#117;&#99;&#116;&#71;&#117;&#105;&#100;&#32;&#117;&#110;&#105;&#113;&#117;&#101;&#105;&#100;&#101;&#110;&#116;&#105;&#102;&#105;&#101;&#114;&#39;&#44;&#64;&#80;&#114;&#111;&#100;&#117;&#99;&#116;&#71;&#117;&#105;&#100;&#61;&#39;&#65;&#68;&#51;&#70;&#53;&#57;&#56;&#48;&#45;&#68;&#57;&#69;&#57;&#45;&#49;&#49;&#68;&#51;&#45;&#65;&#51;&#49;&#56;&#45;&#48;&#48;&#48;&#56;&#67;&#55;&#65;&#48;&#57;&#49;&#57;&#56;&#39;<br />
</code></p>
<p>Finnaly if you would like to list out all of the fields that are pulled use the following statement.<br />
<code><br />
&#101;&#120;&#101;&#99;&#32;&#115;&#112;&#95;&#101;&#120;&#101;&#99;&#117;&#116;&#101;&#115;&#113;&#108;&#32;&#78;&#39;&#83;&#69;&#76;&#69;&#67;&#84;&#32;&#42;&#32;&#70;&#82;&#79;&#77;&#32;&#65;&#101;&#88;&#69;&#118;&#116;&#95;&#65;&#101;&#88;&#95;&#83;&#87;&#68;&#95;&#83;&#116;&#97;&#116;&#117;&#115;&#32;&#97;&#115;&#32;&#83;&#116;&#97;&#116;&#44;&#32;&#83;&#87;&#68;&#65;&#100;&#118;&#101;&#114;&#116;&#105;&#115;&#101;&#109;&#101;&#110;&#116;&#32;&#97;&#115;&#32;&#65;&#100;&#118;&#101;&#114;&#116;&#44;&#32;&#83;&#87;&#68;&#79;&#114;&#105;&#103;&#105;&#110;&#97;&#116;&#111;&#114;&#32;&#97;&#115;&#32;&#79;&#114;&#105;&#103;&#44;&#32;&#83;&#87;&#68;&#80;&#114;&#111;&#103;&#114;&#97;&#109;&#32;&#97;&#115;&#32;&#80;&#114;&#111;&#103;&#44;&#32;&#118;&#73;&#116;&#101;&#109;&#32;&#118;&#73;&#44;&#32;&#87;&#114;&#107;&#115;&#116;&#97;&#32;&#87;&#114;&#32;&#87;&#72;&#69;&#82;&#69;&#32;&#83;&#116;&#97;&#116;&#46;&#65;&#100;&#118;&#101;&#114;&#116;&#105;&#115;&#101;&#109;&#101;&#110;&#116;&#73;&#100;&#32;&#61;&#32;&#65;&#100;&#118;&#101;&#114;&#116;&#46;&#65;&#100;&#118;&#101;&#114;&#116;&#105;&#115;&#101;&#109;&#101;&#110;&#116;&#73;&#100;&#32;&#65;&#78;&#68;&#32;&#83;&#116;&#97;&#116;&#46;&#65;&#100;&#118;&#101;&#114;&#116;&#105;&#115;&#101;&#109;&#101;&#110;&#116;&#73;&#100;&#32;&#32;&#61;&#32;&#118;&#73;&#46;&#71;&#117;&#105;&#100;&#32;&#65;&#78;&#68;&#32;&#40;&#32;&#118;&#73;&#46;&#67;&#108;&#97;&#115;&#115;&#71;&#117;&#105;&#100;&#32;&#61;&#32;&#39;&#39;&#53;&#66;&#57;&#49;&#70;&#48;&#66;&#70;&#45;&#56;&#57;&#57;&#70;&#45;&#52;&#57;&#69;&#50;&#45;&#66;&#56;&#69;&#49;&#45;&#54;&#55;&#50;&#49;&#57;&#49;&#48;&#48;&#66;&#66;&#70;&#65;&#39;&#39;&#32;&#79;&#82;&#32;&#118;&#73;&#46;&#67;&#108;&#97;&#115;&#115;&#71;&#117;&#105;&#100;&#61;&#39;&#39;&#50;&#68;&#51;&#57;&#66;&#65;&#52;&#48;&#45;&#50;&#65;&#54;&#48;&#45;&#52;&#50;&#69;&#69;&#45;&#57;&#50;&#69;&#48;&#45;&#67;&#49;&#49;&#65;&#68;&#50;&#50;&#52;&#53;&#57;&#54;&#57;&#39;&#39;&#41;&#32;&#65;&#78;&#68;&#32;&#118;&#73;&#46;&#80;&#114;&#111;&#100;&#117;&#99;&#116;&#71;&#117;&#105;&#100;&#32;&#61;&#32;&#39;&#39;&#65;&#68;&#51;&#70;&#53;&#57;&#56;&#48;&#45;&#68;&#57;&#69;&#57;&#45;&#49;&#49;&#68;&#51;&#45;&#65;&#51;&#49;&#56;&#45;&#48;&#48;&#48;&#56;&#67;&#55;&#65;&#48;&#57;&#49;&#57;&#56;&#39;&#39;&#32;&#65;&#78;&#68;&#32;&#76;&#79;&#87;&#69;&#82;&#40;&#80;&#114;&#111;&#103;&#46;&#80;&#114;&#111;&#103;&#114;&#97;&#109;&#73;&#100;&#41;&#32;&#61;&#32;&#76;&#79;&#87;&#69;&#82;&#40;&#65;&#100;&#118;&#101;&#114;&#116;&#46;&#80;&#114;&#111;&#103;&#114;&#97;&#109;&#73;&#100;&#41;&#32;&#65;&#78;&#68;&#32;&#76;&#79;&#87;&#69;&#82;&#40;&#80;&#114;&#111;&#103;&#46;&#67;&#111;&#109;&#109;&#97;&#110;&#100;&#76;&#105;&#110;&#101;&#41;&#32;&#78;&#79;&#84;&#32;&#76;&#105;&#107;&#101;&#32;&#39;&#39;&#97;&#101;&#120;&#105;&#110;&#118;&#115;&#111;&#108;&#110;&#46;&#101;&#120;&#101;&#37;&#39;&#39;&#32;&#65;&#78;&#68;&#32;&#79;&#114;&#105;&#103;&#46;&#79;&#114;&#105;&#103;&#105;&#110;&#97;&#116;&#111;&#114;&#73;&#100;&#32;&#61;&#32;&#65;&#100;&#118;&#101;&#114;&#116;&#46;&#91;&#95;&#79;&#114;&#105;&#103;&#105;&#110;&#97;&#116;&#111;&#114;&#73;&#100;&#93;&#32;&#65;&#78;&#68;&#32;&#65;&#100;&#118;&#101;&#114;&#116;&#46;&#91;&#95;&#76;&#97;&#116;&#101;&#115;&#116;&#93;&#32;&#61;&#49;&#32;&#65;&#78;&#68;&#32;&#79;&#114;&#105;&#103;&#46;&#84;&#121;&#112;&#101;&#32;&#33;&#61;&#32;&#39;&#39;&#78;&#83;&#73;&#110;&#116;&#101;&#114;&#110;&#97;&#108;&#39;&#39;&#32;&#65;&#78;&#68;&#32;&#40;&#32;&#83;&#116;&#97;&#116;&#46;&#69;&#118;&#101;&#110;&#116;&#84;&#121;&#112;&#101;&#61;&#39;&#39;&#78;&#101;&#119;&#32;&#74;&#111;&#98;&#39;&#39;&#32;&#79;&#82;&#32;&#83;&#116;&#97;&#116;&#46;&#69;&#118;&#101;&#110;&#116;&#84;&#121;&#112;&#101;&#61;&#39;&#39;&#80;&#97;&#99;&#107;&#97;&#103;&#101;&#32;&#84;&#111;&#32;&#66;&#101;&#32;&#82;&#101;&#109;&#111;&#118;&#101;&#100;&#39;&#39;&#32;&#79;&#82;&#32;&#83;&#116;&#97;&#116;&#46;&#69;&#118;&#101;&#110;&#116;&#84;&#121;&#112;&#101;&#61;&#39;&#39;&#74;&#111;&#98;&#32;&#82;&#101;&#109;&#111;&#118;&#101;&#100;&#39;&#39;&#32;&#79;&#82;&#32;&#83;&#116;&#97;&#116;&#46;&#69;&#118;&#101;&#110;&#116;&#84;&#121;&#112;&#101;&#32;&#61;&#32;&#39;&#39;&#74;&#111;&#98;&#32;&#85;&#112;&#100;&#97;&#116;&#101;&#100;&#39;&#39;&#41;&#32;&#65;&#78;&#68;&#32;&#83;&#116;&#97;&#116;&#46;&#87;&#114;&#107;&#115;&#116;&#97;&#73;&#100;&#32;&#61;&#32;&#87;&#114;&#46;&#87;&#114;&#107;&#115;&#116;&#97;&#73;&#100;&#32;&#65;&#78;&#68;&#32;&#40;&#87;&#114;&#46;&#83;&#121;&#115;&#116;&#101;&#109;&#84;&#121;&#112;&#101;&#32;&#61;&#32;&#39;&#39;&#87;&#105;&#110;&#51;&#50;&#39;&#39;&#32;&#79;&#82;&#32;&#87;&#114;&#46;&#83;&#121;&#115;&#116;&#101;&#109;&#84;&#121;&#112;&#101;&#32;&#61;&#32;&#39;&#39;&#87;&#105;&#110;&#54;&#52;&#39;&#39;&#41;&#39;&#44;&#78;&#39;&#64;&#80;&#114;&#111;&#100;&#117;&#99;&#116;&#71;&#117;&#105;&#100;&#32;&#117;&#110;&#105;&#113;&#117;&#101;&#105;&#100;&#101;&#110;&#116;&#105;&#102;&#105;&#101;&#114;&#39;&#44;&#64;&#80;&#114;&#111;&#100;&#117;&#99;&#116;&#71;&#117;&#105;&#100;&#61;&#39;&#65;&#68;&#51;&#70;&#53;&#57;&#56;&#48;&#45;&#68;&#57;&#69;&#57;&#45;&#49;&#49;&#68;&#51;&#45;&#65;&#51;&#49;&#56;&#45;&#48;&#48;&#48;&#56;&#67;&#55;&#65;&#48;&#57;&#49;&#57;&#56;&#39;</code></p>
<p>Now I&#8217;m off to clean up my Altiris SWD. </p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark to</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.thesystemsengineer.com/technical/symantec-altiris-software-delivery-solution-license-trouble/&amp;title=Symantec+Altiris+Software+Delivery+Solution+License+Trouble" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Del.icio.us"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Del.icio.us" alt="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.thesystemsengineer.com/technical/symantec-altiris-software-delivery-solution-license-trouble/&amp;title=Symantec+Altiris+Software+Delivery+Solution+License+Trouble" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to digg"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to digg" alt="Add 'Symantec Altiris Software Delivery Solution License Trouble' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=Symantec+Altiris+Software+Delivery+Solution+License+Trouble&amp;url=http://www.thesystemsengineer.com/technical/symantec-altiris-software-delivery-solution-license-trouble/&amp;version=0.7" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Feed Me Links"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/feedmelinks.png" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Feed Me Links" alt="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Feed Me Links" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.thesystemsengineer.com/technical/symantec-altiris-software-delivery-solution-license-trouble/" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Technorati"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Technorati" alt="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.thesystemsengineer.com/technical/symantec-altiris-software-delivery-solution-license-trouble/&amp;title=Symantec+Altiris+Software+Delivery+Solution+License+Trouble" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Stumble Upon"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Stumble Upon" alt="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.thesystemsengineer.com/technical/symantec-altiris-software-delivery-solution-license-trouble/&amp;title=Symantec+Altiris+Software+Delivery+Solution+License+Trouble" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Google Bookmarks"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Google Bookmarks" alt="Add 'Symantec Altiris Software Delivery Solution License Trouble' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Symantec+Altiris+Software+Delivery+Solution+License+Trouble&amp;url=http://www.thesystemsengineer.com/technical/symantec-altiris-software-delivery-solution-license-trouble/" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to SlashDot"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/slashdot.png" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to SlashDot" alt="Add 'Symantec Altiris Software Delivery Solution License Trouble' to SlashDot" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://www.thesystemsengineer.com/technical/symantec-altiris-software-delivery-solution-license-trouble/&amp;t=Symantec+Altiris+Software+Delivery+Solution+License+Trouble" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to FaceBook"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'Symantec Altiris Software Delivery Solution License Trouble' to FaceBook" alt="Add 'Symantec Altiris Software Delivery Solution License Trouble' to FaceBook" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://www.thesystemsengineer.com/technical/symantec-altiris-software-delivery-solution-license-trouble/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My BIG list of useful TSM commands and SQL queries</title>
		<link>http://www.thesystemsengineer.com/technical/my-big-list-of-useful-tsm-commands-and-sql-queries/</link>
		<comments>http://www.thesystemsengineer.com/technical/my-big-list-of-useful-tsm-commands-and-sql-queries/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 00:48:42 +0000</pubDate>
		<dc:creator>Trace</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[queries]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[select]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[tivoli]]></category>
		<category><![CDATA[tsm]]></category>

		<guid isPermaLink="false">http://www.thesystemsengineer.com/?p=27</guid>
		<description><![CDATA[A quick way to find nodes that are not in a collocation group and how much data they are using up. I one onsite stgpool that uses collocation so I specify that I only want to look at data in that stgpool. select nod.node_name, nod.collocgroup_name, sum(oc.physical_mb/1024) as GB from nodes nod, occupancy oc where nod.node_name=oc.node_name [...]]]></description>
			<content:encoded><![CDATA[<p><!-- WSA: ad in context inpost-banner not shown: too many ads --><br />
A quick way to find nodes that are not in a collocation group and how much data they are using up. I one onsite stgpool that uses collocation so I specify that I only want to look at data in that stgpool.<br />
<code>select nod.node_name, nod.collocgroup_name, sum(oc.physical_mb/1024) as GB from nodes nod, occupancy oc where nod.node_name=oc.node_name and oc.stgpool_name='MYSTGPOOL' group by nod.node_name, nod.collocgroup_name</code></p>
<p>This is how I find out what tapes I need to move data off of after running the above query and if I define nodes into a collocation group when they previous where not in one. This was I can reclaim tapes immediatly rather than waiting for data to expire off the tape and space reclaimation to run against the tape.<br />
<code>select distinct volume_name from volumeusage where node_name IN ('NODE1', 'NODE2', 'NODEX') and stgpool_name='MYSTGPOOL'</code></p>
<p>I hope to update this list as I think of other selects I use often.</p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark to</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.thesystemsengineer.com/technical/my-big-list-of-useful-tsm-commands-and-sql-queries/&amp;title=My+BIG+list+of+useful+TSM+commands+and+SQL+queries" title="Add 'My BIG list of useful TSM commands and SQL queries' to Del.icio.us"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'My BIG list of useful TSM commands and SQL queries' to Del.icio.us" alt="Add 'My BIG list of useful TSM commands and SQL queries' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.thesystemsengineer.com/technical/my-big-list-of-useful-tsm-commands-and-sql-queries/&amp;title=My+BIG+list+of+useful+TSM+commands+and+SQL+queries" title="Add 'My BIG list of useful TSM commands and SQL queries' to digg"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'My BIG list of useful TSM commands and SQL queries' to digg" alt="Add 'My BIG list of useful TSM commands and SQL queries' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=My+BIG+list+of+useful+TSM+commands+and+SQL+queries&amp;url=http://www.thesystemsengineer.com/technical/my-big-list-of-useful-tsm-commands-and-sql-queries/&amp;version=0.7" title="Add 'My BIG list of useful TSM commands and SQL queries' to Feed Me Links"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/feedmelinks.png" title="Add 'My BIG list of useful TSM commands and SQL queries' to Feed Me Links" alt="Add 'My BIG list of useful TSM commands and SQL queries' to Feed Me Links" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.thesystemsengineer.com/technical/my-big-list-of-useful-tsm-commands-and-sql-queries/" title="Add 'My BIG list of useful TSM commands and SQL queries' to Technorati"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'My BIG list of useful TSM commands and SQL queries' to Technorati" alt="Add 'My BIG list of useful TSM commands and SQL queries' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.thesystemsengineer.com/technical/my-big-list-of-useful-tsm-commands-and-sql-queries/&amp;title=My+BIG+list+of+useful+TSM+commands+and+SQL+queries" title="Add 'My BIG list of useful TSM commands and SQL queries' to Stumble Upon"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'My BIG list of useful TSM commands and SQL queries' to Stumble Upon" alt="Add 'My BIG list of useful TSM commands and SQL queries' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.thesystemsengineer.com/technical/my-big-list-of-useful-tsm-commands-and-sql-queries/&amp;title=My+BIG+list+of+useful+TSM+commands+and+SQL+queries" title="Add 'My BIG list of useful TSM commands and SQL queries' to Google Bookmarks"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'My BIG list of useful TSM commands and SQL queries' to Google Bookmarks" alt="Add 'My BIG list of useful TSM commands and SQL queries' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=My+BIG+list+of+useful+TSM+commands+and+SQL+queries&amp;url=http://www.thesystemsengineer.com/technical/my-big-list-of-useful-tsm-commands-and-sql-queries/" title="Add 'My BIG list of useful TSM commands and SQL queries' to SlashDot"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/slashdot.png" title="Add 'My BIG list of useful TSM commands and SQL queries' to SlashDot" alt="Add 'My BIG list of useful TSM commands and SQL queries' to SlashDot" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://www.thesystemsengineer.com/technical/my-big-list-of-useful-tsm-commands-and-sql-queries/&amp;t=My+BIG+list+of+useful+TSM+commands+and+SQL+queries" title="Add 'My BIG list of useful TSM commands and SQL queries' to FaceBook"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'My BIG list of useful TSM commands and SQL queries' to FaceBook" alt="Add 'My BIG list of useful TSM commands and SQL queries' to FaceBook" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://www.thesystemsengineer.com/technical/my-big-list-of-useful-tsm-commands-and-sql-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Becareful with Altiris Helpdesk Tasks</title>
		<link>http://www.thesystemsengineer.com/technical/becareful-with-altiris-helpdesk-tasks/</link>
		<comments>http://www.thesystemsengineer.com/technical/becareful-with-altiris-helpdesk-tasks/#comments</comments>
		<pubDate>Thu, 08 May 2008 05:55:01 +0000</pubDate>
		<dc:creator>Trace</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[altiris]]></category>
		<category><![CDATA[helpdesk]]></category>
		<category><![CDATA[incident]]></category>
		<category><![CDATA[notify rules]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[task]]></category>
		<category><![CDATA[workitem_wuci_join]]></category>
		<category><![CDATA[wuci]]></category>

		<guid isPermaLink="false">http://www.thesystemsengineer.com/?p=21</guid>
		<description><![CDATA[I have been wanting to make a task that would force a notify rule to be enabled on a helpdesk incident. I wrote a set of queries and found what I needed to update. Once I created the taskI stumbled across an issue. It has to do with Altiris HD solution processing the a sql [...]]]></description>
			<content:encoded><![CDATA[<p><!-- WSA: ad in context inpost-banner not shown: too many ads --></p>
<p>I have been wanting to make a task that would force a notify rule to be enabled on a helpdesk incident. I wrote a set of queries and found what I needed to update. Once I created the taskI stumbled across an issue. It has to do with Altiris HD solution processing the a sql statement before I even run the task.</p>
<p>My task looks a bit like this. It sets the workitem to have a rule &#8217;293&#8242; enabled on it.<br />
<code><br />
Set: HDQUERY[[select workitem_number from dbo.workitem_wuci_join where workitem_wuci_join.wuci_id = '293' and workitem_wuci_join.workitem_number = WORKITEM(workitem_number)]]<br />
</code></p>
<p>The above is just filler really. The code that matters is below. Since Altiris doesn&#8217;t provide a way to just update/insert a sql value you hide the sql statement in an HDQUERY macro.<br />
<code><br />
To: HDQUERY[[select NULL insert into dbo.workitem_wuci_join (workitem_number, wuci_id) values (WORKITEM(workitem_number), 293)]]<br />
</code></p>
<p>However each time the rule is displayed it actually updates the database. I think Altiris is processing the to: to get a value which is running the insert.</p>
<p>I also found that the select NULL was needed to supress errors when running the rule. When running this rule I found that it adds a duplicate entry for the 293 rule. This breaks the incident. To fix this use a sql delete in the workitem_wuci_join table of the altiris_incidents database.</p>
<p><code><br />
delete * where workitem_number = '<your incident number>' and wuci_id = '293'<br />
</code></p>
<p>This will delete all rows (likely only 2) with the rule id and the incident number. Then you can simply edit the incident in helpdesk console and add the proper notify rules.</p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark to</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.thesystemsengineer.com/technical/becareful-with-altiris-helpdesk-tasks/&amp;title=Becareful+with+Altiris+Helpdesk+Tasks" title="Add 'Becareful with Altiris Helpdesk Tasks' to Del.icio.us"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'Becareful with Altiris Helpdesk Tasks' to Del.icio.us" alt="Add 'Becareful with Altiris Helpdesk Tasks' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.thesystemsengineer.com/technical/becareful-with-altiris-helpdesk-tasks/&amp;title=Becareful+with+Altiris+Helpdesk+Tasks" title="Add 'Becareful with Altiris Helpdesk Tasks' to digg"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'Becareful with Altiris Helpdesk Tasks' to digg" alt="Add 'Becareful with Altiris Helpdesk Tasks' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=Becareful+with+Altiris+Helpdesk+Tasks&amp;url=http://www.thesystemsengineer.com/technical/becareful-with-altiris-helpdesk-tasks/&amp;version=0.7" title="Add 'Becareful with Altiris Helpdesk Tasks' to Feed Me Links"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/feedmelinks.png" title="Add 'Becareful with Altiris Helpdesk Tasks' to Feed Me Links" alt="Add 'Becareful with Altiris Helpdesk Tasks' to Feed Me Links" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.thesystemsengineer.com/technical/becareful-with-altiris-helpdesk-tasks/" title="Add 'Becareful with Altiris Helpdesk Tasks' to Technorati"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'Becareful with Altiris Helpdesk Tasks' to Technorati" alt="Add 'Becareful with Altiris Helpdesk Tasks' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.thesystemsengineer.com/technical/becareful-with-altiris-helpdesk-tasks/&amp;title=Becareful+with+Altiris+Helpdesk+Tasks" title="Add 'Becareful with Altiris Helpdesk Tasks' to Stumble Upon"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'Becareful with Altiris Helpdesk Tasks' to Stumble Upon" alt="Add 'Becareful with Altiris Helpdesk Tasks' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.thesystemsengineer.com/technical/becareful-with-altiris-helpdesk-tasks/&amp;title=Becareful+with+Altiris+Helpdesk+Tasks" title="Add 'Becareful with Altiris Helpdesk Tasks' to Google Bookmarks"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'Becareful with Altiris Helpdesk Tasks' to Google Bookmarks" alt="Add 'Becareful with Altiris Helpdesk Tasks' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Becareful+with+Altiris+Helpdesk+Tasks&amp;url=http://www.thesystemsengineer.com/technical/becareful-with-altiris-helpdesk-tasks/" title="Add 'Becareful with Altiris Helpdesk Tasks' to SlashDot"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/slashdot.png" title="Add 'Becareful with Altiris Helpdesk Tasks' to SlashDot" alt="Add 'Becareful with Altiris Helpdesk Tasks' to SlashDot" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://www.thesystemsengineer.com/technical/becareful-with-altiris-helpdesk-tasks/&amp;t=Becareful+with+Altiris+Helpdesk+Tasks" title="Add 'Becareful with Altiris Helpdesk Tasks' to FaceBook"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'Becareful with Altiris Helpdesk Tasks' to FaceBook" alt="Add 'Becareful with Altiris Helpdesk Tasks' to FaceBook" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://www.thesystemsengineer.com/technical/becareful-with-altiris-helpdesk-tasks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Altiris Helpdesk Solution &#8211; Inicidents via Email</title>
		<link>http://www.thesystemsengineer.com/technical/altiris-helpdesk-solution-inicidents-via-email/</link>
		<comments>http://www.thesystemsengineer.com/technical/altiris-helpdesk-solution-inicidents-via-email/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 23:30:27 +0000</pubDate>
		<dc:creator>Trace</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[altiris]]></category>
		<category><![CDATA[helpdesk]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.thesystemsengineer.com/?p=18</guid>
		<description><![CDATA[When working with Altiris Helpdesk Solution be careful not to associate an email address of one of your users or workers with a queue. If you do this when that person sends in an email to create an incident it will generate an incident with no contact information. I have suggested to Altiris that they [...]]]></description>
			<content:encoded><![CDATA[<p><!-- WSA: ad in context inpost-banner not shown: too many ads --></p>
<p>When working with Altiris Helpdesk Solution be careful not to associate an email address of one of your users or workers with a queue. If you do this when that person sends in an email to create an incident it will generate an incident with no contact information. I have suggested to Altiris that they trust workers and contacts over queues by default. Here is a simple sql query you can use if you think you are running into this problem for a particular email address.</p>
<p><code>select * from contact<br />
where email = 'emailalias@company.com'<br />
</code><br />
If you get more than 1 result back you will experience the issue.</p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark to</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.thesystemsengineer.com/technical/altiris-helpdesk-solution-inicidents-via-email/&amp;title=Altiris+Helpdesk+Solution+%26%238211%3B+Inicidents+via+Email" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Del.icio.us"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Del.icio.us" alt="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.thesystemsengineer.com/technical/altiris-helpdesk-solution-inicidents-via-email/&amp;title=Altiris+Helpdesk+Solution+%26%238211%3B+Inicidents+via+Email" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to digg"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to digg" alt="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=Altiris+Helpdesk+Solution+%26%238211%3B+Inicidents+via+Email&amp;url=http://www.thesystemsengineer.com/technical/altiris-helpdesk-solution-inicidents-via-email/&amp;version=0.7" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Feed Me Links"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/feedmelinks.png" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Feed Me Links" alt="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Feed Me Links" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.thesystemsengineer.com/technical/altiris-helpdesk-solution-inicidents-via-email/" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Technorati"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Technorati" alt="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.thesystemsengineer.com/technical/altiris-helpdesk-solution-inicidents-via-email/&amp;title=Altiris+Helpdesk+Solution+%26%238211%3B+Inicidents+via+Email" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Stumble Upon"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Stumble Upon" alt="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.thesystemsengineer.com/technical/altiris-helpdesk-solution-inicidents-via-email/&amp;title=Altiris+Helpdesk+Solution+%26%238211%3B+Inicidents+via+Email" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Google Bookmarks"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Google Bookmarks" alt="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Altiris+Helpdesk+Solution+%26%238211%3B+Inicidents+via+Email&amp;url=http://www.thesystemsengineer.com/technical/altiris-helpdesk-solution-inicidents-via-email/" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to SlashDot"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/slashdot.png" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to SlashDot" alt="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to SlashDot" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://www.thesystemsengineer.com/technical/altiris-helpdesk-solution-inicidents-via-email/&amp;t=Altiris+Helpdesk+Solution+%26%238211%3B+Inicidents+via+Email" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to FaceBook"><img src="http://www.thesystemsengineer.com/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to FaceBook" alt="Add 'Altiris Helpdesk Solution &#8211; Inicidents via Email' to FaceBook" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://www.thesystemsengineer.com/technical/altiris-helpdesk-solution-inicidents-via-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
