Cloning OS using alt_disk_install to new LPARs


 
Thread Tools Search this Thread
Operating Systems AIX Cloning OS using alt_disk_install to new LPARs
# 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
Code:
$ 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:
# 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
Well,

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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Topas - CPU count inconsistent across LPARs

seeing weirdness across some 7.1.5.1 LPARs - they all have 2 vCPUs allocated shared. With prtconf they show 2 CPUs, 'lsdev -c processor' concurs, and 'lsattr -El procX' shows that SMT is enabled and there are 2 SMT threads (power5, sorry). Yet running topas on them shows 2 CPUs on some and 4 on... (3 Replies)
Discussion started by: maraixadm
3 Replies

2. AIX

Changing VLAN on AIX lpars in the same subnet

Hi Guys, Our lpars is currently running on 2 different vlans (20, 30). Now we have a requirement that vlan 30 needs to be change to vlan 31 at the same subnet. I'm not sure on what is the best approach for this or what change is involve on the AIX side. This is our setup. Network switch -... (5 Replies)
Discussion started by: kaelu26
5 Replies

3. AIX

Is it must to enable TCB on AIX LPARs ?

Hi, I've verified my AIX 7.1 LPAR , and TCB is disabled by default. #odmget -q attribute=TCB_STATE PdAt PdAt: uniquetype = "" attribute = "TCB_STATE" deflt = "tcb_disabled" values = "" width = "" type = "" generic = "" ... (3 Replies)
Discussion started by: System Admin 77
3 Replies

4. AIX

Automation of AIX LPARs reboot

Hello Everyone, Can you please help me with the following questions regarding recycling LPARs. 1) Is it recommended to automate the reboot of AIX LPARs with a script ? i mean we've few App LPARs and Database LPARs. we would like to bring down LPARs on last sunday of every month for about 1... (4 Replies)
Discussion started by: System Admin 77
4 Replies

5. AIX

Creating LPARS in AIX

Hi, I have a p520 with 2 cpus and 10gb of ram.Is it sufficient enough to create 2 lpars.What other things we have to check. (2 Replies)
Discussion started by: sekar52
2 Replies

6. AIX

How can i track the Communication between LPARs?

Hello Everyone, i got a question in AIX. How can i track the communication between LPARs. i mean how can we find if a program/account trying to access a directory/file inside AIX LPAR or from another LPAR ? if some one is trying to access our LPAR. where can i track those info? or a outside... (5 Replies)
Discussion started by: System Admin 77
5 Replies

7. AIX

Simple questions about LPARs

Hello, I am looking into virtualizing AIX 7.1 on our p7 machine that already has AIX 7.1 installed on it. I have a few questions about them: 1) In order to gain LPAR functionality, do I need to purchase PowerVM software? 2) I read that LPARs are managed from locally attached graphical... (1 Reply)
Discussion started by: bstring
1 Replies

8. AIX

Shared Disk in VIOS between two LPARs ?

is there any way to create shared virtual disk between two LPARs like how you can do it using Storage through Fiber on two servers ? Trying to stimulate HACMP between two LPARs (1 Reply)
Discussion started by: filosophizer
1 Replies

9. AIX

Inherited VIO server an LPARs

Lucky me, someone has installed a server and got it running with the best intentions, but leaving me a headache. :wall: We have a simple p520 with 4 disks. 2x145Gb & 2x300Gb. The smaller disk pair have been built into a VIO mirrored rootvg, and quite right too. The other two disks form a... (3 Replies)
Discussion started by: rbatte1
3 Replies

10. AIX

Virtual Ethernet VIO HMC LPARs

Hi, I am little confused about the virtual Ethernet configuration on VIO and Client Partitions. There is alot of info on the internet but it gets more confusing.... If I have LHEA, it is very simple. Just assign LHEA (logical host ethernet adapter) to client partition -> run smitty tcpip and... (10 Replies)
Discussion started by: filosophizer
10 Replies
Login or Register to Ask a Question