Author Topic: Clone a running production server, it is possible?  (Read 1545 times)

Sindawe

  • friend
  • Senior Member
  • ***
  • Posts: 2,938
  • Vashneesht
Clone a running production server, it is possible?
« on: June 12, 2007, 12:09:38 PM »
OK, this is new territory for me.  I'd like to be able to somehow copy or clone a running Windows server into an ISO or the like so that I could then use that image to install the clone on a virtual server running in a contained environment completely disconnected from a production network. My aim here is to create a test lab for training and troubleshooting the more complex operations that sometimes occur in my workplace, but without having to stop live production or risking the actual data that generates the company income.  I have easy access to hardware more than capable of running a host OS (Windows 2003 Server) and MS Virtual Server, license for the host OS, etc....  The wrinkle is being able to duplicate the running server w/o having to do the whole OS/Application/Data restoration manually.

Tech types, ever do/hear of such?
I am free, no matter what rules surround me. If I find them tolerable, I tolerate them; if I find them too obnoxious, I break them. I am free because I know that I alone am morally responsible for everything I do.

charby

  • Necromancer
  • Administrator
  • Senior Member
  • *****
  • Posts: 29,295
  • APS's Resident Sikh/Muslim
Re: Clone a running production server, it is possible?
« Reply #1 on: June 12, 2007, 12:25:45 PM »
Symantec Ghost would probably be the easiest way to do it.

-C
Iowa- 88% more livable that the rest of the US

Uranus is a gas giant.

Team 444: Member# 536

mtnbkr

  • friend
  • Senior Member
  • ***
  • Posts: 15,388
Re: Clone a running production server, it is possible?
« Reply #2 on: June 12, 2007, 01:51:20 PM »
Ghost.

However you might run into issues because the Ghost image system is looking for a specific hardware platform.  If your virtual system presents the exact same hardware platform to the image, it should work fine.

Chris

cordex

  • Administrator
  • Senior Member
  • *****
  • Posts: 8,680
Re: Clone a running production server, it is possible?
« Reply #3 on: June 12, 2007, 02:29:38 PM »
Acronis has a product that will duplicate a running system onto dissimilar hardware which is FANTASTIC when a production server goes down because of a hardware failure and you don't happen to have an exact duplicate on-hand to Ghost back on to.  The one downside is that if you build the image from a running server, you sometimes have to repair some files that were in use at the time of the backup.  I think this is more of an issue in a Win2k server environment, though.

Sindawe

  • friend
  • Senior Member
  • ***
  • Posts: 2,938
  • Vashneesht
Re: Clone a running production server, it is possible?
« Reply #4 on: June 12, 2007, 04:09:40 PM »
I thought of Ghost, but per the docs and reports I've read it does not play well with the server OS.  Acronis and others I've found on my own look like they will do the job, but unfortunately exceed the IT budget for this ($0.00).  Knowing it can be done is half the battle, and useful to me in future positions once I am able to secure such.  I may consider picking up such for my own tool-kit after I've demonstrated that the application will do what I want.

Thanks for the feed back guys. Cheesy
I am free, no matter what rules surround me. If I find them tolerable, I tolerate them; if I find them too obnoxious, I break them. I am free because I know that I alone am morally responsible for everything I do.

lee n. field

  • friend
  • Senior Member
  • ***
  • Posts: 13,611
  • tinpot megalomaniac, Paulbot, hardware goon
Re: Clone a running production server, it is possible?
« Reply #5 on: June 12, 2007, 06:04:13 PM »
Quote
Symantec Ghost would probably be the easiest way to do it.

Or "dd" from a Knoppix command prompt.

Ghost may choke unless you spend big bucks on the server version.

Quote
Acronis

Acronis has (last time I looked at it, admitedly a couple years ago) the limitation that it wouldn't work with Windows dynamic disks.
In thy presence is fulness of joy.
At thy right hand pleasures for evermore.

cordex

  • Administrator
  • Senior Member
  • *****
  • Posts: 8,680
Re: Clone a running production server, it is possible?
« Reply #6 on: June 12, 2007, 06:07:07 PM »
Quote
Acronis has (last time I looked at it, admitedly a couple years ago) the limitation that it wouldn't work with Windows dynamic disks.
Could be.  I authorized the buy and have used it once or twice, but it is primarily another of the IT guys who uses it.  We haven't had a problem cloning any of our servers as of yet.

Nick1911

  • Administrator
  • Senior Member
  • *****
  • Posts: 8,492
Re: Clone a running production server, it is possible?
« Reply #7 on: June 12, 2007, 06:23:58 PM »
a RUNNING server?

I'm pretty sure that none of these tools will allow the server to be up through the whole process, if that's what you're saying.

Sindawe

  • friend
  • Senior Member
  • ***
  • Posts: 2,938
  • Vashneesht
Re: Clone a running production server, it is possible?
« Reply #8 on: June 12, 2007, 06:41:39 PM »
Quote
a RUNNING server?

I'm pretty sure that none of these tools will allow the server to be up through the whole process, if that's what you're saying.

Yes, that was sloppy of me.  I mean a machine that has its OS and applications + data installed and normally runs 24x7x365
I am free, no matter what rules surround me. If I find them tolerable, I tolerate them; if I find them too obnoxious, I break them. I am free because I know that I alone am morally responsible for everything I do.

cordex

  • Administrator
  • Senior Member
  • *****
  • Posts: 8,680
Re: Clone a running production server, it is possible?
« Reply #9 on: June 13, 2007, 07:28:09 AM »
a RUNNING server?

I'm pretty sure that none of these tools will allow the server to be up through the whole process, if that's what you're saying.
Acronis can do that ... to an extent.  I don't know about other tools.

BrokenPaw

  • friends
  • Senior Member
  • ***
  • Posts: 1,674
  • Sedit qvi timvit ne non svccederet.
    • ShadowGrove Interpath Ministry
Re: Clone a running production server, it is possible?
« Reply #10 on: June 14, 2007, 07:06:29 AM »
If the server doesn't have to be running at the time you make the image, you can probably use the dd-from-knoppix trick that lee mentioned.

But unless the target machine is identically configured, Windows is likely to have a snit when it tries to boot and finds different hardware.

-BP
Seek out wisdom in books, rare manuscripts, and cryptic poems if you will, but seek it also in simple stones and fragile herbs and in the cries of wild birds. Listen to the song of the wind and the roar of water if you would discover magic, for it is here that the old secrets are still preserved.

Brad Johnson

  • friend
  • Senior Member
  • ***
  • Posts: 18,114
  • Witty, charming, handsome, and completely insane.
Re: Clone a running production server, it is possible?
« Reply #11 on: June 14, 2007, 07:10:29 AM »
I presume the server has hot-swappable drives (RAID array or such)?  If so, is there a utility that can be used to internally replicate a disc image on one or two of the drives, which could then be removed and transferred to another box?

Brad
It's all about the pancakes, people.
"And he thought cops wouldn't chase... a STOLEN DONUT TRUCK???? That would be like Willie Nelson ignoring a pickup full of weed."
-HankB

Sindawe

  • friend
  • Senior Member
  • ***
  • Posts: 2,938
  • Vashneesht
Re: Clone a running production server, it is possible?
« Reply #12 on: June 14, 2007, 07:52:03 AM »
Brad, the aim is not to replicate the server on other physical hardware but to replicate it on a virtual server so that the servers can be used in training on procedures with out having to stop production or risking critical data.  We did a test of the emergency switch over of the SQL database servers last month.  The process is supposed to be accomplished in less than an hour, and the test took more than eight hours due in part to the complexity of the operation.  Additionally, we are STILL finding broken processes that need to be fixed.

