Cloning OS using alt_disk_install to new LPARs


Thread Tools Search this Thread
# 1  
Old 05-22-2013
Cloning OS using alt_disk_install to new LPARs

Hi Folks,

I am working on a task - Cloning the OS from fullSystem partition to 3 new LPAR's using alt_disk_install.

I just wanted to clarify my steps here.

1. alt_disk_install -CBO hdisk1 and rename it to alt1
2. alt_disk_install -CBO hdisk2 and rename it to alt2
3. alt_disk_install -CBO hdisk3 and rename it to alt3

the 3 profiles/partitions are already created.

4. boot the first new partition into SMS mode and select hdisk1 as boot disk , exit and and boot into normal mode. And same for rest 2.

Am I missing any steps here? I am not sure on do I have to export and or remove the disks first?
All these partitions are on same power 7.

Please let me know. Thanks
# 2  
Old 05-22-2013
Basically, you have to "remove" the disk if you are going to boot a new partition with it. "Remove" in this case is probably, as padmin on VIOS
$ rmvdev -vtd vtscsiX
$ mkvdev -vdev hdiskX -vadapterN

and once the new, or while, the new partition is starting up
"rinse and repeat"

In short, not "alt1,2,3" but altdisk - 3x
This User Gave Thanks to MichaelFelt For This Post:
snchaudhari2 (05-22-2013)
# 3  
Old 05-22-2013
Hi Michael,

Thanks for your response.

Actually we don't have any VIO's on this p7.

So shall I go with below :

rmdev -dl hdisk<>
# 4  
Old 05-22-2013
Well, if you are not using any virtual i/o (could have also been vfcmap for NPIV) then the storage people will have to redefine where the LUN is going.

rmdev -dl hdiskX is only to remove it from the ODM - it does not move the disk.
# 5  
Old 05-22-2013

The thing is we have 1 fullsystem partition where we have all disks are visible according to sysplan.

So once we deactivate this fullsystem partition, then the new partitions will have these disks visible right?

So I guess here we don't need the movements of disks..

correct me if I am wrong.

Thanks for quick response.

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Topas - CPU count inconsistent across LPARs maraixadm AIX 3 1 Week Ago 04:24 PM
Changing VLAN on AIX lpars in the same subnet kaelu26 AIX 5 06-19-2016 10:32 PM
Rebooting redundant VIOs and mirroring of PVs they serve to client LPARs maraixadm AIX 3 03-13-2016 04:04 PM
Is it must to enable TCB on AIX LPARs ? System Admin 77 AIX 3 10-18-2013 04:11 PM
Automation of AIX LPARs reboot System Admin 77 AIX 4 09-09-2013 05:01 AM
Creating LPARS in AIX sekar52 AIX 2 08-20-2013 01:25 PM
How can i track the Communication between LPARs? System Admin 77 AIX 5 05-07-2013 02:41 PM
Simple questions about LPARs bstring AIX 1 12-28-2012 02:34 AM
Shared Disk in VIOS between two LPARs ? filosophizer AIX 1 12-17-2012 09:41 AM
dd cloning of whole disk Royalist Ubuntu 24 09-03-2012 05:40 PM
HP-UX server cloning Shirishlnx HP-UX 10 02-10-2012 01:29 PM
Cloning kmsekhar Shell Programming and Scripting 0 12-19-2011 08:07 AM
Inherited VIO server an LPARs rbatte1 AIX 3 02-20-2011 08:39 AM
Virtual Ethernet VIO HMC LPARs filosophizer AIX 10 06-16-2009 12:39 PM