Sponsored Content
Full Discussion: HP-UX server cloning
Operating Systems HP-UX HP-UX server cloning Post 302597149 by Shirishlnx on Thursday 9th of February 2012 10:47:06 AM
Old 02-09-2012
@Methyl
- Yes both server have same model
- On server there's 4 hdd slots of which 2 used (for OS data 1 mirrored disk )
- Have 2 extra hdd, CAN we take backup on hdd on this by inserting on free slots .
- Also am not sure that Ignite backup will restore my other application configuration files ..

-- Am preferring to go with Mirroring but .. Am sticking with proper mirroring and removing mirrored 2nd disk safely from server without any damage to LVM and that mirrored disk to be work fine on new server .. Smilie


@ VBE, Thnaks sir for your valuable guide..
Yes server have 2 disk on mirrored state, but I can't break already mirrored disk as this is on live and my mgmt doesn't allow me to do so .. I can do is I can take a downtime of secondary passive cluster and do mirroring and take out my disk .
Earlier have did such job for Linux (suse and CentOS) cases with offline dd of hdd and had worked fine .. But here my PM dosent allow me to do so as HP doesn't recommend fro dd copy of whole OS ... Smilie and my Manager is strict with that .. and have to complete this in some deadline time ...

Here what I want ..
- Attached a 3rd hdd on secondary cluster server ... Mirror it make bootable
- Remove the HDD and connect to new server (Change IP/hostname/disableclustering make script to start all application in order cluster is -- have already made that script)
- And replace SAN data on HDD on new server ... So we have Omni backup configured so am planning to restore that data to new server same size of LV (will create a new vg on new disk and create number of LV as on original server have make entry in fstab)

Sir please advice where am missing with mirroring as have tried but that disk failed to boot .. (Steps taken were mentioned in my first thread)

--Shirish Shukla
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Aix Cloning

Is there anyone out there who knows anything about aix cloning? I would be very grateful for any information at all. Thanking you in advance :) (4 Replies)
Discussion started by: annette
4 Replies

2. Filesystems, Disks and Memory

Unix Cloning

I'm looking for software that can clone Unix Partitions. (2 Replies)
Discussion started by: jimv2502893
2 Replies

3. SCO

Disk cloning

Hello everybody, :confused: I have to change the system disk on an old PC running SCO 5.0.5. The disk is up and running, this is a preventive action. My experience on UNIX is very limited and I look for the easyest solution to clone this unit. Is it possible with commands or through a clone... (2 Replies)
Discussion started by: mhachez
2 Replies

4. UNIX for Dummies Questions & Answers

HP10.20 Cloning

