<?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>rebelpeon.com</title>
	<atom:link href="http://www.rebelpeon.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rebelpeon.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 00:03:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Find PID of Application Using a Port</title>
		<link>http://www.rebelpeon.com/find-pid-of-application-using-a-port/</link>
		<comments>http://www.rebelpeon.com/find-pid-of-application-using-a-port/#comments</comments>
		<pubDate>Tue, 15 May 2012 00:03:08 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[synology]]></category>

		<guid isPermaLink="false">http://www.rebelpeon.com/?p=5996</guid>
		<description><![CDATA[Best way to do it is to run the command netstat -lnptu &#124; grep :&#60;port#&#62; This will give you the PID of the service, and then you can run kill &#60;PID&#62; or kill -9 &#60;PID&#62; if just a regular kill doesn't work.]]></description>
			<content:encoded><![CDATA[<p>Best way to do it is to run the command</p>
<p style="padding-left: 30px;">netstat -lnptu | grep :&lt;port#&gt;</p>
<p>This will give you the PID of the service, and then you can run</p>
<p style="padding-left: 30px;">kill &lt;PID&gt;</p>
<p>or</p>
<p style="padding-left: 30px;">kill -9 &lt;PID&gt;</p>
<p>if just a regular kill doesn't work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rebelpeon.com/find-pid-of-application-using-a-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>United System Wide Upgrades</title>
		<link>http://www.rebelpeon.com/united-system-wide-upgrades/</link>
		<comments>http://www.rebelpeon.com/united-system-wide-upgrades/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 02:47:43 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.rebelpeon.com/?p=5992</guid>
		<description><![CDATA[As I can't find this nicely spelled out anywhere, here are the economy fare class codes that you need to book to ensure you can use your system wide upgrades on any flight: Y, B, M, E, U, H, Q, V, W.  And for Business: J, C, D.  This is especially true for those of us flying [...]]]></description>
			<content:encoded><![CDATA[<p>As I can't find this nicely spelled out anywhere, here are the economy fare class codes that you need to book to ensure you can use your system wide upgrades on any flight: <strong>Y, B, M, E, U, H, Q, V, W</strong>.  And for Business: <strong>J, C, D</strong>.  This is especially true for those of us flying in and out of Australia...</p>
<p>1 <a href="http://pss.united.com/web/en-US/content/mileageplus/awards/upgrade/default.aspx">http://pss.united.com/web/en-US/content/mileageplus/awards/upgrade/default.aspx</a></p>
<p>2 <a href="http://www.united.com/web/en-US/content/booking/flight/fareClass.aspx">http://www.united.com/web/en-US/content/booking/flight/fareClass.aspx</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rebelpeon.com/united-system-wide-upgrades/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nopCommerce Install</title>
		<link>http://www.rebelpeon.com/nopcommerce-install/</link>
		<comments>http://www.rebelpeon.com/nopcommerce-install/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 05:36:45 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.rebelpeon.com/?p=5988</guid>
		<description><![CDATA[The other day I was playing around with nopCommerce.  There was some talk about it internally, and I thought I'd see what it was all about.  I didn't get very far, and realized the installation instructions were definitely missing a few steps.  The guys over there have outlined most of the steps in the documentation, [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I was playing around with <a href="http://www.nopcommerce.com">nopCommerce</a>.  There was some talk about it internally, and I thought I'd see what it was all about.  I didn't get very far, and realized the installation instructions were definitely missing a few steps.  The guys over there have outlined most of the steps in <a href="http://www.nopcommerce.com/docs/79/installing-nopcommerce.aspx">the documentation</a>, but they've forgotten a few:</p>
<ol>
<li>Ensure that your worker process (what the AppPool runs under) has the ability to create a database if you check the box <strong>Create database if it doesn't exist.</strong></li>
<li>How to access the installation page.  You need to browse to http://site/views/install/default.aspx</li>
</ol>
<p>There are other <a href="http://www.troyhunt.com/2011/12/free-ebook-owasp-top-10-for-net.html">OWASP</a> and scalability best practices that I may go into later if I really dig down further, but three that immediately come out:</p>
<ol>
<li>Unencrypted DB Connection string info</li>
<li>compilation debug="true" being set in the web.config</li>
<li>Single DB</li>
</ol>
<p>Currently reading: <a href="http://www.amazon.com/1Q84-ebook/dp/B004LROUW2?SubscriptionId=AKIAIHQ2CPZ56SAVFU7A&tag=rebelpeoncom-20" target="_blank" rel="nofollow" title="" ><img src="http://ecx.images-amazon.com/images/I/51YrPo-LuUL._SL75_.jpg" alt="1Q84" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rebelpeon.com/nopcommerce-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synology DS1511+ and Crontab</title>
		<link>http://www.rebelpeon.com/synology-ds1511-and-crontab/</link>
		<comments>http://www.rebelpeon.com/synology-ds1511-and-crontab/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 22:11:49 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[synology]]></category>

		<guid isPermaLink="false">http://www.rebelpeon.com/?p=5984</guid>
		<description><![CDATA[I've added an rsync job to my crontab file in order to backup all my websites I have being served from Dreamhost (including this one).  The specific job is set to run every night at midnight starting last night.  Unfortunately, it didn't run. This is because the crontab service needs to be recycled in order [...]]]></description>
			<content:encoded><![CDATA[<p>I've added an rsync job to my crontab file in order to backup all my websites I have being served from Dreamhost (including this one).  The specific job is set to run every night at midnight starting last night.  Unfortunately, it didn't run.</p>
<p>This is because the crontab service needs to be recycled in order to grab the new jobs (also, don't update your DSM, because that seems to blow it away).  As this is a non-standard linux distro, you need to restart crontab the following way:</p>
<p style="padding-left: 30px;">/usr/syno/etc.defaults/rc.d/S04crond.sh stop<br />
/usr/syno/etc.defaults/rc.d/S04crond.sh start</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rebelpeon.com/synology-ds1511-and-crontab/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Synology Plex Media Server and Samsung Smart TV Client</title>
		<link>http://www.rebelpeon.com/synology-plex-media-server-and-samsung-smart-tv-client/</link>
		<comments>http://www.rebelpeon.com/synology-plex-media-server-and-samsung-smart-tv-client/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 12:16:39 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[synology]]></category>

		<guid isPermaLink="false">http://www.rebelpeon.com/?p=5975</guid>
		<description><![CDATA[This one wasn't completely obvious, but I think I've managed to figure it out.  It at least appears to be working correctly, assuming it continues to work a bit better after the media scan is complete. Steps for the Server: Grab the spk from http://www.plexapp.com/linux/linux-pms-download.php. Log into DSM and in Package Installer, install the downloaded spk. [...]]]></description>
			<content:encoded><![CDATA[<p>This one wasn't completely obvious, but I think I've managed to figure it out.  It at least appears to be working correctly, assuming it continues to work a bit better after the media scan is complete.</p>
<p>Steps for the Server:</p>
<ol>
<li>Grab the spk from <a href="http://www.plexapp.com/linux/linux-pms-download.php">http://www.plexapp.com/linux/linux-pms-download.php</a>.</li>
<li>Log into DSM and in Package Installer, install the downloaded spk.</li>
<li>After it is installed, visit the website at http://&lt;nas-server&gt;:32400.  It doesn't look like the shortcut that is created works.</li>
<li>Add in the locations to your media.</li>
</ol>
<p>The steps for the Client on a Samsung TV with SmartHub is broken up into two options: installer hosted on your own server, or on someone elses.  It doesn't matter where you get the installer from, as you can specify the Plex Server after the application is installed.</p>
<p>Hosted on your NAS:</p>
<ol>
<li>In Control Panel, enable web station under web services</li>
<li>Copy the installer (<a href="http://www.rebelpeon.com/files/2012/01/Plex_Laika_0954_America_20111114.zip">link</a>) to the web share that was created in step 1</li>
<li>Copy the widgetlist.xml (<a href="http://www.rebelpeon.com/files/2012/01/widgetlist.zip">link</a>) to the web share that was created in step 1</li>
<li>Edit the widgetlist.xml to contain the IP of your NAS (or the URL where the installer is located)</li>
<li>On the TV, open the Smart Hub</li>
<li>Log in as a different user (A/red button)</li>
<ul>
<li>User: develop</li>
<li>Password: 123456</li>
</ul>
<li>Click the Settings button (D/blue button)</li>
<li>Select Development</li>
<li>Set the Server IP to that of your NAS</li>
<li>Select User Application Synchronisation</li>
<li>Once the installation is finished, restart your TV</li>
<li>Visit SmartHub and Plex is installed.</li>
<li>Point Plex at your Plex Media server.</li>
</ol>
<p>Hosted by someone else:</p>
<ol>
<li>On the TV, open the Smart Hub</li>
<li>Log in as a different user (A/red button)</li>
<ul>
<li>User: develop</li>
<li>Password: 123456</li>
</ul>
<li>Click the Settings button (D/blue button)</li>
<li>Select Development</li>
<li>Set the Server IP to 92.50.72.58</li>
<li>Select User Application Synchronisation</li>
<li>Once the installation is finished, restart your TV</li>
<li>Visit SmartHub and Plex is installed.</li>
<li>Point Plex at your Plex Media server.</li>
</ol>
<p>These install instructions were taken from the <a href="http://forums.plexapp.com/index.php/topic/34067-howto-install-samsung-plex-app/">Plex forums</a>.</p>
<p><strong>Update 1/6/2012: </strong>The crawler has completed, and it does actually work!  I also found out that it only supports TV shows right now, and not music or photos.  Looking into it, it's just a webpage with a lot of javascript.  If I have time, I may look to add music in, as having one solution for everything is a lot better than both this and DLNA!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rebelpeon.com/synology-plex-media-server-and-samsung-smart-tv-client/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 User Profile Sync: stopped-extension-dll-exception</title>
		<link>http://www.rebelpeon.com/sharepoint-2010-user-profile-sync-stopped-extension-dll-exception/</link>
		<comments>http://www.rebelpeon.com/sharepoint-2010-user-profile-sync-stopped-extension-dll-exception/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 00:10:20 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.rebelpeon.com/?p=5967</guid>
		<description><![CDATA[Well, it's good to see that User Profile Sync can be better in 2010 than it was in 2007.  However, there are definitely some issues still. The first one, which is something we just noticed was that the User Profile Sync jobs were constantly failing.  Unfortunately, there isn't really a good way to know without [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it's good to see that User Profile Sync can be better in 2010 than it was in 2007.  However, there are definitely some issues still.</p>
<p>The first one, which is something we just noticed was that the User Profile Sync jobs were constantly failing.  Unfortunately, there isn't really a good way to know without going into the MIISClient program to look at the errors.  Basically, if you think, for whatever reason, profile sync is not working, open up the MIISClient.exe (Program Files\Microsoft Office Servers\14.0\14.0\Synchronization Service\UIShell) as the farm account and take a look to see if everything is a success.</p>
<p>For us, we were seeing all the MOSS-{guid} jobs failing with the error stopped-extension-dll-exception as you can see below.</p>
<p><a class='fancybox sspdt_thumb' href='http://www.aaronspruit.com/ssp_director/p.php?a=ZmZ9cWNvbz5hcn9nfXdoZGwncmtlJm96ZGN5dWt9aUp3YHN8eCVjam0nMSIoMDsyOjowOzsmMis%2BPC0zPjIlPicxPzonIyg%2FJzcj&amp;m=1325548457' rel='post-5967' title=''>
			<img class='aligncenter' src='http://www.aaronspruit.com/ssp_director/p.php?a=ZmZ9cWNvbz5hcn9nfXdoZGwncmtlJm96ZGN5dWt9aUp3YHN8eCVjam0nMSIoMz8yJiQzOSc6Lj82JTAuJzc5JyItIyY7PzEmPjI%3D&amp;m=1325548457' alt='' width='240' height='33' />
		</a></p>
<p>Based on the lovely error message, I'm still amazed that I was able to isolate this issue (event logs reported that CA was being accessed via a non-registered name).  However, it turns out it is because of alternate access mappings (AAMs) for the central admin (CA) website.  Normally, SharePoint sets up the AAM for CA as the machine name you first install SharePoint on to.  However, we changed the AAM to be a more friendly name.</p>
<p>When you update the "Public URL for Zone" for the CA website, it does not propagate the change into the MIISClient.  This causes the MIISClient to not correctly access the CA APIs for the user profile sync (or at least I am imagining this is the case).</p>
<p>Fix it with the following steps:</p>
<ol>
<li>MIISClient.exe as the farm account.</li>
<li>Tools &gt; <strong>Management Agents</strong> (or click the Management Agents in the bar)</li>
<li>Right-click on the <strong>MOSS-{guid}</strong> management agent and select <strong>Properties</strong></li>
<li>Go to the <strong>Configure Connection Information</strong> section in the left-hand pane</li>
<li>In the connection information box, change the <strong>Connect To URL</strong> to be the same URL as listed as the "Public URL for Zone" for your CA in the AAM configuration.</li>
<li>Re-enter the farm account username and password for good measure</li>
<li>Save the configuration</li>
<li>Run a full profile sync from CA</li>
</ol>
<p><a class='fancybox sspdt_thumb' href='http://www.aaronspruit.com/ssp_director/p.php?a=ZmZ9cWNvbz5hcn9nfXdoZGwncmtlJm96ZGN5dWt9aUp0e3k9emV0KDk6LiI0MTsuPSQ3JTsmOjIqOC03IisgIj4xPzonJig%2FOw%3D%3D&amp;m=1325548464' rel='post-5967' title=''>
			<img class='aligncenter' src='http://www.aaronspruit.com/ssp_director/p.php?a=ZmZ9cWNvbz5hcn9nfXdoZGwncmtlJm96ZGN5dWt9aUp0e3k9emV0KDk6LiEwMScwPiYrOScyMis3JTQyPjIlPiItIyY%2BPzE6&amp;m=1325548464' alt='' width='240' height='178' />
		</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rebelpeon.com/sharepoint-2010-user-profile-sync-stopped-extension-dll-exception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synology DS1511+ and CrashPlan</title>
		<link>http://www.rebelpeon.com/synology-ds1511-and-crashplan/</link>
		<comments>http://www.rebelpeon.com/synology-ds1511-and-crashplan/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 06:40:13 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">http://www.rebelpeon.com/?p=5963</guid>
		<description><![CDATA[These instructions were ripped verbatim from Kenneth Larsen's blog because it just worked!  You can either use vi or nano to edit the files. Download the latest release of the Linux Crashplan Client from Crashplan website along with the client for your operating system if you use another operating system then Linux Upload the Linux client [...]]]></description>
			<content:encoded><![CDATA[<p>These instructions were ripped verbatim from <a href="http://kennethlarsendk.blogspot.com/2011/03/how-to-using-crashplan-with-synology.html">Kenneth Larsen's blog</a> because it just worked!  You can either use vi or nano to edit the files.</p>
<ol>
<li>Download the latest release of the Linux Crashplan Client from Crashplan website along with the client for your operating system if you use another operating system then Linux</li>
<li>Upload the Linux client to the NAS and login to your NAS as root using SSH.</li>
<li>You need to installe ipkg in order to do so. If haven't done so already you can follow this guide: <a href="http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc#What_is_a_Synology_Server">http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc#What_is_a_Synology_Server</a></li>
<li>You will need to install a few extra packages at your NAS from the command line:</li>
<ol>
<li>ipkg update</li>
<li>ipkg install nano</li>
<li>ipkg install cpio</li>
<li>ipkg install bash</li>
<li>ipkg install coreutils</li>
</ol>
<li>Move the uploaded client package to /opt</li>
<li>Unpack the crashplan client: tar -xvf name_of_downloaded_archive_file</li>
<li>Modify the install.sh script in the newly created directory to use bash as your shell. The first line in the script should be replaced with this one: #!/opt/bin/bash</li>
<li>Install the crashplan using the options below. When asked about java allow it to be downloaded:</li>
<ul>
<li>CrashPlan will install to: /opt/crashplan</li>
<li>And put links to binaries in: /opt/bin</li>
<li>And store datas in: /opt/crashplan/manifest</li>
<li>Your init.d dir is: /etc/init.d</li>
<li>Your current runlevel directory is: /usr/syno/etc/rc.d</li>
</ul>
<li>Modify the /opt/crashplan/bin/run.conf by adding  -Djava.net.preferIPv4Stack=trueas an additional option at the end of the two confiurations (This was already added when I did the install)</li>
<li>Remove commandline options for the ps process in the /opt/crashplan/bin/CrashPlanEngine file since ps doesnt accept parameters at the synology NAS: sed -i 's/ps -eo /ps /'  CrashPlanEngine;sed -i 's/ps -p /ps /'  CrashPlanEngine</li>
<li>Modify the /usr/syno/etc/rc.d/S99crashplan file line 1 to : #!/opt/bin/bash</li>
<li>Modify the /opt/crashplan/bin/CrashPlanEngine file line 1 to: #!/opt/bin/bash</li>
<li>Modify the /opt/crashplan/bin/CrashPlanEngine file line 14 with a full path for nice to: /opt/bin/nice</li>
<li>Start your crashplan service /usr/syno/etc/rc.d/S99crashplan start</li>
<li>Validate that your service is running: netstat -an | grep ':424.' should give to listeners:</li>
<ul>
<li>tcp        0      0 0.0.0.0:4242            0.0.0.0:*               LISTEN</li>
<li>tcp        0      0 127.0.0.1:4243          0.0.0.0:*               LISTEN</li>
</ul>
<li>Edit /etc/rc.local and add "/usr/syno/etc/rc.d/S99crashplan start" without quotes, it seems to load after restart.</li>
<li>Install your desktop client and point it towards the headless service you just installed. Follow the instructions in the crashplan website for this (<a href="http://support.crashplan.com/doku.php/how_to/configure_a_headless_client">http://support.crashplan.com/doku.php/how_to/configure_a_headless_client</a>)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.rebelpeon.com/synology-ds1511-and-crashplan/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Home Server Setup</title>
		<link>http://www.rebelpeon.com/new-home-server-setup/</link>
		<comments>http://www.rebelpeon.com/new-home-server-setup/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 06:32:17 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[for fun]]></category>

		<guid isPermaLink="false">http://www.rebelpeon.com/?p=5961</guid>
		<description><![CDATA[I've been meaning to do this for awhile, but I haven't found a suitable replacement until recently.  I am decommissioning the server at home.  It's loud, large, and sucks down a lot of power for what I use it for (windows home server).  It was nice because I could quickly and easily spin up some VMs and [...]]]></description>
			<content:encoded><![CDATA[<p>I've been meaning to do this for awhile, but I haven't found a suitable replacement until recently.  I am decommissioning the server at home.  It's loud, large, and sucks down a lot of power for what I use it for (<a href="http://www.microsoft.com/windows/products/winfamily/windowshomeserver/default.mspx">windows home server</a>).  It was nice because I could quickly and easily spin up some VMs and poke around, but I'll still be able to do that.</p>
<p>Instead, I picked up a <a href="http://www.synology.com">Synology</a> <a href="http://www.synology.com/products/product.php?product_name=DS1511%2B&amp;lang=enu">DS1511+ NAS</a>.  This little appliance is pretty darn slick.  It can pretty much do everything I was doing, in a smaller, quieter, and cooler form factor.  Since it uses an Atom processor, it runs a fairly familiar flavor of Linux, so you can do quite a bit with it.  Plus, a lot of the default stuff it comes with is quite nice!</p>
<p>I'll be throwing up a few copy/pastes on the site so that I can quickly re-reference.  Oh, and there's another SharePoint article in the works too.  Busy, busy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rebelpeon.com/new-home-server-setup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Synthetic File Data</title>
		<link>http://www.rebelpeon.com/sharepoint-2010-synthetic-file-data/</link>
		<comments>http://www.rebelpeon.com/sharepoint-2010-synthetic-file-data/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 05:26:15 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[performance]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://www.rebelpeon.com/?p=5950</guid>
		<description><![CDATA[Still trying to work through creating synthetic data for an out-of-the-box SharePoint performance test.  To create the data, create a new site collection (so it doesn't interfere with anything else and is easy to clean up), and uploads all the test data.  The biggest downside right now is that the data is created and then [...]]]></description>
			<content:encoded><![CDATA[<p>Still trying to work through creating synthetic data for an out-of-the-box SharePoint performance test.  To create the data, create a new site collection (so it doesn't interfere with anything else and is easy to clean up), and uploads all the test data.  The biggest downside right now is that the data is created and then uploaded, which requires enough disk space to make the data.  Not a huge issue for me, but possibly for you.</p>
<p>General idea came from <a href="http://blogs.technet.com/b/anevjes/archive/2010/03/01/sharepoint-2010-pre-population-powershell-script.aspx">a few</a> <a href="http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/23/use-powershell-cmdlets-to-manage-sharepoint-document-libraries.aspx">places</a> for the upload, and <a href="http://www.rebelpeon.com/dummy-files/">locally</a> for the file creation.</p>
<pre class="brush: powershell; title: ; notranslate">
#USER Defined Variables
#Specify the extension type of files you want uploaded
$strDocTypes = @(&quot;.docx&quot;,&quot;.xlsx&quot;, &quot;.pptx&quot;, &quot;.pdf&quot;)
#The max amount of data generated in MB
$maxSize = 50
#The max size one file could be in MB
$maxFileSize = 10
#Intermediate folder where the test data is placed
$fileSource = &quot;F:\TestData&quot;
#New Content Database (for easy removal)
$dbName = &quot;Portal_ContentDB2&quot;
#New Site collection template
$template = &quot;SPSPORTAL#0&quot;
#Account owner
$siteOwner = &quot;TEST\Administrator&quot;
#Web Application address
$webApp = &quot;https://portal&quot;
#Site Collection Address
$siteCollection = &quot;/sites/1&quot;
# DO not edit anything beyond this line

#Create all the test data using FSUTIL

$rand = New-Object system.random
do {
	$guid = [guid]::NewGuid()
	$guid =  $guid.ToString()
	$fileName = $guid+$strDocTypes[$rand.next(0,$strDocTypes.length)]
	$rand1 = $rand.nextdouble()
	$rand2 = $rand.nextdouble()
	$rand3 = $rand.nextdouble()
	[int]$fileSize = 1048576*$rand1*$rand2*$rand3*$maxFileSize
	FSUTIL FILE CREATENEW $fileName $fileSize
	$fileTotalBytes = $fileTotalBytes + $fileSize
	$fileTotal = $fileTotalBytes/1024/1024
}
#Data generation keeps going until the amount of data is &gt; $maxSize
while ($fileTotal -le $maxSize)

#Creation of the new content database and site collection
$siteCollectionURL = $webApp + $siteCollection
New-SPContentDatabase $dbName -WebApplication $webApp
New-SPSite -url $siteCollectionURL -OwnerAlias $siteOwner -Name &quot;Test Doc Library&quot; -Template $template -ContentDatabase $dbName

#uploading of all the generated data into the $siteCollectionURL/Documents folder
$spWeb = Get-SPWeb -Identity $siteCollectionURL
$listTemplate = [Microsoft.SharePoint.SPListTemplateType]::DocumentLibrary
$spFolder = $spWeb.GetFolder(&quot;Documents&quot;)
$spFileCollection = $spFolder.Files
Get-ChildItem $fileSource | ForEach {
	$spFileCollection.Add(&quot;Documents/$($_.Name)&quot;,$_.OpenRead(),$true)
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.rebelpeon.com/sharepoint-2010-synthetic-file-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Load Testing Kit</title>
		<link>http://www.rebelpeon.com/sharepoint-2010-load-testing-kit/</link>
		<comments>http://www.rebelpeon.com/sharepoint-2010-load-testing-kit/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 01:09:01 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[performance]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://www.rebelpeon.com/?p=5945</guid>
		<description><![CDATA[Was looking for ways to generate synthetic test data for a SharePoint out-of-the-box install today, and ran into the SharePoint 2010 Load Testing Kit.  While it doesn't help me in this stage of the project, I could see it being useful later or on other projects. There appears to be a lot of dependencies though: [...]]]></description>
			<content:encoded><![CDATA[<p>Was looking for ways to generate synthetic test data for a SharePoint out-of-the-box install today, and ran into the <a href="http://technet.microsoft.com/en-us/library/ff823736.aspx">SharePoint 2010 Load Testing Kit</a>.  While it doesn't help me in this stage of the project, I could see it being useful later or on other projects.</p>
<p>There appears to be a lot of dependencies though:</p>
<ul>
<li>Migration from 2007 to 2010</li>
<li>As it collects info from your log files, you'll need to have everything migrated for the scripts to work</li>
<ul>
<li>Data</li>
<li>Apps</li>
<li>Site Collections</li>
<li>Etc.</li>
</ul>
</ul>
<p>Could be hot though!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rebelpeon.com/sharepoint-2010-load-testing-kit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

