hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Replace disks with little downtime
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Replace disks with little downtime

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-12-2008, 01:25 AM
jpeacock jpeacock is offline
Newbie
 
Join Date: Oct 2006
Location: minneapolis
Posts: 27

Replace disks with little downtime


So, here's my scenario. I colo a 1U machine with 2-36gig drives. They're not in RAID, and I have it set to rsync backups to a remote machine on a regular schedule. I have another remote machine functioning as a secondary DNS. Neither of these 2 are on a large upstream pipe. I just bought 2-147gig drives that I'd like to replace the 36g's with. How does this sound for a scenario to accomplish this with little downtime (pre-pardon my noob'ish ways):

1. Do a complete rsync of the filesystem to my remote machine as well as sync the mysql db's (to 1 remote drive).
2. Pop that single rsync'd drive into an external enclosure.
3. Travel to datacenter, once there, plug external drive into laptop and start up a VM that boots off of that drive.
4. Sync again so external drive has the most up-to-date data.
5. Change over IP's from colo to VM on laptop.
6. Shutdown and swap out drives in colo'd box with the new ones.
7. Setup new drives as RAID 1, install OS, then rsync filesystem over from laptop to new drives in colo'd box.
8. Change back IP's.

What am I missing, or is there an easier way without a 2nd colo/dedicated server? Currently, the colo'd machine is using about 1.3Mbit/sec outbound and it's running a low load.

Thoughts?

Reply With Quote


Sponsored Links
  #2  
Old 02-12-2008, 10:55 AM
ServerSurgeon George ServerSurgeon George is offline
Web Hosting Guru
 
Join Date: Jan 2007
Posts: 252
Can't you plug in the 2 new HDDs into the server and do a rsync without using a second server?

Then just switch them with the old ones after the sync is finished

__________________
Server Surgeon George
http://www.serversurgeon.com
Linux, BSD and Windows Administration Services
Toll Free US 877-378-7436 International +1-213-291-9191

Reply With Quote
  #3  
Old 02-12-2008, 10:58 AM
Dave Parish Dave Parish is offline
Web Hosting Master
 
Join Date: Feb 2007
Location: Tampa, FL
Posts: 801
Just image both of the drives or ghost them.

__________________
Dave Parish - Steadfast Networks : Dedicated Servers and Premium Colocation
Sales/Support: 312-602-2689
2 Data Centers and 20,000+ sqft. in Chicago (350 E Cermak) + Manhattan Data Centers
Managed Colocation

Reply With Quote
Sponsored Links
  #4  
Old 02-12-2008, 11:48 AM
uptimearchive uptimearchive is offline
Newbie
 
Join Date: Feb 2008
Location: Montreal, QC
Posts: 18
well rsync is an option, how long is the time to complete a sync?

You could always usee dd and seqentially copy the data from one drive to the next, it will be very fast, no traversing the filesystem...you should get near the maximum possible performance of the drives... is it ext3? you can modify the partition/table and extend the filesystem with little risk.

Its an alternative to consider.

Reply With Quote
  #5  
Old 02-12-2008, 11:56 AM
jpeacock jpeacock is offline
Newbie
 
Join Date: Oct 2006
Location: minneapolis
Posts: 27
Quote:
Originally Posted by uptimearchive View Post
well rsync is an option, how long is the time to complete a sync?

You could always usee dd and seqentially copy the data from one drive to the next, it will be very fast, no traversing the filesystem...you should get near the maximum possible performance of the drives... is it ext3? you can modify the partition/table and extend the filesystem with little risk.

Its an alternative to consider.
Can you dd a booted drive to another drive, or should I be booting from a gparted cd or such?

Reply With Quote
  #6  
Old 02-12-2008, 05:56 PM
uptimearchive uptimearchive is offline
Newbie
 
Join Date: Feb 2008
Location: Montreal, QC
Posts: 18
you definetly don't want to do it on a mounted drive, you will have issues. You could remount everything read-only while you did it, but that might defeat the purpose. The whole idea with DD is, it should be able to copy very fast, so you can shut the unit down, boot from a centos cd or whatever and do the copy.

Do you have simular hardware you could do a test scenerio on? just so you can see it works well, plus get an idea how long it would take.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Average Public Cloud Outage Downtime Nears 8 Hours: RightScale Infographic Blog 2013-02-28 13:09:16
Amazon Analysis Shows Software Bugs Lengthened AWS Weekend Outage Web Hosting News 2012-07-03 11:11:30
Leap Day Glitch Causes Windows Azure Cloud Downtime in US, Europe Web Hosting News 2012-02-29 16:27:38
Web Host SoftLayer Adds Local Disk Storage Option to CloudLayer Hosting Web Hosting News 2011-07-26 18:43:31
Storage System Maker Scality Updates RING for Cloud Storage Web Hosting News 2011-06-07 15:33:33


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?