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