03-29-2005
Exactly what OS and version are you running? I can't tell from your post because of the different
info (Digital which made VMS and Ultrix and HP which bought out Digital but had their own UNIX HP-UX).
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi, (HP-UX 11.11)
I need to create a tape image of an igniteUX image created on our igniteUX server.
That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Discussion started by: Andrek
3 Replies
2. Solaris
If I need to clone application server-A to server-B (same IP).
What files that I must copy to server-B?
server-A : Solaris8 and run application(bea-weblogic)
server-B : Only Solaris8 install
I think it should be.
- O/S patches
- /etc/system -- for kernel tunning.
- /etc/shadow
-... (3 Replies)
Discussion started by: arm_naja
3 Replies
3. AIX
Hello Everyone,
Can someone help me to mount a SAN hdisk which contains a clone data copy(san) of the remote server to the another machine. Both servers are running in AIX.
Thanks in advance !
Regards,
Gowtham.G (3 Replies)
Discussion started by: gowthamakanthan
3 Replies
4. IP Networking
Hello;
Please,I did the clone on virtualBox, but the machines have the same IP address: eth2 Link encap: Ethernet HWaddr 8:00:27: f0: 92:19 inet addr: 192.168.1.4 Bcast: 192.168.1.255 Mask: 255.255.255.0
how to change the address please?
Thank you so much (6 Replies)
Discussion started by: chercheur857
6 Replies
5. Shell Programming and Scripting
Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Discussion started by: kylle345
6 Replies
6. HP-UX
the following command will give me software ID from HP machine with hpux10.2:
>uname -a
HP-UX bmd350 B.10.20 D 9000/831 2011043966 64-user license
The string 2011043966 is the actual software ID which is used as number to license software.
Now my machine breaks down and I would like to... (1 Reply)
Discussion started by: derf001
1 Replies
7. Solaris
Hi
I tried to boot as single-user mode on my sunfire t1000 to change my root password since the guy has left the company without give us the root password.
anyhow since this machine not have attached with cd/dvd/usb so the only think that to do it through Jumpstart
now i tried to... (8 Replies)
Discussion started by: jmishal
8 Replies
8. Solaris
Hi,
I have done Copy image and Restores back on Windows.
I have two solaris servers, one contains Solaris OS and Applications on Server-1.
Want i required is want to copy image of Server-1 and restores the copied image on Server-2.
First of all, is it possibile in Solaris. If it is then... (4 Replies)
Discussion started by: sarshads
4 Replies
9. Red Hat
Dear All ,
We have a linux Server where we have installed all our Softwares and applications.
Now we want to clone this Server to another server or copy the image of it and put it in the another server.So that all the softwares and apps appear in the new server also , rather than re... (7 Replies)
Discussion started by: jegaraman
7 Replies
10. Solaris
To Solaris 8 Experts,
Please let me know what's the best method / procedure as well as the Solaris 8 commands for accomplishing the following tasks on a production Sun Enterprise 250 Server running Sun Solaris 8 Operating System:
1. Make an exact image/copy of the SCSI Hard Drive in the... (3 Replies)
Discussion started by: ssabet
3 Replies
LEARN ABOUT DEBIAN
clone::pp
PP(3pm) User Contributed Perl Documentation PP(3pm)
NAME
Clone::PP - Recursively copy Perl datatypes
SYNOPSIS
use Clone::PP qw(clone);
$item = { 'foo' => 'bar', 'move' => [ 'zig', 'zag' ] };
$copy = clone( $item );
$item = [ 'alpha', 'beta', { 'gamma' => 'vlissides' } ];
$copy = clone( $item );
$item = Foo->new();
$copy = clone( $item );
Or as an object method:
require Clone::PP;
push @Foo::ISA, 'Clone::PP';
$item = Foo->new();
$copy = $item->clone();
DESCRIPTION
This module provides a general-purpose clone function to make deep copies of Perl data structures. It calls itself recursively to copy
nested hash, array, scalar and reference types, including tied variables and objects.
The clone() function takes a scalar argument to copy. To duplicate arrays or hashes, pass them in by reference:
my $copy = clone(@array); my @copy = @{ clone(@array) };
my $copy = clone(\%hash); my %copy = %{ clone(\%hash) };
The clone() function also accepts an optional second parameter that can be used to limit the depth of the copy. If you pass a limit of 0,
clone will return the same value you supplied; for a limit of 1, a shallow copy is constructed; for a limit of 2, two layers of copying are
done, and so on.
my $shallow_copy = clone( $item, 1 );
To allow objects to intervene in the way they are copied, the clone() function checks for a couple of optional methods. If an object pro-
vides a method named "clone_self", it is called and the result returned without further processing. Alternately, if an object provides a
method named "clone_init", it is called on the copied object before it is returned.
BUGS
Some data types, such as globs, regexes, and code refs, are always copied shallowly.
References to hash elements are not properly duplicated. (This is why two tests in t/dclone.t that are marked "todo".) For example, the
following test should succeed but does not:
my $hash = { foo => 1 };
$hash->{bar} = { $hash->{foo} };
my $copy = clone( \%hash );
$hash->{foo} = 2;
$copy->{foo} = 2;
ok( $hash->{bar} == $copy->{bar} );
To report bugs via the CPAN web tracking system, go to "http://rt.cpan.org/NoAuth/Bugs.html?Dist=Clone-PP" or send mail to
"Dist=Clone-PP#rt.cpan.org", replacing "#" with "@".
SEE ALSO
For a faster implementation in XS, see "clone" in Clone, "clone" in Util, or <Storable/dclone>.
CREDITS AND COPYRIGHT
Developed by Matthew Simon Cavalletto at Evolution Softworks. More free Perl software is available at "www.evoscript.org".
Copyright 2003 Matthew Simon Cavalletto. You may contact the author directly at "evo@cpan.org" or "simonm@cavalletto.org".
Code initially derived from Ref.pm. Portions Copyright 1994 David Muir Sharnoff.
Interface based by Clone by Ray Finch with contributions from chocolateboy. Portions Copyright 2001 Ray Finch. Portions Copyright 2001
chocolateboy.
You may use, modify, and distribute this software under the same terms as Perl.
perl v5.8.8 2008-03-27 PP(3pm)