Sponsored Content
Full Discussion: How to clone an AIX 5.3?
Operating Systems AIX How to clone an AIX 5.3? Post 302976729 by bakunin on Tuesday 5th of July 2016 04:23:12 AM
Old 07-05-2016
Quote:
Originally Posted by gull05
I had a look at mksysb, looks like it can clone only rootvg and can you suggest what can we do to clone the logical volume?
mksysb is specifically designed to make a (bootable) image of the rootvg with all its configuration data, so, yes, it can only process the rootvg.

You can use the savevg for the other volume groups, which works basically the same as mksysb except for not creating bootable images. Both mksysb and savevg are based on the backup command.

But having several LPARs you should have some sort of backup solution. Why don't you use that for cloning? Create a LPAR, drop the taken mksysb there to clone th system, attach some disks for the application VGs and then restore your (application) backup. Wouldn't that be a viable and relatively hassle-free solution?

Quote:
Originally Posted by gull05
Also , can you suggest how to create a new LPAR for holding the destination system ?
I am not sure what you mean. dump the profile of the current LPAR to a file on the HMC, copy that file and change it to reflect the different attributes of the original and the clone system, save the changed profile and and then issue an mksyscfg on the HMC with this new profile. I don't know any other way, but that is standard procedure, so what exactly was your question about?

Notice that you cannot do that on a POWER8 because it won't run AIX 5.3 in an LPAR (that is a hardware limitation). You can do it on a POWER7 if the AIX 5.3 is ML12 (last) and some other limitations (in fact it was supported for a very short time when the POWER7 was released). To be on the safe side you should use a POWER6 (or even older) hardware, but then you will run on hardware that is not supported any more either.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

clone harddisk

Hi, i have to make an excect physical copie of a sun unix station harddisk. I have to make all partitions the same on about 60 harddisks, and also they should contain the same data/info. I have hade a look at commands 'DD' and 'UFSDUMP' but both of them are not sufficient enough. Can... (5 Replies)
Discussion started by: dirk2
5 Replies

2. Solaris

clone solaris

I have a Sun Solaris 9 and I would like to clone the Operating System from a sun4u Sun Fire 480R machine to a Sun Fire 280R machine. The disk is the same size, the 480R has no space disk slot to the 280R disk for mirrioring, i have no external disk, I am not allowed to take the machine down. ... (1 Reply)
Discussion started by: hassan1
1 Replies

3. Solaris

Solaris 8 Clone - Help

I've got two drives in the same Sun server and I've been cloning the boot drive to the secondary drive by using both ufsdump/ufsrestore and the dd command sucessfully. When I try and boot the cloned drive I get the following error: WARNING - /usr/sbin/fsck not found. Most likely the mount... (10 Replies)
Discussion started by: johnj1965
10 Replies

4. AIX

Mount a SAN LUN which contains clone copy - AIX 6.1

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

5. IP Networking

Clone on virtualBox

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

6. HP-UX

software ID clone

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. AIX

Clone or mirror your AIX OS larger disk to smaller disk ?

hello folks, I have a 300GB ROOTVG volume groups with one filesystem /backup having 200GB allocated space Now, I cannot alt disk clone or mirrorvg this hdisk with another smaller disk. The disk size has to be 300GB; I tried alt disk clone and mirrorvg , it doesn't work. you cannot copy LVs as... (9 Replies)
Discussion started by: filosophizer
9 Replies

8. UNIX for Dummies Questions & Answers

Clone redhat to another PC

Hi, I'm a new user of this forum and I'm not an expert of linux. I have a broken old pc with red hat linux, I clone hdd to another pc with different mainboard and it's ok but it has only one problem, the usb ports not work. In the boot this message appears: ... (9 Replies)
Discussion started by: aitv
9 Replies

9. AIX

Need to clone two AIX machines

Hello, I have two AIX machine and i want to make the two nodes to be identical , so i will change the Hostname, IP and copy the hosts file to node 2. anything else need to copy it from node 1 to node 2 to ensure that two nodes will be the same? Thanks (8 Replies)
Discussion started by: moudmm
8 Replies

10. AIX

Clone 1 Hard disk fromIBM Intellipoint server with AIX 5.x

Hello to all, Im having a new task in a new world (AIX - IBM Servers) I have an IBM Server (Type - 9111-285 very old one) with one Hard disk (73 GB 10 K) with AIX 5.x, and I need to clone the existing disk to another with the same specifications. Could you please give me some advice in order... (7 Replies)
Discussion started by: trevian3969
7 Replies
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)
All times are GMT -4. The time now is 02:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy