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
MooseX::Clone::Meta::Attribute::Trait::Clone(3pm)	User Contributed Perl Documentation	 MooseX::Clone::Meta::Attribute::Trait::Clone(3pm)

NAME
MooseX::Clone::Meta::Attribute::Trait::Clone - The Moose::Meta::Attribute trait for deeply cloning attributes. SYNOPSIS
# see MooseX::Clone has foo => ( traits => [qw(Clone)], isa => "Something", ); $object->clone; # will recursively call $object->foo->clone and set the value properly DESCRIPTION
This meta attribute trait provides a "clone_value" method, in the spirit of "get_value" and "set_value". This allows clone methods such as the one in MooseX::Clone to make use of this per-attribute cloning behavior. DERIVATION
Deriving this role for your own cloning purposes is encouraged. This will allow your fine grained cloning semantics to interact with MooseX::Clone in the RightX way. ATTRIBUTES
clone_only_objects Whether or not Data::Visitor should be used to clone arbitrary structures. Objects found in these structures will be cloned using clone_object_value. If true then non object values will be copied over in shallow cloning semantics (shared reference). Defaults to false (all reference will be cloned). clone_visitor_config A hash ref used to construct "clone_visitor". Defaults to the empty ref. This can be used to alter the cloning behavior for non object values. clone_visitor The Data::Visitor::Callback object that will be used to clone. It has an "object" handler that delegates to "clone_object_value" and sets "tied_as_objects" to true in order to deeply clone tied structures while retaining magic. Only used if "clone_only_objects" is false and the value of the attribute is not an object. METHODS
clone_value $target, $proto, %args Clones the value the attribute encapsulates from $proto into $target. clone_value_data $value, %args Does the actual cloning of the value data by delegating to a "clone" method on the object if any. If the object does not support a "clone" method an error is thrown. If the value is not an object then it will not be cloned. In the future support for deep cloning of simple refs will be added too. clone_object_value $object, %args This is the actual workhorse of "clone_value_data". clone_any_value $value, %args Uses "clone_visitor" to clone all non object values. Called from "clone_value_data" if the value is not an object and "clone_only_objects" is false. perl v5.10.1 2010-01-01 MooseX::Clone::Meta::Attribute::Trait::Clone(3pm)
All times are GMT -4. The time now is 12:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy