<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Dunnsept&#039;s Blog</title>
	<atom:link href="http://dunnsept.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dunnsept.wordpress.com</link>
	<description>VMware, VDI, Storage Analytics &#38; SAP</description>
	<lastBuildDate>Tue, 17 Jan 2012 17:28:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dunnsept.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Dunnsept&#039;s Blog</title>
		<link>http://dunnsept.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dunnsept.wordpress.com/osd.xml" title="Dunnsept&#039;s Blog" />
	<atom:link rel='hub' href='http://dunnsept.wordpress.com/?pushpress=hub'/>
		<item>
		<title>VMware View Usage Dashboard</title>
		<link>http://dunnsept.wordpress.com/2011/10/04/vmware-view-usage-dashboard/</link>
		<comments>http://dunnsept.wordpress.com/2011/10/04/vmware-view-usage-dashboard/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 16:26:00 +0000</pubDate>
		<dc:creator>dunnsept</dc:creator>
				<category><![CDATA[Usage Stats]]></category>
		<category><![CDATA[View]]></category>
		<category><![CDATA[Vmware]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[usage]]></category>
		<category><![CDATA[view]]></category>

		<guid isPermaLink="false">http://dunnsept.wordpress.com/?p=72</guid>
		<description><![CDATA[I&#8217;ve had the new version of my app running for a few months. This has given me quite a bit of raw data, but no really nice method for perusing it (aside from just raw SQL on the DB). So I took some time yesterday to write a sort of dashboard based on the data [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=72&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had the new version of my app running for a few months. This has given me quite a bit of raw data, but no really nice method for perusing it (aside from just raw SQL on the DB).</p>
<p>So I took some time yesterday to write a sort of dashboard based on the data I&#8217;ve collected and based on questions I get from the &#8220;higher-ups.&#8221;</p>
<p>This is version number 1. The dashboard is web-based using a combination of whatever I felt like writing at the time, some .NET, some classic ASP, javascript and AJAX. All of the graphs/charts on the page are from Google charts.</p>
<p>The top of the page shows current usage in each of my three pools. The gauge is scaled for the number of machines in the pool: pool 1 has 20 machines, pools 2 and 3 each have 100. The CPU utilization is averaged across all users as the percent reported by Windows itself (like you would see in Task Manager).</p>
<p>Next to those is a term cloud that shows the top 10 currently running apps in the pools. As a cloud it means that the more instances there are of a given app, the larger the font in respect to the other apps listed.</p>
<p>The Start and Stop buttons control the AJAX that refreshes the gauges and term cloud on a specific interval.</p>
<p>Under that is a graph that shows logins and average CPU for the month of September. This one is just looking at one specific pool right now (Pool 2 from the gauges). And below that are two pie charts that show top apps for the month by frequency and time-in-use.</p>
<p>I think I will continue to tweak this based on what I&#8217;d like to see along with any other requests I get from &#8216;higher up.&#8217;</p>
<p>Comments appreciated<a href="http://dunnsept.files.wordpress.com/2011/10/view_dashboard_small.jpg"><img class="alignright size-thumbnail wp-image-75" title="View Usage Dashboard" src="http://dunnsept.files.wordpress.com/2011/10/view_dashboard_small.jpg?w=150&#038;h=139" alt="" width="150" height="139" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dunnsept.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dunnsept.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dunnsept.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dunnsept.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dunnsept.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dunnsept.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dunnsept.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dunnsept.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dunnsept.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dunnsept.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dunnsept.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dunnsept.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dunnsept.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dunnsept.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=72&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dunnsept.wordpress.com/2011/10/04/vmware-view-usage-dashboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8ee8bb608462809ff5b19bdd3b24ae6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dunnsept</media:title>
		</media:content>

		<media:content url="http://dunnsept.files.wordpress.com/2011/10/view_dashboard_small.jpg?w=150" medium="image">
			<media:title type="html">View Usage Dashboard</media:title>
		</media:content>
	</item>
		<item>
		<title>Desktop Usage Stats</title>
		<link>http://dunnsept.wordpress.com/2011/06/15/desktop-usage-stats/</link>
		<comments>http://dunnsept.wordpress.com/2011/06/15/desktop-usage-stats/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 16:33:11 +0000</pubDate>
		<dc:creator>dunnsept</dc:creator>
				<category><![CDATA[Usage Stats]]></category>
		<category><![CDATA[View]]></category>
		<category><![CDATA[Vmware]]></category>

		<guid isPermaLink="false">http://dunnsept.wordpress.com/?p=68</guid>
		<description><![CDATA[I&#8217;ve completely re-written my application to gather more data on usage. Now I have access to real-time data on which apps users are running along with CPU utilization. Kind of interesting to see the numbers emerging from the data. As an example, top apps are Internet Explorer, Word, Firefox then trailing quite a bit behind [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=68&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve completely re-written my application to gather more data on usage. Now I have access to real-time data on which apps users are running along with CPU utilization. Kind of interesting to see the numbers emerging from the data.</p>
<p>As an example, top apps are Internet Explorer, Word, Firefox then trailing quite a bit behind Excel (Access was 6th, Visual Studio was 9th). One of the surprising things that came up is idle time. Seeing scrnsave.scr show up in the list of applications started me looking at how often the machines are sitting &#8216;idle&#8217; as evidenced by scrnsave.scr showing up in the application list. A quick bit of ts-sql showed that for about 11% of the logged-in time, scrnsave.scr was active. I need to let the new version run a bit longer to get a better idea what the average CPU utilization is.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dunnsept.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dunnsept.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dunnsept.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dunnsept.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dunnsept.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dunnsept.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dunnsept.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dunnsept.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dunnsept.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dunnsept.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dunnsept.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dunnsept.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dunnsept.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dunnsept.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=68&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dunnsept.wordpress.com/2011/06/15/desktop-usage-stats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8ee8bb608462809ff5b19bdd3b24ae6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dunnsept</media:title>
		</media:content>
	</item>
		<item>
		<title>VMware View usage statistics re-visited</title>
		<link>http://dunnsept.wordpress.com/2011/06/01/vmware-view-usage-statistics-re-visited/</link>
		<comments>http://dunnsept.wordpress.com/2011/06/01/vmware-view-usage-statistics-re-visited/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 21:16:11 +0000</pubDate>
		<dc:creator>dunnsept</dc:creator>
				<category><![CDATA[View]]></category>
		<category><![CDATA[Vmware]]></category>

		<guid isPermaLink="false">http://dunnsept.wordpress.com/?p=60</guid>
		<description><![CDATA[well, that didn&#8217;t take long. I&#8217;ve re-written my program that collects usage statistics on my view pools (any physical machines too.)  First thing I did was to generalize the program a little and set it up for command-line options. I can over-ride the default database and catalog settings on the command line if I wish [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=60&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>well, that didn&#8217;t take long. I&#8217;ve re-written my program that collects usage statistics on my view pools (any physical machines too.)  First thing I did was to generalize the program a little and set it up for command-line options. I can over-ride the default database and catalog settings on the command line if I wish (it currently uses a DSN-less connection to MSSQL server).</p>
<p>I setup a command line switch for data collection level. I can then set level equal to 1,2 or 3. At 1, the program will only record login, logout and View Broker URL, View Client IP and Client OS type. Level 2 is level 1 and the list of applications the user opened. Level 3 is level 2 along with average CPU utilization as a percent and eventually average memory used.</p>
<p>The View information comes out of the Volatile Environment reg key. This will be used to differentiate users connecting from on- or off-site. The CPU comes from System.Diagnostics.PerformanceCounters. CPU is accumulated every 3 seconds and then at logout or shutdown the CPU accumulator is divided by logged-in time/3. I&#8217;m not sure on how frequently to sample CPU at this point. I will probably set it up as another command-line switch to change frequency so I can do some testing to see what the best sample rate is. The minimum is 1 second per msdn, but that seems excessive. Average logged-in time for my users is 55 minutes which would be 3,300 samples. One of the things I don&#8217;t want to have happen is that my app skews any of the data collected, at least not skew it too badly.</p>
<p>so, as it stands I can run the program from an AD GPO and use command-line switches to control the functionality. It would look something like:  <em>datacol.exe -ds=mySQLserver -ic=mylabs -L=3</em></p>
<p>The exe is 24k for the release build and on my win7 test pool seems to start somewhere around 20meg of ram used. Over time this creeps up to about 30meg but then drops back down to 27.</p>
<p>I also have the program set to minimize to the system tray, ignore mouse clicks and not allow the user to terminate it. Almost seems like it&#8217;s getting to the point where it might make more sense to re-write as a service instead.</p>
<p>Comments/suggestions appreciated.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dunnsept.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dunnsept.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dunnsept.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dunnsept.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dunnsept.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dunnsept.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dunnsept.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dunnsept.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dunnsept.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dunnsept.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dunnsept.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dunnsept.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dunnsept.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dunnsept.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=60&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dunnsept.wordpress.com/2011/06/01/vmware-view-usage-statistics-re-visited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8ee8bb608462809ff5b19bdd3b24ae6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dunnsept</media:title>
		</media:content>
	</item>
		<item>
		<title>VMware View Usage statistics</title>
		<link>http://dunnsept.wordpress.com/2011/05/31/vmware-view-usage-statistics/</link>
		<comments>http://dunnsept.wordpress.com/2011/05/31/vmware-view-usage-statistics/#comments</comments>
		<pubDate>Tue, 31 May 2011 17:50:30 +0000</pubDate>
		<dc:creator>dunnsept</dc:creator>
				<category><![CDATA[View]]></category>
		<category><![CDATA[Vmware]]></category>

		<guid isPermaLink="false">http://dunnsept.wordpress.com/?p=52</guid>
		<description><![CDATA[My boss kept asking me for usage stats for our View installation. I looked at Stratusphere UX, which looks to be a great product, but at  $15,600 for 400 licenses, is out of our budget at this time. What to do, what to do?  Write my own, of course! While I&#8217;m not saying that my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=52&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My boss kept asking me for usage stats for our View installation. I looked at Stratusphere UX, which looks to be a great product, but at  $15,600 for 400 licenses, is out of our budget at this time. What to do, what to do?  Write my own, of course!</p>
<p>While I&#8217;m not saying that my homegrown app will come close to the functionality of Stratusphere, it does a decent job of tracking usage and see what apps are used and for how long. One other tidbit that comes up from the data is a list of applications that users leave open when they logoff or disconnect.</p>
<p>It is written in visual studio 2008 .net and uses Process.GetProcesses to enumerate any process that has a title set. This is stored in an array and a timer then checks every so often to see if the process is still running. If not, the stop time is recorded in the array. Once the user logsout, the app then calls some stored procs on a database server to dump all of the data.</p>
<p>The data has the machine name, userid of the person, date/time stamp for login, date/time stamp for logout, then in a different table it has all of the applications that the user ran along with date/time stamp for start and stop of the app.</p>
<p>With this data I can then use excel to analyze what&#8217;s going on, how long users are staying connected (55 mins on average) which applications they are running and for how long (IE, then excel then word are the most used). Then based on login/logout DTS I can plot usage by day and time<a href="http://dunnsept.files.wordpress.com/2011/05/view_usage.jpg"><img class="alignright size-thumbnail wp-image-53" title="view_usage" src="http://dunnsept.files.wordpress.com/2011/05/view_usage.jpg?w=150&#038;h=57" alt="" width="150" height="57" /></a>. So in the graph you can see that usage ramps up just after 8 am and then winds down again just afer 8 pm. Not the best program I&#8217;ve ever written but it sure has been handy to show the higher-ups some graphs and pictures to help justify View. Having the data for application usage helps too in that we can better leverage licensing (I know that SPSS was only used 20 times during the data gathering period and can track it back to specific users) <strong>NOTE</strong>: this was run on one small pool, hence the max concurrent of just over 100 users</p>
<p>While not a direct relacement for something like Stratusphere, I think that others can use in-house developed apps to get much of the same data in their own environments.</p>
<p>Up next: I will be re-writing the app to include connection broker URL, client IP and OS to help differentiate locally connected users and those connecting through a security gateway from off-site</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dunnsept.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dunnsept.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dunnsept.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dunnsept.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dunnsept.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dunnsept.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dunnsept.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dunnsept.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dunnsept.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dunnsept.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dunnsept.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dunnsept.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dunnsept.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dunnsept.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=52&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dunnsept.wordpress.com/2011/05/31/vmware-view-usage-statistics/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8ee8bb608462809ff5b19bdd3b24ae6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dunnsept</media:title>
		</media:content>

		<media:content url="http://dunnsept.files.wordpress.com/2011/05/view_usage.jpg?w=150" medium="image">
			<media:title type="html">view_usage</media:title>
		</media:content>
	</item>
		<item>
		<title>VMware View 4.5 real-time usage statistics pt2</title>
		<link>http://dunnsept.wordpress.com/2011/01/05/vmware-view-4-5-real-time-usage-statistics-pt2/</link>
		<comments>http://dunnsept.wordpress.com/2011/01/05/vmware-view-4-5-real-time-usage-statistics-pt2/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 19:21:09 +0000</pubDate>
		<dc:creator>dunnsept</dc:creator>
				<category><![CDATA[View]]></category>
		<category><![CDATA[Vmware]]></category>

		<guid isPermaLink="false">http://dunnsept.wordpress.com/?p=48</guid>
		<description><![CDATA[I have redone my trigger for pool-based usage stats. In looking through the event log table I found that there was not always an AGENT_DISCONNECTED record for all user logoff events. I don&#8217;t know if it is dependent upon whether the user logs off or just disconnects or what, but it seems like there are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=48&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have redone my trigger for pool-based usage stats. In looking through the event log table I found that there was not always an AGENT_DISCONNECTED record for all user logoff events. I don&#8217;t know if it is dependent upon whether the user logs off or just disconnects or what, but it seems like there are always BROKER_DESKTOP_REQUEST and AGENT_ENDED both of which contain the pool in a field called DESKTOPID.</p>
<p>So now I am basing my logic on those two types. If I get BROKER_DESKTOP_REQUESTED, I then get the count from the table based on that pool, then increment it. Same goes for the AGENT_ENDED event, I get the count from a table (which is pre-populated with pool names of course) and then decrement the count. Works great so far, but my users are not back in full swing yet so we&#8217;ll see how things go when there&#8217;s some real load on the View infrastructure.</p>
<p>So, to recap it looks like a View client login/logout shows up in the event table as follows:</p>
<ol>
<li>BROKER_USERLOGGEDIN</li>
<li>BROKER_DESKTOP_REQUEST</li>
<li>BROKER_MACHINE_ALLOCATED</li>
<li>AGENT_PENDING</li>
<li>AGENT_CONNECTED</li>
<li>BROKER_VC_ENABLED</li>
<li>BROKER_USERLOGGEDOUT</li>
<li>AGENT_ENDED</li>
<li>AGENT_SHUTDOWN</li>
</ol>
<p>This is on a floating pool with View Composer set to refresh the machine at logoff. I guess now only time will tell how well this works. The database server shouldn&#8217;t have a problem with the extra bit of load from the trigger.. I&#8217;m sure I&#8217;ll find out soon enough if it doesn&#8217;t work. Everyone knows where my office is <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dunnsept.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dunnsept.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dunnsept.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dunnsept.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dunnsept.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dunnsept.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dunnsept.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dunnsept.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dunnsept.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dunnsept.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dunnsept.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dunnsept.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dunnsept.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dunnsept.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=48&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dunnsept.wordpress.com/2011/01/05/vmware-view-4-5-real-time-usage-statistics-pt2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8ee8bb608462809ff5b19bdd3b24ae6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dunnsept</media:title>
		</media:content>
	</item>
		<item>
		<title>VMware View 4.5 real-time usage statistics</title>
		<link>http://dunnsept.wordpress.com/2011/01/04/vmware-view-4-5-real-time-usage-statistics/</link>
		<comments>http://dunnsept.wordpress.com/2011/01/04/vmware-view-4-5-real-time-usage-statistics/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 18:57:14 +0000</pubDate>
		<dc:creator>dunnsept</dc:creator>
				<category><![CDATA[View]]></category>
		<category><![CDATA[Vmware]]></category>

		<guid isPermaLink="false">http://dunnsept.wordpress.com/?p=42</guid>
		<description><![CDATA[I was somewhat disappointed by the lack of usage information from View 4.5. Specifically that I had to login to the admin side of a connection server to find out how many machines were in use out of a given pool. The data that View stores is in ADAM and in searching the net, I&#8217;ve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=42&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was somewhat disappointed by the lack of usage information from View 4.5. Specifically that I had to login to the admin side of a connection server to find out how many machines were in use out of a given pool.</p>
<p>The data that View stores is in ADAM and in searching the net, I&#8217;ve not found a good way to query that data. What I&#8217;d like to do is have a webpage that shows how many desktops are in use or available for a given pool.</p>
<p>I had already started parsing the View Event database for historical statistics (users per day, average length of time logged on, busiest days etc) but nowhere in there was an easy method to just go &#8220;hey, there are 75 people on right now&#8221;</p>
<p>What I came up with (this may or may not work in your environment) was to put an AFTER INSERT  trigger on the viewevent table. The trigger either increments or decrements a counter in a table on a remote-linked server that is accessible to my web server.</p>
<p>At this point I am not looking at specific pools, only overall usage. There are a few event types in the log table that you can use and it all depends on which one you want to pick as the definitive &#8220;a user logged on&#8221; event for the trigger:</p>
<ul>
<li>AGENT_CONNECTED</li>
<li>BROKER_DESKTOP_REQUEST</li>
<li>BROKER_USERLOGGEDIN</li>
</ul>
<p>For me, the most obvious seemed to be to base counts on the BROKER_USERLOGGED -IN and -OUT event types. The issue with these is that in the record, neither the pool nor the desktop are listed. Only the userid of the person logging in and the name of the View Connection server. If you based your trigger on the &#8220;AGENT_CONNECTED&#8221; event type, you have the name of the user and the name of the responding desktop. If you use BROKER_DESKTOP_REQUEST then you have the name of the pool.</p>
<p>I didn&#8217;t want to make my trigger complex at this point so I am just getting an overall/aggregate usage for all pools.</p>
<p>Basically my trigger is as follows (note, I removed the linked server name and some other specific data, this code is NOT guaranteed to run as-is or at all):<br />
<code>set ANSI_NULLS ON<br />
set QUOTED_IDENTIFIER ON<br />
go<br />
--written by Paul Dunn<br />
--(C) 2011<br />
--will increment/decrement a counter for view usage based on event type<br />
--in the viewevent table<br />
--dunnsept@gmail.com<br />
ALTER TRIGGER [test1]    ON  [dbo].[viewevent]  <br />
  AFTER insert<br />
AS<br />
declare @etype as varchar(50),<br />
 @count as int<br />
BEGIN<br />
 -- SET NOCOUNT ON added to prevent extra result sets from<br />
 -- interfering with SELECT statements.  <br />
SET NOCOUNT ON;  <br />
select @etype = [EventType] from inserted  <br />
select @count = (select num from view_usage where poolid = 1)  <br />
  if @etype = 'BROKER_USERLOGGEDIN'<br />
 BEGIN   <br />
update view_usage set num = (@COUNT + 1)<br />
 END<br />
  ELSE<br />
  if @etype = 'BROKER_USERLOGGEDOUT'<br />
  BEGIN  <br />
 if @count&gt; 0   <br />
 BEGIN      <br />
update view_usage set num = (@COUNT - 1)  <br />
  END  <br />
 END  <br />
 set NOCOUNT OFF;<br />
 END</code><br />
Now all I have to do it query that value in the table and display it on the page. I have the tables setup so that I can track usage by pool, which makes more sense than all users, but this is a start at least. This should also help get others off my case as I run View 4.5 pools for 3 other departments besides my own and now I don&#8217;t have to give them access to the admin side for them to see the usage on their pools.</p>
<p>I am going to re-write this eventually so that it will be pool-based, shouldn&#8217;t be that big of a deal, just means using a different event type in the table and parsing out the name of the pool. Could even go so far as to grab the name of the logged in user, although at this point I don&#8217;t see much use for that.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dunnsept.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dunnsept.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dunnsept.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dunnsept.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dunnsept.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dunnsept.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dunnsept.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dunnsept.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dunnsept.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dunnsept.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dunnsept.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dunnsept.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dunnsept.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dunnsept.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=42&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dunnsept.wordpress.com/2011/01/04/vmware-view-4-5-real-time-usage-statistics/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8ee8bb608462809ff5b19bdd3b24ae6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dunnsept</media:title>
		</media:content>
	</item>
		<item>
		<title>VMware View 4.5 pool re-compose storage throughput</title>
		<link>http://dunnsept.wordpress.com/2010/10/01/vmware-view-4-5-pool-re-compose-storage-throughput/</link>
		<comments>http://dunnsept.wordpress.com/2010/10/01/vmware-view-4-5-pool-re-compose-storage-throughput/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 22:31:51 +0000</pubDate>
		<dc:creator>dunnsept</dc:creator>
				<category><![CDATA[Storage]]></category>
		<category><![CDATA[View]]></category>
		<category><![CDATA[Vmware]]></category>

		<guid isPermaLink="false">http://dunnsept.wordpress.com/?p=36</guid>
		<description><![CDATA[I just upgraded my VMware View 4.5 RC to GA. After upgrading the Connection servers, and then composer, I updated the agent on the master image for the pool. Keep in mind this cluster is only running on 4 servers. Somehow the bid &#8211; purchase process got screwed up and my 10 new servers never [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=36&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just upgraded my VMware View 4.5 RC to GA. After upgrading the Connection servers, and then composer, I updated the agent on the master image for the pool.</p>
<p>Keep in mind this cluster is only running on 4 servers. Somehow the bid &#8211; purchase process got screwed up and my 10 new servers never showed. Of course that pricing is now no longer valid.. waiting on 6 HP DL387s. Oh well.</p>
<p>So, I told View to recompose the pool at 17:53. Pool consists of 100 Windows XP SP3 as linked clones. The ESX servers are connected to a Sun 7410. 2GB aggr from servers to Cisco switches with 4GB aggr to 7410 head.</p>
<p>According to View MGR the complete pool re-compose took 37 minutes. The SUN shows a peak of 9,898 NFS ops/sec. I didn&#8217;t add Latency to the Analytics page until part way through, but latencies stayed well below the 15mS mark. In the screen shot that highlights the NFS Ops peak you can see how most of the latencies are at the 0uS mark (zero).. so they are between zero and 1mS.<a href="http://dunnsept.files.wordpress.com/2010/10/view_pool_recompose.jpg"><img class="alignnone size-thumbnail wp-image-37" title="view_pool_recompose" src="http://dunnsept.files.wordpress.com/2010/10/view_pool_recompose.jpg?w=150&#038;h=60" alt="" width="150" height="60" /></a></p>
<p>There is still a bit of NFS traffic on there, it didn&#8217;t drop off really low as that was VCenter migrating the desktops around to re-loadbalance.</p>
<p>Now at 18:33 the SUN shows NFS down to &lt; 100 ops/sec so all-in-all I&#8217;d say 45 minutes total for a 100 desktop pool re-compose. I exported the data from the SUN and a quick look shows an average of 2,849.3 ops/sec over the time the re-compose was running</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dunnsept.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dunnsept.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dunnsept.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dunnsept.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dunnsept.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dunnsept.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dunnsept.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dunnsept.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dunnsept.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dunnsept.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dunnsept.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dunnsept.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dunnsept.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dunnsept.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=36&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dunnsept.wordpress.com/2010/10/01/vmware-view-4-5-pool-re-compose-storage-throughput/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8ee8bb608462809ff5b19bdd3b24ae6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dunnsept</media:title>
		</media:content>

		<media:content url="http://dunnsept.files.wordpress.com/2010/10/view_pool_recompose.jpg?w=150" medium="image">
			<media:title type="html">view_pool_recompose</media:title>
		</media:content>
	</item>
		<item>
		<title>vscsiStats during an SAP Client Copy</title>
		<link>http://dunnsept.wordpress.com/2010/03/11/vscsistats-during-an-sap-client-copy/</link>
		<comments>http://dunnsept.wordpress.com/2010/03/11/vscsistats-during-an-sap-client-copy/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 21:00:35 +0000</pubDate>
		<dc:creator>dunnsept</dc:creator>
				<category><![CDATA[SAP]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Vmware]]></category>

		<guid isPermaLink="false">http://dunnsept.wordpress.com/?p=23</guid>
		<description><![CDATA[I gathered some vscsiStats during an SAP ECC 6.0 Client 0 copy this morning.  I did this because I wanted to not only see how my storage subsystem was handling the load, but also to test out the new version of the Excel Macro Matt and I had worked on. This is a fresh Oracle [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=23&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I gathered some vscsiStats during an SAP ECC 6.0 Client 0 copy this morning.  I did this because I wanted to not only see how my storage subsystem was handling the load, but also to test out the new version of the <a href="http://dunnsept.wordpress.com/2010/03/11/new-vscsistats-excel-macro/">Excel Macro</a> Matt and I had worked on.</p>
<p>This is a fresh Oracle based SAP ECC 6.0 install. There are already 2 IDES clients in place and this client copy will be for a BPI client for the summer.  Build details:</p>
<ul>
<li>Windows 2003 x64</li>
<li>16gig ram</li>
<li>60gig C, 500gig data partition</li>
<li>Quad Xeon 2.9Ghz</li>
</ul>
<p>All running on ESX 4.0 on a Sun Blade x6250 in a 6000 chassis, storage provided by a Sun 7410C.</p>
<p>As soon as  I had the job scheduled I started gathering vscsiStats on the box. I collected stats for the length of time it took for the client copy to complete; 110 minutes.</p>
<p>The HTML output of the Excel Macro is viewable as <a href="http://dunnsept.files.wordpress.com/2010/03/index45581.pdf">index4558</a> . Note that unlike the HTML original you can&#8217;t click on anything in the PDF.</p>
<p>Starting to process the data. In the first chart you can see that the mean block size is 8k <a href="http://dunnsept.files.wordpress.com/2010/03/iolength-8208.png"><img class="alignnone size-thumbnail wp-image-25" title="IOLength 8208" src="http://dunnsept.files.wordpress.com/2010/03/iolength-8208.png?w=150&#038;h=109" alt="" width="150" height="109" /></a></p>
<p>The latency is generally  between 5msec and 15msec. Keep in mind this is a combination of read and write. I think my read cache is keeping up but once in a while the writes are overrunning write cache. The storage has 200GB read cache per head and 3x 18GB write SSDs per storage pool.<a href="http://dunnsept.files.wordpress.com/2010/03/latency-8208.png"><img class="alignnone size-thumbnail wp-image-33" title="Latency 8208" src="http://dunnsept.files.wordpress.com/2010/03/latency-8208.png?w=150&#038;h=109" alt="" width="150" height="109" /></a></p>
<p>At the same time I was collecting vscsiStats, I had Sun Storage Analytics open. Overall the client copy moved about 50GB of data in 110 minutes. In this view of Sun Analytics you can see the effect of the client copy with the highlighted peak at 10,341 NFSv3 Ops per sec<a href="http://dunnsept.files.wordpress.com/2010/03/sap_client_copy.jpg"><img class="alignnone size-thumbnail wp-image-28" title="sap_client_copy" src="http://dunnsept.files.wordpress.com/2010/03/sap_client_copy.jpg?w=150&#038;h=77" alt="" width="150" height="77" /></a></p>
<p>Overall in this graph you can see the impact of the client copy on storage, I&#8217;ve added an arrow to the time when I started the client copy job. This screenshot does not go out to the end of the copy, but traffic quiets right down when the job finished <a href="http://dunnsept.files.wordpress.com/2010/03/sun_analytics-sapclientcopy.jpg"><img class="alignnone size-thumbnail wp-image-29" title="sun_analytics-sapclientcopy" src="http://dunnsept.files.wordpress.com/2010/03/sun_analytics-sapclientcopy.jpg?w=150&#038;h=110" alt="" width="150" height="110" /></a></p>
<p>Overall in the 110 minutes of the client copy, 30GB written, 18GB read</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dunnsept.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dunnsept.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dunnsept.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dunnsept.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dunnsept.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dunnsept.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dunnsept.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dunnsept.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dunnsept.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dunnsept.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dunnsept.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dunnsept.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dunnsept.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dunnsept.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=23&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dunnsept.wordpress.com/2010/03/11/vscsistats-during-an-sap-client-copy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8ee8bb608462809ff5b19bdd3b24ae6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dunnsept</media:title>
		</media:content>

		<media:content url="http://dunnsept.files.wordpress.com/2010/03/iolength-8208.png?w=150" medium="image">
			<media:title type="html">IOLength 8208</media:title>
		</media:content>

		<media:content url="http://dunnsept.files.wordpress.com/2010/03/latency-8208.png?w=150" medium="image">
			<media:title type="html">Latency 8208</media:title>
		</media:content>

		<media:content url="http://dunnsept.files.wordpress.com/2010/03/sap_client_copy.jpg?w=150" medium="image">
			<media:title type="html">sap_client_copy</media:title>
		</media:content>

		<media:content url="http://dunnsept.files.wordpress.com/2010/03/sun_analytics-sapclientcopy.jpg?w=150" medium="image">
			<media:title type="html">sun_analytics-sapclientcopy</media:title>
		</media:content>
	</item>
		<item>
		<title>New vscsiStats Excel Macro</title>
		<link>http://dunnsept.wordpress.com/2010/03/11/new-vscsistats-excel-macro/</link>
		<comments>http://dunnsept.wordpress.com/2010/03/11/new-vscsistats-excel-macro/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 19:59:56 +0000</pubDate>
		<dc:creator>dunnsept</dc:creator>
				<category><![CDATA[Storage]]></category>
		<category><![CDATA[Vmware]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[vscsistats]]></category>

		<guid isPermaLink="false">http://dunnsept.wordpress.com/?p=17</guid>
		<description><![CDATA[I wrote an Excel Macro to process vscsiStats data and turn it into pretty charts &#38; graphs. I shared that macro with my friend Matt Kelliher and after showing him how to use it, he suggested and made a modification to it. The latest version will still process the data and create charts but then [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=17&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wrote an Excel Macro to process vscsiStats data and turn it into pretty charts &amp; graphs. I shared that macro with my friend Matt Kelliher and after showing him how to use it, he suggested and made a modification to it. The latest version will still process the data and create charts but then it will also export the charts as PNG, create an HTML file and put thumbnails of the charts in. You can then click on any of the charts for a full-screen view. Handy method of presenting the data in a concise format.</p>
<p>Let me know what you think of the file, you may download a copy <a href="http://dunnsept.files.wordpress.com/2010/03/vscsistats.pdf">here</a>. You are welcome to download and use this macro but please leave the comments at the top (feel free to buy us a beer or two too)</p>
<p>This macro has been tested in Excel 2007 and 2010 beta. I must say though,  it runs much more slowly in these than in 2003.</p>
<p>Note: SAVE your spreadsheet first before running this version of the macro, it uses the current save location as the starting point for creating the HTML and saving the images.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dunnsept.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dunnsept.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dunnsept.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dunnsept.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dunnsept.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dunnsept.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dunnsept.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dunnsept.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dunnsept.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dunnsept.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dunnsept.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dunnsept.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dunnsept.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dunnsept.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=17&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dunnsept.wordpress.com/2010/03/11/new-vscsistats-excel-macro/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8ee8bb608462809ff5b19bdd3b24ae6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dunnsept</media:title>
		</media:content>
	</item>
		<item>
		<title>Vmware Performance</title>
		<link>http://dunnsept.wordpress.com/2010/02/19/vmware-performance/</link>
		<comments>http://dunnsept.wordpress.com/2010/02/19/vmware-performance/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 15:15:08 +0000</pubDate>
		<dc:creator>dunnsept</dc:creator>
				<category><![CDATA[Storage]]></category>
		<category><![CDATA[Vmware]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[view manager]]></category>

		<guid isPermaLink="false">http://dunnsept.wordpress.com/?p=12</guid>
		<description><![CDATA[I posted yesterday that I was seeing a huge amount of storage traffic on my View Manager box. Turns out that it was due to two things: a snapshot and vswp. This morning I checked a few settings before proceeding. According to VCenter, the view manager box only had 600meg of ram allocated, but task manager [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=12&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I posted yesterday that I was seeing a huge amount of storage traffic on my View Manager box. Turns out that it was due to two things: a snapshot and vswp.</p>
<p>This morning I checked a few settings before proceeding. According to VCenter, the view manager box only had 600meg of ram allocated, but task manager on that windows 2k3 showed 2.9Gig in use and committed, mainly pagefile. Strange, why the disconnect between the two?</p>
<p>It turns out that when the resource pool was created for the view manager server, the reservations were never changed.  The pool had a default memory reservation of 600meg. (all set by someone else I might add). So in looking at the pool, the ESX host was only giving the view manager server 600 meg of physical ram, and was using a vswp file to make up for the rest of the 2gig allocation.</p>
<p>I shut the server down, removed it from the resource pool, set the reservation on the pool higher, put the server back in then set a reservation on the server itself that matched it&#8217;s allocated physical ram.</p>
<p>At the same time, in Vcenter I deleted the snapshot that was in place. The snap was just over 3gig so it didn&#8217;t take too long to merge it back in.</p>
<p>After all of this finished, I went back into the Sun storage analytics. What an amazing change!</p>
<p><a href="http://dunnsept.files.wordpress.com/2010/02/sun_analytics2.jpg"><img class="alignnone size-full wp-image-13" title="sun_analytics2" src="http://dunnsept.files.wordpress.com/2010/02/sun_analytics2.jpg?w=600" alt=""   /></a></p>
<p>You can see shaded in yellow the combined traffic to storage just from the view manager&#8217;s delta and vswp files. The data point highlighted in the graph shows 3122 ops per sec to the swap file and 225 to the delta.</p>
<p>Notice how the overall NFS traffic drops pretty drastically after about 9:25.  The vswp file is empty now and the machine&#8217;s task manager shows very little page file usage.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dunnsept.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dunnsept.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dunnsept.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dunnsept.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dunnsept.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dunnsept.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dunnsept.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dunnsept.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dunnsept.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dunnsept.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dunnsept.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dunnsept.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dunnsept.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dunnsept.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dunnsept.wordpress.com&amp;blog=12118364&amp;post=12&amp;subd=dunnsept&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dunnsept.wordpress.com/2010/02/19/vmware-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8ee8bb608462809ff5b19bdd3b24ae6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dunnsept</media:title>
		</media:content>

		<media:content url="http://dunnsept.files.wordpress.com/2010/02/sun_analytics2.jpg" medium="image">
			<media:title type="html">sun_analytics2</media:title>
		</media:content>
	</item>
	</channel>
</rss>
