1830165 Members
6255 Online
109999 Solutions
New Discussion

DR build for LINUX

 
Dek_1
Advisor

DR build for LINUX

I have 2 HP proliant servers - LIVE and DR
I have backed up the '/' via tar on LIVE;
installed RedHat EL 5 (same as LIVE) on the DR.
Recovered the tape and re-booted.

The LIVE system is connected to an EVA, and now the DR system refused to go past the problem with
/dev/data/backup & /dev/live/live01 - which are the EVA references on my LIVE system.

What is my path forward here ?
Do I need to edit a config file ?
Or should I have setup the EVA before the tape recovery ?

My aim is, if possible, to have a set of straight forward instructions so that an operator could recovery the system onto 'cold iron'
All help, comments appreciated - thanks
9 REPLIES 9
Ivan Ferreira
Honored Contributor

Re: DR build for LINUX

¿Have you ever tried mondo rescue? Probably is time to do it.

¿Also, what is the error that you get? Ensure that both servers won't ever access the same VDISK at the same time.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Dek_1
Advisor

Re: DR build for LINUX

Ivan,
I had tried mondo rescue because it seemed ideal but I kept getting errors - the boot cd was not created and I could not work out why.

This was set up as a scripted task to be done each Sunday - which would be our ideal.

So if you can point me at some pretty basic step by step instructions I would be very pleased.

Our current configuration is 2 completely separate systems (Processors and EVA). These, when built, will be in located at least 100 miles apart with the only link being the network up which rsync will transfer data.

So step by step this is what I have done:
On the LIVE system, I have taken a tar copy onto tape of the '/' file system.

On the DR system, which has had RHEL 5 loaded, I un-tar-ed this tape.
On re-booting the system told me that the 2 file systems specified were invalid and it dropped into Rescue mode.
I will attach the log of the tar tape so you can see what it is that is being recovered.
Dek_1
Advisor

Re: DR build for LINUX

Perhaps I need to make clearer what it is that I want to achieve :-

I have 2 servers both HP DL380s
The first, runs RHEL 5 and is a 24/7 system

Both machines have 2 internal 180 Gig disk in RAID 0 configuration.
Both have tape devices attached

Can I user tar/DUMP/???? to take a copy from the 1st machine - the LIVE 24/7 system - onto tape, which I can then use on the second machine :-
a - boot this second system with knoppix
b - recover the tape

and have the second machine as an absolute clone of the first.
I can then edit the second machine to change its IP address, and add in the EVA details - because the EVAs are not identical on both systems - and then recover the EVA data from the standard backup tape.

thanks
Steven E. Protter
Exalted Contributor

Re: DR build for LINUX

Shalom,

I would suggest the following.

Create a working system in production.

Back it up.

Create a kick start file for building the system in the DR location.

You will need an httpd server for the DR site, same hardware and storage and you can change the IP address on the kick start command line.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dek_1
Advisor

Re: DR build for LINUX

Steven,
You don't think I can clone the server - including the Oracle software; my scripts etc ?

I guess I am looking for an 'ignite' for RHEL ;-)
Court Campbell
Honored Contributor

Re: DR build for LINUX

I have to agree with Ivan on this one. Mondorescue is an ideal choice. You may want to work out whatever bug you are having with it. I have been using it for a few months and it is very similar to ignite IMO. I have cloned a few machines with it. In my setup I write an ISO file to an NFS server. You can then burn the image to DVD or just setup an NFS server at the DR site and boot from media that has mondorestore.

NOTE: you only want to backup your local system. You will then need to restore anything else from tape.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Court Campbell
Honored Contributor

Re: DR build for LINUX

Oh, and if you want the machine to be the exact same without any changes just use the nuke or isonuke mode. You may want to look at the man for mondorestore.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Dek_1
Advisor

Re: DR build for LINUX

Thanks to all for your help:
The problems I get relate to the Volume groups for the Raid 0 internal disks.

I have now rebuilt the server to O/S level, and will try the mondo again - but will post problems on the appropriate mondo forum.

Again thanks
Dek_1
Advisor

Re: DR build for LINUX

Still not got it working but will close this and try some of the ideas suggested

Thanks