<?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>adam mokan &#187; sql server</title>
	<atom:link href="http://www.adammokan.com/category/microsoft/sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adammokan.com</link>
	<description>ramblings of a software developer, mad scientist, geek, and father</description>
	<lastBuildDate>Tue, 22 Nov 2011 19:11:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>TFS2010RC project update</title>
		<link>http://www.adammokan.com/2010/04/11/tfs2010rc-project-update/</link>
		<comments>http://www.adammokan.com/2010/04/11/tfs2010rc-project-update/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 06:44:16 +0000</pubDate>
		<dc:creator>adam.mokan</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[server virtualization]]></category>
		<category><![CDATA[sharepoint 2010]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[team foundation server]]></category>
		<category><![CDATA[tfs2010]]></category>

		<guid isPermaLink="false">http://www.adammokan.com/2010/04/11/tfs2010rc-project-update/</guid>
		<description><![CDATA[The latest update on my Team Foundation Server 2010 RC project.
]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re on the eve of the RTM release of Team Foundation Server 2010 and I&#8217;ve been messing with an installation at home and one at work for a couple months now.</p>
<p>My current work setup is:</p>
<ul>
<li>VM server #1 (single CPU VM, Win Server 2008R2, 6gb RAM) &#8211; TFS server, Sharepoint Services, SQL 2008 Standard</li>
<li>VM server #2 (single CPU VM, Win Server 2008R2, 4gb RAM) &#8211; Reporting Services and Data Analysis server</li>
<li>Desktop PC (dual core proc, XP SP3, 2gb RAM) &#8211; build controller and two build agents</li>
</ul>
<p>I&#8217;m currently hosting five different project collections on this setup. My department&#8217;s &#8220;production&#8221; collection is the most active with around six TFS &#8220;projects&#8221; and a little over 500 work items. It&#8217;s mostly new development that is going into the TFS stack but I&#8217;ve been so busy with emergency work during the day and meetings that I&#8217;ve not been able to provide much guidance in regards to migration from the old VCS to TFS.</p>
<p><strong><span style="font-size: 14px;">What have I learned?</span></strong></p>
<ul>
<li>Security can be a nightmare as there are TONS of moving parts between Sharepoint, TFS, SQL, Reporting Services, and Data Analysis. My approach is to leverage domain groups and create matching groups in the various services. Then to add/remove someone you just go through the domain admins rather than adjusting everything in multiple places across the technology stack. But, this is still a lot more work than it should be, in my opinion. I cannot imagine properly administering this in an environment with thousands of users. I hope a power tool is released or some sort of centralized admin tool is created by someone.</li>
<li>I have a lot more respect for Sharepoint now. I&#8217;ve always been involved with Sharepoint from outside the department that administers it. I&#8217;ve created a couple web parts at a previous job and fought with overly possessive and territorial admins, which made life a nightmare. Being able to see the inner workings of Sharepoint and figure out the admin side has made me realize there is a lot more to the product than meets the eye. I&#8217;d like to take time to preview Sharepoint 2010 in the near future as it seems like they&#8217;re really pushing it as a &#8220;platform&#8221; rather than a content management system.</li>
<li>Despite the positives I&#8217;ve found in Sharepoint, the integration between TFS/Test Manager and Sharepoint just doesn&#8217;t feel right in some spots. It seems like there is a lot of missing feedback from things like builds and the testing environment that don&#8217;t make it back into the portal by default. I&#8217;ll list some examples at some point down the road. I just feel like you have to click through too many work items often to find the results or something.</li>
</ul>
<p><strong><span style="font-size: 14px;">What&#8217;s next?</span></strong></p>
<p><strong>A custom project template for my department. </strong></p>
<ul>
<li><span>We&#8217;re not quite &#8220;agile&#8221;, but I&#8217;m leaning things that way. So, I want to leverage what is in the agile template for 2010, but add or remove a couple items.</span></li>
</ul>
<p><strong>Integration with an outside work request/ticket system.</strong></p>
<ul>
<li>There are a lot of big companies out there in bed with Computer Associates/CA. We have a Service Desk system in place at the corporate level and groups are being pushed heavy towards that for tickets and requests. However, there is an initiative to migrate source control and other project artifacts to TFS. Obviously, this will be an issue when you&#8217;re going through your development/support life-cycle and you have no traceability of work items, since they&#8217;d be in Service Desk. In my opinion, without work items in TFS, you really don&#8217;t gain much other than a better VCS than SourceSafe. I have some tech info on the web services for the CA product and have started to wire up a link between the two.</li>
</ul>
<p><strong>Evaluation of the </strong><a title="http://scrumforteamsystem.com" href="http://scrumforteamsystem.com" target="_blank"><strong>Scrum for Team System</strong></a><strong> template.</strong></p>
<ul>
<li><strong><span style="font-size: 14px;"><span style="font-weight: normal; line-height: 15px; font-size: 13px;">Other groups evaluating my TFS implementation are using a full-blown Scrum methodology.</span></span></strong></li>
</ul>
<p><strong>Some sort of time-tracking tool integrated into TFS that links time to work items.</strong></p>
<ul>
<li>This is a controversial one when you look around the blogs.</li>
<li>Personally, I have such a chaotic schedule during the day and support over 500 users across 50+ &#8220;applications&#8221; which range from large web applications for payroll to single-page legacy ASPX apps I support. I&#8217;d like to say the process for support requests or emergencies is controlled, but the fact is we are understaffed like most groups. By the time 3 or 4pm hits, I often am scratching my head about where the majority of my day went. And when you add a handful of meetings each week, it gets really out of hand. So, I want to make it clear that I want time tracking for myself. Not some big brother, &#8220;how long is your ass in the seat&#8221;, time-tracking.</li>
<li>I really like the little time tracking tool that you can download and use with <a href="http://www.paymo.biz/" target="_blank">Paymo</a>, a free time-tracking/invoice web app I&#8217;ve used for side projects. I&#8217;d like to make some simple little toolbar widget that has a list of work items assigned to you in TFS and a timer start/stop. There are some other features I have in mind, but it would allow me to keep a more realistic overview of what I actually did each week. I currently rely on my Outlook calendar (which looks like a bad game of Tetris) and old emails; but those techniques are hardly accurate.</li>
</ul>
<p><strong><em>And finally&#8230; update to 2010 RTM. Which comes out around 10am PST tomorrow!!!</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.adammokan.com/2010/04/11/tfs2010rc-project-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing SQL Server memory utilization on my TFS server</title>
		<link>http://www.adammokan.com/2010/03/17/changing-sql-server-memory-utilization-on-my-tfs-server/</link>
		<comments>http://www.adammokan.com/2010/03/17/changing-sql-server-memory-utilization-on-my-tfs-server/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 23:36:39 +0000</pubDate>
		<dc:creator>adam.mokan</dc:creator>
				<category><![CDATA[sql server]]></category>
		<category><![CDATA[team foundation server]]></category>
		<category><![CDATA[tfs2010]]></category>

		<guid isPermaLink="false">http://www.adammokan.com/2010/03/17/changing-sql-server-memory-utilization-on-my-tfs-server/</guid>
		<description><![CDATA[In a follow up to my earlier post on TFS2010 and memory utilization on a VM (found here), I have applied the following setting to my SQL2008 instance and I&#8217;m restricting SQL to 1.5gb of RAM (out of 4gb). I feel this should be plenty for my small amount of usage. EXEC sp_configure 'show advanced [...]]]></description>
			<content:encoded><![CDATA[<p>In a follow up to my earlier post on TFS2010 and memory utilization on a VM (found <a title="TFS2010 on a VM - Memory Considerations" href="http://www.adammokan.com/2010/03/17/tfs2010-on-a-vm-memory-considerations/">here</a>), I have applied the following setting to my SQL2008 instance and I&#8217;m restricting SQL to 1.5gb of RAM (out of 4gb). I feel this should be plenty for my small amount of usage.</p>
<pre class="brush: sql;">EXEC sp_configure 'show advanced options', 1
RECONFIGURE WITH OVERRIDE
/* set server to 1.5gb */
EXEC sp_configure 'max server memory (MB)', 1536
RECONFIGURE WITH OVERRIDE</pre>
<p>After running the command (and replacing the value with whatever you decide to use), you can run a command to check the &#8220;config_value&#8221; and &#8220;run_value&#8221; to make sure it is actually using your settings.</p>
<pre class="brush: sql;">EXEC sp_configure 'max server memory (MB)'</pre>
<p><a href="http://www.adammokan.com/wp-content/uploads/2010/03/sqlmemory.png"><img src="http://www.adammokan.com/wp-content/uploads/2010/03/sqlmemory.png" alt="" title="sqlmemory" width="450" height="90" class="alignnone size-full wp-image-18" /></a></p>
<p>Seems to be working out alright right now, but I do have to run a perfmon on the I/O usage to see how much paging may be occurring during heavy hits, like setting up a new TFS project.</p>
<p>Figure this may be an option for those of you setting up TFS on a PC or machine without a ton of RAM available. And, in all reality, this is more of a SQLServer config issue than Team Foundation Server item.</p>
<p>If you&#8217;re a SQL2008 guru and I committed a major sin by making this change, drop me a note with some ideas, please. I know there is a resource governor in 2008, but my understanding is that it is only available on the Enterprise, Dev, and Eval versions. Since I&#8217;m running SQL2008 Standard Edition, I looked at other options.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.adammokan.com/2010/03/17/changing-sql-server-memory-utilization-on-my-tfs-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ELMAH = awesome</title>
		<link>http://www.adammokan.com/2009/12/02/elmah-awesome/</link>
		<comments>http://www.adammokan.com/2009/12/02/elmah-awesome/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 07:00:00 +0000</pubDate>
		<dc:creator>adam.mokan</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[asp.net mvc]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[elmah]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://www.adammokan.com/2009/12/02/elmah-awesome/</guid>
		<description><![CDATA[So, I&#39;m a bit late to the game on this. But ELMAH (Error Logging Modules and Handlers) is awesome. Basically just drop the dll in your bin folder on your project and adjust your web.config. It handles your error handling and logging automatically. Very slick. I got it in place today on a couple apps [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#39;m a bit late to the game on this. But <a href="http://elmah.googlecode.com/">ELMAH</a> (Error Logging Modules and Handlers) is awesome.<br />
Basically just drop the dll in your bin folder on your project and adjust your web.config. It handles your error handling and logging automatically. Very slick.<br />
I got it in place today on a couple apps (ASP.NET webforms and ASP.NET MVC 2) and it writes to a SQL database (one of many options for logging).<br />
But, as with most things I mess with, its not enough (and not its own fault). I have an internal system already in place for tracking and managing our applications. I setup the ELMAH table in the same database as my tracking app and want to have a way to tie them together. So, now I am modifying the Error.cs class in the Elmah source to allow me to put the ApplicationID in the web.config so I can query the Elmah error table in relation to my existing application metrics.<br />
I highly recommend checking this little utility out if you&#39;re doing .NET development.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.adammokan.com/2009/12/02/elmah-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

