Operating System - HP-UX
1835624 Members
2900 Online
110080 Solutions
New Discussion

Re: Clone a server whit alternate mirror disk

 
SOLVED
Go to solution
gigiz
Valued Contributor

Clone a server whit alternate mirror disk

Hallo,
I have a vg00 with 2 disk mirrored.I want to take a alternate mirror disk whit all mirrored information and put it in another machine.It's possible and how can i do it ?
9 REPLIES 9
Kent Ostby
Honored Contributor
Solution

Re: Clone a server whit alternate mirror disk

qiqiz --

The cleanest way would be to make an ignite golden image of the disk and then use that to create a new disk.

The problem with taking a mirror is that you're going to disrupt the originating system when you pull it off (i.e. you'll need to run some lvm commands to clean up) and you'll have an odd looking new disk on the other box that will need some lvm cleanup (and if its a boot disk, you'll need to boot -lm mode and do some work).

Go with ignite golden images or ignite make_recovery if the disk size is the same.

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
DCE
Honored Contributor

Re: Clone a server whit alternate mirror disk



Unless the systems are identical in every way, I would advise against it. You still have to clean up the vg's, either bdeofre or after the disk is removed.

An ignite back/restore would be much faster and easier. It will also give you the flexibility to modify some of the parameters via the advanced options tab. If the hardware if different, but similar, you can specify clone to new hardware, and avoid system panics as well
Steven E. Protter
Exalted Contributor

Re: Clone a server whit alternate mirror disk

Shalom gigiz,

This methodology is not supported.

You can get away with it as noted above with identicial servers. Anything else and your second system will either not boot ore be unreliable.

You are better off replicating the good system to the second with Ignite Golden Image procedures.

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
Prashant Zanwar_4
Respected Contributor

Re: Clone a server whit alternate mirror disk

I would also go with ignite.. Thats best and not very tough to implement..

Thanks and regards
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Victor Fridyev
Honored Contributor

Re: Clone a server whit alternate mirror disk

Theoretically you can do that, may be with a small tweaking. But you will not be able to use this disk for SG cluster, if you intent to do that. The best way to clone computers is ignite (make_tape_recovery).
BTW, if you don't build SG cluster with the clone, you can, after reducing the mirroring, use
#>dd if=/dev/rdsk/source of=/dev/rdsk/target bs=32768k

You must insert the disk into the same slot on a target machine.

HTH
Entities are not to be multiplied beyond necessity - RTFM
Shameer.V.A
Respected Contributor

Re: Clone a server whit alternate mirror disk

Hi,

You can use ignite from the server & restore the image on other server, if hardware is same.

You can use dd for copying entire disk as mentioned above.

Regards,

Shameer
.... See invisible, feel intangible and achieve impossible as everything is possible ....
Shameer.V.A
Respected Contributor

Re: Clone a server whit alternate mirror disk

Hi,

You can use ignite image from the server & restore the image on other server, if hardware is same.

You can use dd for copying entire disk as mentioned above.

Regards,

Shameer
.... See invisible, feel intangible and achieve impossible as everything is possible ....
Sยภเl Kย๓คг
Respected Contributor

Re: Clone a server whit alternate mirror disk

Hi,
Inserting second mirrored disk of system A in to system B is possible only if both hardwares are identical. But this would cause sytem B to be unreliable. It is better to create ignite image of system A and restore it to system B.

Regards,
Sunil
Your imagination is the preview of your life's coming attractions
gigiz
Valued Contributor

Re: Clone a server whit alternate mirror disk

OK!!!