Good day all. So, here's the situation. I have (7x) B180L VISUALIZE WORKSTATION's with Transtec 5100 RAID (RAID 5, 9.1 GB HDD's) towers running of UNIX HP10.20. It's time to replace the RAID's with new ones, them being Fibrenetix FX606 5 bay SATA RAID, 5 bay SATA-SCSI desktop RAID including 80Gb... (1 Reply)
Discussion started by: Tony_dw
1 Replies

5. Red Hat

cloning a server

I wish to clone a RedHat EL5 server. What's the easiest way to do this? Thanks :) (4 Replies)
Discussion started by: wazzu62
4 Replies

6. Shell Programming and Scripting

Cloning

Hi, Is there disadvantages if we do AIX Serevr cloning to the new AIX server. Thanks in advance (0 Replies)
Discussion started by: kmsekhar
0 Replies

7. AIX

AIX Server Cloning

Hi, Is there disadvantages if we do AIX Serevr cloning to the new AIX server. Thanks in advance (2 Replies)
Discussion started by: kmsekhar
2 Replies

8. Ubuntu

dd cloning of whole disk

I am using 'dd' to clone an entire hard drive which only has Ubuntu 11.10 and some data with no special options. The disks are both 1Tb, However, I did re-partition the target disk with gparted successfully. The new partions are not the same size as the source disk. When starting 'dd' no partitions... (24 Replies)
Discussion started by: Royalist
24 Replies

9. Linux

Disk cloning ?

Dear All I needed to clone my disk to another hard drive . I did it as the following : #dd if=/dev/sdb of=/dev/sdc But after a while, the procedure ended with the "writing to /dev/sdc input/output error" message. Can you please let me know how can I overcome this as the fdisk now returns as "... (1 Reply)
Discussion started by: hadimotamedi
1 Replies
Data::Clone(3pm)					User Contributed Perl Documentation					  Data::Clone(3pm)

NAME
Data::Clone - Polymorphic data cloning VERSION
This document describes Data::Clone version 0.003. SYNOPSIS
# as a function use Data::Clone; my $data = YAML::Load("foo.yml"); # complex data structure my $cloned = clone($data); # makes Foo clonable package Foo; use Data::Clone; # ... # Foo is clonable my $o = Foo->new(); my $c = clone($o); # $o is deeply copied # used for custom clone methods package Bar; use Data::Clone qw(data_clone); sub clone { my($proto) = @_; my $object = data_clone($proto); $object->do_something(); return $object; } # ... # Bar is also clonable $o = Bar->new(); $c = clone($o); # Bar::clone() is called DESCRIPTION
"Data::Clone" does data cloning, i.e. copies things recursively. This is smart so that it works with not only non-blessed references, but also with blessed references (i.e. objects). When "clone()" finds an object, it calls a "clone" method of the object if the object has a "clone", otherwise it makes a surface copy of the object. That is, this module does polymorphic data cloning. Although there are several modules on CPAN which can clone data, this module has a different cloning policy from almost all of them. See "Cloning policy" and "Comparison to other cloning modules" for details. Cloning policy A cloning policy is a rule that how a cloning routine copies data. Here is the cloning policy of "Data::Clone". Non-reference values Non-reference values are copied normally, which will drop their magics. Scalar references Scalar references including references to other types of references are not copied deeply. They are copied on surface because it is typically used to refer to something unique, namely global variables or magical variables. Array references Array references are copied deeply. The cloning policy is applied to each value recursively. Hash references Hash references are copied deeply. The cloning policy is applied to each value recursively. Glob, IO and Code references These references are not copied deeply. They are copied on surface. Blessed references (objects) Blessed references are not copied deeply by default, because objects might have external resources which "Data::Clone" could not deal with. They will be copied deeply only if "Data::Clone" knows they are clonable, i.e. they have a "clone" method. If you want to make an object clonable, you can use the "clone()" function as a method: package Your::Class; use Data::Clone; # ... my $your_class = Your::Class->new(); my $c = clone($your_object); # $your_object->clone() will be called Or you can import "data_clone()" function to define your custom clone method: package Your::Class; use Data::Clone qw(data_clone); sub clone { my($proto) = @_; my $object = data_clone($proto); # anything what you want return $object; } Of course, you can use "Clone::clone()", "Storable::dclone()", and/or anything you want as an implementation of "clone" methods. Comparison to other cloning modules There are modules which does data cloning. "Storable" is a standard module which can clone data with "dclone()". It has a different cloning policy from "Data::Clone". By default it tries to make a deep copy of all the data including blessed references, but you can change its behaviour with specific hook methods. "Clone" is a well-known cloning module, but it does not polymorphic cloning. This makes a deep copy of data regardless of its types. Moreover, there is no way to change its behaviour, so this is useful only for data which link to no external resources. "Data::Clone" makes a deep copy of data only if it knows that the data are clonable. You can change its behaviour simply by defining "clone" methods. It also exceeds "Storable" and "Clone" in performance. INTERFACE
Exported functions clone(Scalar) Returns a copy of Scalar. Exportable functions data_clone(Salar) Returns a copy of Scalar. The same as "clone()". Provided for custom clone methods. is_cloning() Returns true inside the "clone()" function, false otherwise. DEPENDENCIES
Perl 5.8.1 or later, and a C compiler. BUGS
No bugs have been reported. Please report any bugs or feature requests to the author. SEE ALSO
Storable Clone AUTHOR
Goro Fuji (gfx) <gfuji(at)cpan.org> LICENSE AND COPYRIGHT
Copyright (c) 2010, Goro Fuji (gfx). All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-01-15 Data::Clone(3pm)
All times are GMT -4. The time now is 03:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy