 




<?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>SQL Server with Mr. Denny &#187; Data Center Build</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/sql-server/tag/data-center-build/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/sql-server</link>
	<description></description>
	<lastBuildDate>Fri, 17 May 2013 17:04:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Moving huge amounts of data between data centers</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/moving-huge-amounts-of-data-between-data-centers/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/moving-huge-amounts-of-data-between-data-centers/#comments</comments>
		<pubDate>Mon, 25 Jun 2012 14:00:49 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Data Center Build]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[Restore Database]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/moving-huge-amounts-of-data-between-data-centers/</guid>
		<description><![CDATA[Every once and a while I get the fun project of moving a data center from one location to another, often from a Managed Service Provider to either a CoLo facility or to another Managed Service Provider.  When I&#8217;m doing this the data sizes typically aren&#8217;t small.  In the case of my current project one [...]]]></description>
				<content:encoded><![CDATA[<p>Every once and a while I get the fun project of moving a data center from one location to another, often from a Managed Service Provider to either a CoLo facility or to another Managed Service Provider.  When I&#8217;m doing this the data sizes typically aren&#8217;t small.  In the case of my current project one days worth of compressed database backups are running 581 Gigs which need to be transferred from a Managed Service Provider in Dallas to a CoLo in New Jersey with minimal cost and time spent.  When I&#8217;m doing these sorts of massive data migrations there are basically three different ways that these can be done.</p>
<ol>
<li>Copy the backups to a USB drive and ship it &#8211; aka. Sneaker Net</li>
<li>Upload the files across the VPN using RoboCopy</li>
<li>FTP the files up to the new site</li>
</ol>
<p>While I love using #1 as it&#8217;s the easiest and usually the quickest way to move huge amounts of information it&#8217;s the most expensive, and it isn&#8217;t very repeatable.  If there&#8217;s a problem with the data transfer or you need to redo the data transfer then you need to purchase another USB drive from the first provider and have them ship it up to the new site.  As this all needs to be done pretty quickly that means that every time you do it you need to pay for overnight shipping which gets expensive, fast.  Not to mention that either you need to be at the destination site or you have to pay for remote hands to open the box and connect the hard drive.  In this case that means paying a few hundred bucks to have a guy at the remote site unbox the drive and connect it as the data center is in New Jersey and I&#8217;m in California a short 5.5 hour plane flight away.</p>
<p>Option #2 that I give here is a decent option as well, except that it only single threaded unless you do some really interesting stuff to spin up multiple copies of robocopy.  The reason that you want multiple threads running is because most Managed Service Providers has some sort of Quality of Service settings configured on their routers so that one connection isn&#8217;t able to take all the bandwidth available.  In this case each connection is limited to about 500kb of bandwidth so if I run several threads I get more throughput than if I run just a single thread.</p>
<p>Which leads me to option #3.  As I&#8217;m moving lots of database files it&#8217;s easy enough for me to do multi-threaded FTP as I can sent each file separately getting getter bandwidth (currently I&#8217;m pushing 1,662.90 kb per second).  I do this not with the native command line FTP or with the web browser, but by using a little FTP application which has long been abandoned by the developer called <a href="http://www.leechftp.org/">LeechFTP</a>.  While it hasn&#8217;t been upgraded in years, and some of the error messages aren&#8217;t in English, it&#8217;s a great app for moving massive amounts of data in a multi-threaded process.</p>
<p>Now because FTP does totally suck when it comes to resuming from a failed upload process I add an additional step into the process, I take whatever data I&#8217;m planning on transferring and use either winrar or 7zip to break the files into smaller chunks.  Typically I&#8217;ll just take the entire folder that has all the backups and make one massive upload set out of it.  I usually break the files into 100 Meg segments as those will usually be able to be uploaded without any sort of interruption, and if there is a problem reuploading 100 Megs worth of data usually won&#8217;t take all that long.  Now I don&#8217;t bother to compress the data, I just put it into a single large rar or 7z fileset.  The reason that I don&#8217;t bother trying to compress the data is that it&#8217;ll take hours to compress and the time saved usually is pretty small if any (especially as these backups are already compressed).  Both winrar and 7z have store only options which usually run pretty quickly.  The example 581 Gigs of data that I&#8217;m working with here was able to be stored by 7z in about an hour and a half.</p>
<p>I&#8217;ve begun using 7z instead of winrar for these projects as I&#8217;ve found something very annoying about winrar when using it to copy files up to a network share (like say the shared network drive that the SQL Server is going to restore from).  When winrar decompressed all the data it wants to put it into the local %temp% folder which ends up filling the C drive of what ever server you are doing the work on, while 7z doesn&#8217;t have this annoying &#8220;feature&#8221;.</p>
<p>Once the full backups are copied up (~4 days in this case) I just unpack them and get the restore process started (keep in mind that I&#8217;ve got log backups being copied across the same network link as well.  I&#8217;ll take about how I get them across later on.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/moving-huge-amounts-of-data-between-data-centers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Datacenter Migration In Progress</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/datacenter-migration-in-progress/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/datacenter-migration-in-progress/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 11:00:57 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Data Center Build]]></category>
		<category><![CDATA[EMC]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/datacenter-migration-in-progress/</guid>
		<description><![CDATA[For those of you who know me, or have heard me talk at a Code Camp in the last year, you&#8217;ve heard me talk about a data center migration that I want to do from Rackspace in Texas to our own equipment in the LA area.  Well that day has finely come. Our current environment [...]]]></description>
				<content:encoded><![CDATA[<p>For those of you who know me, or have heard me talk at a Code Camp in the last year, you&#8217;ve heard me talk about a data center migration that I want to do from Rackspace in Texas to our own equipment in the LA area.  Well that day has finely come.</p>
<p>Our current environment has served us well, but we have outgrown the services that Rackspace can offer us, and we have purchased our own production environment.  This isn&#8217;t any rinky dink environment either.  We are starting out with a fully redundant, highly available environment which can be scaled by simply deploying more VMs, and in the event that the VMware hardware is over tasked by simply plugging another VMware server into the mix, and shifting the VMs from one node of the cluster to another.</p>
<p>We are very proud of our new environment, so I figured that I&#8217;d give you some of the tech specs of it (yeah, I&#8217;m totally bragging here).</p>
<p>On the storage side of things we&#8217;ve got an EMC CX4-240 with ~35TB of storage laid out in three tiers.  This is connected via multiple 4 Gig fibre cables to a pair of Cisco fibre switches.  Each fibre switch is connected to each of the SAN attached servers.</p>
<p>We went with Dell servers (I would have preferred HP servers, but I was overruled).</p>
<p>The SQL Servers and the VMware servers are identical.  Quad chip, quad core servers each with 64 Gigs of RAM.  Each pair will be clustered for High Availability.  The VMware servers will look a little like they puked cables out of the back.  Because of all the various subnets and to ensure that each subnet is connected to each of the redundant network switches each of the VMware ESX servers will have 11 Ethernet cables, and 2 fibre cables coming out of the back.</p>
<p>The VMware vCenter services are running on a little single chip quad core server.  This is the only part of the system which isn&#8217;t redundant, but ESX can run fine for up to 14 days without the License server running, and since this machine has a 4 hour turn around on parts we&#8217;ll be fine if the machine dies.</p>
<p>The file servers which host the screenshots, emails, etc which have been captured by our application and will be served to the website upon request are a pair of dual chip, quad core servers also clustered for high availability.</p>
<p>All the servers are SAN attached via the fibre and all data will be saved on the SAN.</p>
<p>Our current environment is much smaller.  A single SQL Server, three web servers, and two file servers.  The only redundant pieces are the fibre cables from the SQL Server to the SAN, and the fact that we have three web servers.  However if the newer web server goes out in the middle of the day, the other two will choke at this point.</p>
<p>Rackspace has been pretty good to us over the years.  It just wasn&#8217;t cost effective for us to purchase this level of hardware before now, and Rackspace was able to provide us with a good service level for a reasonable price.  But at this point, because of the amount of hardware we were looking to move into, and the amount of bandwidth we are going to be using it simply became more cost effective for us to host the systems at a local CoLo.</p>
<p>The main reason that I&#8217;m telling everyone this is that if you have been trying to find me for the last two weeks or so this is why I can&#8217;t be found.  I&#8217;ve been spending pretty much every waking moment this together and getting it all setup so that we can migrate over to it.</p>
<p>Needless to say its an awesome project.  How many people get the chance to build a new data center and design it the way they want to from scratch.  Pretty much no one.  Data centers usually grow from a small config of a server or two in a sporadic way, and they are inherited from one person to the next.  But this time I get to design everything they way I want to from the grown up.  It&#8217;s going to be a blast.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/datacenter-migration-in-progress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