That issue, as well as others, is why I'm also looking for other employment. 

Anybody in the Denver area need a skilled Windows Admin who can also grow vats of E. coli, run bioreactors/ion exhchange columns/ultrafiltration equipment & write tech docs that adhere to cGMP guidelines?   cheesy
I am free, no matter what rules surround me. If I find them tolerable, I tolerate them; if I find them too obnoxious, I break them. I am free because I know that I alone am morally responsible for everything I do.

tyme

  • expat
  • friend
  • Senior Member
  • ***
  • Posts: 1,056
  • Did you know that dolphins are just gay sharks?
    • TFL Library
Re: Clone a running production server, it is possible?
« Reply #13 on: June 14, 2007, 08:05:08 AM »
Can you take a Ghost/Acronis image of a running windows system and run that image in a VM?  Since most hardware is virtualized/genericized in VMs, I'm guessing windows will have a snit, because:
Quote
But unless the target machine is identically configured, Windows is likely to have a snit when it tries to boot and finds different hardware.
I've never understood this.  Windows will always be a second class operating system to me until I can spend a couple minutes reconfiguring the partitions it expects to see once the kernel loads, and have it actually boot.

It's ridiculous that to get a Windows install on a raid 1 array, you have to install it on the raid array. (Did I mention I hate the Windows install floppy driver dance?)  You should be able to install on one drive, install raid drivers, mirror the drive, set up the raid, and maybe tweak partition types if the raid card/driver exposes the array as a different type (scsi vs ata, for instance).  If there's a way to do that now, I don't know about it.
Support Range Voting.
End Software Patents

"Four people are dead.  There isn't time to talk to the police."  --Sherlock (BBC)

RevDisk

  • friend
  • Senior Member
  • ***
  • Posts: 12,633
    • RevDisk.net
Re: Clone a running production server, it is possible?
« Reply #14 on: June 14, 2007, 06:05:10 PM »
OK, this is new territory for me.  I'd like to be able to somehow copy or clone a running Windows server into an ISO or the like so that I could then use that image to install the clone on a virtual server running in a contained environment completely disconnected from a production network. My aim here is to create a test lab for training and troubleshooting the more complex operations that sometimes occur in my workplace, but without having to stop live production or risking the actual data that generates the company income.  I have easy access to hardware more than capable of running a host OS (Windows 2003 Server) and MS Virtual Server, license for the host OS, etc....  The wrinkle is being able to duplicate the running server w/o having to do the whole OS/Application/Data restoration manually.

Tech types, ever do/hear of such?

Duplicating a running server?   No problem, we do it on all of our servers for our DR plan.  All of our servers are running a near exact clone off-site, in near real time.  If any or all servers dropped offline, we'd lose either 15-30 seconds (real) or 1-5 minutes (what I tell everyone else) worth of data and capacity.  With bigger pipes and some beefer hardware, I could minimize those times, but it's not really worth it to us.  Biggest issue is propagating the redirecting the DNS/WINS very quickly. 

Non-real time replication, either Ghost ish products (Acronis, Symantec, dd, etc) or VMware/Virtual Server.  VMware and Virtual Server have image capture/creation tools.
"Rev, your picture is in my King James Bible, where Paul talks about "inventors of evil."  Yes, I know you'll take that as a compliment."  - Fistful, possibly highest compliment I've ever received.

Sylvilagus Aquaticus

  • friend
  • Senior Member
  • ***
  • Posts: 833
    • http://profiles.yahoo.com/sylvilagus
Re: Clone a running production server, it is possible?
« Reply #15 on: June 14, 2007, 08:40:38 PM »
Too bad you're running Windows. If it were AIX, you could run a mksysb and make an image on the fly, either to disk or mkcd/mkdvd and burn it to DVD-RAM.

Cheesy

Regards,
Rabbit.
To punish me for my contempt for authority, fate made me an authority myself.
Albert Einstein